summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-07-18 09:59:28 +0200
committerLoïc Hoguin <[email protected]>2019-07-18 10:08:46 +0200
commit136d443b5c38bee96f5d995dfea3629ef07564c3 (patch)
tree1d31540baebc43ca0b2dceeda212c44f5da7e7a8
parente031713c0e8bd871248dbbbbdec1ea28609f4431 (diff)
downloadninenines.eu-136d443b5c38bee96f5d995dfea3629ef07564c3.tar.gz
ninenines.eu-136d443b5c38bee96f5d995dfea3629ef07564c3.tar.bz2
ninenines.eu-136d443b5c38bee96f5d995dfea3629ef07564c3.zip
Announce Ranch 2.0.0-rc.1
Adds Ranch 2.0 documentation and removes documentation for very old Cowboy and Ranch, along with Erlang.mk documentation which is available on its own website.
-rw-r--r--_build/Makefile2
-rw-r--r--_build/content/articles/ranch-2.0.0-rc.1.asciidoc82
-rw-r--r--_build/content/docs.asciidoc10
-rw-r--r--_build/data/projects/cowboy.toml4
-rw-r--r--_build/data/projects/erlang.mk.toml4
-rw-r--r--_build/data/projects/ranch.toml4
-rw-r--r--_build/static/docs/db.json1
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/architecture/index.html202
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/broken_clients/index.html212
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/cookies/index.html273
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/erlang_beginners/index.html196
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/erlang_web/index.html248
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/getting_started/index.html299
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/hooks/index.html239
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/http_handlers/index.html279
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/http_req_life/index.html251
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/http_req_resp.pngbin33228 -> 0 bytes
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/http_req_resp.svg558
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/index.html250
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/introduction/index.html212
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/loop_handlers/index.html264
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/middlewares/index.html226
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/modern_web/index.html282
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/multipart_intro/index.html198
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/multipart_req/index.html261
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/req/index.html390
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/req_body/index.html296
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/resource_design/index.html294
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/resp/index.html327
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_cond.pngbin111628 -> 0 bytes
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_cond.svg1656
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_conneg.pngbin78133 -> 0 bytes
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_conneg.svg1135
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_delete.pngbin122185 -> 0 bytes
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_delete.svg1718
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_flowcharts/index.html304
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_get_head.pngbin99942 -> 0 bytes
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_get_head.svg1523
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_handlers/index.html289
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_options.pngbin8539 -> 0 bytes
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_options.svg387
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_principles/index.html238
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_put_post_patch.pngbin218656 -> 0 bytes
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_put_post_patch.svg2856
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_start.pngbin118210 -> 0 bytes
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/rest_start.svg1468
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/routing/index.html365
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/static_handlers/index.html280
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/upgrade_protocol/index.html200
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/ws_handlers/index.html327
-rw-r--r--_build/static/docs/en/cowboy/1.0/guide/ws_protocol/index.html194
-rw-r--r--_build/static/docs/en/cowboy/1.0/index.html206
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/cowboy/index.html273
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/cowboy_app/index.html188
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/cowboy_handler/index.html199
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/cowboy_http_handler/index.html229
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/cowboy_loop_handler/index.html245
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/cowboy_middleware/index.html213
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html244
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/cowboy_req/index.html854
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/cowboy_rest/index.html698
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/cowboy_router/index.html247
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html212
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/cowboy_static/index.html194
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/cowboy_sub_protocol/index.html203
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/cowboy_websocket/index.html208
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html273
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/http_status_codes/index.html305
-rw-r--r--_build/static/docs/en/cowboy/1.0/manual/index.html197
-rw-r--r--articles/asciideck/index.html4
-rw-r--r--articles/cowboy-2.0.0-pre.4/index.html4
-rw-r--r--articles/cowboy-2.0.0-rc.1/index.html4
-rw-r--r--articles/cowboy-2.0.0-rc.2/index.html4
-rw-r--r--articles/cowboy-2.0.0/index.html4
-rw-r--r--articles/cowboy-2.1.0/index.html4
-rw-r--r--articles/cowboy-2.2.0/index.html4
-rw-r--r--articles/cowboy-2.3.0/index.html4
-rw-r--r--articles/cowboy-2.4.0/index.html4
-rw-r--r--articles/cowboy-2.5.0/index.html4
-rw-r--r--articles/cowboy-2.6.0/index.html4
-rw-r--r--articles/cowboy2-qs/index.html4
-rw-r--r--articles/dont-let-it-crash/index.html4
-rw-r--r--articles/erlang-scalability/index.html4
-rw-r--r--articles/erlang-validate-utf8/index.html4
-rw-r--r--articles/erlang.mk-and-relx/index.html4
-rw-r--r--articles/erlanger-playbook-september-2015-update/index.html4
-rw-r--r--articles/erlanger-playbook/index.html4
-rw-r--r--articles/farwest-funded/index.html4
-rw-r--r--articles/gun-1.0.0-rc.1/index.html4
-rw-r--r--articles/gun-1.0.0/index.html4
-rw-r--r--articles/gun-1.2.0/index.html4
-rw-r--r--articles/gun-1.3.0/index.html4
-rw-r--r--articles/index.html35
-rw-r--r--articles/index.xml13
-rw-r--r--articles/january-2014-status/index.html4
-rw-r--r--articles/joe_the_rubber_duck/index.html4
-rw-r--r--articles/merry-christmas-2018/index.html4
-rw-r--r--articles/ml-archives/index.html4
-rw-r--r--articles/on-open-source/index.html4
-rw-r--r--articles/page/2/index.html34
-rw-r--r--articles/page/3/index.html17
-rw-r--r--articles/ranch-1.3/index.html4
-rw-r--r--articles/ranch-1.6.0/index.html4
-rw-r--r--articles/ranch-1.7.0/index.html4
-rw-r--r--articles/ranch-2.0.0-rc.1/index.html302
-rw-r--r--articles/ranch-ftp/index.html4
-rw-r--r--articles/the-elephant-in-the-room/index.html4
-rw-r--r--articles/the-story-so-far/index.html4
-rw-r--r--articles/tictactoe/index.html4
-rw-r--r--articles/website-update/index.html4
-rw-r--r--articles/xerl-0.1-empty-modules/index.html4
-rw-r--r--articles/xerl-0.2-two-modules/index.html4
-rw-r--r--articles/xerl-0.3-atomic-expressions/index.html4
-rw-r--r--articles/xerl-0.4-expression-separator/index.html4
-rw-r--r--articles/xerl-0.5-intermediate-module/index.html4
-rw-r--r--docs/db.json1
-rw-r--r--docs/en/cowboy/1.0/guide/architecture/index.html202
-rw-r--r--docs/en/cowboy/1.0/guide/broken_clients/index.html212
-rw-r--r--docs/en/cowboy/1.0/guide/cookies/index.html273
-rw-r--r--docs/en/cowboy/1.0/guide/erlang_beginners/index.html196
-rw-r--r--docs/en/cowboy/1.0/guide/erlang_web/index.html248
-rw-r--r--docs/en/cowboy/1.0/guide/getting_started/index.html299
-rw-r--r--docs/en/cowboy/1.0/guide/hooks/index.html239
-rw-r--r--docs/en/cowboy/1.0/guide/http_handlers/index.html279
-rw-r--r--docs/en/cowboy/1.0/guide/http_req_life/index.html251
-rw-r--r--docs/en/cowboy/1.0/guide/http_req_resp.pngbin33228 -> 0 bytes
-rw-r--r--docs/en/cowboy/1.0/guide/http_req_resp.svg558
-rw-r--r--docs/en/cowboy/1.0/guide/index.html250
-rw-r--r--docs/en/cowboy/1.0/guide/introduction/index.html212
-rw-r--r--docs/en/cowboy/1.0/guide/loop_handlers/index.html264
-rw-r--r--docs/en/cowboy/1.0/guide/middlewares/index.html226
-rw-r--r--docs/en/cowboy/1.0/guide/modern_web/index.html282
-rw-r--r--docs/en/cowboy/1.0/guide/multipart_intro/index.html198
-rw-r--r--docs/en/cowboy/1.0/guide/multipart_req/index.html261
-rw-r--r--docs/en/cowboy/1.0/guide/req/index.html390
-rw-r--r--docs/en/cowboy/1.0/guide/req_body/index.html296
-rw-r--r--docs/en/cowboy/1.0/guide/resource_design/index.html294
-rw-r--r--docs/en/cowboy/1.0/guide/resp/index.html327
-rw-r--r--docs/en/cowboy/1.0/guide/rest_cond.pngbin111628 -> 0 bytes
-rw-r--r--docs/en/cowboy/1.0/guide/rest_cond.svg1656
-rw-r--r--docs/en/cowboy/1.0/guide/rest_conneg.pngbin78133 -> 0 bytes
-rw-r--r--docs/en/cowboy/1.0/guide/rest_conneg.svg1135
-rw-r--r--docs/en/cowboy/1.0/guide/rest_delete.pngbin122185 -> 0 bytes
-rw-r--r--docs/en/cowboy/1.0/guide/rest_delete.svg1718
-rw-r--r--docs/en/cowboy/1.0/guide/rest_flowcharts/index.html304
-rw-r--r--docs/en/cowboy/1.0/guide/rest_get_head.pngbin99942 -> 0 bytes
-rw-r--r--docs/en/cowboy/1.0/guide/rest_get_head.svg1523
-rw-r--r--docs/en/cowboy/1.0/guide/rest_handlers/index.html289
-rw-r--r--docs/en/cowboy/1.0/guide/rest_options.pngbin8539 -> 0 bytes
-rw-r--r--docs/en/cowboy/1.0/guide/rest_options.svg387
-rw-r--r--docs/en/cowboy/1.0/guide/rest_principles/index.html238
-rw-r--r--docs/en/cowboy/1.0/guide/rest_put_post_patch.pngbin218656 -> 0 bytes
-rw-r--r--docs/en/cowboy/1.0/guide/rest_put_post_patch.svg2856
-rw-r--r--docs/en/cowboy/1.0/guide/rest_start.pngbin118210 -> 0 bytes
-rw-r--r--docs/en/cowboy/1.0/guide/rest_start.svg1468
-rw-r--r--docs/en/cowboy/1.0/guide/routing/index.html365
-rw-r--r--docs/en/cowboy/1.0/guide/static_handlers/index.html280
-rw-r--r--docs/en/cowboy/1.0/guide/upgrade_protocol/index.html200
-rw-r--r--docs/en/cowboy/1.0/guide/ws_handlers/index.html327
-rw-r--r--docs/en/cowboy/1.0/guide/ws_protocol/index.html194
-rw-r--r--docs/en/cowboy/1.0/manual/cowboy/index.html273
-rw-r--r--docs/en/cowboy/1.0/manual/cowboy_app/index.html188
-rw-r--r--docs/en/cowboy/1.0/manual/cowboy_handler/index.html199
-rw-r--r--docs/en/cowboy/1.0/manual/cowboy_http_handler/index.html229
-rw-r--r--docs/en/cowboy/1.0/manual/cowboy_loop_handler/index.html245
-rw-r--r--docs/en/cowboy/1.0/manual/cowboy_middleware/index.html213
-rw-r--r--docs/en/cowboy/1.0/manual/cowboy_protocol/index.html244
-rw-r--r--docs/en/cowboy/1.0/manual/cowboy_req/index.html854
-rw-r--r--docs/en/cowboy/1.0/manual/cowboy_rest/index.html698
-rw-r--r--docs/en/cowboy/1.0/manual/cowboy_router/index.html247
-rw-r--r--docs/en/cowboy/1.0/manual/cowboy_spdy/index.html212
-rw-r--r--docs/en/cowboy/1.0/manual/cowboy_static/index.html194
-rw-r--r--docs/en/cowboy/1.0/manual/cowboy_sub_protocol/index.html203
-rw-r--r--docs/en/cowboy/1.0/manual/cowboy_websocket/index.html208
-rw-r--r--docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html273
-rw-r--r--docs/en/cowboy/1.0/manual/http_status_codes/index.html305
-rw-r--r--docs/en/cowboy/1.0/manual/index.html197
-rw-r--r--docs/en/cowboy/2.0/guide/constraints.asciidoc123
-rw-r--r--docs/en/cowboy/2.0/guide/constraints/index.html264
-rw-r--r--docs/en/cowboy/2.0/guide/cookies.asciidoc139
-rw-r--r--docs/en/cowboy/2.0/guide/cookies/index.html281
-rw-r--r--docs/en/cowboy/2.0/guide/cowboy.sty8
-rw-r--r--docs/en/cowboy/2.0/guide/erlang_web.asciidoc209
-rw-r--r--docs/en/cowboy/2.0/guide/erlang_web/index.html230
-rw-r--r--docs/en/cowboy/2.0/guide/flow_diagram.asciidoc109
-rw-r--r--docs/en/cowboy/2.0/guide/flow_diagram/index.html208
-rw-r--r--docs/en/cowboy/2.0/guide/getting_started.asciidoc147
-rw-r--r--docs/en/cowboy/2.0/guide/getting_started/index.html282
-rw-r--r--docs/en/cowboy/2.0/guide/handlers.asciidoc90
-rw-r--r--docs/en/cowboy/2.0/guide/handlers/index.html235
-rw-r--r--docs/en/cowboy/2.0/guide/http_req_resp.pngbin20713 -> 0 bytes
-rw-r--r--docs/en/cowboy/2.0/guide/http_req_resp.svg543
-rw-r--r--docs/en/cowboy/2.0/guide/index.html235
-rw-r--r--docs/en/cowboy/2.0/guide/introduction.asciidoc75
-rw-r--r--docs/en/cowboy/2.0/guide/introduction/index.html218
-rw-r--r--docs/en/cowboy/2.0/guide/listeners.asciidoc115
-rw-r--r--docs/en/cowboy/2.0/guide/listeners/index.html239
-rw-r--r--docs/en/cowboy/2.0/guide/loop_handlers.asciidoc128
-rw-r--r--docs/en/cowboy/2.0/guide/loop_handlers/index.html250
-rw-r--r--docs/en/cowboy/2.0/guide/middlewares.asciidoc69
-rw-r--r--docs/en/cowboy/2.0/guide/middlewares/index.html216
-rw-r--r--docs/en/cowboy/2.0/guide/migrating_from_1.0.asciidoc207
-rw-r--r--docs/en/cowboy/2.0/guide/migrating_from_1.0/index.html296
-rw-r--r--docs/en/cowboy/2.0/guide/modern_web.asciidoc122
-rw-r--r--docs/en/cowboy/2.0/guide/modern_web/index.html212
-rw-r--r--docs/en/cowboy/2.0/guide/multipart.asciidoc169
-rw-r--r--docs/en/cowboy/2.0/guide/multipart/index.html285
-rw-r--r--docs/en/cowboy/2.0/guide/req.asciidoc366
-rw-r--r--docs/en/cowboy/2.0/guide/req/index.html461
-rw-r--r--docs/en/cowboy/2.0/guide/req_body.asciidoc130
-rw-r--r--docs/en/cowboy/2.0/guide/req_body/index.html271
-rw-r--r--docs/en/cowboy/2.0/guide/resource_design.asciidoc220
-rw-r--r--docs/en/cowboy/2.0/guide/resource_design/index.html244
-rw-r--r--docs/en/cowboy/2.0/guide/resp.asciidoc318
-rw-r--r--docs/en/cowboy/2.0/guide/resp/index.html396
-rw-r--r--docs/en/cowboy/2.0/guide/rest_cond.pngbin111628 -> 0 bytes
-rw-r--r--docs/en/cowboy/2.0/guide/rest_cond.svg1656
-rw-r--r--docs/en/cowboy/2.0/guide/rest_conneg.pngbin78133 -> 0 bytes
-rw-r--r--docs/en/cowboy/2.0/guide/rest_conneg.svg1135
-rw-r--r--docs/en/cowboy/2.0/guide/rest_delete.pngbin122185 -> 0 bytes
-rw-r--r--docs/en/cowboy/2.0/guide/rest_delete.svg1718
-rw-r--r--docs/en/cowboy/2.0/guide/rest_flowcharts.asciidoc248
-rw-r--r--docs/en/cowboy/2.0/guide/rest_flowcharts/index.html242
-rw-r--r--docs/en/cowboy/2.0/guide/rest_get_head.pngbin94321 -> 0 bytes
-rw-r--r--docs/en/cowboy/2.0/guide/rest_get_head.svg1523
-rw-r--r--docs/en/cowboy/2.0/guide/rest_handlers.asciidoc134
-rw-r--r--docs/en/cowboy/2.0/guide/rest_handlers/index.html340
-rw-r--r--docs/en/cowboy/2.0/guide/rest_options.pngbin8539 -> 0 bytes
-rw-r--r--docs/en/cowboy/2.0/guide/rest_options.svg387
-rw-r--r--docs/en/cowboy/2.0/guide/rest_principles.asciidoc160
-rw-r--r--docs/en/cowboy/2.0/guide/rest_principles/index.html216
-rw-r--r--docs/en/cowboy/2.0/guide/rest_put_post_patch.pngbin206747 -> 0 bytes
-rw-r--r--docs/en/cowboy/2.0/guide/rest_put_post_patch.svg2856
-rw-r--r--docs/en/cowboy/2.0/guide/rest_start.pngbin105640 -> 0 bytes
-rw-r--r--docs/en/cowboy/2.0/guide/rest_start.svg1356
-rw-r--r--docs/en/cowboy/2.0/guide/routing.asciidoc222
-rw-r--r--docs/en/cowboy/2.0/guide/routing/index.html359
-rw-r--r--docs/en/cowboy/2.0/guide/specs.asciidoc189
-rw-r--r--docs/en/cowboy/2.0/guide/specs/index.html511
-rw-r--r--docs/en/cowboy/2.0/guide/static_files.asciidoc163
-rw-r--r--docs/en/cowboy/2.0/guide/static_files/index.html279
-rw-r--r--docs/en/cowboy/2.0/guide/streams.asciidoc65
-rw-r--r--docs/en/cowboy/2.0/guide/streams/index.html201
-rw-r--r--docs/en/cowboy/2.0/guide/ws_handlers.asciidoc268
-rw-r--r--docs/en/cowboy/2.0/guide/ws_handlers/index.html348
-rw-r--r--docs/en/cowboy/2.0/guide/ws_protocol.asciidoc69
-rw-r--r--docs/en/cowboy/2.0/guide/ws_protocol/index.html200
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy.start_clear/index.html233
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy/index.html232
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_app/index.html233
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_constraints.int/index.html208
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_constraints.nonempty/index.html207
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_constraints/index.html199
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_handler/index.html202
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_http/index.html266
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_http2/index.html216
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_loop/index.html216
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_middleware/index.html212
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.bindings/index.html196
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.delete_resp_header/index.html201
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.has_resp_body/index.html199
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.has_resp_header/index.html202
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.headers/index.html203
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.host/index.html203
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.match_cookies/index.html223
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.match_qs/index.html223
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.method/index.html214
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.parse_cookies/index.html203
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.parse_header/index.html374
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.parse_qs/index.html211
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.path/index.html203
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.port/index.html204
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.push/index.html230
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.qs/index.html203
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.read_body/index.html228
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.read_part/index.html250
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.read_part_body/index.html226
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.read_urlencoded_body/index.html220
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.reply/index.html243
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.resp_header/index.html214
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.set_resp_body/index.html235
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.set_resp_cookie/index.html260
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.set_resp_header/index.html216
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.set_resp_headers/index.html207
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.stream_body/index.html212
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.stream_reply/index.html232
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req.uri/index.html262
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_req/index.html362
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_rest/index.html620
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_router.compile/index.html204
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_router/index.html221
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_static/index.html266
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_stream/index.html438
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_websocket/index.html300
-rw-r--r--docs/en/cowboy/2.0/manual/http_status_codes/index.html248
-rw-r--r--docs/en/cowboy/2.0/manual/index.html233
-rw-r--r--docs/en/cowboy/2.1/guide/constraints.asciidoc123
-rw-r--r--docs/en/cowboy/2.1/guide/constraints/index.html264
-rw-r--r--docs/en/cowboy/2.1/guide/cookies.asciidoc139
-rw-r--r--docs/en/cowboy/2.1/guide/cookies/index.html281
-rw-r--r--docs/en/cowboy/2.1/guide/cowboy.sty8
-rw-r--r--docs/en/cowboy/2.1/guide/erlang_web.asciidoc209
-rw-r--r--docs/en/cowboy/2.1/guide/erlang_web/index.html230
-rw-r--r--docs/en/cowboy/2.1/guide/flow_diagram.asciidoc109
-rw-r--r--docs/en/cowboy/2.1/guide/flow_diagram/index.html208
-rw-r--r--docs/en/cowboy/2.1/guide/getting_started.asciidoc147
-rw-r--r--docs/en/cowboy/2.1/guide/getting_started/index.html282
-rw-r--r--docs/en/cowboy/2.1/guide/handlers.asciidoc90
-rw-r--r--docs/en/cowboy/2.1/guide/handlers/index.html235
-rw-r--r--docs/en/cowboy/2.1/guide/http_req_resp.pngbin20713 -> 0 bytes
-rw-r--r--docs/en/cowboy/2.1/guide/http_req_resp.svg543
-rw-r--r--docs/en/cowboy/2.1/guide/index.html237
-rw-r--r--docs/en/cowboy/2.1/guide/introduction.asciidoc75
-rw-r--r--docs/en/cowboy/2.1/guide/introduction/index.html218
-rw-r--r--docs/en/cowboy/2.1/guide/listeners.asciidoc115
-rw-r--r--docs/en/cowboy/2.1/guide/listeners/index.html239
-rw-r--r--docs/en/cowboy/2.1/guide/loop_handlers.asciidoc128
-rw-r--r--docs/en/cowboy/2.1/guide/loop_handlers/index.html250
-rw-r--r--docs/en/cowboy/2.1/guide/middlewares.asciidoc69
-rw-r--r--docs/en/cowboy/2.1/guide/middlewares/index.html216
-rw-r--r--docs/en/cowboy/2.1/guide/migrating_from_1.0.asciidoc214
-rw-r--r--docs/en/cowboy/2.1/guide/migrating_from_1.0/index.html298
-rw-r--r--docs/en/cowboy/2.1/guide/migrating_from_2.0.asciidoc107
-rw-r--r--docs/en/cowboy/2.1/guide/migrating_from_2.0/index.html233
-rw-r--r--docs/en/cowboy/2.1/guide/modern_web.asciidoc122
-rw-r--r--docs/en/cowboy/2.1/guide/modern_web/index.html212
-rw-r--r--docs/en/cowboy/2.1/guide/multipart.asciidoc169
-rw-r--r--docs/en/cowboy/2.1/guide/multipart/index.html285
-rw-r--r--docs/en/cowboy/2.1/guide/req.asciidoc366
-rw-r--r--docs/en/cowboy/2.1/guide/req/index.html461
-rw-r--r--docs/en/cowboy/2.1/guide/req_body.asciidoc130
-rw-r--r--docs/en/cowboy/2.1/guide/req_body/index.html271
-rw-r--r--docs/en/cowboy/2.1/guide/resource_design.asciidoc220
-rw-r--r--docs/en/cowboy/2.1/guide/resource_design/index.html244
-rw-r--r--docs/en/cowboy/2.1/guide/resp.asciidoc341
-rw-r--r--docs/en/cowboy/2.1/guide/resp/index.html409
-rw-r--r--docs/en/cowboy/2.1/guide/rest_cond.pngbin111628 -> 0 bytes
-rw-r--r--docs/en/cowboy/2.1/guide/rest_cond.svg1656
-rw-r--r--docs/en/cowboy/2.1/guide/rest_conneg.pngbin78133 -> 0 bytes
-rw-r--r--docs/en/cowboy/2.1/guide/rest_conneg.svg1135
-rw-r--r--docs/en/cowboy/2.1/guide/rest_delete.pngbin122185 -> 0 bytes
-rw-r--r--docs/en/cowboy/2.1/guide/rest_delete.svg1718
-rw-r--r--docs/en/cowboy/2.1/guide/rest_flowcharts.asciidoc248
-rw-r--r--docs/en/cowboy/2.1/guide/rest_flowcharts/index.html242
-rw-r--r--docs/en/cowboy/2.1/guide/rest_get_head.pngbin94321 -> 0 bytes
-rw-r--r--docs/en/cowboy/2.1/guide/rest_get_head.svg1523
-rw-r--r--docs/en/cowboy/2.1/guide/rest_handlers.asciidoc138
-rw-r--r--docs/en/cowboy/2.1/guide/rest_handlers/index.html340
-rw-r--r--docs/en/cowboy/2.1/guide/rest_options.pngbin8539 -> 0 bytes
-rw-r--r--docs/en/cowboy/2.1/guide/rest_options.svg387
-rw-r--r--docs/en/cowboy/2.1/guide/rest_principles.asciidoc160
-rw-r--r--docs/en/cowboy/2.1/guide/rest_principles/index.html216
-rw-r--r--docs/en/cowboy/2.1/guide/rest_put_post_patch.pngbin206747 -> 0 bytes
-rw-r--r--docs/en/cowboy/2.1/guide/rest_put_post_patch.svg2856
-rw-r--r--docs/en/cowboy/2.1/guide/rest_start.pngbin105640 -> 0 bytes
-rw-r--r--docs/en/cowboy/2.1/guide/rest_start.svg1356
-rw-r--r--docs/en/cowboy/2.1/guide/routing.asciidoc222
-rw-r--r--docs/en/cowboy/2.1/guide/routing/index.html359
-rw-r--r--docs/en/cowboy/2.1/guide/specs.asciidoc189
-rw-r--r--docs/en/cowboy/2.1/guide/specs/index.html511
-rw-r--r--docs/en/cowboy/2.1/guide/static_files.asciidoc163
-rw-r--r--docs/en/cowboy/2.1/guide/static_files/index.html279
-rw-r--r--docs/en/cowboy/2.1/guide/streams.asciidoc65
-rw-r--r--docs/en/cowboy/2.1/guide/streams/index.html201
-rw-r--r--docs/en/cowboy/2.1/guide/ws_handlers.asciidoc269
-rw-r--r--docs/en/cowboy/2.1/guide/ws_handlers/index.html349
-rw-r--r--docs/en/cowboy/2.1/guide/ws_protocol.asciidoc69
-rw-r--r--docs/en/cowboy/2.1/guide/ws_protocol/index.html200
-rw-r--r--docs/en/cowboy/2.1/index.html1
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy.set_env/index.html215
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy.start_clear/index.html233
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy.start_tls/index.html238
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy/index.html232
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_app/index.html233
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_constraints.int/index.html208
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_constraints.nonempty/index.html207
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_constraints/index.html199
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_handler.terminate/index.html210
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_handler/index.html202
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_http/index.html266
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_http2/index.html216
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_loop/index.html216
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_middleware/index.html212
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.binding/index.html216
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.bindings/index.html196
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.body_length/index.html197
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.cert/index.html216
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.delete_resp_header/index.html201
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.has_resp_body/index.html199
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.has_resp_header/index.html202
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.header/index.html223
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.headers/index.html203
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.host/index.html203
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.host_info/index.html197
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.match_cookies/index.html223
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.match_qs/index.html223
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.method/index.html214
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.parse_cookies/index.html203
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.parse_header/index.html374
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.parse_qs/index.html211
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.path/index.html203
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.path_info/index.html197
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.port/index.html204
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.push/index.html230
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.qs/index.html203
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.read_body/index.html228
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.read_part/index.html250
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.read_part_body/index.html226
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.read_urlencoded_body/index.html220
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.reply/index.html243
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.resp_header/index.html214
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.set_resp_body/index.html235
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.set_resp_cookie/index.html260
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.set_resp_header/index.html216
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.set_resp_headers/index.html207
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.sock/index.html203
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.stream_body/index.html212
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.stream_reply/index.html232
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.uri/index.html262
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req.version/index.html203
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_req/index.html372
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_rest/index.html631
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_router.compile/index.html204
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_router/index.html221
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_static/index.html266
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_stream/index.html438
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_websocket/index.html300
-rw-r--r--docs/en/cowboy/2.1/manual/http_status_codes/index.html248
-rw-r--r--docs/en/cowboy/2.1/manual/index.html233
-rw-r--r--docs/en/cowboy/2.2/guide/constraints/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/cookies/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/erlang_web/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/flow_diagram/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/getting_started/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/handlers/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/introduction/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/listeners/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/loop_handlers/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/middlewares/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/migrating_from_1.0/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/migrating_from_2.0/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/migrating_from_2.1/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/migrating_from_2.2/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/modern_web/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/multipart/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/req/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/req_body/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/resource_design/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/resp/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/rest_flowcharts/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/rest_handlers/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/rest_principles/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/routing/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/specs/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/static_files/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/streams/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/ws_handlers/index.html6
-rw-r--r--docs/en/cowboy/2.2/guide/ws_protocol/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy.set_env/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy.start_clear/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy.start_tls/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy.stop_listener/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_app/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_constraints.int/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_constraints.nonempty/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_constraints/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_handler.terminate/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_handler/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_http/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_http2/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_loop/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_middleware/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.binding/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.bindings/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.body_length/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.cert/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.delete_resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.has_body/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.has_resp_body/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.has_resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.header/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.headers/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.host/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.host_info/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.inform/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.match_cookies/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.match_qs/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.method/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.parse_cookies/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.parse_header/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.parse_qs/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.path/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.path_info/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.peer/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.port/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.push/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.qs/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.read_body/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.read_part/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.read_part_body/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.read_urlencoded_body/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.reply/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.resp_headers/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.scheme/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.set_resp_body/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.set_resp_cookie/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.set_resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.set_resp_headers/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.sock/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.stream_body/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.stream_reply/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.stream_trailers/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.uri/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req.version/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_req/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_rest/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_router.compile/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_router/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_static/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_stream/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_websocket/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/http_status_codes/index.html6
-rw-r--r--docs/en/cowboy/2.2/manual/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/constraints/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/cookies/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/erlang_web/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/flow_diagram/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/getting_started/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/handlers/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/introduction/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/listeners/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/loop_handlers/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/middlewares/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/migrating_from_1.0/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/migrating_from_2.0/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/migrating_from_2.1/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/migrating_from_2.2/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/modern_web/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/multipart/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/req/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/req_body/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/resource_design/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/resp/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/rest_flowcharts/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/rest_handlers/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/rest_principles/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/routing/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/specs/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/static_files/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/streams/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/ws_handlers/index.html6
-rw-r--r--docs/en/cowboy/2.3/guide/ws_protocol/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy.set_env/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy.start_clear/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy.start_tls/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy.stop_listener/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_app/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_constraints.int/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_constraints.nonempty/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_constraints/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_handler.terminate/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_handler/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_http/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_http2/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_loop/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_middleware/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.binding/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.bindings/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.body_length/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.cert/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.delete_resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.has_body/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.has_resp_body/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.has_resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.header/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.headers/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.host/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.host_info/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.inform/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.match_cookies/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.match_qs/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.method/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.parse_cookies/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.parse_header/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.parse_qs/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.path/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.path_info/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.peer/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.port/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.push/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.qs/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.read_body/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.read_part/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.read_part_body/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.read_urlencoded_body/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.reply/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.resp_headers/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.scheme/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.set_resp_body/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.set_resp_cookie/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.set_resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.set_resp_headers/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.sock/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.stream_body/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.stream_reply/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.stream_trailers/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.uri/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req.version/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_req/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_rest/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_router.compile/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_router/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_static/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_stream/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/cowboy_websocket/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/http_status_codes/index.html6
-rw-r--r--docs/en/cowboy/2.3/manual/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/constraints/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/cookies/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/erlang_web/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/flow_diagram/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/getting_started/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/handlers/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/introduction/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/listeners/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/loop_handlers/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/middlewares/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/migrating_from_1.0/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/migrating_from_2.0/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/migrating_from_2.1/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/migrating_from_2.2/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/migrating_from_2.3/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/modern_web/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/multipart/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/req/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/req_body/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/resource_design/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/resp/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/rest_flowcharts/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/rest_handlers/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/rest_principles/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/routing/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/specs/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/static_files/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/streams/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/ws_handlers/index.html6
-rw-r--r--docs/en/cowboy/2.4/guide/ws_protocol/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy.set_env/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy.start_clear/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy.start_tls/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy.stop_listener/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_app/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_constraints.int/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_constraints.nonempty/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_constraints/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_handler.terminate/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_handler/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_http/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_http2/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_loop/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_middleware/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.binding/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.bindings/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.body_length/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.cert/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.delete_resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.has_body/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.has_resp_body/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.has_resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.header/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.headers/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.host/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.host_info/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.inform/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.match_cookies/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.match_qs/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.method/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.parse_cookies/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.parse_header/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.parse_qs/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.path/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.path_info/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.peer/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.port/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.push/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.qs/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.read_body/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.read_part/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.read_part_body/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.read_urlencoded_body/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.reply/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.resp_headers/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.scheme/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.set_resp_body/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.set_resp_cookie/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.set_resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.set_resp_headers/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.sock/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.stream_body/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.stream_reply/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.stream_trailers/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.uri/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req.version/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_req/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_rest/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_router.compile/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_router/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_static/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_stream/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/cowboy_websocket/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/http_status_codes/index.html6
-rw-r--r--docs/en/cowboy/2.4/manual/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/constraints/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/cookies/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/erlang_web/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/flow_diagram/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/getting_started/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/handlers/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/introduction/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/listeners/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/loop_handlers/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/middlewares/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/migrating_from_1.0/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/migrating_from_2.0/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/migrating_from_2.1/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/migrating_from_2.2/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/migrating_from_2.3/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/migrating_from_2.4/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/modern_web/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/multipart/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/req/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/req_body/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/resource_design/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/resp/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/rest_flowcharts/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/rest_handlers/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/rest_principles/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/routing/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/specs/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/static_files/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/streams/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/ws_handlers/index.html6
-rw-r--r--docs/en/cowboy/2.5/guide/ws_protocol/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy.set_env/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy.start_clear/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy.start_tls/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy.stop_listener/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_app/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_constraints.int/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_constraints.nonempty/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_constraints/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_handler.terminate/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_handler/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_http/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_http2/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_loop/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_middleware/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.binding/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.bindings/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.body_length/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.cert/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.delete_resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.has_body/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.has_resp_body/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.has_resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.header/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.headers/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.host/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.host_info/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.inform/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.match_cookies/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.match_qs/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.method/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.parse_cookies/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.parse_header/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.parse_qs/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.path/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.path_info/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.peer/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.port/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.push/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.qs/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.read_and_match_urlencoded_body/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.read_body/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.read_part/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.read_part_body/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.read_urlencoded_body/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.reply/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.resp_headers/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.scheme/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.set_resp_body/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.set_resp_cookie/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.set_resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.set_resp_headers/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.sock/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.stream_body/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.stream_events/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.stream_reply/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.stream_trailers/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.uri/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req.version/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_req/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_rest/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_router.compile/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_router/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_static/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_stream/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/cowboy_websocket/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/http_status_codes/index.html6
-rw-r--r--docs/en/cowboy/2.5/manual/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/constraints/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/cookies/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/erlang_web/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/flow_diagram/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/getting_started/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/handlers/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/introduction/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/listeners/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/loop_handlers/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/middlewares/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/migrating_from_1.0/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/migrating_from_2.0/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/migrating_from_2.1/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/migrating_from_2.2/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/migrating_from_2.3/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/migrating_from_2.4/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/migrating_from_2.5/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/migrating_from_2.6/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/modern_web/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/multipart/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/req/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/req_body/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/resource_design/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/resp/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/rest_flowcharts/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/rest_handlers/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/rest_principles/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/routing/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/specs.asciidoc2
-rw-r--r--docs/en/cowboy/2.6/guide/specs/index.html10
-rw-r--r--docs/en/cowboy/2.6/guide/static_files/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/streams/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/ws_handlers/index.html6
-rw-r--r--docs/en/cowboy/2.6/guide/ws_protocol/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy.set_env/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy.start_clear/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy.start_tls/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy.stop_listener/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_app/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_compress_h/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_constraints.int/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_constraints.nonempty/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_constraints/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_handler.terminate/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_handler/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_http/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_http2/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_loop/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_middleware/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.binding/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.bindings/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.body_length/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.cert/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.delete_resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.has_body/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.has_resp_body/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.has_resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.header/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.headers/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.host/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.host_info/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.inform/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.match_cookies/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.match_qs/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.method/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.parse_cookies/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.parse_header/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.parse_qs/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.path/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.path_info/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.peer/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.port/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.push/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.qs/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.read_and_match_urlencoded_body/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.read_body/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.read_part/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.read_part_body/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.read_urlencoded_body/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.reply/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.resp_headers/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.scheme/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.set_resp_body/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.set_resp_cookie/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.set_resp_header/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.set_resp_headers/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.sock/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.stream_body/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.stream_events/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.stream_reply/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.stream_trailers/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.uri/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req.version/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_req/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_rest/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_router.compile/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_router/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_static/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_stream/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_stream_h/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/cowboy_websocket/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/http_status_codes/index.html6
-rw-r--r--docs/en/cowboy/2.6/manual/index.html6
-rw-r--r--docs/en/erlang.mk/1/guide/app.asciidoc496
-rw-r--r--docs/en/erlang.mk/1/guide/app/index.html522
-rw-r--r--docs/en/erlang.mk/1/guide/asciidoc.asciidoc82
-rw-r--r--docs/en/erlang.mk/1/guide/asciidoc/index.html223
-rw-r--r--docs/en/erlang.mk/1/guide/ci.asciidoc66
-rw-r--r--docs/en/erlang.mk/1/guide/ci/index.html211
-rw-r--r--docs/en/erlang.mk/1/guide/common_test.asciidoc103
-rw-r--r--docs/en/erlang.mk/1/guide/common_test/index.html259
-rw-r--r--docs/en/erlang.mk/1/guide/compat.asciidoc90
-rw-r--r--docs/en/erlang.mk/1/guide/compat/index.html199
-rw-r--r--docs/en/erlang.mk/1/guide/contributing.asciidoc116
-rw-r--r--docs/en/erlang.mk/1/guide/contributing/index.html213
-rw-r--r--docs/en/erlang.mk/1/guide/coverage.asciidoc62
-rw-r--r--docs/en/erlang.mk/1/guide/coverage/index.html211
-rw-r--r--docs/en/erlang.mk/1/guide/cross_compiling.asciidoc94
-rw-r--r--docs/en/erlang.mk/1/guide/cross_compiling/index.html240
-rw-r--r--docs/en/erlang.mk/1/guide/deps.asciidoc606
-rw-r--r--docs/en/erlang.mk/1/guide/deps/index.html596
-rw-r--r--docs/en/erlang.mk/1/guide/dialyzer.asciidoc86
-rw-r--r--docs/en/erlang.mk/1/guide/dialyzer/index.html206
-rw-r--r--docs/en/erlang.mk/1/guide/edoc.asciidoc61
-rw-r--r--docs/en/erlang.mk/1/guide/edoc/index.html211
-rw-r--r--docs/en/erlang.mk/1/guide/escripts.asciidoc83
-rw-r--r--docs/en/erlang.mk/1/guide/escripts/index.html213
-rw-r--r--docs/en/erlang.mk/1/guide/eunit.asciidoc122
-rw-r--r--docs/en/erlang.mk/1/guide/eunit/index.html270
-rw-r--r--docs/en/erlang.mk/1/guide/external_plugins.asciidoc140
-rw-r--r--docs/en/erlang.mk/1/guide/external_plugins/index.html260
-rw-r--r--docs/en/erlang.mk/1/guide/external_plugins_list.asciidoc72
-rw-r--r--docs/en/erlang.mk/1/guide/external_plugins_list/index.html194
-rw-r--r--docs/en/erlang.mk/1/guide/getting_started.asciidoc326
-rw-r--r--docs/en/erlang.mk/1/guide/getting_started/index.html418
-rw-r--r--docs/en/erlang.mk/1/guide/history.asciidoc66
-rw-r--r--docs/en/erlang.mk/1/guide/history/index.html184
-rw-r--r--docs/en/erlang.mk/1/guide/index.html218
-rw-r--r--docs/en/erlang.mk/1/guide/installation.asciidoc173
-rw-r--r--docs/en/erlang.mk/1/guide/installation/index.html253
-rw-r--r--docs/en/erlang.mk/1/guide/kerl.asciidoc76
-rw-r--r--docs/en/erlang.mk/1/guide/kerl/index.html196
-rw-r--r--docs/en/erlang.mk/1/guide/limitations.asciidoc46
-rw-r--r--docs/en/erlang.mk/1/guide/limitations/index.html180
-rw-r--r--docs/en/erlang.mk/1/guide/overview.asciidoc87
-rw-r--r--docs/en/erlang.mk/1/guide/overview/index.html202
-rw-r--r--docs/en/erlang.mk/1/guide/ports.asciidoc134
-rw-r--r--docs/en/erlang.mk/1/guide/ports/index.html257
-rw-r--r--docs/en/erlang.mk/1/guide/proper.asciidoc31
-rw-r--r--docs/en/erlang.mk/1/guide/proper/index.html203
-rw-r--r--docs/en/erlang.mk/1/guide/releases.asciidoc195
-rw-r--r--docs/en/erlang.mk/1/guide/releases/index.html330
-rw-r--r--docs/en/erlang.mk/1/guide/sfx.asciidoc49
-rw-r--r--docs/en/erlang.mk/1/guide/sfx/index.html196
-rw-r--r--docs/en/erlang.mk/1/guide/shell.asciidoc50
-rw-r--r--docs/en/erlang.mk/1/guide/shell/index.html208
-rw-r--r--docs/en/erlang.mk/1/guide/sphinx.asciidoc129
-rw-r--r--docs/en/erlang.mk/1/guide/sphinx/index.html234
-rw-r--r--docs/en/erlang.mk/1/guide/triq.asciidoc31
-rw-r--r--docs/en/erlang.mk/1/guide/triq/index.html203
-rw-r--r--docs/en/erlang.mk/1/guide/updating.asciidoc85
-rw-r--r--docs/en/erlang.mk/1/guide/updating/index.html217
-rw-r--r--docs/en/erlang.mk/1/guide/why.asciidoc81
-rw-r--r--docs/en/erlang.mk/1/guide/why/index.html190
-rw-r--r--docs/en/erlang.mk/1/guide/xref.asciidoc6
-rw-r--r--docs/en/erlang.mk/1/guide/xref/index.html169
-rw-r--r--docs/en/ranch/1.2/guide/embedded.asciidoc48
-rw-r--r--docs/en/ranch/1.2/guide/listeners.asciidoc251
-rw-r--r--docs/en/ranch/1.2/guide/listeners/index.html342
-rw-r--r--docs/en/ranch/1.2/guide/parsers.asciidoc92
-rw-r--r--docs/en/ranch/1.2/guide/protocols.asciidoc125
-rw-r--r--docs/en/ranch/1.2/guide/protocols/index.html272
-rw-r--r--docs/en/ranch/1.2/guide/ssl_auth.asciidoc120
-rw-r--r--docs/en/ranch/1.2/guide/ssl_auth/index.html256
-rw-r--r--docs/en/ranch/1.2/guide/transports.asciidoc169
-rw-r--r--docs/en/ranch/1.2/guide/transports/index.html288
-rw-r--r--docs/en/ranch/1.2/manual/index.html172
-rw-r--r--docs/en/ranch/1.2/manual/ranch/index.html327
-rw-r--r--docs/en/ranch/1.2/manual/ranch_app/index.html171
-rw-r--r--docs/en/ranch/1.2/manual/ranch_ssl/index.html310
-rw-r--r--docs/en/ranch/1.2/manual/ranch_tcp/index.html275
-rw-r--r--docs/en/ranch/1.2/manual/ranch_transport/index.html350
-rw-r--r--docs/en/ranch/1.3/guide/embedded.asciidoc48
-rw-r--r--docs/en/ranch/1.3/guide/index.html176
-rw-r--r--docs/en/ranch/1.3/guide/internals.asciidoc94
-rw-r--r--docs/en/ranch/1.3/guide/internals/index.html204
-rw-r--r--docs/en/ranch/1.3/guide/introduction.asciidoc28
-rw-r--r--docs/en/ranch/1.3/guide/parsers/index.html243
-rw-r--r--docs/en/ranch/1.3/index.html1
-rw-r--r--docs/en/ranch/1.3/manual/ranch/index.html380
-rw-r--r--docs/en/ranch/1.3/manual/ranch_protocol/index.html185
-rw-r--r--docs/en/ranch/1.3/manual/ranch_transport/index.html350
-rw-r--r--docs/en/ranch/1.4/guide/embedded/index.html6
-rw-r--r--docs/en/ranch/1.4/guide/index.html6
-rw-r--r--docs/en/ranch/1.4/guide/internals/index.html6
-rw-r--r--docs/en/ranch/1.4/guide/introduction/index.html6
-rw-r--r--docs/en/ranch/1.4/guide/listeners/index.html6
-rw-r--r--docs/en/ranch/1.4/guide/parsers/index.html6
-rw-r--r--docs/en/ranch/1.4/guide/protocols/index.html6
-rw-r--r--docs/en/ranch/1.4/guide/ssl_auth/index.html6
-rw-r--r--docs/en/ranch/1.4/guide/transports/index.html6
-rw-r--r--docs/en/ranch/1.4/manual/index.html6
-rw-r--r--docs/en/ranch/1.4/manual/ranch/index.html6
-rw-r--r--docs/en/ranch/1.4/manual/ranch_app/index.html6
-rw-r--r--docs/en/ranch/1.4/manual/ranch_protocol/index.html6
-rw-r--r--docs/en/ranch/1.4/manual/ranch_ssl/index.html6
-rw-r--r--docs/en/ranch/1.4/manual/ranch_tcp/index.html6
-rw-r--r--docs/en/ranch/1.4/manual/ranch_transport/index.html6
-rw-r--r--docs/en/ranch/1.5/guide/embedded/index.html6
-rw-r--r--docs/en/ranch/1.5/guide/index.html6
-rw-r--r--docs/en/ranch/1.5/guide/internals/index.html6
-rw-r--r--docs/en/ranch/1.5/guide/introduction/index.html6
-rw-r--r--docs/en/ranch/1.5/guide/listeners/index.html6
-rw-r--r--docs/en/ranch/1.5/guide/parsers/index.html6
-rw-r--r--docs/en/ranch/1.5/guide/protocols/index.html6
-rw-r--r--docs/en/ranch/1.5/guide/ssl_auth/index.html6
-rw-r--r--docs/en/ranch/1.5/guide/transports/index.html6
-rw-r--r--docs/en/ranch/1.5/manual/index.html6
-rw-r--r--docs/en/ranch/1.5/manual/ranch/index.html6
-rw-r--r--docs/en/ranch/1.5/manual/ranch_app/index.html6
-rw-r--r--docs/en/ranch/1.5/manual/ranch_protocol/index.html6
-rw-r--r--docs/en/ranch/1.5/manual/ranch_ssl/index.html6
-rw-r--r--docs/en/ranch/1.5/manual/ranch_tcp/index.html6
-rw-r--r--docs/en/ranch/1.5/manual/ranch_transport/index.html6
-rw-r--r--docs/en/ranch/1.6/guide/embedded/index.html6
-rw-r--r--docs/en/ranch/1.6/guide/index.html6
-rw-r--r--docs/en/ranch/1.6/guide/internals/index.html6
-rw-r--r--docs/en/ranch/1.6/guide/introduction/index.html6
-rw-r--r--docs/en/ranch/1.6/guide/listeners/index.html6
-rw-r--r--docs/en/ranch/1.6/guide/migrating_from_1.5/index.html6
-rw-r--r--docs/en/ranch/1.6/guide/migrating_from_1.6/index.html6
-rw-r--r--docs/en/ranch/1.6/guide/migrating_from_1.x/index.html6
-rw-r--r--docs/en/ranch/1.6/guide/parsers/index.html6
-rw-r--r--docs/en/ranch/1.6/guide/protocols/index.html6
-rw-r--r--docs/en/ranch/1.6/guide/ssl_auth/index.html6
-rw-r--r--docs/en/ranch/1.6/guide/transports/index.html6
-rw-r--r--docs/en/ranch/1.6/guide/upcoming_2.0_changes/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.child_spec/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.get_addr/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.get_max_connections/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.get_port/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.get_protocol_options/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.get_status/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.get_transport_options/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.handshake/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.info/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.procs/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.remove_connection/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.resume_listener/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.set_max_connections/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.set_protocol_options/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.set_transport_options/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.start_listener/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.stop_listener/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.suspend_listener/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch.wait_for_connections/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch_app/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch_protocol/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch_ssl/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch_tcp/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch_transport.sendfile/index.html6
-rw-r--r--docs/en/ranch/1.6/manual/ranch_transport/index.html6
-rw-r--r--docs/en/ranch/1.7/guide/embedded/index.html6
-rw-r--r--docs/en/ranch/1.7/guide/index.html6
-rw-r--r--docs/en/ranch/1.7/guide/internals/index.html6
-rw-r--r--docs/en/ranch/1.7/guide/introduction/index.html6
-rw-r--r--docs/en/ranch/1.7/guide/listeners/index.html6
-rw-r--r--docs/en/ranch/1.7/guide/migrating_from_1.5/index.html6
-rw-r--r--docs/en/ranch/1.7/guide/migrating_from_1.6/index.html6
-rw-r--r--docs/en/ranch/1.7/guide/migrating_from_1.7/index.html6
-rw-r--r--docs/en/ranch/1.7/guide/migrating_from_1.x/index.html6
-rw-r--r--docs/en/ranch/1.7/guide/parsers/index.html6
-rw-r--r--docs/en/ranch/1.7/guide/protocols/index.html6
-rw-r--r--docs/en/ranch/1.7/guide/ssl_auth/index.html6
-rw-r--r--docs/en/ranch/1.7/guide/transports/index.html6
-rw-r--r--docs/en/ranch/1.7/guide/upcoming_2.0_changes/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.child_spec/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.get_addr/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.get_max_connections/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.get_port/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.get_protocol_options/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.get_status/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.get_transport_options/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.handshake/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.info/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.procs/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.recv_proxy_header/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.remove_connection/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.resume_listener/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.set_max_connections/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.set_protocol_options/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.set_transport_options/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.start_listener/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.stop_listener/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.suspend_listener/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch.wait_for_connections/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch_app/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch_protocol/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch_proxy_header.header/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch_proxy_header.parse/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch_proxy_header/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch_ssl/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch_tcp/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch_transport.sendfile/index.html6
-rw-r--r--docs/en/ranch/1.7/manual/ranch_transport/index.html6
-rw-r--r--docs/en/ranch/2.0/guide/connection_draining.asciidoc98
-rw-r--r--docs/en/ranch/2.0/guide/connection_draining/index.html258
-rw-r--r--docs/en/ranch/2.0/guide/embedded.asciidoc47
-rw-r--r--docs/en/ranch/2.0/guide/embedded/index.html (renamed from docs/en/ranch/1.2/guide/embedded/index.html)35
-rw-r--r--docs/en/ranch/2.0/guide/index.html (renamed from docs/en/ranch/1.2/guide/index.html)33
-rw-r--r--docs/en/ranch/2.0/guide/internals.asciidoc (renamed from docs/en/ranch/1.2/guide/internals.asciidoc)2
-rw-r--r--docs/en/ranch/2.0/guide/internals/index.html (renamed from docs/en/ranch/1.2/guide/internals/index.html)22
-rw-r--r--docs/en/ranch/2.0/guide/introduction.asciidoc (renamed from docs/en/ranch/1.2/guide/introduction.asciidoc)4
-rw-r--r--docs/en/ranch/2.0/guide/introduction/index.html (renamed from docs/en/ranch/1.2/guide/introduction/index.html)18
-rw-r--r--docs/en/ranch/2.0/guide/listeners.asciidoc (renamed from docs/en/ranch/1.3/guide/listeners.asciidoc)145
-rw-r--r--docs/en/ranch/2.0/guide/listeners/index.html (renamed from docs/en/ranch/1.3/guide/listeners/index.html)112
-rw-r--r--docs/en/ranch/2.0/guide/migrating_from_1.5.asciidoc76
-rw-r--r--docs/en/ranch/2.0/guide/migrating_from_1.5/index.html221
-rw-r--r--docs/en/ranch/2.0/guide/migrating_from_1.6.asciidoc46
-rw-r--r--docs/en/ranch/2.0/guide/migrating_from_1.6/index.html (renamed from docs/en/ranch/1.3/guide/introduction/index.html)57
-rw-r--r--docs/en/ranch/2.0/guide/migrating_from_1.7.asciidoc134
-rw-r--r--docs/en/ranch/2.0/guide/migrating_from_1.7/index.html246
-rw-r--r--docs/en/ranch/2.0/guide/migrating_from_1.x.asciidoc70
-rw-r--r--docs/en/ranch/2.0/guide/migrating_from_1.x/index.html (renamed from docs/en/ranch/1.3/guide/embedded/index.html)146
-rw-r--r--docs/en/ranch/2.0/guide/parsers.asciidoc (renamed from docs/en/ranch/1.3/guide/parsers.asciidoc)2
-rw-r--r--docs/en/ranch/2.0/guide/parsers/index.html (renamed from docs/en/ranch/1.2/guide/parsers/index.html)18
-rw-r--r--docs/en/ranch/2.0/guide/protocols.asciidoc (renamed from docs/en/ranch/1.3/guide/protocols.asciidoc)52
-rw-r--r--docs/en/ranch/2.0/guide/protocols/index.html (renamed from docs/en/ranch/1.3/guide/protocols/index.html)64
-rw-r--r--docs/en/ranch/2.0/guide/ssl_auth.asciidoc (renamed from docs/en/ranch/1.3/guide/ssl_auth.asciidoc)2
-rw-r--r--docs/en/ranch/2.0/guide/ssl_auth/index.html (renamed from docs/en/ranch/1.3/guide/ssl_auth/index.html)20
-rw-r--r--docs/en/ranch/2.0/guide/transports.asciidoc (renamed from docs/en/ranch/1.3/guide/transports.asciidoc)11
-rw-r--r--docs/en/ranch/2.0/guide/transports/index.html (renamed from docs/en/ranch/1.3/guide/transports/index.html)25
-rw-r--r--docs/en/ranch/2.0/manual/index.html (renamed from docs/en/ranch/1.3/manual/index.html)60
-rw-r--r--docs/en/ranch/2.0/manual/ranch.child_spec/index.html (renamed from docs/en/cowboy/2.1/manual/cowboy_req.inform/index.html)107
-rw-r--r--docs/en/ranch/2.0/manual/ranch.get_addr/index.html (renamed from docs/en/cowboy/2.0/manual/cowboy_req.peer/index.html)74
-rw-r--r--docs/en/ranch/2.0/manual/ranch.get_max_connections/index.html (renamed from docs/en/cowboy/2.0/manual/cowboy_req.has_body/index.html)47
-rw-r--r--docs/en/ranch/2.0/manual/ranch.get_port/index.html (renamed from docs/en/cowboy/2.1/manual/cowboy_req.has_body/index.html)53
-rw-r--r--docs/en/ranch/2.0/manual/ranch.get_protocol_options/index.html185
-rw-r--r--docs/en/ranch/2.0/manual/ranch.get_status/index.html (renamed from docs/en/cowboy/2.0/manual/cowboy_req.resp_headers/index.html)46
-rw-r--r--docs/en/ranch/2.0/manual/ranch.get_transport_options/index.html185
-rw-r--r--docs/en/ranch/2.0/manual/ranch.handshake/index.html (renamed from docs/en/cowboy/2.0/manual/cowboy_req.scheme/index.html)79
-rw-r--r--docs/en/ranch/2.0/manual/ranch.info/index.html (renamed from docs/en/cowboy/2.1/manual/cowboy_req.peer/index.html)103
-rw-r--r--docs/en/ranch/2.0/manual/ranch.procs/index.html (renamed from docs/en/cowboy/2.0/manual/cowboy_req.version/index.html)69
-rw-r--r--docs/en/ranch/2.0/manual/ranch.recv_proxy_header/index.html (renamed from docs/en/cowboy/2.1/manual/cowboy_req.scheme/index.html)80
-rw-r--r--docs/en/ranch/2.0/manual/ranch.remove_connection/index.html (renamed from docs/en/cowboy/2.1/manual/cowboy_req.resp_headers/index.html)52
-rw-r--r--docs/en/ranch/2.0/manual/ranch.resume_listener/index.html (renamed from docs/en/cowboy/2.1/manual/cowboy.stop_listener/index.html)54
-rw-r--r--docs/en/ranch/2.0/manual/ranch.set_max_connections/index.html (renamed from docs/en/cowboy/2.0/manual/cowboy_req.path_info/index.html)55
-rw-r--r--docs/en/ranch/2.0/manual/ranch.set_protocol_options/index.html190
-rw-r--r--docs/en/ranch/2.0/manual/ranch.set_transport_options/index.html (renamed from docs/en/cowboy/2.0/manual/cowboy.set_env/index.html)104
-rw-r--r--docs/en/ranch/2.0/manual/ranch.start_listener/index.html (renamed from docs/en/cowboy/2.0/manual/cowboy.start_tls/index.html)110
-rw-r--r--docs/en/ranch/2.0/manual/ranch.stop_listener/index.html (renamed from docs/en/cowboy/2.0/manual/cowboy.stop_listener/index.html)53
-rw-r--r--docs/en/ranch/2.0/manual/ranch.suspend_listener/index.html (renamed from docs/en/cowboy/2.0/manual/cowboy_req.body_length/index.html)54
-rw-r--r--docs/en/ranch/2.0/manual/ranch.wait_for_connections/index.html (renamed from docs/en/cowboy/2.0/manual/cowboy_req.binding/index.html)77
-rw-r--r--docs/en/ranch/2.0/manual/ranch/index.html305
-rw-r--r--docs/en/ranch/2.0/manual/ranch_app/index.html (renamed from docs/en/ranch/1.3/manual/ranch_app/index.html)51
-rw-r--r--docs/en/ranch/2.0/manual/ranch_protocol/index.html (renamed from docs/en/ranch/1.2/manual/ranch_protocol/index.html)53
-rw-r--r--docs/en/ranch/2.0/manual/ranch_proxy_header.header/index.html (renamed from docs/en/cowboy/2.0/manual/cowboy_req.header/index.html)95
-rw-r--r--docs/en/ranch/2.0/manual/ranch_proxy_header.parse/index.html (renamed from docs/en/cowboy/2.0/manual/cowboy_req.host_info/index.html)52
-rw-r--r--docs/en/ranch/2.0/manual/ranch_proxy_header/index.html274
-rw-r--r--docs/en/ranch/2.0/manual/ranch_ssl/index.html (renamed from docs/en/ranch/1.3/manual/ranch_ssl/index.html)155
-rw-r--r--docs/en/ranch/2.0/manual/ranch_tcp/index.html (renamed from docs/en/ranch/1.3/manual/ranch_tcp/index.html)101
-rw-r--r--docs/en/ranch/2.0/manual/ranch_transport.sendfile/index.html (renamed from docs/en/cowboy/2.0/manual/cowboy_handler.terminate/index.html)88
-rw-r--r--docs/en/ranch/2.0/manual/ranch_transport/index.html392
-rw-r--r--docs/index.html42
-rw-r--r--docs/index.xml3346
-rw-r--r--donate/index.html404
-rw-r--r--index.html408
-rw-r--r--index.xml3359
-rw-r--r--services/index.html404
-rw-r--r--sitemap.xml1075
1199 files changed, 6166 insertions, 149445 deletions
diff --git a/_build/Makefile b/_build/Makefile
index d030fbd2..b528ef27 100644
--- a/_build/Makefile
+++ b/_build/Makefile
@@ -132,4 +132,4 @@ docs:: docs-$1
endef
-$(eval $(foreach p,$(PROJECTS),$(call docs-target,$p)))
+$(eval $(foreach p,$(filter-out erlang.mk,$(PROJECTS)),$(call docs-target,$p)))
diff --git a/_build/content/articles/ranch-2.0.0-rc.1.asciidoc b/_build/content/articles/ranch-2.0.0-rc.1.asciidoc
new file mode 100644
index 00000000..8065a0e8
--- /dev/null
+++ b/_build/content/articles/ranch-2.0.0-rc.1.asciidoc
@@ -0,0 +1,82 @@
++++
+date = "2019-07-18T07:00:00+01:00"
+title = "Ranch 2.0 release candidate 1"
+
++++
+
+Ranch `2.0.0-rc.1` has been released!
+
+We are getting very close to releasing Ranch 2.0! As most of
+the tremendous programming work was done by contributor Jan Uhlig,
+I will yield the floor and let him describe what went into this
+great release.
+
+In Ranch 1.x, there is only one supervisor per Ranch listener
+to start and manage connection processes. Under high load
+(many clients rapidly connecting and/or disconnecting), the
+message queue of this one supervisor could becomes congested,
+leading to declining accept rates or a stalled listener.
+
+Ranch 2.0 introduces the `num_conns_sups` option (defaulting
+to the number of acceptors), which allows the message load to
+be divided between the specified number of connection supervisors.
+This improves accept concurrency at the same time.
+
+Another bottleneck is a possible congestion of the syn queue of
+a listening socket. The reason is located within the operating
+system's TCP/IP implementation, and on Linux the `SO_REUSEPORT`
+socket option was introduced to address it. What it boils down
+to is that you can have more than just one socket listening on
+the same port, causing the sockets to be load-balanced when
+accepting connections.
+
+Ranch 1.x always uses a single listening socket per listener,
+shared between the acceptors. With a trick, starting multiple Ranch
+listeners on the same port, it is already possible to make use
+of the `SO_REUSEPORT` feature. But that's not ideal.
+
+Ranch 2.0 introduces the `num_listen_sockets` option, which allows
+to specify the number of listening sockets a Ranch listener should
+employ, without having to use this trick. Whether you can use
+`SO_REUSEPORT` at all and how to enable it depends on your
+operating system, though.
+
+Other changes include proper support for local (Unix Domain) sockets,
+removing the restriction that a listener be suspended to change its
+transport options and much needed improvements to embedded listeners.
+
+In addition we have had patches merged to Erlang/OTP to add support
+for active N to the `ssl` application (requires Erlang/OTP 21.3 or
+above) and fix a number of smaller issues we encountered. We have
+also helped detect and fix a bug in the Windows implementation of
+active N that greatly reduced its performance in some cases.
+
+To ensure that everything works correctly, new tests have been
+written, and some existing tests were updated. A noteworthy addition
+in this area is pitting Ranch against https://github.com/ankhers/havoc[Havoc],
+a resilience testing tool that kills random processes and ports
+in the system.
+
+Cowboy users wishing to try Ranch 2.0.0-rc.1 will need to use Cowboy's
+master branch at this time or wait for the upcoming Cowboy 2.7.0.
+Cowboy has been made compatible with both Ranch 1 and 2.
+
+Last but not least, aside from the changes mentioned above, we
+are currently preparing a https://github.com/juhlig/prometheus_ranch[Prometheus collector]
+for Ranch as well as an accompanying Grafana dashboard.
+
+Ranch 2.0 requires Erlang/OTP 21 or above and is tested and supported
+on Linux, FreeBSD, macOS and Windows.
+
+A complete
+list of changes can be found in the migration guide:
+https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.7/[Migrating from Ranch 1.7 to 2.0].
+
+You can donate to this project via
+https://salt.bountysource.com/teams/ninenines[BountySource].
+These funds are used to pay for additional servers for
+testing. We will soon add two Raspberry Pi 4 in order
+to have some ARM targets when testing.
+
+As usual, feedback is appreciated, and issues or
+questions should be sent via Github tickets. Thanks!
diff --git a/_build/content/docs.asciidoc b/_build/content/docs.asciidoc
index f22fc81c..6e65fffe 100644
--- a/_build/content/docs.asciidoc
+++ b/_build/content/docs.asciidoc
@@ -10,13 +10,15 @@ aliases = [
"/docs/en/gun/",
"/docs/en/ranch/",
"/docs/en/cowboy/1.0/",
- "docs/en/cowboy/HEAD/",
- "docs/en/cowboy/HEAD/guide/",
- "docs/en/cowboy/HEAD/manual/",
+ "/docs/en/cowboy/HEAD/",
+ "/docs/en/cowboy/HEAD/guide/",
+ "/docs/en/cowboy/HEAD/manual/",
"/docs/en/cowboy/2.0/",
+ "/docs/en/cowboy/2.1/",
"/docs/en/erlang.mk/1/",
"/docs/en/gun/1.0/",
- "/docs/en/ranch/1.2/"
+ "/docs/en/ranch/1.2/",
+ "/docs/en/ranch/1.3/"
]
+++
diff --git a/_build/data/projects/cowboy.toml b/_build/data/projects/cowboy.toml
index 50370ad3..72cdeb30 100644
--- a/_build/data/projects/cowboy.toml
+++ b/_build/data/projects/cowboy.toml
@@ -3,8 +3,8 @@ catchphrase = "Small, fast, modern HTTP server."
description = "Cowboy is the ultimate server for the modern Web with support for Websocket, HTTP/2 and REST."
name = "cowboy"
repository = "https://github.com/ninenines/cowboy"
-versions = ["2.6", "2.5", "2.4", "2.3", "2.2", "2.1", "2.0", "1.0"]
-branches = ["master", "2.5.0", "2.4.0", "2.3.0", "2.2.2", "32d9d494c70f1f48a9194fce8eb550cd3f88df54", "2.0.0", "1.0.x"]
+versions = ["2.6", "2.5", "2.4", "2.3", "2.2"]
+branches = ["master", "2.5.0", "2.4.0", "2.3.0", "2.2.2"]
has_source = true
has_guide = true
has_manual = true
diff --git a/_build/data/projects/erlang.mk.toml b/_build/data/projects/erlang.mk.toml
index c18d1dbb..ef75c053 100644
--- a/_build/data/projects/erlang.mk.toml
+++ b/_build/data/projects/erlang.mk.toml
@@ -3,7 +3,7 @@ catchphrase = "A build tool that just works."
description = "Embrace the power and simplicity of Makefiles."
name = "erlang.mk"
repository = "https://github.com/ninenines/erlang.mk"
-versions = ["1"]
-branches = ["master"]
+versions = []
+branches = []
has_source = true
external_site = "http://erlang.mk"
diff --git a/_build/data/projects/ranch.toml b/_build/data/projects/ranch.toml
index 5415e854..ab1fe4ea 100644
--- a/_build/data/projects/ranch.toml
+++ b/_build/data/projects/ranch.toml
@@ -3,8 +3,8 @@ catchphrase = "The holy cow of servers."
description = "Ranch is a socket acceptor pool for building awesome TCP and TLS servers."
name = "ranch"
repository = "https://github.com/ninenines/ranch"
-versions = ["1.7", "1.6", "1.5", "1.4", "1.3", "1.2"]
-branches = ["1.7.1", "1.6.2", "1.5.0", "1.4.0", "1.3.2", "1.2.1"]
+versions = ["2.0", "1.7", "1.6", "1.5", "1.4"]
+branches = ["master", "1.7.1", "1.6.2", "1.5.0", "1.4.0"]
has_source = true
has_guide = true
has_manual = true
diff --git a/_build/static/docs/db.json b/_build/static/docs/db.json
deleted file mode 100644
index 368e78f0..00000000
--- a/_build/static/docs/db.json
+++ /dev/null
@@ -1 +0,0 @@
-[{"n":"cowboy_static:extra_mimetypes","l":"/docs/en/cowboy/1.0/manual/cowboy_static/index.html#extra_mimetypes"},{"n":"cowboy_static:extra","l":"/docs/en/cowboy/1.0/manual/cowboy_static/index.html#extra"},{"n":"cowboy_static:opts","l":"/docs/en/cowboy/1.0/manual/cowboy_static/index.html#opts"},{"n":"cowboy_static:extra_etag","l":"/docs/en/cowboy/1.0/manual/cowboy_static/index.html#extra_etag"},{"n":"http_status_codes:304 Not Modified","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#304 not modified"},{"n":"http_status_codes:500 Internal Server Error","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#500 internal server error"},{"n":"http_status_codes:201 Created","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#201 created"},{"n":"http_status_codes:413 Request Entity Too Large","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#413 request entity too large"},{"n":"http_status_codes:300 Multiple Choices","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#300 multiple choices"},{"n":"http_status_codes:412 Precondition Failed","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#412 precondition failed"},{"n":"http_status_codes:200 OK","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#200 ok"},{"n":"http_status_codes:101 Switching Protocols","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#101 switching protocols"},{"n":"http_status_codes:501 Not Implemented","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#501 not implemented"},{"n":"http_status_codes:505 HTTP Version Not Supported","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#505 http version not supported"},{"n":"http_status_codes:204 No Content","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#204 no content"},{"n":"http_status_codes:406 Not Acceptable","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#406 not acceptable"},{"n":"http_status_codes:415 Unsupported Media Type","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#415 unsupported media type"},{"n":"http_status_codes:503 Service Unavailable","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#503 service unavailable"},{"n":"http_status_codes:410 Gone","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#410 gone"},{"n":"http_status_codes:400 Bad Request","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#400 bad request"},{"n":"http_status_codes:401 Unauthorized","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#401 unauthorized"},{"n":"http_status_codes:301 Moved Permanently","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#301 moved permanently"},{"n":"http_status_codes:100 Continue","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#100 continue"},{"n":"http_status_codes:414 Request-URI Too Long","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#414 request-uri too long"},{"n":"http_status_codes:307 Temporary Redirect","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#307 temporary redirect"},{"n":"http_status_codes:409 Conflict","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#409 conflict"},{"n":"http_status_codes:202 Accepted","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#202 accepted"},{"n":"http_status_codes:404 Not Found","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#404 not found"},{"n":"http_status_codes:303 See Other","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#303 see other"},{"n":"http_status_codes:405 Method Not Allowed","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#405 method not allowed"},{"n":"http_status_codes:403 Forbidden","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#403 forbidden"},{"n":"http_status_codes:408 Request Timeout","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#408 request timeout"},{"n":"cowboy:http_version","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#http_version"},{"n":"cowboy:http_status","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#http_status"},{"n":"cowboy:onrequest_fun","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#onrequest_fun"},{"n":"cowboy:onresponse_fun","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#onresponse_fun"},{"n":"cowboy:start_http","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#start_http"},{"n":"cowboy:http_headers","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#http_headers"},{"n":"cowboy:start_https","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#start_https"},{"n":"cowboy:start_spdy","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#start_spdy"},{"n":"cowboy:stop_listener","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#stop_listener"},{"n":"cowboy:set_env","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#set_env"},{"n":"cowboy_http_handler:handle","l":"/docs/en/cowboy/1.0/manual/cowboy_http_handler/index.html#handle"},{"n":"cowboy_http_handler:init","l":"/docs/en/cowboy/1.0/manual/cowboy_http_handler/index.html#init"},{"n":"cowboy_http_handler:terminate","l":"/docs/en/cowboy/1.0/manual/cowboy_http_handler/index.html#terminate"},{"n":"cowboy_loop_handler:info","l":"/docs/en/cowboy/1.0/manual/cowboy_loop_handler/index.html#info"},{"n":"cowboy_loop_handler:init","l":"/docs/en/cowboy/1.0/manual/cowboy_loop_handler/index.html#init"},{"n":"cowboy_loop_handler:terminate","l":"/docs/en/cowboy/1.0/manual/cowboy_loop_handler/index.html#terminate"},{"n":"cowboy_middleware:env","l":"/docs/en/cowboy/1.0/manual/cowboy_middleware/index.html#env"},{"n":"cowboy_middleware:execute","l":"/docs/en/cowboy/1.0/manual/cowboy_middleware/index.html#execute"},{"n":"cowboy_protocol:max_header_name_length ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#max_header_name_length "},{"n":"cowboy_protocol:max_keepalive ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#max_keepalive "},{"n":"cowboy_protocol:max_request_line_length ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#max_request_line_length "},{"n":"cowboy_protocol:middlewares ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#middlewares "},{"n":"cowboy_protocol:onresponse ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#onresponse "},{"n":"cowboy_protocol:timeout ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#timeout "},{"n":"cowboy_protocol:max_header_value_length ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#max_header_value_length "},{"n":"cowboy_protocol:max_headers ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#max_headers "},{"n":"cowboy_protocol:max_empty_lines ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#max_empty_lines "},{"n":"cowboy_protocol:compress ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#compress "},{"n":"cowboy_protocol:onrequest ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#onrequest "},{"n":"cowboy_protocol:env ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#env "},{"n":"cowboy_protocol:opts","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#opts"},{"n":"cowboy_req:has_resp_body","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#has_resp_body"},{"n":"cowboy_req:body_length","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#body_length"},{"n":"cowboy_req:headers","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#headers"},{"n":"cowboy_req:chunk","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#chunk"},{"n":"cowboy_req:parse_header","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#parse_header"},{"n":"cowboy_req:req","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#req"},{"n":"cowboy_req:cookie","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#cookie"},{"n":"cowboy_req:reply","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#reply"},{"n":"cowboy_req:method","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#method"},{"n":"cowboy_req:body_qs","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#body_qs"},{"n":"cowboy_req:set_resp_cookie","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#set_resp_cookie"},{"n":"cowboy_req:set_resp_header","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#set_resp_header"},{"n":"cowboy_req:port","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#port"},{"n":"cowboy_req:peer","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#peer"},{"n":"cowboy_req:part","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#part"},{"n":"cowboy_req:meta","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#meta"},{"n":"cowboy_req:continue","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#continue"},{"n":"cowboy_req:delete_resp_header","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#delete_resp_header"},{"n":"cowboy_req:set_meta","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#set_meta"},{"n":"cowboy_req:chunked_reply","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#chunked_reply"},{"n":"cowboy_req:host","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#host"},{"n":"cowboy_req:host_url","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#host_url"},{"n":"cowboy_req:qs_val","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#qs_val"},{"n":"cowboy_req:body","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#body"},{"n":"cowboy_req:cookies","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#cookies"},{"n":"cowboy_req:host_info","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#host_info"},{"n":"cowboy_req:cookie_opts","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#cookie_opts"},{"n":"cowboy_req:version","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#version"},{"n":"cowboy_req:qs","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#qs"},{"n":"cowboy_req:body_opts","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#body_opts"},{"n":"cowboy_req:bindings","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#bindings"},{"n":"cowboy_req:header","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#header"},{"n":"cowboy_req:binding","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#binding"},{"n":"cowboy_req:path_info","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#path_info"},{"n":"cowboy_req:compact","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#compact"},{"n":"cowboy_req:has_body","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#has_body"},{"n":"cowboy_req:path","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#path"},{"n":"cowboy_req:set_resp_body","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#set_resp_body"},{"n":"cowboy_req:has_resp_header","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#has_resp_header"},{"n":"cowboy_req:url","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#url"},{"n":"cowboy_req:qs_vals","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#qs_vals"},{"n":"cowboy_req:set_resp_body_fun","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#set_resp_body_fun"},{"n":"cowboy_req:part_body","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#part_body"},{"n":"cowboy_rest:valid_content_headers","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#valid_content_headers"},{"n":"cowboy_rest:generate_etag","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#generate_etag"},{"n":"cowboy_rest:forbidden","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#forbidden"},{"n":"cowboy_rest:valid_entity_length","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#valid_entity_length"},{"n":"cowboy_rest:expires","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#expires"},{"n":"cowboy_rest:resource_exists","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#resource_exists"},{"n":"cowboy_rest:last_modified","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#last_modified"},{"n":"cowboy_rest:delete_completed","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#delete_completed"},{"n":"cowboy_rest:is_conflict","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#is_conflict"},{"n":"cowboy_rest:moved_permanently","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#moved_permanently"},{"n":"cowboy_rest:media_type","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#media_type"},{"n":"cowboy_rest:charsets_provided","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#charsets_provided"},{"n":"cowboy_rest:content_types_provided","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#content_types_provided"},{"n":"cowboy_rest:content_types_accepted","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#content_types_accepted"},{"n":"cowboy_rest:previously_existed","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#previously_existed"},{"n":"cowboy_rest:languages_provided","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#languages_provided"},{"n":"cowboy_rest:uri_too_long","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#uri_too_long"},{"n":"cowboy_rest:moved_temporarily","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#moved_temporarily"},{"n":"cowboy_rest:charset","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#charset"},{"n":"cowboy_rest:rest_init","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#rest_init"},{"n":"cowboy_rest:rest_terminate","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#rest_terminate"},{"n":"cowboy_rest:known_content_type","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#known_content_type"},{"n":"cowboy_rest:allow_missing_post","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#allow_missing_post"},{"n":"cowboy_rest:options","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#options"},{"n":"cowboy_rest:multiple_choices","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#multiple_choices"},{"n":"cowboy_rest:language","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#language"},{"n":"cowboy_rest:allowed_methods","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#allowed_methods"},{"n":"cowboy_rest:malformed_request","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#malformed_request"},{"n":"cowboy_rest:known_methods","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#known_methods"},{"n":"cowboy_rest:Callback","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#callback"},{"n":"cowboy_rest:delete_resource","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#delete_resource"},{"n":"cowboy_rest:service_available","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#service_available"},{"n":"cowboy_rest:is_authorized","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#is_authorized"},{"n":"cowboy_rest:variances","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#variances"},{"n":"cowboy_rest:init","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#init"},{"n":"cowboy_router:constraints","l":"/docs/en/cowboy/1.0/manual/cowboy_router/index.html#constraints"},{"n":"cowboy_router:routes","l":"/docs/en/cowboy/1.0/manual/cowboy_router/index.html#routes"},{"n":"cowboy_router:tokens","l":"/docs/en/cowboy/1.0/manual/cowboy_router/index.html#tokens"},{"n":"cowboy_router:bindings","l":"/docs/en/cowboy/1.0/manual/cowboy_router/index.html#bindings"},{"n":"cowboy_router:compile","l":"/docs/en/cowboy/1.0/manual/cowboy_router/index.html#compile"},{"n":"cowboy_router:dispatch_rules","l":"/docs/en/cowboy/1.0/manual/cowboy_router/index.html#dispatch_rules"},{"n":"cowboy_spdy:middlewares ","l":"/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html#middlewares "},{"n":"cowboy_spdy:onresponse ","l":"/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html#onresponse "},{"n":"cowboy_spdy:onrequest ","l":"/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html#onrequest "},{"n":"cowboy_spdy:opts","l":"/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html#opts"},{"n":"cowboy_spdy:env ","l":"/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html#env "},{"n":"cowboy_sub_protocol:upgrade","l":"/docs/en/cowboy/1.0/manual/cowboy_sub_protocol/index.html#upgrade"},{"n":"cowboy_websocket:websocket_compress","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket/index.html#websocket_compress"},{"n":"cowboy_websocket:websocket_version","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket/index.html#websocket_version"},{"n":"cowboy_websocket:close_code","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket/index.html#close_code"},{"n":"cowboy_websocket:frame","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket/index.html#frame"},{"n":"cowboy_websocket_handler:websocket_info","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html#websocket_info"},{"n":"cowboy_websocket_handler:websocket_terminate","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html#websocket_terminate"},{"n":"cowboy_websocket_handler:websocket_handle","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html#websocket_handle"},{"n":"cowboy_websocket_handler:init","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html#init"},{"n":"cowboy_websocket_handler:websocket_init","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html#websocket_init"},{"n":"cowboy_static:extra_mimetypes","l":"/docs/en/cowboy/HEAD/manual/cowboy_static/index.html#extra_mimetypes"},{"n":"cowboy_static:extra","l":"/docs/en/cowboy/HEAD/manual/cowboy_static/index.html#extra"},{"n":"cowboy_static:opts","l":"/docs/en/cowboy/HEAD/manual/cowboy_static/index.html#opts"},{"n":"cowboy_static:extra_etag","l":"/docs/en/cowboy/HEAD/manual/cowboy_static/index.html#extra_etag"},{"n":"http_status_codes:304 Not Modified","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#304 not modified"},{"n":"http_status_codes:500 Internal Server Error","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#500 internal server error"},{"n":"http_status_codes:201 Created","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#201 created"},{"n":"http_status_codes:413 Request Entity Too Large","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#413 request entity too large"},{"n":"http_status_codes:300 Multiple Choices","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#300 multiple choices"},{"n":"http_status_codes:412 Precondition Failed","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#412 precondition failed"},{"n":"http_status_codes:200 OK","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#200 ok"},{"n":"http_status_codes:101 Switching Protocols","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#101 switching protocols"},{"n":"http_status_codes:501 Not Implemented","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#501 not implemented"},{"n":"http_status_codes:505 HTTP Version Not Supported","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#505 http version not supported"},{"n":"http_status_codes:204 No Content","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#204 no content"},{"n":"http_status_codes:406 Not Acceptable","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#406 not acceptable"},{"n":"http_status_codes:415 Unsupported Media Type","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#415 unsupported media type"},{"n":"http_status_codes:503 Service Unavailable","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#503 service unavailable"},{"n":"http_status_codes:410 Gone","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#410 gone"},{"n":"http_status_codes:400 Bad Request","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#400 bad request"},{"n":"http_status_codes:401 Unauthorized","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#401 unauthorized"},{"n":"http_status_codes:301 Moved Permanently","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#301 moved permanently"},{"n":"http_status_codes:100 Continue","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#100 continue"},{"n":"http_status_codes:414 Request-URI Too Long","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#414 request-uri too long"},{"n":"http_status_codes:307 Temporary Redirect","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#307 temporary redirect"},{"n":"http_status_codes:409 Conflict","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#409 conflict"},{"n":"http_status_codes:202 Accepted","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#202 accepted"},{"n":"http_status_codes:404 Not Found","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#404 not found"},{"n":"http_status_codes:303 See Other","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#303 see other"},{"n":"http_status_codes:405 Method Not Allowed","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#405 method not allowed"},{"n":"http_status_codes:403 Forbidden","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#403 forbidden"},{"n":"http_status_codes:408 Request Timeout","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#408 request timeout"},{"n":"cowboy:http_version","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#http_version"},{"n":"cowboy:fields","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#fields"},{"n":"cowboy:http_status","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#http_status"},{"n":"cowboy:onresponse_fun","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#onresponse_fun"},{"n":"cowboy:start_http","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#start_http"},{"n":"cowboy:http_headers","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#http_headers"},{"n":"cowboy:start_https","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#start_https"},{"n":"cowboy:start_spdy","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#start_spdy"},{"n":"cowboy:stop_listener","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#stop_listener"},{"n":"cowboy:set_env","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#set_env"},{"n":"cowboy_handler:{crash, Class, Reason}","l":"/docs/en/cowboy/HEAD/manual/cowboy_handler/index.html#{crash, class, reason}"},{"n":"cowboy_handler:normal","l":"/docs/en/cowboy/HEAD/manual/cowboy_handler/index.html#normal"},{"n":"cowboy_handler:init","l":"/docs/en/cowboy/HEAD/manual/cowboy_handler/index.html#init"},{"n":"cowboy_handler:terminate","l":"/docs/en/cowboy/HEAD/manual/cowboy_handler/index.html#terminate"},{"n":"cowboy_loop:{error, Reason}","l":"/docs/en/cowboy/HEAD/manual/cowboy_loop/index.html#{error, reason}"},{"n":"cowboy_loop:stop","l":"/docs/en/cowboy/HEAD/manual/cowboy_loop/index.html#stop"},{"n":"cowboy_loop:timeout","l":"/docs/en/cowboy/HEAD/manual/cowboy_loop/index.html#timeout"},{"n":"cowboy_loop:{crash, Class, Reason}","l":"/docs/en/cowboy/HEAD/manual/cowboy_loop/index.html#{crash, class, reason}"},{"n":"cowboy_loop:{error, closed}","l":"/docs/en/cowboy/HEAD/manual/cowboy_loop/index.html#{error, closed}"},{"n":"cowboy_loop:info","l":"/docs/en/cowboy/HEAD/manual/cowboy_loop/index.html#info"},{"n":"cowboy_loop:{error, overflow}","l":"/docs/en/cowboy/HEAD/manual/cowboy_loop/index.html#{error, overflow}"},{"n":"cowboy_loop:normal","l":"/docs/en/cowboy/HEAD/manual/cowboy_loop/index.html#normal"},{"n":"cowboy_middleware:env","l":"/docs/en/cowboy/HEAD/manual/cowboy_middleware/index.html#env"},{"n":"cowboy_middleware:execute","l":"/docs/en/cowboy/HEAD/manual/cowboy_middleware/index.html#execute"},{"n":"cowboy_protocol:max_header_name_length ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#max_header_name_length "},{"n":"cowboy_protocol:max_keepalive ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#max_keepalive "},{"n":"cowboy_protocol:max_request_line_length ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#max_request_line_length "},{"n":"cowboy_protocol:middlewares ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#middlewares "},{"n":"cowboy_protocol:onresponse ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#onresponse "},{"n":"cowboy_protocol:timeout ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#timeout "},{"n":"cowboy_protocol:max_header_value_length ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#max_header_value_length "},{"n":"cowboy_protocol:max_headers ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#max_headers "},{"n":"cowboy_protocol:max_empty_lines ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#max_empty_lines "},{"n":"cowboy_protocol:compress ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#compress "},{"n":"cowboy_protocol:env ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#env "},{"n":"cowboy_protocol:opts","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#opts"},{"n":"cowboy_req:has_resp_body","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#has_resp_body"},{"n":"cowboy_req:body_length","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#body_length"},{"n":"cowboy_req:headers","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#headers"},{"n":"cowboy_req:chunk","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#chunk"},{"n":"cowboy_req:parse_header","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#parse_header"},{"n":"cowboy_req:req","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#req"},{"n":"cowboy_req:match_qs","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#match_qs"},{"n":"cowboy_req:reply","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#reply"},{"n":"cowboy_req:method","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#method"},{"n":"cowboy_req:parse_cookies","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#parse_cookies"},{"n":"cowboy_req:body_qs","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#body_qs"},{"n":"cowboy_req:parse_qs","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#parse_qs"},{"n":"cowboy_req:set_resp_cookie","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#set_resp_cookie"},{"n":"cowboy_req:set_resp_header","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#set_resp_header"},{"n":"cowboy_req:port","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#port"},{"n":"cowboy_req:peer","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#peer"},{"n":"cowboy_req:part","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#part"},{"n":"cowboy_req:meta","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#meta"},{"n":"cowboy_req:continue","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#continue"},{"n":"cowboy_req:delete_resp_header","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#delete_resp_header"},{"n":"cowboy_req:set_meta","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#set_meta"},{"n":"cowboy_req:chunked_reply","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#chunked_reply"},{"n":"cowboy_req:host","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#host"},{"n":"cowboy_req:host_url","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#host_url"},{"n":"cowboy_req:body","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#body"},{"n":"cowboy_req:host_info","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#host_info"},{"n":"cowboy_req:cookie_opts","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#cookie_opts"},{"n":"cowboy_req:version","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#version"},{"n":"cowboy_req:qs","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#qs"},{"n":"cowboy_req:body_opts","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#body_opts"},{"n":"cowboy_req:bindings","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#bindings"},{"n":"cowboy_req:header","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#header"},{"n":"cowboy_req:binding","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#binding"},{"n":"cowboy_req:match_cookies","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#match_cookies"},{"n":"cowboy_req:path_info","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#path_info"},{"n":"cowboy_req:has_body","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#has_body"},{"n":"cowboy_req:path","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#path"},{"n":"cowboy_req:set_resp_body","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#set_resp_body"},{"n":"cowboy_req:has_resp_header","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#has_resp_header"},{"n":"cowboy_req:url","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#url"},{"n":"cowboy_req:set_resp_body_fun","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#set_resp_body_fun"},{"n":"cowboy_req:part_body","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#part_body"},{"n":"cowboy_rest:valid_content_headers","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#valid_content_headers"},{"n":"cowboy_rest:generate_etag","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#generate_etag"},{"n":"cowboy_rest:forbidden","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#forbidden"},{"n":"cowboy_rest:valid_entity_length","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#valid_entity_length"},{"n":"cowboy_rest:resource_exists","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#resource_exists"},{"n":"cowboy_rest:expires","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#expires"},{"n":"cowboy_rest:last_modified","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#last_modified"},{"n":"cowboy_rest:{crash, Class, Reason}","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#{crash, class, reason}"},{"n":"cowboy_rest:delete_completed","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#delete_completed"},{"n":"cowboy_rest:is_conflict","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#is_conflict"},{"n":"cowboy_rest:moved_permanently","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#moved_permanently"},{"n":"cowboy_rest:media_type","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#media_type"},{"n":"cowboy_rest:charsets_provided","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#charsets_provided"},{"n":"cowboy_rest:content_types_accepted","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#content_types_accepted"},{"n":"cowboy_rest:content_types_provided","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#content_types_provided"},{"n":"cowboy_rest:normal","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#normal"},{"n":"cowboy_rest:previously_existed","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#previously_existed"},{"n":"cowboy_rest:languages_provided","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#languages_provided"},{"n":"cowboy_rest:uri_too_long","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#uri_too_long"},{"n":"cowboy_rest:moved_temporarily","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#moved_temporarily"},{"n":"cowboy_rest:charset","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#charset"},{"n":"cowboy_rest:allow_missing_post","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#allow_missing_post"},{"n":"cowboy_rest:options","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#options"},{"n":"cowboy_rest:multiple_choices","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#multiple_choices"},{"n":"cowboy_rest:language","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#language"},{"n":"cowboy_rest:allowed_methods","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#allowed_methods"},{"n":"cowboy_rest:malformed_request","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#malformed_request"},{"n":"cowboy_rest:known_methods","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#known_methods"},{"n":"cowboy_rest:Callback","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#callback"},{"n":"cowboy_rest:delete_resource","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#delete_resource"},{"n":"cowboy_rest:service_available","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#service_available"},{"n":"cowboy_rest:is_authorized","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#is_authorized"},{"n":"cowboy_rest:variances","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#variances"},{"n":"cowboy_router:routes","l":"/docs/en/cowboy/HEAD/manual/cowboy_router/index.html#routes"},{"n":"cowboy_router:tokens","l":"/docs/en/cowboy/HEAD/manual/cowboy_router/index.html#tokens"},{"n":"cowboy_router:bindings","l":"/docs/en/cowboy/HEAD/manual/cowboy_router/index.html#bindings"},{"n":"cowboy_router:compile","l":"/docs/en/cowboy/HEAD/manual/cowboy_router/index.html#compile"},{"n":"cowboy_router:dispatch_rules","l":"/docs/en/cowboy/HEAD/manual/cowboy_router/index.html#dispatch_rules"},{"n":"cowboy_spdy:middlewares ","l":"/docs/en/cowboy/HEAD/manual/cowboy_spdy/index.html#middlewares "},{"n":"cowboy_spdy:onresponse ","l":"/docs/en/cowboy/HEAD/manual/cowboy_spdy/index.html#onresponse "},{"n":"cowboy_spdy:opts","l":"/docs/en/cowboy/HEAD/manual/cowboy_spdy/index.html#opts"},{"n":"cowboy_spdy:env ","l":"/docs/en/cowboy/HEAD/manual/cowboy_spdy/index.html#env "},{"n":"cowboy_sub_protocol:upgrade","l":"/docs/en/cowboy/HEAD/manual/cowboy_sub_protocol/index.html#upgrade"},{"n":"cowboy_websocket:{remote, Code, Payload}","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#{remote, code, payload}"},{"n":"cowboy_websocket:{error, Reason}","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#{error, reason}"},{"n":"cowboy_websocket:stop","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#stop"},{"n":"cowboy_websocket:timeout","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#timeout"},{"n":"cowboy_websocket:{crash, Class, Reason}","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#{crash, class, reason}"},{"n":"cowboy_websocket:websocket_compress","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#websocket_compress"},{"n":"cowboy_websocket:{error, closed}","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#{error, closed}"},{"n":"cowboy_websocket:websocket_info","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#websocket_info"},{"n":"cowboy_websocket:{error, badframe}","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#{error, badframe}"},{"n":"cowboy_websocket:websocket_version","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#websocket_version"},{"n":"cowboy_websocket:remote","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#remote"},{"n":"cowboy_websocket:normal","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#normal"},{"n":"cowboy_websocket:websocket_handle","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#websocket_handle"},{"n":"cowboy_websocket:{error, badencoding}","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#{error, badencoding}"},{"n":"ranch:start_listener","l":"/docs/en/ranch/1.1/manual/ranch/index.html#start_listener"},{"n":"ranch:set_protocol_options","l":"/docs/en/ranch/1.1/manual/ranch/index.html#set_protocol_options"},{"n":"ranch:set_max_connections","l":"/docs/en/ranch/1.1/manual/ranch/index.html#set_max_connections"},{"n":"ranch:get_protocol_options","l":"/docs/en/ranch/1.1/manual/ranch/index.html#get_protocol_options"},{"n":"ranch:accept_ack","l":"/docs/en/ranch/1.1/manual/ranch/index.html#accept_ack"},{"n":"ranch:remove_connection","l":"/docs/en/ranch/1.1/manual/ranch/index.html#remove_connection"},{"n":"ranch:max_conns","l":"/docs/en/ranch/1.1/manual/ranch/index.html#max_conns"},{"n":"ranch:child_spec","l":"/docs/en/ranch/1.1/manual/ranch/index.html#child_spec"},{"n":"ranch:ref","l":"/docs/en/ranch/1.1/manual/ranch/index.html#ref"},{"n":"ranch:get_max_connections","l":"/docs/en/ranch/1.1/manual/ranch/index.html#get_max_connections"},{"n":"ranch:get_port","l":"/docs/en/ranch/1.1/manual/ranch/index.html#get_port"},{"n":"ranch:stop_listener","l":"/docs/en/ranch/1.1/manual/ranch/index.html#stop_listener"},{"n":"ranch_protocol:start_link","l":"/docs/en/ranch/1.1/manual/ranch_protocol/index.html#start_link"},{"n":"ranch_ssl:opts","l":"/docs/en/ranch/1.1/manual/ranch_ssl/index.html#opts"},{"n":"ranch_tcp:opts","l":"/docs/en/ranch/1.1/manual/ranch_tcp/index.html#opts"},{"n":"ranch_transport:accept_ack","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#accept_ack"},{"n":"ranch_transport:controlling_process","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#controlling_process"},{"n":"ranch_transport:shutdown","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#shutdown"},{"n":"ranch_transport:sendfile_opts","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#sendfile_opts"},{"n":"ranch_transport:sendfile","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#sendfile"},{"n":"ranch_transport:send","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#send"},{"n":"ranch_transport:accept","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#accept"},{"n":"ranch_transport:recv","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#recv"},{"n":"ranch_transport:name","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#name"},{"n":"ranch_transport:close","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#close"},{"n":"ranch_transport:listen","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#listen"},{"n":"ranch_transport:setopts","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#setopts"},{"n":"ranch_transport:peername","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#peername"},{"n":"ranch_transport:messages","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#messages"},{"n":"ranch_transport:sockname","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#sockname"},{"n":"ranch:start_listener","l":"/docs/en/ranch/1.0/manual/ranch/index.html#start_listener"},{"n":"ranch:set_protocol_options","l":"/docs/en/ranch/1.0/manual/ranch/index.html#set_protocol_options"},{"n":"ranch:set_max_connections","l":"/docs/en/ranch/1.0/manual/ranch/index.html#set_max_connections"},{"n":"ranch:get_protocol_options","l":"/docs/en/ranch/1.0/manual/ranch/index.html#get_protocol_options"},{"n":"ranch:accept_ack","l":"/docs/en/ranch/1.0/manual/ranch/index.html#accept_ack"},{"n":"ranch:remove_connection","l":"/docs/en/ranch/1.0/manual/ranch/index.html#remove_connection"},{"n":"ranch:max_conns","l":"/docs/en/ranch/1.0/manual/ranch/index.html#max_conns"},{"n":"ranch:child_spec","l":"/docs/en/ranch/1.0/manual/ranch/index.html#child_spec"},{"n":"ranch:ref","l":"/docs/en/ranch/1.0/manual/ranch/index.html#ref"},{"n":"ranch:get_max_connections","l":"/docs/en/ranch/1.0/manual/ranch/index.html#get_max_connections"},{"n":"ranch:get_port","l":"/docs/en/ranch/1.0/manual/ranch/index.html#get_port"},{"n":"ranch:stop_listener","l":"/docs/en/ranch/1.0/manual/ranch/index.html#stop_listener"},{"n":"ranch_protocol:start_link","l":"/docs/en/ranch/1.0/manual/ranch_protocol/index.html#start_link"},{"n":"ranch_ssl:opts","l":"/docs/en/ranch/1.0/manual/ranch_ssl/index.html#opts"},{"n":"ranch_tcp:opts","l":"/docs/en/ranch/1.0/manual/ranch_tcp/index.html#opts"},{"n":"ranch_transport:accept_ack","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#accept_ack"},{"n":"ranch_transport:controlling_process","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#controlling_process"},{"n":"ranch_transport:shutdown","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#shutdown"},{"n":"ranch_transport:sendfile_opts","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#sendfile_opts"},{"n":"ranch_transport:sendfile","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#sendfile"},{"n":"ranch_transport:send","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#send"},{"n":"ranch_transport:accept","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#accept"},{"n":"ranch_transport:recv","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#recv"},{"n":"ranch_transport:name","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#name"},{"n":"ranch_transport:close","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#close"},{"n":"ranch_transport:listen","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#listen"},{"n":"ranch_transport:setopts","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#setopts"},{"n":"ranch_transport:peername","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#peername"},{"n":"ranch_transport:messages","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#messages"},{"n":"ranch_transport:sockname","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#sockname"},{"n":"ranch:start_listener","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#start_listener"},{"n":"ranch:set_protocol_options","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#set_protocol_options"},{"n":"ranch:set_max_connections","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#set_max_connections"},{"n":"ranch:get_protocol_options","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#get_protocol_options"},{"n":"ranch:accept_ack","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#accept_ack"},{"n":"ranch:remove_connection","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#remove_connection"},{"n":"ranch:max_conns","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#max_conns"},{"n":"ranch:child_spec","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#child_spec"},{"n":"ranch:ref","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#ref"},{"n":"ranch:get_max_connections","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#get_max_connections"},{"n":"ranch:get_port","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#get_port"},{"n":"ranch:stop_listener","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#stop_listener"},{"n":"ranch_protocol:start_link","l":"/docs/en/ranch/HEAD/manual/ranch_protocol/index.html#start_link"},{"n":"ranch_ssl:opts","l":"/docs/en/ranch/HEAD/manual/ranch_ssl/index.html#opts"},{"n":"ranch_tcp:opts","l":"/docs/en/ranch/HEAD/manual/ranch_tcp/index.html#opts"},{"n":"ranch_transport:accept_ack","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#accept_ack"},{"n":"ranch_transport:controlling_process","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#controlling_process"},{"n":"ranch_transport:shutdown","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#shutdown"},{"n":"ranch_transport:sendfile_opts","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#sendfile_opts"},{"n":"ranch_transport:sendfile","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#sendfile"},{"n":"ranch_transport:send","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#send"},{"n":"ranch_transport:accept","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#accept"},{"n":"ranch_transport:recv","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#recv"},{"n":"ranch_transport:name","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#name"},{"n":"ranch_transport:close","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#close"},{"n":"ranch_transport:listen","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#listen"},{"n":"ranch_transport:setopts","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#setopts"},{"n":"ranch_transport:peername","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#peername"},{"n":"ranch_transport:messages","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#messages"},{"n":"ranch_transport:sockname","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#sockname"}] \ No newline at end of file
diff --git a/_build/static/docs/en/cowboy/1.0/guide/architecture/index.html b/_build/static/docs/en/cowboy/1.0/guide/architecture/index.html
deleted file mode 100644
index 054fd97e..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/architecture/index.html
+++ /dev/null
@@ -1,202 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Architecture</span></h1>
-
-<p>Cowboy is a lightweight HTTP server.</p>
-
-<p>It is built on top of Ranch. Please see the Ranch guide for more information.</p>
-
-<h2 id="one_process_per_connection">One process per connection</h2>
-
-<p>It uses only one process per connection. The process where your code runs is the process controlling the socket. Using one process instead of two allows for lower memory usage.</p>
-
-<p>Because there can be more than one request per connection with the keepalive feature of HTTP/1.1, that means the same process will be used to handle many requests.</p>
-
-<p>Because of this, you are expected to make sure your process cleans up before terminating the handling of the current request. This may include cleaning up the process dictionary, timers, monitoring and more.</p>
-
-<h2 id="binaries">Binaries</h2>
-
-<p>It uses binaries. Binaries are more efficient than lists for representing strings because they take less memory space. Processing performance can vary depending on the operation. Binaries are known for generally getting a great boost if the code is compiled natively. Please see the HiPE documentation for more details.</p>
-
-<h2 id="date_header">Date header</h2>
-
-<p>Because querying for the current date and time can be expensive, Cowboy generates one <code>Date</code> header value every second, shares it to all other processes, which then simply copy it in the response. This allows compliance with HTTP/1.1 with no actual performance loss.</p>
-
-<h2 id="max_connections">Max connections</h2>
-
-<p>By default the maximum number of active connections is set to a generally accepted big enough number. This is meant to prevent having too many processes performing potentially heavy work and slowing everything else down, or taking up all the memory.</p>
-
-<p>Disabling this feature, by setting the <code>{max_connections, infinity}</code> protocol option, would give you greater performance when you are only processing short-lived requests.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/broken_clients/index.html b/_build/static/docs/en/cowboy/1.0/guide/broken_clients/index.html
deleted file mode 100644
index 81086e95..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/broken_clients/index.html
+++ /dev/null
@@ -1,212 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Dealing with broken clients</span></h1>
-
-<p>There exists a very large number of implementations for the HTTP protocol. Most widely used clients, like browsers, follow the standard quite well, but others may not. In particular custom enterprise clients tend to be very badly written.</p>
-
-<p>Cowboy tries to follow the standard as much as possible, but is not trying to handle every possible special cases. Instead Cowboy focuses on the cases reported in the wild, on the public Web.</p>
-
-<p>That means clients that ignore the HTTP standard completely may fail to understand Cowboy's responses. There are of course workarounds. This chapter aims to cover them.</p>
-
-<h2 id="lowercase_headers">Lowercase headers</h2>
-
-<p>Cowboy converts all headers it receives to lowercase, and similarly sends back headers all in lowercase. Some broken HTTP clients have issues with that.</p>
-
-<p>A simple way to solve this is to create an <code>onresponse</code> hook that will format the header names with the expected case.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-capitalize_hook(Status, Headers, Body, Req) ->
- Headers2 = [{cowboy_bstr:capitalize_token(N), V}
- || {N, V} <- Headers],
- {ok, Req2} = cowboy_req:reply(Status, Headers2, Body, Req),
- Req2.
-]]></script>
-
-<p>Note that SPDY clients do not have that particular issue because the specification explicitly says all headers are lowercase, unlike HTTP which allows any case but treats them as case insensitive.</p>
-
-<h2 id="camel-case_headers">Camel-case headers</h2>
-
-<p>Sometimes it is desirable to keep the actual case used by clients, for example when acting as a proxy between two broken implementations. There is no easy solution for this other than forking the project and editing the <code>cowboy_protocol</code> file directly.</p>
-
-<h2 id="chunked_transfer-encoding">Chunked transfer-encoding</h2>
-
-<p>Sometimes an HTTP client advertises itself as HTTP/1.1 but does not support chunked transfer-encoding. This is invalid behavior, as HTTP/1.1 clients are required to support it.</p>
-
-<p>A simple workaround exists in these cases. By changing the Req object response state to <code>waiting_stream</code>, Cowboy will understand that it must use the identity transfer-encoding when replying, just like if it was an HTTP/1.0 client.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Req2 = cowboy_req:set(resp_state, waiting_stream).
-]]></script>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/cookies/index.html b/_build/static/docs/en/cowboy/1.0/guide/cookies/index.html
deleted file mode 100644
index e315fccd..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/cookies/index.html
+++ /dev/null
@@ -1,273 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Using cookies</span></h1>
-
-<p>Cookies are a mechanism allowing applications to maintain state on top of the stateless HTTP protocol.</p>
-
-<p>Cowboy provides facilities for handling cookies. It is highly recommended to use them instead of writing your own, as the implementation of cookies can vary greatly between clients.</p>
-
-<p>Cookies are stored client-side and sent with every subsequent request that matches the domain and path for which they were stored, including requests for static files. For this reason they can incur a cost which must be taken in consideration.</p>
-
-<p>Also consider that, regardless of the options used, cookies are not to be trusted. They may be read and modified by any program on the user's computer, but also by proxies. You should always validate cookie values before using them. Do not store any sensitive information in cookies either.</p>
-
-<p>When explicitly setting the domain, the cookie will be sent for the domain and all subdomains from that domain. Otherwise the current domain will be used. The same is true for the path.</p>
-
-<p>When the server sets cookies, they will only be available for requests that are sent after the client receives the response.</p>
-
-<p>Cookies are sent in HTTP headers, therefore they must have text values. It is your responsibility to encode any other data type. Also note that cookie names are de facto case sensitive.</p>
-
-<p>Cookies can be set for the client session (which generally means until the browser is closed), or it can be set for a number of seconds. Once it expires, or when the server says the cookie must exist for up to 0 seconds, the cookie is deleted by the client. To avoid this while the user is browsing your site, you should set the cookie for every request, essentially resetting the expiration time.</p>
-
-<p>Cookies can be restricted to secure channels. This typically means that such a cookie will only be sent over HTTPS, and that it will only be available by client-side scripts that run from HTTPS webpages.</p>
-
-<p>Finally, cookies can be restricted to HTTP and HTTPS requests, essentially disabling their access from client-side scripts.</p>
-
-<h2 id="setting_cookies">Setting cookies</h2>
-
-<p>By default, cookies you set are defined for the session.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-SessionID = generate_session_id(),
-Req2 = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, [], Req).
-]]></script>
-
-<p>You can also make them expire at a specific point in the future.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-SessionID = generate_session_id(),
-Req2 = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, [
- {max_age, 3600}
-], Req).
-]]></script>
-
-<p>You can delete cookies that have already been set. The value is ignored.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Req2 = cowboy_req:set_resp_cookie(<<"sessionid">>, <<>>, [
- {max_age, 0}
-], Req).
-]]></script>
-
-<p>You can restrict them to a specific domain and path. For example, the following cookie will be set for the domain <code>my.example.org</code> and all its subdomains, but only on the path <code>/account</code> and all its subdirectories.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Req2 = cowboy_req:set_resp_cookie(<<"inaccount">>, <<"1">>, [
- {domain, "my.example.org"},
- {path, "/account"}
-], Req).
-]]></script>
-
-<p>You can restrict the cookie to secure channels, typically HTTPS.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-SessionID = generate_session_id(),
-Req2 = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, [
- {secure, true}
-], Req).
-]]></script>
-
-<p>You can restrict the cookie to client-server communication only. Such a cookie will not be available to client-side scripts.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-SessionID = generate_session_id(),
-Req2 = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, [
- {http_only, true}
-], Req).
-]]></script>
-
-<p>Cookies may also be set client-side, for example using Javascript.</p>
-
-<h2 id="reading_cookies">Reading cookies</h2>
-
-<p>As we said, the client sends cookies with every request. But unlike the server, the client only sends the cookie name and value.</p>
-
-<p>You can read the value of a cookie.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{CookieVal, Req2} = cowboy_req:cookie(<<"lang">>, Req).
-]]></script>
-
-<p>You can also get a default value returned when the cookie isn't set.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{CookieVal, Req2} = cowboy_req:cookie(<<"lang">>, Req, <<"fr">>).
-]]></script>
-
-<p>And you can obtain all cookies at once as a list of key/value tuples.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{AllCookies, Req2} = cowboy_req:cookies(Req).
-]]></script>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/erlang_beginners/index.html b/_build/static/docs/en/cowboy/1.0/guide/erlang_beginners/index.html
deleted file mode 100644
index 23de4035..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/erlang_beginners/index.html
+++ /dev/null
@@ -1,196 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Erlang for beginners</span></h1>
-
-<p>Chances are you are interested in using Cowboy, but have no idea how to write an Erlang program. Fear not! This chapter will help you get started.</p>
-
-<p>We recommend two books for beginners. You should read them both at some point, as they cover Erlang from two entirely different perspectives.</p>
-
-<h2 id="learn_you_some_erlang_for_great_good!">Learn You Some Erlang for Great Good!</h2>
-
-<p>The quickest way to get started with Erlang is by reading a book with the funny name of <a href="http://learnyousomeerlang.com">LYSE</a>, as we affectionately call it.</p>
-
-<p>It will get right into the syntax and quickly answer the questions a beginner would ask themselves, all the while showing funny pictures and making insightful jokes.</p>
-
-<p>You can read an early version of the book online for free, but you really should buy the much more refined paper and ebook versions.</p>
-
-<h2 id="programming_erlang">Programming Erlang</h2>
-
-<p>After writing some code, you will probably want to understand the very concepts that make Erlang what it is today. These are best explained by Joe Armstrong, the godfather of Erlang, in his book <a href="http://pragprog.com/book/jaerlang2/programming-erlang">Programming Erlang</a>.</p>
-
-<p>Instead of going into every single details of the language, Joe focuses on the central concepts behind Erlang, and shows you how they can be used to write a variety of different applications.</p>
-
-<p>At the time of writing, the 2nd edition of the book is in beta, and includes a few details about upcoming Erlang features that cannot be used today. Choose the edition you want, then get reading!</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/erlang_web/index.html b/_build/static/docs/en/cowboy/1.0/guide/erlang_web/index.html
deleted file mode 100644
index 23430883..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/erlang_web/index.html
+++ /dev/null
@@ -1,248 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Erlang and the Web</span></h1>
-
-<h2 id="the_web_is_concurrent">The Web is concurrent</h2>
-
-<p>When you access a website there is little concurrency involved. A few connections are opened and requests are sent through these connections. Then the web page is displayed on your screen. Your browser will only open up to 4 or 8 connections to the server, depending on your settings. This isn't much.</p>
-
-<p>But think about it. You are not the only one accessing the server at the same time. There can be hundreds, if not thousands, if not millions of connections to the same server at the same time.</p>
-
-<p>Even today a lot of systems used in production haven't solved the C10K problem (ten thousand concurrent connections). And the ones who did are trying hard to get to the next step, C100K, and are pretty far from it.</p>
-
-<p>Erlang meanwhile has no problem handling millions of connections. At the time of writing there are application servers written in Erlang that can handle more than two million connections on a single server in a real production application, with spare memory and CPU!</p>
-
-<p>The Web is concurrent, and Erlang is a language designed for concurrency, so it is a perfect match.</p>
-
-<p>Of course, various platforms need to scale beyond a few million connections. This is where Erlang's built-in distribution mechanisms come in. If one server isn't enough, add more! Erlang allows you to use the same code for talking to local processes or to processes in other parts of your cluster, which means you can scale very quickly if the need arises.</p>
-
-<p>The Web has large userbases, and the Erlang platform was designed to work in a distributed setting, so it is a perfect match.</p>
-
-<p>Or is it? Surely you can find solutions to handle that many concurrent connections with your favorite language... But all these solutions will break down in the next few years. Why? Firstly because servers don't get any more powerful, they instead get a lot more cores and memory. This is only useful if your application can use them properly, and Erlang is light-years away from anything else in that area. Secondly, today your computer and your phone are online, tomorrow your watch, goggles, bike, car, fridge and tons of other devices will also connect to various applications on the Internet.</p>
-
-<p>Only Erlang is prepared to deal with what's coming.</p>
-
-<h2 id="the_web_is_soft_real_time">The Web is soft real time</h2>
-
-<p>What does soft real time mean, you ask? It means we want the operations done as quickly as possible, and in the case of web applications, it means we want the data propagated fast.</p>
-
-<p>In comparison, hard real time has a similar meaning, but also has a hard time constraint, for example an operation needs to be done in under N milliseconds otherwise the system fails entirely.</p>
-
-<p>Users aren't that needy yet, they just want to get access to their content in a reasonable delay, and they want the actions they make to register at most a few seconds after they submitted them, otherwise they'll start worrying about whether it successfully went through.</p>
-
-<p>The Web is soft real time because taking longer to perform an operation would be seen as bad quality of service.</p>
-
-<p>Erlang is a soft real time system. It will always run processes fairly, a little at a time, switching to another process after a while and preventing a single process to steal resources from all others. This means that Erlang can guarantee stable low latency of operations.</p>
-
-<p>Erlang provides the guarantees that the soft real time Web requires.</p>
-
-<h2 id="the_web_is_asynchronous">The Web is asynchronous</h2>
-
-<p>Long ago, the Web was synchronous because HTTP was synchronous. You fired a request, and then waited for a response. Not anymore. It all began when XmlHttpRequest started being used. It allowed the client to perform asynchronous calls to the server.</p>
-
-<p>Then Websocket appeared and allowed both the server and the client to send data to the other endpoint completely asynchronously. The data is contained within frames and no response is necessary.</p>
-
-<p>Erlang processes work the same. They send each other data contained within messages and then continue running without needing a response. They tend to spend most of their time inactive, waiting for a new message, and the Erlang VM happily activate them when one is received.</p>
-
-<p>It is therefore quite easy to imagine Erlang being good at receiving Websocket frames, which may come in at unpredictable times, pass the data to the responsible processes which are always ready waiting for new messages, and perform the operations required by only activating the required parts of the system.</p>
-
-<p>The more recent Web technologies, like Websocket of course, but also SPDY and HTTP/2.0, are all fully asynchronous protocols. The concept of requests and responses is retained of course, but anything could be sent in between, by both the client or the browser, and the responses could also be received in a completely different order.</p>
-
-<p>Erlang is by nature asynchronous and really good at it thanks to the great engineering that has been done in the VM over the years. It's only natural that it's so good at dealing with the asynchronous Web.</p>
-
-<h2 id="the_web_is_omnipresent">The Web is omnipresent</h2>
-
-<p>The Web has taken a very important part of our lives. We're connected at all times, when we're on our phone, using our computer, passing time using a tablet while in the bathroom... And this isn't going to slow down, every single device at home or on us will be connected.</p>
-
-<p>All these devices are always connected. And with the number of alternatives to give you access to the content you seek, users tend to not stick around when problems arise. Users today want their applications to be always available and if it's having too many issues they just move on.</p>
-
-<p>Despite this, when developers choose a product to use for building web applications, their only concern seem to be "Is it fast?", and they look around for synthetic benchmarks showing which one is the fastest at sending "Hello world" with only a handful concurrent connections. Web benchmarks haven't been representative of reality in a long time, and are drifting further away as time goes on.</p>
-
-<p>What developers should really ask themselves is "Can I service all my users with no interruption?" and they'd find that they have two choices. They can either hope for the best, or they can use Erlang.</p>
-
-<p>Erlang is built for fault tolerance. When writing code in any other language, you have to check all the return values and act accordingly to avoid any unforeseen issues. If you're lucky, you won't miss anything important. When writing Erlang code, you can just check the success condition and ignore all errors. If an error happen, the Erlang process crashes and is then restarted by a special process called a supervisor.</p>
-
-<p>The Erlang developer thus has no need to fear about unhandled errors, and can focus on handling only the errors that should give some feedback to the user and let the system take care of the rest. This also has the advantage of allowing him to write a lot less code, and letting him sleep at night.</p>
-
-<p>Erlang's fault tolerance oriented design is the first piece of what makes it the best choice for the omnipresent, always available Web.</p>
-
-<p>The second piece is Erlang's built-in distribution. Distribution is a key part of building a fault tolerant system, because it allows you to handle bigger failures, like a whole server going down, or even a data center entirely.</p>
-
-<p>Fault tolerance and distribution are important today, and will be vital in the future of the Web. Erlang is ready.</p>
-
-<h2 id="erlang_is_the_ideal_platform_for_the_web">Erlang is the ideal platform for the Web</h2>
-
-<p>Erlang provides all the important features that the Web requires or will require in the near future. Erlang is a perfect match for the Web, and it only makes sense to use it to build web applications.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/getting_started/index.html b/_build/static/docs/en/cowboy/1.0/guide/getting_started/index.html
deleted file mode 100644
index bd063c52..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/getting_started/index.html
+++ /dev/null
@@ -1,299 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Getting started</span></h1>
-
-<p>Erlang is more than a language, it is also an operating system for your applications. Erlang developers rarely write standalone modules, they write libraries or applications, and then bundle those into what is called a release. A release contains the Erlang VM plus all applications required to run the node, so it can be pushed to production directly.</p>
-
-<p>This chapter walks you through all the steps of setting up Cowboy, writing your first application and generating your first release. At the end of this chapter you should know everything you need to push your first Cowboy application to production.</p>
-
-<h2 id="bootstrap">Bootstrap</h2>
-
-<p>We are going to use the <a href="https://github.com/ninenines/erlang.mk">erlang.mk</a> build system. It also offers bootstrap features allowing us to quickly get started without having to deal with minute details.</p>
-
-<p>First, let's create the directory for our application.</p>
-
-<script type="syntaxhighlighter" class="brush: bash"><![CDATA[
-$ mkdir hello_erlang
-$ cd hello_erlang
-]]></script>
-
-<p>Then we need to download <code>erlang.mk</code>. Either use the following command or download it manually.</p>
-
-<script type="syntaxhighlighter" class="brush: bash"><![CDATA[
-$ wget https://raw.githubusercontent.com/ninenines/erlang.mk/master/erlang.mk
-]]></script>
-
-<p>We can now bootstrap our application. Since we are going to generate a release, we will also bootstrap it at the same time.</p>
-
-<script type="syntaxhighlighter" class="brush: bash"><![CDATA[
-$ make -f erlang.mk bootstrap bootstrap-rel
-]]></script>
-
-<p>This creates a Makefile, a base application, and the release files necessary for creating the release. We can already build and start this release.</p>
-
-<script type="syntaxhighlighter" class="brush: bash"><![CDATA[
-$ make
-...
-$ ./_rel/hello_erlang_release/bin/hello_erlang_release console
-...
-]]></script>
-
-<p>Entering the command <code>i().</code> will show the running processes, including one called <code>hello_erlang_sup</code>. This is the supervisor for our application.</p>
-
-<p>The release currently does nothing. In the rest of this chapter we will add Cowboy as a dependency and write a simple "Hello world!" handler.</p>
-
-<h2 id="cowboy_setup">Cowboy setup</h2>
-
-<p>To add Cowboy as a dependency to your application, you need to modify two files: the Makefile and the application resource file.</p>
-
-<p>Modifying the Makefile allows the build system to know it needs to fetch and compile Cowboy. To do that we simply need to add one line to our Makefile to make it look like this:</p>
-
-<script type="syntaxhighlighter" class="brush: plain"><![CDATA[
-PROJECT = hello_erlang
-DEPS = cowboy
-include erlang.mk
-]]></script>
-
-<p>Modifying the application resource file, <code>src/hello_erlang.app.src</code>, allows the build system to know it needs to include Cowboy in the release and start it automatically. This is a different step because some dependencies are only needed during development.</p>
-
-<p>We are simply going to add <code>cowboy</code> to the list of <code>applications</code>, right after <code>stdlib</code>. Don't forget the comma separator.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{application, hello_erlang, [
- {description, "Hello Erlang!"},
- {vsn, "0.1.0"},
- {modules, []},
- {registered, []},
- {applications, [
- kernel,
- stdlib,
- cowboy
- ]},
- {mod, {hello_erlang_app, []}},
- {env, []}
-]}.
-]]></script>
-
-<p>You may want to set a description for the application while you are editing the file.</p>
-
-<p>If you run <code>make</code> now and start the release, Cowboy will be included and started automatically. This is not enough however, as Cowboy doesn't do anything by default. We still need to tell Cowboy to listen for connections.</p>
-
-<h2 id="listening_for_connections">Listening for connections</h2>
-
-<p>We will do this when our application starts. It's a two step process. First we need to define and compile the dispatch list, a list of routes that Cowboy will use to map requests to handler modules. Then we tell Cowboy to listen for connections.</p>
-
-<p>Open the <code>src/hello_erlang_app.erl</code> file and add the necessary code to the <code>start/2</code> function to make it look like this:</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-start(_Type, _Args) ->
- Dispatch = cowboy_router:compile([
- {'_', [{"/", hello_handler, []}]}
- ]),
- cowboy:start_http(my_http_listener, 100, [{port, 8080}],
- [{env, [{dispatch, Dispatch}]}]
- ),
- hello_erlang_sup:start_link().
-]]></script>
-
-<p>The dispatch list is explained in great details in the <a href="/docs/en/cowboy/1.0/guide/routing">Routing</a> chapter. For this tutorial we map the path <code>/</code> to the handler module <code>hello_handler</code>. This module doesn't exist yet, we still have to write it.</p>
-
-<p>If you build the release, start it and open <a href="http://localhost:8080">http://localhost:8080</a> now, you will get an error because the module is missing. Any other URL, like <a href="http://localhost:8080/test">http://localhost:8080/test</a>, will result in a 404 error.</p>
-
-<h2 id="handling_requests">Handling requests</h2>
-
-<p>Cowboy features different kinds of handlers, including REST and Websocket handlers. For this tutorial we will use a plain HTTP handler.</p>
-
-<p>First, let's generate a handler from a template.</p>
-
-<script type="syntaxhighlighter" class="brush: bash"><![CDATA[
-$ make new t=cowboy_http n=hello_handler
-]]></script>
-
-<p>You can then open the <code>src/hello_handler.erl</code> file and modify the <code>handle/2</code> function like this to send a reply.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-handle(Req, State=#state{}) ->
- {ok, Req2} = cowboy_req:reply(200,
- [{<<"content-type">>, <<"text/plain">>}],
- <<"Hello Erlang!">>,
- Req),
- {ok, Req2, State}.
-]]></script>
-
-<p>What the above code does is send a <code>200 OK</code> reply, with the <code>content-type</code> header set to <code>text/plain</code> and the response body set to <code>Hello Erlang!</code>.</p>
-
-<p>If you build the release, start it and open <a href="http://localhost:8080">http://localhost:8080</a> in your browser, you should get a nice <code>Hello Erlang!</code> displayed!</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/hooks/index.html b/_build/static/docs/en/cowboy/1.0/guide/hooks/index.html
deleted file mode 100644
index 861a97b5..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/hooks/index.html
+++ /dev/null
@@ -1,239 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Hooks</span></h1>
-
-<p>Cowboy provides two hooks. <code>onrequest</code> is called once the request line and headers have been received. <code>onresponse</code> is called just before sending the response.</p>
-
-<h2 id="onrequest">Onrequest</h2>
-
-<p>The <code>onrequest</code> hook is called as soon as Cowboy finishes fetching the request headers. It occurs before any other processing, including routing. It can be used to perform any modification needed on the request object before continuing with the processing. If a reply is sent inside this hook, then Cowboy will move on to the next request, skipping any subsequent handling.</p>
-
-<p>This hook is a function that takes a request object as argument, and returns a request object. This function MUST NOT crash. Cowboy will not send any reply if a crash occurs in this function.</p>
-
-<p>You can specify the <code>onrequest</code> hook when creating the listener, inside the request options.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-cowboy:start_http(my_http_listener, 100,
- [{port, 8080}],
- [
- {env, [{dispatch, Dispatch}]},
- {onrequest, fun ?MODULE:debug_hook/1}
- ]
-).
-]]></script>
-
-<p>The following hook function prints the request object everytime a request is received. This can be useful for debugging, for example.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-debug_hook(Req) ->
- erlang:display(Req),
- Req.
-]]></script>
-
-<p>Make sure to always return the last request object obtained.</p>
-
-<h2 id="onresponse">Onresponse</h2>
-
-<p>The <code>onresponse</code> hook is called right before sending the response to the socket. It can be used for the purposes of logging responses, or for modifying the response headers or body. The best example is providing custom error pages.</p>
-
-<p>Note that like the <code>onrequest</code> hook, this function MUST NOT crash. Cowboy may or may not send a reply if this function crashes. If a reply is sent, the hook MUST explicitly provide all headers that are needed.</p>
-
-<p>You can specify the <code>onresponse</code> hook when creating the listener.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-cowboy:start_http(my_http_listener, 100,
- [{port, 8080}],
- [
- {env, [{dispatch, Dispatch}]},
- {onresponse, fun ?MODULE:custom_404_hook/4}
- ]
-).
-]]></script>
-
-<p>The following hook function will provide a custom body for 404 errors when it has not been provided before, and will let Cowboy proceed with the default response otherwise.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-custom_404_hook(404, Headers, <<>>, Req) ->
- Body = <<"404 Not Found.">>,
- Headers2 = lists:keyreplace(<<"content-length">>, 1, Headers,
- {<<"content-length">>, integer_to_list(byte_size(Body))}),
- {ok, Req2} = cowboy_req:reply(404, Headers2, Body, Req),
- Req2;
-custom_404_hook(_, _, _, Req) ->
- Req.
-]]></script>
-
-<p>Again, make sure to always return the last request object obtained.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/http_handlers/index.html b/_build/static/docs/en/cowboy/1.0/guide/http_handlers/index.html
deleted file mode 100644
index 512558af..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/http_handlers/index.html
+++ /dev/null
@@ -1,279 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Handling plain HTTP requests</span></h1>
-
-<p>The simplest way to handle a request is by writing a plain HTTP handler. It is modeled after Erlang/OTP's gen_server behaviour, although simplified, as Cowboy will simply call the three callbacks sequentially.</p>
-
-<h2 id="initialization">Initialization</h2>
-
-<p>The first callback, <code>init/3</code>, is common to all handlers, as it is used to identify the type of handler. Plain HTTP handlers just return <code>ok</code>.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_Type, Req, _Opts) ->
- {ok, Req, no_state}.
-]]></script>
-
-<p>This function receives the name of the transport and protocol modules used for processing the request. They can be used to quickly dismiss requests. For example the following handler will crash when accessed using TCP instead of SSL.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init({ssl, _}, Req, _Opts) ->
- {ok, Req, no_state}.
-]]></script>
-
-<p>This function also receives the options associated with this route that you configured previously. If your handler does not use options, then it is recommended you match the value <code>[]</code> directly to quickly detect configuration errors.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_Type, Req, []) ->
- {ok, Req, no_state}.
-]]></script>
-
-<p>You do not need to validate the options unless they are user configured. If they are, and there's a configuration error, you may choose to crash. For example, this will crash if the required <code>lang</code> option is not found.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_Type, Req, Opts) ->
- {_, _Lang} = lists:keyfind(lang, 1, Opts),
- {ok, Req, no_state}.
-]]></script>
-
-<p>If your users are unlikely to figure out the issue without explanations, then you should send a more meaningful error back to the user. Since we already replied to the user, there's no need for us to continue with the handler code, so we use the <code>shutdown</code> return value to stop early.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_Type, Req, Opts) ->
- case lists:keyfind(lang, 1, Opts) of
- false ->
- {ok, Req2} = cowboy_req:reply(500, [
- {<<"content-type">>, <<"text/plain">>}
- ], "Missing option 'lang'.", Req),
- {shutdown, Req2, no_state};
- _ ->
- {ok, Req, no_state}
- end.
-]]></script>
-
-<p>Once the options have been validated, we can use them safely. So we need to pass them onward to the rest of the handler. That's what the third element of the return tuple, the state, is for.</p>
-
-<p>We recommend that you create a state record for this. The record will make your handler code clearer and will allow you to better use Dialyzer for type checking.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
--record(state, {
- lang :: en | fr
- %% More fields here.
-}).
-
-init(_Type, Req, Opts) ->
- {_, Lang} = lists:keyfind(lang, 1, Opts),
- {ok, Req, #state{lang=Lang}}.
-]]></script>
-
-<h2 id="handling_the_request">Handling the request</h2>
-
-<p>The second callback, <code>handle/2</code>, is specific to plain HTTP handlers. It's where you, wait for it, handle the request.</p>
-
-<p>A handle function that does nothing would look like this:</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-handle(Req, State) ->
- {ok, Req, State}.
-]]></script>
-
-<p>There's no other return value. To obtain information about the request, or send a response, you would use the Req object here. The Req object is documented in its own chapter.</p>
-
-<p>The following handle function will send a fairly original response.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-handle(Req, State) ->
- {ok, Req2} = cowboy_req:reply(200, [
- {<<"content-type">>, <<"text/plain">>}
- ], <<"Hello World!">>, Req),
- {ok, Req2, State}.
-]]></script>
-
-<h2 id="cleaning_up">Cleaning up</h2>
-
-<p>The third and last callback, <code>terminate/3</code>, will most likely be empty in your handler.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-terminate(_Reason, Req, State) ->
- ok.
-]]></script>
-
-<p>This callback is strictly reserved for any required cleanup. You cannot send a response from this function. There is no other return value.</p>
-
-<p>If you used the process dictionary, timers, monitors or may be receiving messages, then you can use this function to clean them up, as Cowboy might reuse the process for the next keep-alive request.</p>
-
-<p>The chances of any of this happening in your handler are pretty thin however. The use of the process dictionary is discouraged in Erlang code in general. And if you need to use timers, monitors or to receive messages, you are better off with a loop handler, a different kind of handler meant specifically for this use.</p>
-
-<p>This function is still available should you need it. It will always be called.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/http_req_life/index.html b/_build/static/docs/en/cowboy/1.0/guide/http_req_life/index.html
deleted file mode 100644
index 9ee8b4d0..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/http_req_life/index.html
+++ /dev/null
@@ -1,251 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>The life of a request</span></h1>
-
-<p>This chapter explains the different steps a request goes through until a response is sent, along with details of the Cowboy implementation.</p>
-
-<h2 id="request/response">Request/response</h2>
-
-<p>As you already know, HTTP clients connect to the server and send a request for a resource; the server then sends a response containing the resource if it could obtain it.</p>
-
-<p>Before the server can send the resource, however, it needs to perform many different operations to read the request, find the resource, prepare the response being sent and often other related operations the user can add like writing logs.</p>
-
-<p>Requests take the following route in Cowboy:</p>
-
-<p><img title="HTTP request/response flowchart" src="/docs/en/cowboy/1.0/guide/http_req_resp.png"/></p>
-
-<p>This shows the default middlewares, but they may be configured differently in your setup. The dark green indicates the points where you can hook your own code, the light green is the Cowboy code that you can of course configure as needed.</p>
-
-<p>The <code>acceptor</code> is the part of the server that accepts the connection and create an Erlang process to handle it. The <code>parser</code> then starts reading from the socket and handling requests as they come until the socket is closed.</p>
-
-<p>A response may be sent at many different points in the life of the request. If Cowboy can't parse the request, it gives up with an error response. If the router can't find the resource, it sends a not found error. Your own code can of course send a response at any time.</p>
-
-<p>When a response is sent, you can optionally modify it or act upon it by enabling the <code>onresponse</code> hook. By default the response is sent directly to the client.</p>
-
-<h2 id="and_then?">And then?</h2>
-
-<p>Behavior depends on what protocol is in use.</p>
-
-<p>HTTP/1.0 can only process one request per connection, so Cowboy will close the connection immediately after it sends the response.</p>
-
-<p>HTTP/1.1 allows the client to request that the server keeps the connection alive. This mechanism is described in the next section.</p>
-
-<p>SPDY is designed to allow sending multiple requests asynchronously on the same connection. Details on what this means for your application is described in this chapter.</p>
-
-<h2 id="keep-alive_(http/1.1)">Keep-alive (HTTP/1.1)</h2>
-
-<p>With HTTP/1.1, the connection may be left open for subsequent requests to come. This mechanism is called <code>keep-alive</code>.</p>
-
-<p>When the client sends a request to the server, it includes a header indicating whether it would like to leave the socket open. The server may or may not accept, indicating its choice by sending the same header in the response.</p>
-
-<p>Cowboy will include this header automatically in all responses to HTTP/1.1 requests. You can however force the closing of the socket if you want. When Cowboy sees you want to send a <code>connection: close</code> header, it will not override it and will close the connection as soon as the reply is sent.</p>
-
-<p>This snippet will force Cowboy to close the connection.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:reply(200, [
- {<<"connection">>, <<"close">>},
-], <<"Closing the socket in 3.. 2.. 1..">>, Req).
-]]></script>
-
-<p>Cowboy will only accept a certain number of new requests on the same connection. By default it will run up to 100 requests. This number can be changed by setting the <code>max_keepalive</code> configuration value when starting an HTTP listener.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-cowboy:start_http(my_http_listener, 100, [{port, 8080}], [
- {env, [{dispatch, Dispatch}]},
- {max_keepalive, 5}
-]).
-]]></script>
-
-<p>Cowboy implements the keep-alive mechanism by reusing the same process for all requests. This allows Cowboy to save memory. This works well because most code will not have any side effect impacting subsequent requests. But it also means you need to clean up if you do have code with side effects. The <code>terminate/3</code> function can be used for this purpose.</p>
-
-<h2 id="pipelining_(http/1.1)">Pipelining (HTTP/1.1)</h2>
-
-<p>While HTTP is designed as a sequential protocol, with the client sending a request and then waiting for the response from the server, nothing prevents the client from sending more requests to the server without waiting for the response, due to how sockets work. The server still handles the requests sequentially and sends the responses in the same order.</p>
-
-<p>This mechanism is called pipelining. It allows reducing latency when a client needs to request many resources at the same time. This is used by browsers when requesting static files for example.</p>
-
-<p>This is handled automatically by the server.</p>
-
-<h2 id="asynchronous_requests_(spdy)">Asynchronous requests (SPDY)</h2>
-
-<p>In SPDY, the client can send a request at any time. And the server can send a response at any time too.</p>
-
-<p>This means for example that the client does not need to wait for a request to be fully sent to send another, it is possible to interleave a request with the request body of another request. The same is true with responses. Responses may also be sent in a different order.</p>
-
-<p>Because requests and responses are fully asynchronous, Cowboy creates a new process for each request, and these processes are managed by another process that handles the connection itself.</p>
-
-<p>SPDY servers may also decide to send resources to the client before the client requests them. This is especially useful for sending static files associated with the HTML page requested, as this reduces the latency of the overall response. Cowboy does not support this particular mechanism at this point, however.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/http_req_resp.png b/_build/static/docs/en/cowboy/1.0/guide/http_req_resp.png
deleted file mode 100644
index e38935f3..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/http_req_resp.png
+++ /dev/null
Binary files differ
diff --git a/_build/static/docs/en/cowboy/1.0/guide/http_req_resp.svg b/_build/static/docs/en/cowboy/1.0/guide/http_req_resp.svg
deleted file mode 100644
index 0cfa0ae9..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/http_req_resp.svg
+++ /dev/null
@@ -1,558 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="http_req_resp.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4142136"
- inkscape:cx="229.71447"
- inkscape:cy="764.83183"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="1920"
- inkscape:window-height="1014"
- inkscape:window-x="0"
- inkscape:window-y="33"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <use
- x="0"
- y="0"
- xlink:href="#path5757"
- id="use5779"
- transform="matrix(0.59961275,-0.80029029,0.80029029,0.59961275,-103.8895,437.48518)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#path5757"
- id="use5777"
- transform="matrix(0.92125726,-0.38895379,0.38895379,0.92125726,-85.14742,176.0134)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:2, 4;stroke-dashoffset:0"
- d="m 188.5,231.36218 187,79"
- id="path5757"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#g5650"
- id="use5753"
- transform="translate(475.11201,-33.017248)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#use5753"
- id="use5755"
- transform="translate(3.984568e-6,86.977569)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279908999999984;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="43.721401"
- y="360.88528"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#g5650"
- id="use5654"
- transform="translate(205.03261,53.351708)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#use5656"
- id="use5658"
- transform="translate(0,-86.13396)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#use5658"
- id="use5660"
- transform="translate(0,-87.519558)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#use5660"
- id="use5662"
- transform="translate(0,-86.562562)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;opacity:0.8" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;opacity:0.8"
- sodipodi:type="star" />
- </g>
- <use
- x="0"
- y="0"
- xlink:href="#use5654"
- id="use5656"
- transform="translate(6.1542801e-7,-87.19819)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273"
- id="use5335"
- transform="translate(318.97597,268.31614)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(318.97592,-176.5)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-7"
- id="use5359"
- transform="translate(318.97597,32.954225)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#use5359"
- id="use5361"
- transform="translate(1.630859e-6,86.769591)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#use5335"
- id="use5363"
- transform="translate(0,173.33215)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#use5361"
- id="use5365"
- transform="translate(0,173.66424)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="146.77734"
- y="147.73293"
- id="text5371-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="146.77734"
- y="147.73293">acceptor</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="146.53125"
- y="233.42836"
- id="text5371-74"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-5"
- x="146.53125"
- y="233.42836">parser</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="146.53125"
- y="407.78009"
- id="text5371-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-0"
- x="146.53125"
- y="407.78009">router</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.00391"
- y="321.39722"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="147.00391"
- y="321.39722">onrequest</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="146.53125"
- y="495.07318"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="146.53125"
- y="495.07318">handler</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-446.99591"
- y="63.078125"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-446.99591"
- y="63.078125">middlewares</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.00391"
- y="60.912468"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2"
- x="147.00391"
- y="60.912468">client</tspan></text>
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-7"
- id="use5668"
- transform="translate(589.05532,207.03588)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273"
- id="use5670"
- transform="translate(589.05538,355.27934)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#use5355"
- id="use5672"
- transform="translate(270.07946,434.91762)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#text5371-4-0"
- id="use5674"
- transform="translate(270.29655,434.16115)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="417.30829"
- y="321.42792"
- id="text5371-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-57"
- x="417.30829"
- y="321.42792">reply</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="417.30829"
- y="407.77994"
- id="text5371-2-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="417.30829"
- y="407.77994">onresponse</tspan></text>
- </g>
-</svg>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/index.html b/_build/static/docs/en/cowboy/1.0/guide/index.html
deleted file mode 100644
index 52d8fdcc..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/index.html
+++ /dev/null
@@ -1,250 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Cowboy User Guide</span></h1>
-
-<p>The Cowboy User Guide explores the modern Web and how to make best use of Cowboy for writing powerful web applications.</p>
-
-<h2 id="introducing_cowboy">Introducing Cowboy</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/introduction">Introduction</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/modern_web">The modern Web</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/erlang_web">Erlang and the Web</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/erlang_beginners">Erlang for beginners</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/getting_started">Getting started</a></li>
-</ul>
-
-<h2 id="http">HTTP</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/http_req_life">The life of a request</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/routing">Routing</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/http_handlers">Handling plain HTTP requests</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/req">The Req object</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/req_body">Reading the request body</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/resp">Sending a response</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/cookies">Using cookies</a></li>
-</ul>
-
-<h2 id="multipart">Multipart</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/multipart_intro">Introduction to multipart</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/multipart_req">Multipart requests</a></li>
-</ul>
-
-<h2 id="static_files">Static files</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/static_handlers">Static handler</a></li>
-</ul>
-
-<h2 id="rest">REST</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/rest_principles">REST principles</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/rest_handlers">Handling REST requests</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/rest_flowcharts">REST flowcharts</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/resource_design">Designing a resource handler</a></li>
-</ul>
-
-<h2 id="websocket">Websocket</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/ws_protocol">The Websocket protocol</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/ws_handlers">Handling Websocket connections</a></li>
-</ul>
-
-<h2 id="server_push">Server push</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/loop_handlers">Loop handlers</a></li>
-</ul>
-
-<h2 id="pluggable_interface">Pluggable interface</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/middlewares">Middlewares</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/upgrade_protocol">Protocol upgrades</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/hooks">Hooks</a></li>
-</ul>
-
-<h2 id="internals">Internals</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/architecture">Architecture</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/broken_clients">Dealing with broken clients</a></li>
-</ul>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/introduction/index.html b/_build/static/docs/en/cowboy/1.0/guide/introduction/index.html
deleted file mode 100644
index 8b73b179..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/introduction/index.html
+++ /dev/null
@@ -1,212 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Introduction</span></h1>
-
-<p>Cowboy is a small, fast and modular HTTP server written in Erlang.</p>
-
-<p>Cowboy aims to provide a complete HTTP stack, including its derivatives SPDY, Websocket and REST. Cowboy currently supports HTTP/1.0, HTTP/1.1, Websocket (all implemented drafts + standard) and Webmachine-based REST.</p>
-
-<p>Cowboy is a high quality project. It has a small code base, is very efficient (both in latency and memory use) and can easily be embedded in another application.</p>
-
-<p>Cowboy is clean Erlang code. It includes hundreds of tests and its code is fully compliant with the Dialyzer. It is also well documented and features both a Function Reference and a User Guide.</p>
-
-<h2 id="prerequisites">Prerequisites</h2>
-
-<p>No Erlang knowledge is required for reading this guide. The reader will be introduced to Erlang concepts and redirected to reference material whenever necessary.</p>
-
-<p>Knowledge of the HTTP protocol is recommended but not required, as it will be detailed throughout the guide.</p>
-
-<h2 id="supported_platforms">Supported platforms</h2>
-
-<p>Cowboy is tested and supported on Linux.</p>
-
-<p>Cowboy has been reported to work on other platforms, but we make no guarantee that the experience will be safe and smooth. You are advised to perform the necessary testing and security audits prior to deploying on other platforms.</p>
-
-<p>Cowboy is developed for Erlang/OTP R16B01, R16B02, R16B03-1, 17.0 and 17.1.2.</p>
-
-<p>Cowboy may be compiled on other Erlang versions with small source code modifications but there is no guarantee that it will work as expected.</p>
-
-<h2 id="versioning">Versioning</h2>
-
-<p>Cowboy uses <a href="http://semver.org/">Semantic Versioning 2.0.0</a>.</p>
-
-<h2 id="conventions">Conventions</h2>
-
-<p>In the HTTP protocol, the method name is case sensitive. All standard method names are uppercase.</p>
-
-<p>Header names are case insensitive. Cowboy converts all the request header names to lowercase, and expects your application to provide lowercase header names in the response.</p>
-
-<p>The same applies to any other case insensitive value.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/loop_handlers/index.html b/_build/static/docs/en/cowboy/1.0/guide/loop_handlers/index.html
deleted file mode 100644
index 8d177942..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/loop_handlers/index.html
+++ /dev/null
@@ -1,264 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Loop handlers</span></h1>
-
-<p>Loop handlers are a special kind of HTTP handlers used when the response can not be sent right away. The handler enters instead a receive loop waiting for the right message before it can send a response.</p>
-
-<p>Loop handlers are used for requests where a response might not be immediately available, but where you would like to keep the connection open for a while in case the response arrives. The most known example of such practice is known as long-polling.</p>
-
-<p>Loop handlers can also be used for requests where a response is partially available and you need to stream the response body while the connection is open. The most known example of such practice is known as server-sent events.</p>
-
-<p>While the same can be accomplished using plain HTTP handlers, it is recommended to use loop handlers because they are well-tested and allow using built-in features like hibernation and timeouts.</p>
-
-<p>Loop handlers essentially wait for one or more Erlang messages and feed these messages to the <code>info/3</code> callback. It also features the <code>init/3</code> and <code>terminate/3</code> callbacks which work the same as for plain HTTP handlers.</p>
-
-<h2 id="initialization">Initialization</h2>
-
-<p>The <code>init/3</code> function must return a <code>loop</code> tuple to enable loop handler behavior. This tuple may optionally contain a timeout value and/or the atom <code>hibernate</code> to make the process enter hibernation until a message is received.</p>
-
-<p>This snippet enables the loop handler.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_Type, Req, _Opts) ->
- {loop, Req, undefined_state}.
-]]></script>
-
-<p>However it is largely recommended that you set a timeout value. The next example sets a timeout value of 30s and also makes the process hibernate.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_Type, Req, _Opts) ->
- {loop, Req, undefined_state, 30000, hibernate}.
-]]></script>
-
-<h2 id="receive_loop">Receive loop</h2>
-
-<p>Once initialized, Cowboy will wait for messages to arrive in the process' mailbox. When a message arrives, Cowboy calls the <code>info/3</code> function with the message, the Req object and the handler's state.</p>
-
-<p>The following snippet sends a reply when it receives a <code>reply</code> message from another process, or waits for another message otherwise.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-info({reply, Body}, Req, State) ->
- {ok, Req2} = cowboy_req:reply(200, [], Body, Req),
- {ok, Req2, State};
-info(_Msg, Req, State) ->
- {loop, Req, State, hibernate}.
-]]></script>
-
-<p>Do note that the <code>reply</code> tuple here may be any message and is simply an example.</p>
-
-<p>This callback may perform any necessary operation including sending all or parts of a reply, and will subsequently return a tuple indicating if more messages are to be expected.</p>
-
-<p>The callback may also choose to do nothing at all and just skip the message received.</p>
-
-<p>If a reply is sent, then the <code>ok</code> tuple should be returned. This will instruct Cowboy to end the request.</p>
-
-<p>Otherwise a <code>loop</code> tuple should be returned.</p>
-
-<h2 id="streaming_loop">Streaming loop</h2>
-
-<p>Another common case well suited for loop handlers is streaming data received in the form of Erlang messages. This can be done by initiating a chunked reply in the <code>init/3</code> callback and then using <code>cowboy_req:chunk/2</code> every time a message is received.</p>
-
-<p>The following snippet does exactly that. As you can see a chunk is sent every time a <code>chunk</code> message is received, and the loop is stopped by sending an <code>eof</code> message.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_Type, Req, _Opts) ->
- {ok, Req2} = cowboy_req:chunked_reply(200, [], Req),
- {loop, Req2, undefined_state}.
-
-info(eof, Req, State) ->
- {ok, Req, State};
-info({chunk, Chunk}, Req, State) ->
- ok = cowboy_req:chunk(Chunk, Req),
- {loop, Req, State};
-info(_Msg, Req, State) ->
- {loop, Req, State}.
-]]></script>
-
-<h2 id="cleaning_up">Cleaning up</h2>
-
-<p>It is recommended that you set the connection header to <code>close</code> when replying, as this process may be reused for a subsequent request.</p>
-
-<p>Please refer to the <a href="/docs/en/cowboy/1.0/guide/http_handlers">HTTP handlers chapter</a> for general instructions about cleaning up.</p>
-
-<h2 id="timeout">Timeout</h2>
-
-<p>By default Cowboy will not attempt to close the connection if there is no activity from the client. This is not always desirable, which is why you can set a timeout. Cowboy will close the connection if no data was received from the client after the configured time. The timeout only needs to be set once and can't be modified afterwards.</p>
-
-<p>Because the request may have had a body, or may be followed by another request, Cowboy is forced to buffer all data it receives. This data may grow to become too large though, so there is a configurable limit for it. The default buffer size is of 5000 bytes, but it may be changed by setting the <code>loop_max_buffer</code> middleware environment value.</p>
-
-<h2 id="hibernate">Hibernate</h2>
-
-<p>To save memory, you may hibernate the process in between messages received. This is done by returning the atom <code>hibernate</code> as part of the <code>loop</code> tuple callbacks normally return. Just add the atom at the end and Cowboy will hibernate accordingly.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/middlewares/index.html b/_build/static/docs/en/cowboy/1.0/guide/middlewares/index.html
deleted file mode 100644
index c9bf10ee..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/middlewares/index.html
+++ /dev/null
@@ -1,226 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Middlewares</span></h1>
-
-<p>Cowboy delegates the request processing to middleware components. By default, two middlewares are defined, for the routing and handling of the request, as is detailed in most of this guide.</p>
-
-<p>Middlewares give you complete control over how requests are to be processed. You can add your own middlewares to the mix or completely change the chain of middlewares as needed.</p>
-
-<p>Cowboy will execute all middlewares in the given order, unless one of them decides to stop processing.</p>
-
-<h2 id="usage">Usage</h2>
-
-<p>Middlewares only need to implement a single callback: <code>execute/2</code>. It is defined in the <code>cowboy_middleware</code> behavior.</p>
-
-<p>This callback has two arguments. The first is the <code>Req</code> object. The second is the environment.</p>
-
-<p>Middlewares can return one of four different values:</p>
-
-<ul>
-<li><code>{ok, Req, Env}</code> to continue the request processing</li>
-<li><code>{suspend, Module, Function, Args}</code> to hibernate</li>
-<li><code>{halt, Req}</code> to stop processing and move on to the next request</li>
-<li><code>{error, StatusCode, Req}</code> to reply an error and close the socket</li>
-</ul>
-
-<p>Of note is that when hibernating, processing will resume on the given MFA, discarding all previous stacktrace. Make sure you keep the <code>Req</code> and <code>Env</code> in the arguments of this MFA for later use.</p>
-
-<p>If an error happens during middleware processing, Cowboy will not try to send an error back to the socket, the process will just crash. It is up to the middleware to make sure that a reply is sent if something goes wrong.</p>
-
-<h2 id="configuration">Configuration</h2>
-
-<p>The middleware environment is defined as the <code>env</code> protocol option. In the previous chapters we saw it briefly when we needed to pass the routing information. It is a list of tuples with the first element being an atom and the second any Erlang term.</p>
-
-<p>Two values in the environment are reserved:</p>
-
-<ul>
-<li><code>listener</code> contains the name of the listener</li>
-<li><code>result</code> contains the result of the processing</li>
-</ul>
-
-<p>The <code>listener</code> value is always defined. The <code>result</code> value can be set by any middleware. If set to anything other than <code>ok</code>, Cowboy will not process any subsequent requests on this connection.</p>
-
-<p>The middlewares that come with Cowboy may define or require other environment values to perform.</p>
-
-<p>You can update the environment by calling the <code>cowboy:set_env/3</code> convenience function, adding or replacing a value in the environment.</p>
-
-<h2 id="routing_middleware">Routing middleware</h2>
-
-<p>The routing middleware requires the <code>dispatch</code> value. If routing succeeds, it will put the handler name and options in the <code>handler</code> and <code>handler_opts</code> values of the environment, respectively.</p>
-
-<h2 id="handler_middleware">Handler middleware</h2>
-
-<p>The handler middleware requires the <code>handler</code> and <code>handler_opts</code> values. It puts the result of the request handling into <code>result</code>.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/modern_web/index.html b/_build/static/docs/en/cowboy/1.0/guide/modern_web/index.html
deleted file mode 100644
index 530a5af0..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/modern_web/index.html
+++ /dev/null
@@ -1,282 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>The modern Web</span></h1>
-
-<p>Let's take a look at various technologies from the beginnings of the Web up to this day, and get a preview of what's coming next.</p>
-
-<p>Cowboy is compatible with all the technology cited in this chapter except of course HTTP/2.0 which has no implementation in the wild at the time of writing.</p>
-
-<h2 id="the_prehistoric_web">The prehistoric Web</h2>
-
-<p>HTTP was initially created to serve HTML pages and only had the GET method for retrieving them. This initial version is documented and is sometimes called HTTP/0.9. HTTP/1.0 defined the GET, HEAD and POST methods, and was able to send data with POST requests.</p>
-
-<p>HTTP/1.0 works in a very simple way. A TCP connection is first established to the server. Then a request is sent. Then the server sends a response back and closes the connection.</p>
-
-<p>Suffice to say, HTTP/1.0 is not very efficient. Opening a TCP connection takes some time, and pages containing many assets load much slower than they could because of this.</p>
-
-<p>Most improvements done in recent years focused on reducing this load time and reducing the latency of the requests.</p>
-
-<h2 id="http/1.1">HTTP/1.1</h2>
-
-<p>HTTP/1.1 quickly followed and added a keep-alive mechanism to allow using the same connection for many requests, as well as streaming capabilities, allowing an endpoint to send a body in well defined chunks.</p>
-
-<p>HTTP/1.1 defines the OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE and CONNECT methods. The PATCH method was added in more recent years. It also improves the caching capabilities with the introduction of many headers.</p>
-
-<p>HTTP/1.1 still works like HTTP/1.0 does, except the connection can be kept alive for subsequent requests. This however allows clients to perform what is called as pipelining: sending many requests in a row, and then processing the responses which will be received in the same order as the requests.</p>
-
-<h2 id="rest">REST</h2>
-
-<p>The design of HTTP/1.1 was influenced by the REST architectural style. REST, or REpresentational State Transfer, is a style of architecture for loosely connected distributed systems.</p>
-
-<p>REST defines constraints that systems must obey to in order to be RESTful. A system which doesn't follow all the constraints cannot be considered RESTful.</p>
-
-<p>REST is a client-server architecture with a clean separation of concerns between the client and the server. They communicate by referencing resources. Resources can be identified, but also manipulated. A resource representation has a media type and information about whether it can be cached and how. Hypermedia determines how resources are related and how they can be used. REST is also stateless. All requests contain the complete information necessary to perform the action.</p>
-
-<p>HTTP/1.1 defines all the methods, headers and semantics required to implement RESTful systems.</p>
-
-<p>REST is most often used when designing web application APIs which are generally meant to be used by executable code directly.</p>
-
-<h2 id="xmlhttprequest">XmlHttpRequest</h2>
-
-<p>Also know as AJAX, this technology allows Javascript code running on a web page to perform asynchronous requests to the server. This is what started the move from static websites to dynamic web applications.</p>
-
-<p>XmlHttpRequest still performs HTTP requests under the hood, and then waits for a response, but the Javascript code can continue to run until the response arrives. It will then receive the response through a callback previously defined.</p>
-
-<p>This is of course still requests initiated by the client, the server still had no way of pushing data to the client on its own, so new technology appeared to allow that.</p>
-
-<h2 id="long-polling">Long-polling</h2>
-
-<p>Polling was a technique used to overcome the fact that the server cannot push data directly to the client. Therefore the client had to repeatedly create a connection, make a request, get a response, then try again a few seconds later. This is overly expensive and adds an additional delay before the client receives the data.</p>
-
-<p>Polling was necessary to implement message queues and other similar mechanisms, where a user must be informed of something when it happens, rather than when he refreshes the page next. A typical example would be a chat application.</p>
-
-<p>Long-polling was created to reduce the server load by creating less connections, but also to improve latency by getting the response back to the client as soon as it becomes available on the server.</p>
-
-<p>Long-polling works in a similar manner to polling, except the request will not get a response immediately. Instead the server leaves it open until it has a response to send. After getting the response, the client creates a new request and gets back to waiting.</p>
-
-<p>You probably guessed by now that long-polling is a hack, and like most hacks it can suffer from unforeseen issues, in this case it doesn't always play well with proxies.</p>
-
-<h2 id="html5">HTML5</h2>
-
-<p>HTML5 is, of course, the HTML version after HTML4. But HTML5 emerged to solve a specific problem: dynamic web applications.</p>
-
-<p>HTML was initially created to write web pages which compose a website. But soon people and companies wanted to use HTML to write more and more complex websites, eventually known as web applications. They are for example your news reader, your email client in the browser, or your video streaming website.</p>
-
-<p>Because HTML wasn't enough, they started using proprietary solutions, often implemented using plug-ins. This wasn't perfect of course, but worked well enough for most people.</p>
-
-<p>However, the needs for a standard solution eventually became apparent. The browser needed to be able to play media natively. It needed to be able to draw anything. It needed an efficient way of streaming events to the server, but also receiving events from the server.</p>
-
-<p>The solution went on to become HTML5. At the time of writing it is being standardized.</p>
-
-<h2 id="eventsource">EventSource</h2>
-
-<p>EventSource, sometimes also called Server-Sent Events, is a technology allowing servers to push data to HTML5 applications.</p>
-
-<p>EventSource is one-way communication channel from the server to the client. The client has no means to talk to the server other than by using HTTP requests.</p>
-
-<p>It consists of a Javascript object allowing setting up an EventSource connection to the server, and a very small protocol for sending events to the client on top of the HTTP/1.1 connection.</p>
-
-<p>EventSource is a lightweight solution that only works for UTF-8 encoded text data. Binary data and text data encoded differently are not allowed by the protocol. A heavier but more generic approach can be found in Websocket.</p>
-
-<h2 id="websocket">Websocket</h2>
-
-<p>Websocket is a protocol built on top of HTTP/1.1 that provides a two-ways communication channel between the client and the server. Communication is asynchronous and can occur concurrently.</p>
-
-<p>It consists of a Javascript object allowing setting up a Websocket connection to the server, and a binary based protocol for sending data to the server or the client.</p>
-
-<p>Websocket connections can transfer either UTF-8 encoded text data or binary data. The protocol also includes support for implementing a ping/pong mechanism, allowing the server and the client to have more confidence that the connection is still alive.</p>
-
-<p>A Websocket connection can be used to transfer any kind of data, small or big, text or binary. Because of this Websocket is sometimes used for communication between systems.</p>
-
-<h2 id="spdy">SPDY</h2>
-
-<p>SPDY is an attempt to reduce page loading time by opening a single connection per server, keeping it open for subsequent requests, and also by compressing the HTTP headers to reduce the size of requests.</p>
-
-<p>SPDY is compatible with HTTP/1.1 semantics, and is actually just a different way of performing HTTP requests and responses, by using binary frames instead of a text-based protocol. SPDY also allows the server to send extra responses following a request. This is meant to allow sending the resources associated with the request before the client requests them, saving latency when loading websites.</p>
-
-<p>SPDY is an experiment that has proven successful and is used as the basis for the HTTP/2.0 standard.</p>
-
-<p>Browsers make use of TLS Next Protocol Negotiation to upgrade to a SPDY connection seamlessly if the protocol supports it.</p>
-
-<p>The protocol itself has a few shortcomings which are being fixed in HTTP/2.0.</p>
-
-<h2 id="http/2.0">HTTP/2.0</h2>
-
-<p>HTTP/2.0 is the long-awaited update to the HTTP/1.1 protocol. It is based on SPDY although a lot has been improved at the time of writing.</p>
-
-<p>HTTP/2.0 is an asynchronous two-ways communication channel between two endpoints.</p>
-
-<p>It is planned to be ready late 2014.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/multipart_intro/index.html b/_build/static/docs/en/cowboy/1.0/guide/multipart_intro/index.html
deleted file mode 100644
index 1ace9c22..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/multipart_intro/index.html
+++ /dev/null
@@ -1,198 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Introduction to multipart</span></h1>
-
-<p>Multipart originates from MIME, an Internet standard that extends the format of emails. Multipart messages are a container for parts of any content-type.</p>
-
-<p>For example, a multipart message may have a part containing text and a second part containing an image. This is what allows you to attach files to emails.</p>
-
-<p>In the context of HTTP, multipart is most often used with the <code>multipart/form-data</code> content-type. This is the content-type you have to use when you want browsers to be allowed to upload files through HTML forms.</p>
-
-<p>Multipart is of course not required for uploading files, it is only required when you want to do so through HTML forms.</p>
-
-<h2 id="structure">Structure</h2>
-
-<p>A multipart message is a list of parts. Parts may contain either a multipart message or a non-multipart content-type. This allows parts to be arranged in a tree structure, although this is a rare case as far as the Web is concerned.</p>
-
-<h2 id="form-data">Form-data</h2>
-
-<p>In the normal case, when a form is submitted, the browser will use the <code>application/x-www-form-urlencoded</code> content-type. This type is just a list of keys and values and is therefore not fit for uploading files.</p>
-
-<p>That's where the <code>multipart/form-data</code> content-type comes in. When the form is configured to use this content-type, the browser will use one part of the message for each form field. This means that a file input field will be sent in its own part, but the same applies to all other kinds of fields.</p>
-
-<p>A form with a text input, a file input and a select choice box will result in a multipart message with three parts, one for each field.</p>
-
-<p>The browser does its best to determine the content-type of the files it sends this way, but you should not rely on it for determining the contents of the file. Proper investigation of the contents is recommended.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/multipart_req/index.html b/_build/static/docs/en/cowboy/1.0/guide/multipart_req/index.html
deleted file mode 100644
index d4661cb6..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/multipart_req/index.html
+++ /dev/null
@@ -1,261 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Multipart requests</span></h1>
-
-<p>You can read and parse multipart messages using the Req object directly.</p>
-
-<p>Cowboy defines two functions that allows you to get information about each part and read their contents.</p>
-
-<h2 id="checking_the_content-type">Checking the content-type</h2>
-
-<p>While there is a variety of multipart messages, the most common on the Web is <code>multipart/form-data</code>. It's the type of message being sent when an HTML form allows uploading files.</p>
-
-<p>You can quickly figure out if a multipart message has been sent by parsing the <code>content-type</code> header.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, {<<"multipart">>, <<"form-data">>, _}, Req2}
- = cowboy_req:parse_header(<<"content-type">>, Req).
-]]></script>
-
-<h2 id="reading_a_multipart_message">Reading a multipart message</h2>
-
-<p>To read a message you have to iterate over all its parts. Then, for each part, you can inspect its headers and read its body.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-multipart(Req) ->
- case cowboy_req:part(Req) of
- {ok, _Headers, Req2} ->
- {ok, _Body, Req3} = cowboy_req:part_body(Req2),
- multipart(Req3);
- {done, Req2} ->
- Req2
- end.
-]]></script>
-
-<p>Parts do not have a size limit. When a part body is too big, Cowboy will return what it read so far and allow you to continue if you wish to do so.</p>
-
-<p>The function <code>cow_multipart:form_data/1</code> can be used to quickly obtain information about a part from a <code>multipart/form-data</code> message. This function will tell you if the part is for a normal field or if it is a file being uploaded.</p>
-
-<p>This can be used for example to allow large part bodies for files but crash when a normal field is too large.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-multipart(Req) ->
- case cowboy_req:part(Req) of
- {ok, Headers, Req2} ->
- Req4 = case cow_multipart:form_data(Headers) of
- {data, _FieldName} ->
- {ok, _Body, Req3} = cowboy_req:part_body(Req2),
- Req3;
- {file, _FieldName, _Filename, _CType, _CTransferEncoding} ->
- stream_file(Req2)
- end,
- multipart(Req4);
- {done, Req2} ->
- Req2
- end.
-
-stream_file(Req) ->
- case cowboy_req:part_body(Req) of
- {ok, _Body, Req2} ->
- Req2;
- {more, _Body, Req2} ->
- stream_file(Req2)
- end.
-]]></script>
-
-<p>By default the body chunk Cowboy will return is limited to 8MB. This can of course be overriden. Both functions can take a second argument, the same list of options that will be passed to <code>cowboy_req:body/2</code> function.</p>
-
-<h2 id="skipping_unwanted_parts">Skipping unwanted parts</h2>
-
-<p>If you do not want to read a part's body, you can skip it. Skipping is easy. If you do not call the function to read the part's body, Cowboy will automatically skip it when you request the next part.</p>
-
-<p>The following snippet reads all part headers and skips all bodies:</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-multipart(Req) ->
- case cowboy_req:part(Req) of
- {ok, _Headers, Req2} ->
- multipart(Req2);
- {done, Req2} ->
- Req2
- end.
-]]></script>
-
-<p>Similarly, if you start reading the body and it ends up being too big, you can simply continue with the next part, Cowboy will automatically skip what remains.</p>
-
-<p>Note that the skipping rate may not be adequate for your application. If you observe poor performance when skipping, you might want to consider manually skipping by calling the <code>cowboy_req:part_body/1</code> function directly.</p>
-
-<p>And if you started reading the message but decide that you do not need the remaining parts, you can simply stop reading entirely and Cowboy will automatically figure out what to do.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/req/index.html b/_build/static/docs/en/cowboy/1.0/guide/req/index.html
deleted file mode 100644
index 7005d09b..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/req/index.html
+++ /dev/null
@@ -1,390 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>The Req object</span></h1>
-
-<p>The Req object is this variable that you will use to obtain information about a request, read the body of the request and send a response.</p>
-
-<h2 id="a_special_variable">A special variable</h2>
-
-<p>While we call it an "object", it is not an object in the OOP sense of the term. In fact it is completely opaque to you and the only way you can perform operations using it is by calling the functions from the <code>cowboy_req</code> module.</p>
-
-<p>Almost all the calls to the <code>cowboy_req</code> module will return an updated request object. Just like you would keep the updated <code>State</code> variable in a gen_server, you MUST keep the updated <code>Req</code> variable in a Cowboy handler. Cowboy will use this object to know whether a response has been sent when the handler has finished executing.</p>
-
-<p>The Req object allows accessing both immutable and mutable state. This means that calling some of the functions twice will not produce the same result. For example, when streaming the request body, the function will return the body by chunks, one at a time, until there is none left.</p>
-
-<p>It also caches the result of operations performed on the immutable state. That means that some calls will give a result much faster when called many times.</p>
-
-<h2 id="overview_of_the_cowboy_req_interface">Overview of the cowboy_req interface</h2>
-
-<p>The <code>cowboy_req</code> interface is divided in four groups of functions, each having a well defined return type signature common to the entire group.</p>
-
-<p>The first group, access functions, will always return <code>{Value, Req}</code>. The group includes all the following functions: <code>binding/{2,3}</code>, <code>bindings/1</code>, <code>body_length/1</code>, <code>cookie/{2,3}</code>, <code>cookies/1</code>, <code>header/{2,3}</code>, <code>headers/1</code>, <code>host/1</code>, <code>host_info/1</code>, <code>host_url/1</code>, <code>meta/{2,3}</code>, <code>method/1</code>, <code>path/1</code>, <code>path_info/1</code>, <code>peer/1</code>, <code>port/1</code>, <code>qs/1</code>, <code>qs_val/{2,3}</code>, <code>qs_vals/1</code>, <code>url/1</code>, <code>version/1</code>.</p>
-
-<p>The second group, question functions, will always return a <code>boolean()</code>. The group includes the following three functions: <code>has_body/1</code>, <code>has_resp_body/1</code>, <code>has_resp_header/2</code>.</p>
-
-<p>The third group contains the functions that manipulate the socket or perform operations that may legitimately fail. They may return <code>{Result, Req}</code>, <code>{Result, Value, Req}</code> or <code>{error, atom()}</code>. This includes the following functions: <code>body/{1,2}</code>, <code>body_qs/{1,2}</code>, <code>chunked_reply/{2,3}</code>, <code>parse_header/{2,3}</code>, <code>part/{1,2}</code>, <code>part_body/{1,2}</code> and <code>reply/{2,3,4}</code>. Finally, the group also includes the <code>chunk/2</code> and <code>continue/1</code> functions which always return <code>ok</code>.</p>
-
-<p>The final group modifies the Req object state without performing any immediate operations. As these functions can't fail, they always return a new <code>Req</code> directly. This includes the following functions: <code>compact/1</code>, <code>delete_resp_header/2</code>, <code>set_meta/3</code>, <code>set_resp_body/2</code>, <code>set_resp_body_fun/{2,3}</code>, <code>set_resp_cookie/4</code>, <code>set_resp_header/3</code>.</p>
-
-<p>This chapter covers most of the first group, plus a few other functions. The next few chapters cover cookies handling, reading the request body and sending a response.</p>
-
-<h2 id="request">Request</h2>
-
-<p>When a client performs a request, it first sends a few required values. They are sent differently depending on the protocol being used, but the intent is the same. They indicate to the server the type of action it wants to do and how to locate the resource to perform it on.</p>
-
-<p>The method identifies the action. Standard methods include GET, HEAD, OPTIONS, PATCH, POST, PUT, DELETE. Method names are case sensitive.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{Method, Req2} = cowboy_req:method(Req).
-]]></script>
-
-<p>The host, port and path parts of the URL identify the resource being accessed. The host and port information may not be available if the client uses HTTP/1.0.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{Host, Req2} = cowboy_req:host(Req),
-{Port, Req3} = cowboy_req:port(Req2),
-{Path, Req4} = cowboy_req:path(Req3).
-]]></script>
-
-<p>The version used by the client can of course also be obtained.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{Version, Req2} = cowboy_req:version(Req).
-]]></script>
-
-<p>Do note however that clients claiming to implement one version of the protocol does not mean they implement it fully, or even properly.</p>
-
-<h2 id="bindings">Bindings</h2>
-
-<p>After routing the request, bindings are available. Bindings are these parts of the host or path that you chose to extract when defining the routes of your application.</p>
-
-<p>You can fetch a single binding. The value will be <code>undefined</code> if the binding doesn't exist.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{Binding, Req2} = cowboy_req:binding(my_binding, Req).
-]]></script>
-
-<p>If you need a different value when the binding doesn't exist, you can change the default.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{Binding, Req2} = cowboy_req:binding(my_binding, Req, 42).
-]]></script>
-
-<p>You can also obtain all bindings in one call. They will be returned as a list of key/value tuples.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{AllBindings, Req2} = cowboy_req:bindings(Req).
-]]></script>
-
-<p>If you used <code>...</code> at the beginning of the route's pattern for the host, you can retrieve the matched part of the host. The value will be <code>undefined</code> otherwise.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{HostInfo, Req2} = cowboy_req:host_info(Req).
-]]></script>
-
-<p>Similarly, if you used <code>...</code> at the end of the route's pattern for the path, you can retrieve the matched part, or get <code>undefined</code> otherwise.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{PathInfo, Req2} = cowboy_req:path_info(Req).
-]]></script>
-
-<h2 id="query_string">Query string</h2>
-
-<p>The query string can be obtained directly.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{Qs, Req2} = cowboy_req:qs(Req).
-]]></script>
-
-<p>You can also requests only one value.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{QsVal, Req2} = cowboy_req:qs_val(<<"lang">>, Req).
-]]></script>
-
-<p>If that value is optional, you can define a default to simplify your task.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{QsVal, Req2} = cowboy_req:qs_val(<<"lang">>, Req, <<"en">>).
-]]></script>
-
-<p>Finally, you can obtain all query string values.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{AllValues, Req2} = cowboy_req:qs_vals(Req).
-]]></script>
-
-<h2 id="request_url">Request URL</h2>
-
-<p>You can reconstruct the full URL of the resource.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{URL, Req2} = cowboy_req:url(Req).
-]]></script>
-
-<p>You can also obtain only the base of the URL, excluding the path and query string.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{BaseURL, Req2} = cowboy_req:host_url(Req).
-]]></script>
-
-<h2 id="headers">Headers</h2>
-
-<p>Cowboy allows you to obtain the header values as string, or parsed into a more meaningful representation.</p>
-
-<p>This will get the string value of a header.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{HeaderVal, Req2} = cowboy_req:header(<<"content-type">>, Req).
-]]></script>
-
-<p>You can of course set a default in case the header is missing.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{HeaderVal, Req2}
- = cowboy_req:header(<<"content-type">>, Req, <<"text/plain">>).
-]]></script>
-
-<p>And also obtain all headers.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{AllHeaders, Req2} = cowboy_req:headers(Req).
-]]></script>
-
-<p>To parse the previous header, simply call <code>parse_header/{2,3}</code> where you would call <code>header/{2,3}</code> otherwise. Note that the return value changes and includes the result of the operation as the first element of the returned tuple. A successful parse returns <code>ok</code>.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, ParsedVal, Req2} = cowboy_req:parse_header(<<"content-type">>, Req).
-]]></script>
-
-<p>When Cowboy doesn't know how to parse the given header, the result of the operation will be <code>undefined</code> and the string value will be returned instead.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{undefined, HeaderVal, Req2}
- = cowboy_req:parse_header(<<"unicorn-header">>, Req).
-]]></script>
-
-<p>When parsing fails, <code>{error, Reason}</code> is returned instead.</p>
-
-<p>You can of course define a default value. Note that the default value you specify here is the parsed value you'd like to get by default.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, ParsedVal, Req2}
- = cowboy_req:parse_header(<<"content-type">>, Req,
- {<<"text">>, <<"plain">>, []}).
-]]></script>
-
-<p>The list of known headers and default values is defined in the manual. Also note that the result of parsing is cached, so calling this function multiple times for the same values will not have a significant performance impact.</p>
-
-<h2 id="meta">Meta</h2>
-
-<p>Cowboy will sometimes associate some meta information with the request. Built-in meta values are listed in the manual for their respective modules.</p>
-
-<p>This will get a meta value. The returned value will be <code>undefined</code> if it isn't defined.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{MetaVal, Req2} = cowboy_req:meta(websocket_version, Req).
-]]></script>
-
-<p>You can change the default value if needed.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{MetaVal, Req2} = cowboy_req:meta(websocket_version, Req, 13).
-]]></script>
-
-<p>You can also define your own meta values. The name must be an <code>atom()</code>.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Req2 = cowboy_req:set_meta(the_answer, 42, Req).
-]]></script>
-
-<h2 id="peer">Peer</h2>
-
-<p>You can obtain the peer address and port number. This is not necessarily the actual IP and port of the client, but rather the one of the machine that connected to the server.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{{IP, Port}, Req2} = cowboy_req:peer(Req).
-]]></script>
-
-<h2 id="reducing_the_memory_footprint">Reducing the memory footprint</h2>
-
-<p>When you are done reading information from the request object and know you are not going to access it anymore, for example when using long-polling or Websocket, you can use the <code>compact/1</code> function to remove most of the data from the request object and free memory.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Req2 = cowboy_req:compact(Req).
-]]></script>
-
-<p>You will still be able to send a reply if needed.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/req_body/index.html b/_build/static/docs/en/cowboy/1.0/guide/req_body/index.html
deleted file mode 100644
index f244a694..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/req_body/index.html
+++ /dev/null
@@ -1,296 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Reading the request body</span></h1>
-
-<p>The Req object also allows you to read the request body.</p>
-
-<p>Because the request body can be of any size, all body reading operations will only work once, as Cowboy will not cache the result of these operations.</p>
-
-<p>Cowboy will not attempt to read the body until you do. If handler execution ends without reading it, Cowboy will simply skip it.</p>
-
-<p>Cowboy provides different ways to read the request body. You can read it directly, stream it, but also read and parse in a single call for form urlencoded formats or multipart. All of these except multipart are covered in this chapter. Multipart is covered later on in the guide.</p>
-
-<h2 id="check_for_request_body">Check for request body</h2>
-
-<p>You can check whether a body was sent with the request.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-cowboy_req:has_body(Req).
-]]></script>
-
-<p>It will return <code>true</code> if there is a request body, and <code>false</code> otherwise.</p>
-
-<p>Note that it is generally safe to assume that a body is sent for <code>POST</code>, <code>PUT</code> and <code>PATCH</code> requests, without having to explicitly check for it.</p>
-
-<h2 id="request_body_length">Request body length</h2>
-
-<p>You can obtain the body length if it was sent with the request.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{Length, Req2} = cowboy_req:body_length(Req).
-]]></script>
-
-<p>The value returned will be <code>undefined</code> if the length couldn't be figured out from the request headers. If there's a body but no length is given, this means that the chunked transfer-encoding was used. You can read chunked bodies by using the stream functions.</p>
-
-<h2 id="reading_the_body">Reading the body</h2>
-
-<p>You can read the whole body directly in one call.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Body, Req2} = cowboy_req:body(Req).
-]]></script>
-
-<p>By default, Cowboy will attempt to read up to a size of 8MB. You can override this limit as needed.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Body, Req2} = cowboy_req:body(Req, [{length, 100000000}]).
-]]></script>
-
-<p>You can also disable it.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Body, Req2} = cowboy_req:body(Req, [{length, infinity}]).
-]]></script>
-
-<p>It is recommended that you do not disable it for public facing websites.</p>
-
-<p>If the body is larger than the limit, then Cowboy will return a <code>more</code> tuple instead, allowing you to stream it if you would like to.</p>
-
-<h2 id="streaming_the_body">Streaming the body</h2>
-
-<p>You can stream the request body by chunks.</p>
-
-<p>Cowboy returns a <code>more</code> tuple when there is more body to be read, and an <code>ok</code> tuple for the last chunk. This allows you to loop over all chunks.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-body_to_console(Req) ->
- case cowboy_req:body(Req) of
- {ok, Data, Req2} ->
- io:format("~s", [Data]),
- Req2;
- {more, Data, Req2} ->
- io:format("~s", [Data]),
- body_to_console(Req2)
- end.
-]]></script>
-
-<p>You can of course set the <code>length</code> option to configure the size of chunks.</p>
-
-<h2 id="rate_of_data_transmission">Rate of data transmission</h2>
-
-<p>You can control the rate of data transmission by setting options when calling body functions. This applies not only to the functions described in this chapter, but also to the multipart functions.</p>
-
-<p>The <code>read_length</code> option defines the maximum amount of data to be received from the socket at once, in bytes.</p>
-
-<p>The <code>read_timeout</code> option defines the time Cowboy waits before that amount is received, in milliseconds.</p>
-
-<h2 id="transfer_and_content_decoding">Transfer and content decoding</h2>
-
-<p>Cowboy will by default decode the chunked transfer-encoding if any. It will not decode any content-encoding by default.</p>
-
-<p>The first time you call a body function you can set the <code>transfer_decode</code> and <code>content_decode</code> options. If the body was already started being read these options are simply ignored.</p>
-
-<p>The following example shows how to set both options.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:body(Req, [
- {transfer_decode, fun transfer_decode/2, TransferState},
- {content_decode, fun content_decode/1}
-]).
-]]></script>
-
-<h2 id="reading_a_form_urlencoded_body">Reading a form urlencoded body</h2>
-
-<p>You can directly obtain a list of key/value pairs if the body was sent using the application/x-www-form-urlencoded content-type.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, KeyValues, Req2} = cowboy_req:body_qs(Req).
-]]></script>
-
-<p>You can then retrieve an individual value from that list.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{_, Lang} = lists:keyfind(lang, 1, KeyValues).
-]]></script>
-
-<p>You should not attempt to match on the list as the order of the values is undefined.</p>
-
-<p>By default Cowboy will reject bodies with a size above 64KB when using this function. You can override this limit by setting the <code>length</code> option.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, KeyValues, Req2} = cowboy_req:body_qs(Req,
- [{length, 2000000}]).
-]]></script>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/resource_design/index.html b/_build/static/docs/en/cowboy/1.0/guide/resource_design/index.html
deleted file mode 100644
index 2f9a358e..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/resource_design/index.html
+++ /dev/null
@@ -1,294 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Designing a resource handler</span></h1>
-
-<p>This chapter aims to provide you with a list of questions you must answer in order to write a good resource handler. It is meant to be usable as a step by step guide.</p>
-
-<h2 id="the_service">The service</h2>
-
-<p>Can the service become unavailable, and when it does, can we detect it? For example database connectivity problems may be detected early. We may also have planned outages of all or parts of the system. Implement the <code>service_available</code> callback.</p>
-
-<p>What HTTP methods does the service implement? Do we need more than the standard OPTIONS, HEAD, GET, PUT, POST, PATCH and DELETE? Are we not using one of those at all? Implement the <code>known_methods</code> callback.</p>
-
-<h2 id="type_of_resource_handler">Type of resource handler</h2>
-
-<p>Am I writing a handler for a collection of resources, or for a single resource?</p>
-
-<p>The semantics for each of these are quite different. You should not mix collection and single resource in the same handler.</p>
-
-<h2 id="collection_handler">Collection handler</h2>
-
-<p>Skip this section if you are not doing a collection.</p>
-
-<p>Is the collection hardcoded or dynamic? For example if you use the route <code>/users</code> for the collection of users then the collection is hardcoded; if you use <code>/forums/:category</code> for the collection of threads then it isn't. When the collection is hardcoded you can safely assume the resource always exists.</p>
-
-<p>What methods should I implement?</p>
-
-<p>OPTIONS is used to get some information about the collection. It is recommended to allow it even if you do not implement it, as Cowboy has a default implementation built-in.</p>
-
-<p>HEAD and GET are used to retrieve the collection. If you allow GET, also allow HEAD as there's no extra work required to make it work.</p>
-
-<p>POST is used to create a new resource inside the collection. Creating a resource by using POST on the collection is useful when resources may be created before knowing their URI, usually because parts of it are generated dynamically. A common case is some kind of auto incremented integer identifier.</p>
-
-<p>The next methods are more rarely allowed.</p>
-
-<p>PUT is used to create a new collection (when the collection isn't hardcoded), or replace the entire collection.</p>
-
-<p>DELETE is used to delete the entire collection.</p>
-
-<p>PATCH is used to modify the collection using instructions given in the request body. A PATCH operation is atomic. The PATCH operation may be used for such things as reordering; adding, modifying or deleting parts of the collection.</p>
-
-<h2 id="single_resource_handler">Single resource handler</h2>
-
-<p>Skip this section if you are doing a collection.</p>
-
-<p>What methods should I implement?</p>
-
-<p>OPTIONS is used to get some information about the resource. It is recommended to allow it even if you do not implement it, as Cowboy has a default implementation built-in.</p>
-
-<p>HEAD and GET are used to retrieve the resource. If you allow GET, also allow HEAD as there's no extra work required to make it work.</p>
-
-<p>POST is used to update the resource.</p>
-
-<p>PUT is used to create a new resource (when it doesn't already exist) or replace the resource.</p>
-
-<p>DELETE is used to delete the resource.</p>
-
-<p>PATCH is used to modify the resource using instructions given in the request body. A PATCH operation is atomic. The PATCH operation may be used for adding, removing or modifying specific values in the resource.</p>
-
-<h2 id="the_resource">The resource</h2>
-
-<p>Following the above discussion, implement the <code>allowed_methods</code> callback.</p>
-
-<p>Does the resource always exist? If it may not, implement the <code>resource_exists</code> callback.</p>
-
-<p>Do I need to authenticate the client before they can access the resource? What authentication mechanisms should I provide? This may include form-based, token-based (in the URL or a cookie), HTTP basic, HTTP digest, SSL certificate or any other form of authentication. Implement the <code>is_authorized</code> callback.</p>
-
-<p>Do I need fine-grained access control? How do I determine that they are authorized access? Handle that in your <code>is_authorized</code> callback.</p>
-
-<p>Can access to a resource be forbidden regardless of access being authorized? A simple example of that is censorship of a resource. Implement the <code>forbidden</code> callback.</p>
-
-<p>Is there any constraints on the length of the resource URI? For example the URI may be used as a key in storage and may have a limit in length. Implement <code>uri_too_long</code>.</p>
-
-<h2 id="representations">Representations</h2>
-
-<p>What media types do I provide? If text based, what charsets are provided? What languages do I provide?</p>
-
-<p>Implement the mandatory <code>content_types_provided</code>. Prefix the callbacks with <code>to_</code> for clarity. For example <code>to_html</code> or <code>to_text</code>.</p>
-
-<p>Implement the <code>languages_provided</code> or <code>charsets_provided</code> callbacks if applicable.</p>
-
-<p>Is there any other header that may make the representation of the resource vary? Implement the <code>variances</code> callback.</p>
-
-<p>Depending on your choices for caching content, you may want to implement one or more of the <code>generate_etag</code>, <code>last_modified</code> and <code>expires</code> callbacks.</p>
-
-<p>Do I want the user or user agent to actively choose a representation available? Send a list of available representations in the response body and implement the <code>multiple_choices</code> callback.</p>
-
-<h2 id="redirections">Redirections</h2>
-
-<p>Do I need to keep track of what resources were deleted? For example you may have a mechanism where moving a resource leaves a redirect link to its new location. Implement the <code>previously_existed</code> callback.</p>
-
-<p>Was the resource moved, and is the move temporary? If it is explicitly temporary, for example due to maintenance, implement the <code>moved_temporarily</code> callback. Otherwise, implement the <code>moved_permanently</code> callback.</p>
-
-<h2 id="the_request">The request</h2>
-
-<p>Do we need to perform extra checks to make sure the request is valid? Cowboy will do many checks when receiving the request already, do we need more? Note that this only applies to the request-line and headers of the request, and not the body. Implement <code>malformed_request</code>.</p>
-
-<p>May there be a request body? Will I know its size? What's the maximum size of the request body I'm willing to accept? Implement <code>valid_entity_length</code>.</p>
-
-<p>Finally, take a look at the sections corresponding to the methods you are implementing.</p>
-
-<h2 id="options_method">OPTIONS method</h2>
-
-<p>Cowboy by default will send back a list of allowed methods. Do I need to add more information to the response? Implement the <code>options</code> method.</p>
-
-<h2 id="get_and_head_methods">GET and HEAD methods</h2>
-
-<p>If you implement the methods GET and/or HEAD, you must implement one <code>ProvideResource</code> callback for each content-type returned by the <code>content_types_provided</code> callback.</p>
-
-<h2 id="put,_post_and_patch_methods">PUT, POST and PATCH methods</h2>
-
-<p>If you implement the methods PUT, POST and/or PATCH, you must implement the <code>content_types_accepted</code> callback, and one <code>AcceptResource</code> callback for each content-type it returns. Prefix the <code>AcceptResource</code> callback names with <code>from_</code> for clarity. For example <code>from_html</code> or <code>from_json</code>.</p>
-
-<p>Do we want to allow the POST method to create individual resources directly through their URI (like PUT)? Implement the <code>allow_missing_post</code> callback. It is recommended to explicitly use PUT in these cases instead.</p>
-
-<p>May there be conflicts when using PUT to create or replace a resource? Do we want to make sure that two updates around the same time are not cancelling one another? Implement the <code>is_conflict</code> callback.</p>
-
-<h2 id="delete_methods">DELETE methods</h2>
-
-<p>If you implement the method DELETE, you must implement the <code>delete_resource</code> callback.</p>
-
-<p>When <code>delete_resource</code> returns, is the resource completely removed from the server, including from any caching service? If not, and/or if the deletion is asynchronous and we have no way of knowing it has been completed yet, implement the <code>delete_completed</code> callback.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/resp/index.html b/_build/static/docs/en/cowboy/1.0/guide/resp/index.html
deleted file mode 100644
index f9783518..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/resp/index.html
+++ /dev/null
@@ -1,327 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Sending a response</span></h1>
-
-<p>The Req object also allows you to send a response.</p>
-
-<p>You can only send one response. Any other attempt will trigger a crash. The response may be sent in one go or with its body streamed by chunks of arbitrary size.</p>
-
-<p>You can also set headers or the response body in advance and Cowboy will use them when you finally do reply.</p>
-
-<h2 id="reply">Reply</h2>
-
-<p>You can send a reply with no particular headers or body. Cowboy will make sure to send the mandatory headers with the response.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:reply(200, Req).
-]]></script>
-
-<p>You can define headers to be sent with the response. Note that header names must be lowercase. Again, Cowboy will make sure to send the mandatory headers with the response.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:reply(303, [
- {<<"location">>, <<"http://ninenines.eu">>}
-], Req).
-]]></script>
-
-<p>You can override headers that Cowboy would send otherwise. Any header set by the user will be used over the ones set by Cowboy. For example, you can advertise yourself as a different server.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:reply(200, [
- {<<"server">>, <<"yaws">>}
-], Req).
-]]></script>
-
-<p>We also saw earlier how to force close the connection by overriding the connection header.</p>
-
-<p>Finally, you can also send a body with the response. Cowboy will automatically set the content-length header if you do. We recommend that you set the content-type header so the client may know how to read the body.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:reply(200, [
- {<<"content-type">>, <<"text/plain">>}
-], "Hello world!", Req).
-]]></script>
-
-<p>Here is the same example but sending HTML this time.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:reply(200, [
- {<<"content-type">>, <<"text/html">>}
-], "<html><head>Hello world!</head><body><p>Hats off!</p></body></html>", Req).
-]]></script>
-
-<p>Note that the reply is sent immediately.</p>
-
-<h2 id="chunked_reply">Chunked reply</h2>
-
-<p>You can also stream the response body. First, you need to initiate the reply by sending the response status code. Then you can send the body in chunks of arbitrary size.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:chunked_reply(200, Req),
-ok = cowboy_req:chunk("Hello...", Req2),
-ok = cowboy_req:chunk("chunked...", Req2),
-ok = cowboy_req:chunk("world!!", Req2).
-]]></script>
-
-<p>You should make sure to match on <code>ok</code> as an error may be returned.</p>
-
-<p>While it is possible to send a chunked response without a content-type header, it is still recommended. You can set this header or any other just like for normal replies.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:chunked_reply(200, [
- {<<"content-type">>, <<"text/html">>}
-], Req),
-ok = cowboy_req:chunk("<html><head>Hello world!</head>", Req2),
-ok = cowboy_req:chunk("<body><p>Hats off!</p></body></html>", Req2).
-]]></script>
-
-<p>Note that the reply and each chunk following it are sent immediately.</p>
-
-<h2 id="preset_response_headers">Preset response headers</h2>
-
-<p>You can define response headers in advance. They will be merged into the headers given in the reply call. Headers in the reply call override preset response headers which override the default Cowboy headers.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Req2 = cowboy_req:set_resp_header(<<"allow">>, "GET", Req).
-]]></script>
-
-<p>You can check if a response header has already been set. This will only check the response headers that you set, and not the ones Cowboy will add when actually sending the reply.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-cowboy_req:has_resp_header(<<"allow">>, Req).
-]]></script>
-
-<p>It will return <code>true</code> if the header is defined, and <code>false</code> otherwise.</p>
-
-<p>Finally, you can also delete a preset response header if needed. If you do, it will not be sent.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Req2 = cowboy_req:delete_resp_header(<<"allow">>, Req).
-]]></script>
-
-<h2 id="preset_response_body">Preset response body</h2>
-
-<p>You can set the response body in advance. Note that this body will be ignored if you then choose to send a chunked reply, or if you send a reply with an explicit body.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Req2 = cowboy_req:set_resp_body("Hello world!", Req).
-]]></script>
-
-<p>You can also set a fun that will be called when it is time to send the body. There are three different ways of doing that.</p>
-
-<p>If you know the length of the body that needs to be sent, you should specify it, as it will help clients determine the remaining download time and allow them to inform the user.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-F = fun (Socket, Transport) ->
- Transport:send(Socket, "Hello world!")
-end,
-Req2 = cowboy_req:set_resp_body_fun(12, F, Req).
-]]></script>
-
-<p>If you do not know the length of the body, you should use a chunked response body fun instead.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-F = fun (SendChunk) ->
- Body = lists:duplicate(random:uniform(1024, $a)),
- SendChunk(Body)
-end,
-Req2 = cowboy_req:set_resp_body_fun(chunked, F, Req).
-]]></script>
-
-<p>Finally, you can also send data on the socket directly, without knowing the length in advance. Cowboy may be forced to close the connection at the end of the response though depending on the protocol capabilities.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-F = fun (Socket, Transport) ->
- Body = lists:duplicate(random:uniform(1024, $a)),
- Transport:send(Socket, Body)
-end,
-Req2 = cowboy_req:set_resp_body_fun(F, Req).
-]]></script>
-
-<h2 id="sending_files">Sending files</h2>
-
-<p>You can send files directly from disk without having to read them. Cowboy will use the <code>sendfile</code> syscall when possible, which means that the file is sent to the socket directly from the kernel, which is a lot more performant than doing it from userland.</p>
-
-<p>Again, it is recommended to set the size of the file if it can be known in advance.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-F = fun (Socket, Transport) ->
- Transport:sendfile(Socket, "priv/styles.css")
-end,
-Req2 = cowboy_req:set_resp_body_fun(FileSize, F, Req).
-]]></script>
-
-<p>Please see the Ranch guide for more information about sending files.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_cond.png b/_build/static/docs/en/cowboy/1.0/guide/rest_cond.png
deleted file mode 100644
index 64cda347..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_cond.png
+++ /dev/null
Binary files differ
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_cond.svg b/_build/static/docs/en/cowboy/1.0/guide/rest_cond.svg
deleted file mode 100644
index 542ae17d..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_cond.svg
+++ /dev/null
@@ -1,1656 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_cond.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="2.0000001"
- inkscape:cx="351.17815"
- inkscape:cy="292.20555"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(303.92143,-296.03137)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-212.00698)"
- id="g5650-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-129.04326)"
- id="g5650-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-44.866334)"
- id="g5650-94"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-71"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,38.329623)"
- id="g5650-93"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,122.59665)"
- id="g5650-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,206.62103)"
- id="g5650-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,248.85545)"
- id="g5650-2-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,72.326854,331.8341)"
- id="g5650-2-04"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9"
- d="m -57.78256,274.83062 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="204.49196"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="288.06644"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="371.6409"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="455.21542"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,-1,1,0,72.019862,498.61197)"
- id="g5650-2-04-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9-6"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="538.78992"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(303.92156,289.38374)"
- id="g5650-6-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-273.77202,830.73267)"
- id="g5650-2-0-4-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.00956,743.77999)"
- id="g5650-2-0-4-9-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 100.30195,432.97597 c 0,0 -104.1879007,-96.82159 -227.75958,-12.49311"
- id="path20172-9-6-0"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,146.48523,357.79168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-5-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41"
- width="210.17955"
- height="35.209244"
- x="140.98338"
- y="622.36444"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="120.91741"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(417.86479,-176.50006)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.18575"
- y="311.63589"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="246.18575"
- y="311.63589">has if-unmodified-since?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.60762"
- y="478.78488"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="245.60762"
- y="478.78488">has if-none-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.15059"
- y="55.939754"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="246.15059"
- y="55.939754"
- id="tspan17171">...</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.11153"
- y="560.125"
- id="text5371-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="246.11153"
- y="560.125">generate_etag</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.64278"
- y="645.9339"
- id="text5371-2-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2"
- x="246.64278"
- y="645.9339">has if-modified-since?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.13106"
- y="144.48688"
- id="text5371-2-95"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="246.13106"
- y="144.48688">has if-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.80684"
- y="225.82706"
- id="text5371-2-32"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="245.80684"
- y="225.82706">generate_etag</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.05293"
- y="393.43692"
- id="text5371-2-74"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18"
- x="246.05293"
- y="393.43692">last_modified</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="185.95248"
- id="text5371-2-391"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="262.26562"
- y="185.95248">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="269.61978"
- id="text5371-2-954"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-808"
- x="262.26562"
- y="269.61978">match*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="353.28702"
- id="text5371-2-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-11"
- x="262.26562"
- y="353.28702">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="436.95425"
- id="text5371-2-92"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-4"
- x="262.26562"
- y="436.95425">not modified*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="520.62152"
- id="text5371-2-739"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0"
- x="262.26562"
- y="520.62152">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="261.24219"
- y="604.14661"
- id="text5371-2-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="261.24219"
- y="604.14661">no match*</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.515488"
- y="227.88033"
- id="text5371-4-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="66.515488"
- y="227.88033">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.097519"
- y="385.50708"
- id="text5371-4-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-01"
- x="66.097519"
- y="385.50708">false, or</tspan><tspan
- sodipodi:role="line"
- x="66.097519"
- y="405.50708"
- id="tspan21678">invalid</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="413.26172"
- y="414.19577"
- id="text5371-4-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62"
- x="413.26172"
- y="414.19577">modified*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.515488"
- y="563.13391"
- id="text5371-4-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2"
- x="66.515488"
- y="563.13391">false</tspan></text>
- <g
- transform="matrix(-1,0,0,-1,541.38289,824.55574)"
- id="g5650-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="489.90482"
- y="372.18814"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="599.20062"
- y="394.09869"
- id="text5371-43"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="599.20062"
- y="394.09869">412 precondition failed</tspan></text>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,416.17722)"
- id="g5650-2-0-4-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,583.49898)"
- id="g5650-2-0-4-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-0"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0.70472302,-0.70948254,0.70948254,0.70472302,241.97558,40.02582)"
- id="g5650-2-1-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-2-8"
- d="m -64.113139,212.68162 6.332851,190.92097"
- style="opacity:0.80000000000000004;fill:none;stroke:#9b3b1c;stroke-width:1.99999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-9-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="511.01306"
- y="-49.514503"
- id="text5371-4-5-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"
- transform="matrix(0.72036037,0.69359998,-0.69359998,0.72036037,0,0)"><tspan
- sodipodi:role="line"
- id="tspan5373-9-09-1"
- x="511.01306"
- y="-49.514503">no match*</tspan></text>
- <g
- transform="translate(303.92156,371.88426)"
- id="g5650-6-2-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4-2"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41-0"
- width="210.17955"
- height="35.209244"
- x="140.98338"
- y="705.93896"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.11142"
- y="729.50842"
- id="text5371-2-7-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1"
- x="246.11142"
- y="729.50842">date is in the future?</tspan></text>
- <g
- transform="translate(303.92156,455.39272)"
- id="g5650-6-2-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4-6"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,72.385532,749.33549)"
- id="g5650-2-04-1-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9-6-9"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0-7-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2-6"
- width="210.17955"
- height="35.209244"
- x="140.98338"
- y="789.51343"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.04581"
- y="811.30945"
- id="text5371-2-7-9-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1-1"
- x="246.04581"
- y="811.30945">last_modified</tspan></text>
- <g
- id="g5650-39"
- transform="translate(656.94774,376.09516)">
- <path
- inkscape:connector-curvature="0"
- id="path5570-0"
- d="m -57.78256,195.3221 0,204.64594"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,159.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-124"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-7"
- width="218.52127"
- height="34.993004"
- x="489.90482"
- y="957.01166"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="599.28265"
- y="980.47302"
- id="text5371-43-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-6"
- x="599.28265"
- y="980.47302">304 not modified</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2-6-4"
- width="210.17955"
- height="35.209244"
- x="140.98338"
- y="873.08795"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.08487"
- y="891.68475"
- id="text5371-2-7-9-0-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1-1-0"
- x="246.08487"
- y="891.68475">...</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.097519"
- y="720.76068"
- id="text5371-4-2-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-01-9"
- x="66.097519"
- y="720.76068">false, or</tspan><tspan
- sodipodi:role="line"
- x="66.097519"
- y="740.76068"
- id="tspan21678-9">invalid</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="412.95471"
- y="580.78271"
- id="text5371-4-3-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9"
- x="412.95471"
- y="580.78271">match*</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3.05435514;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41-0-7"
- width="218.20164"
- height="35.154888"
- x="490.06448"
- y="538.81708"
- rx="15.572517"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="599.00122"
- y="562.35938"
- id="text5371-2-7-9-04"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1-6"
- x="599.00122"
- y="562.35938">method is GET/HEAD?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="621.08008"
- y="607.0827"
- id="text5371-2-739-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0-0"
- x="621.08008"
- y="607.0827">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="640.17383"
- y="518.34009"
- id="text5371-4-4-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6"
- x="640.17383"
- y="518.34009">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="157.927"
- y="770.83472"
- id="text5371-4-4-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-4"
- x="157.927"
- y="770.83472">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.32812"
- y="771.29565"
- id="text5371-2-739-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0-1"
- x="262.32812"
- y="771.29565">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="687.26025"
- id="text5371-2-739-56"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0-8"
- x="262.26562"
- y="687.26025">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="261.24219"
- y="854.87012"
- id="text5371-2-739-5-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0-1-3"
- x="261.24219"
- y="854.87012">modified*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="417.07037"
- y="834.64905"
- id="text5371-4-3-9-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9-4"
- x="417.07037"
- y="834.64905">not modified*</tspan></text>
- <g
- transform="translate(656.94774,455.40497)"
- id="g5650-6-2-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4-1"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-5"
- width="210.17955"
- height="35.209244"
- x="490.03729"
- y="789.51343"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="595.41223"
- y="810.84851"
- id="text5371-2-32-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8"
- x="595.41223"
- y="810.84851">generate_etag</tspan></text>
- <g
- transform="translate(656.94774,539.41312)"
- id="g5650-6-2-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-5-0"
- width="210.17955"
- height="35.209244"
- x="490.03729"
- y="873.08795"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="595.41223"
- y="894.42303"
- id="text5371-2-32-1-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8-6"
- x="595.41223"
- y="894.42303">expires</tspan></text>
- </g>
-</svg>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_conneg.png b/_build/static/docs/en/cowboy/1.0/guide/rest_conneg.png
deleted file mode 100644
index 65ecdcf3..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_conneg.png
+++ /dev/null
Binary files differ
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_conneg.svg b/_build/static/docs/en/cowboy/1.0/guide/rest_conneg.svg
deleted file mode 100644
index 247567a0..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_conneg.svg
+++ /dev/null
@@ -1,1135 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_conneg.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4142136"
- inkscape:cx="222.80947"
- inkscape:cy="634.56615"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(303.92143,-296.03137)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-212.00698)"
- id="g5650-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-129.04326)"
- id="g5650-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-44.866334)"
- id="g5650-94"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-71"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,38.329623)"
- id="g5650-93"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,122.59665)"
- id="g5650-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,206.62103)"
- id="g5650-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,248.85545)"
- id="g5650-2-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,72.326854,331.8341)"
- id="g5650-2-04"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="204.67757"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="288.40311"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="372.01199"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="455.67929"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="539.34656"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(303.92156,289.38374)"
- id="g5650-6-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="623.01385"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="121.0042"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(417.86479,-176.50006)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.18575"
- y="310.19913"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="246.18575"
- y="310.19913">has accept-language?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.60762"
- y="477.47531"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="245.60762"
- y="477.47531">has accept-charset?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.00391"
- y="60.912468"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="245.00391"
- y="60.912468"
- id="tspan17171">start</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.11153"
- y="561.14258"
- id="text5371-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="246.11153"
- y="561.14258">charsets_provided</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.64278"
- y="646.58331"
- id="text5371-2-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2"
- x="246.64278"
- y="646.58331">variances</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.13106"
- y="142.80627"
- id="text5371-2-95"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="246.13106"
- y="142.80627">has accept?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.80684"
- y="226.4736"
- id="text5371-2-32"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="245.80684"
- y="226.4736">content_types_provided</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.05293"
- y="393.80801"
- id="text5371-2-74"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18"
- x="246.05293"
- y="393.80801">languages_provided</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="185.95248"
- id="text5371-2-391"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="262.26562"
- y="185.95248">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="269.61978"
- id="text5371-2-954"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-808"
- x="262.26562"
- y="269.61978">provided*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="353.28702"
- id="text5371-2-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-11"
- x="262.26562"
- y="353.28702">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="436.95425"
- id="text5371-2-92"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-4"
- x="262.26562"
- y="436.95425">provided*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="520.62152"
- id="text5371-2-739"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0"
- x="262.26562"
- y="520.62152">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="604.28876"
- id="text5371-2-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="262.26562"
- y="604.28876">provided*</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="76.761719"
- y="227.88033"
- id="text5371-4-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="76.761719"
- y="227.88033">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="76.761719"
- y="395.20209"
- id="text5371-4-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-01"
- x="76.761719"
- y="395.20209">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="413.26172"
- y="374.19577"
- id="text5371-4-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62"
- x="413.26172"
- y="374.19577">not provided*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="76.761719"
- y="562.52386"
- id="text5371-4-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2"
- x="76.761719"
- y="562.52386">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-8.8034744"
- y="663.24762"
- id="text5371-4-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"
- transform="matrix(0.7410941,-0.67140117,0.67140117,0.7410941,0,0)"><tspan
- sodipodi:role="line"
- id="tspan5373-9-09"
- x="-8.8034744"
- y="663.24762">not provided*</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="489.90482"
- y="372.18814"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(-0.65781496,-0.75317958,0.75317958,-0.65781496,150.24236,637.46542)"
- id="g5650-2-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-2"
- d="m -59.488319,210.57681 1.65844,193.00059"
- style="opacity:0.80000000000000004;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="599.20062"
- y="394.09869"
- id="text5371-43"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="599.20062"
- y="394.09869">406 not acceptable</tspan></text>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,416.17722)"
- id="g5650-2-0-4-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,583.49898)"
- id="g5650-2-0-4-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-0"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0.70472302,-0.70948254,0.70948254,0.70472302,241.97558,40.02582)"
- id="g5650-2-1-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-2-8"
- d="m -64.113139,212.68162 6.332851,190.92097"
- style="opacity:0.80000000000000004;fill:none;stroke:#9b3b1c;stroke-width:1.99999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-9-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="509.41452"
- y="-106.16136"
- id="text5371-4-5-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"
- transform="matrix(0.69480867,0.71919462,-0.71919462,0.69480867,0,0)"><tspan
- sodipodi:role="line"
- id="tspan5373-9-09-1"
- x="509.41452"
- y="-106.16136">not provided*</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41-0"
- width="210.17955"
- height="35.209244"
- x="141.049"
- y="706.68097"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.15048"
- y="725.27777"
- id="text5371-2-7-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1"
- x="246.15048"
- y="725.27777">...</tspan></text>
- </g>
-</svg>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_delete.png b/_build/static/docs/en/cowboy/1.0/guide/rest_delete.png
deleted file mode 100644
index 56a861c0..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_delete.png
+++ /dev/null
Binary files differ
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_delete.svg b/_build/static/docs/en/cowboy/1.0/guide/rest_delete.svg
deleted file mode 100644
index 2f5513cd..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_delete.svg
+++ /dev/null
@@ -1,1718 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_delete.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4142136"
- inkscape:cx="187.51922"
- inkscape:cy="446.38557"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(416.63925,-305.0045)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,270.15614)"
- id="g5650-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,435.68973)"
- id="g5650-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,-141.93971)"
- id="g5650-0-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,-59.713866)"
- id="g5650-0-6-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3-8"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-307.35528,398.54403)"
- id="g5650-2-0-4-8-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5-6-2"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="275.4668"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(270.88515,105.33602)"
- id="g5650-2-2-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-3"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-310.05718,566.15049)"
- id="g5650-2-0-4-3-8-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-7"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="440.50873"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,-1,1,0,-308.28941,729.66893)"
- id="g5650-2-0-4-8-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="605.5506"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,-1,1,0,-313.39862,891.55835)"
- id="g5650-2-0-4-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="770.83313"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,261.76354,-143.71473)"
- id="g5650-2-2-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-4"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="253.76691"
- y="112.69559"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(530.58261,-183.7816)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.38774"
- y="462.30475"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="213.38774"
- y="462.30475">delete_completed</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="212.93852"
- y="627.56927"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="212.93852"
- y="627.56927">has response body?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="359.14185"
- y="50.482433"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="359.14185"
- y="50.482433"
- id="tspan17171">conneg</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="212.77055"
- y="792.62915"
- id="text5371-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="212.77055"
- y="792.62915">multiple_choices</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="358.52466"
- y="134.49161"
- id="text5371-2-95"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="358.52466"
- y="134.49161">resource_exists</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.08696"
- y="297.26282"
- id="text5371-2-32"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="213.08696"
- y="297.26282">delete_resource</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="251.83722"
- y="175.92931"
- id="text5371-2-391"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="251.83722"
- y="175.92931">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="159.54012"
- y="835.54285"
- id="text5371-2-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="159.54012"
- y="835.54285">false</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="447.26678"
- y="176.39024"
- id="text5371-4-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="447.26678"
- y="176.39024">false</tspan></text>
- <g
- transform="translate(563.72619,-141.76777)"
- id="g5650-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="47.338913"
- y="876.22211"
- id="text5371-4-3-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9"
- x="47.338913"
- y="876.22211">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="545.12921"
- y="257.43518"
- id="text5371-4-4-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6"
- x="545.12921"
- y="257.43518">true</tspan></text>
- <g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,547.47379,-62.310424)"
- id="g5650-9-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355-0"
- transform="translate(384.82851,-20.897068)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.38774"
- y="216.5154"
- id="text5371-4-0-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="213.38774"
- y="216.5154"
- id="tspan17171-6">cond</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-1"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="935.6217"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="208.84938"
- y="957.53229"
- id="text5371-43-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-62"
- x="208.84938"
- y="957.53229">300 multiple choices</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="853.22168"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="208.31422"
- y="876.54242"
- id="text5371-43-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1"
- x="208.31422"
- y="876.54242">200 OK</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,1028.2004,317.70407)"
- id="g5650-2-0-4-3-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-4"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="192.94594"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.77957"
- y="216.51541"
- id="text5371-2-32-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8"
- x="505.77957"
- y="216.51541">has if-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="299.27689"
- id="text5371-2-391-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7"
- x="651.74426"
- y="299.27689">false</tspan></text>
- <g
- transform="translate(563.72619,22.800669)"
- id="g5650-0-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1027.6701,482.30508)"
- id="g5650-2-0-4-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-7"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="357.98779"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.94363"
- y="379.78381"
- id="text5371-2-32-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-1"
- x="505.94363"
- y="379.78381">previously_existed</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="440.37622"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="506.2796"
- y="463.83755"
- id="text5371-43-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9"
- x="506.2796"
- y="463.83755">404 not found</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="528.75421"
- y="422.69736"
- id="text5371-2-8-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4"
- x="528.75421"
- y="422.69736">false</tspan></text>
- <g
- transform="translate(563.72619,187.85116)"
- id="g5650-2-2-17">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-0"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-45"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1027.4933,646.81763)"
- id="g5650-2-0-4-3-8-0-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="523.02966"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.45535"
- y="544.82568"
- id="text5371-2-74-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2"
- x="505.45535"
- y="544.82568">moved_permanently</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,347.00351,567.35686)"
- id="g5650-2-0-4-3-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-3"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="275.81555"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="506.2796"
- y="297.7261"
- id="text5371-43"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="506.2796"
- y="297.7261">412 precondition failed</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="668.11926"
- y="463.37662"
- id="text5371-4-3-9-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9-9"
- x="668.11926"
- y="463.37662">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="549.12921"
- y="587.59863"
- id="text5371-4-4-9-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2"
- x="549.12921"
- y="587.59863">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="628.87946"
- id="text5371-2-391-5-5-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9"
- x="651.74426"
- y="628.87946">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="605.41809"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.57257"
- y="627.32867"
- id="text5371-43-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7"
- x="505.57257"
- y="627.32867">301 moved permanently</tspan></text>
- <g
- transform="translate(563.72619,353.12604)"
- id="g5650-2-2-65">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-5"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1032.2004,811.50699)"
- id="g5650-2-0-4-3-8-0-3-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8-1"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="687.83093"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.45535"
- y="709.62695"
- id="text5371-2-74-0-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8"
- x="505.45535"
- y="709.62695">moved_temporarily</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="549.12921"
- y="752.64056"
- id="text5371-4-4-9-3-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-6"
- x="549.12921"
- y="752.64056">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="794.16199"
- id="text5371-2-391-5-5-1-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-2"
- x="651.74426"
- y="794.16199">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="770.70062"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.57257"
- y="792.61121"
- id="text5371-43-2-9-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8"
- x="505.57257"
- y="792.61121">307 moved temporarily</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-4"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="853.22168"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.97882"
- y="874.99164"
- id="text5371-43-2-9-7-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-7"
- x="505.97882"
- y="874.99164">410 gone</tspan></text>
- <g
- transform="translate(31.619614,4.2328831)"
- id="g5650-2-2-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="178.57137"
- y="505.21829"
- id="text5371-4-6-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0-9"
- x="178.57137"
- y="505.21829">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="522.89716"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="209.20485"
- y="544.80774"
- id="text5371-43-3-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-5"
- x="209.20485"
- y="544.80774">202 accepted</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-5"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="687.69843"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="208.6736"
- y="711.01917"
- id="text5371-43-3-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-8"
- x="208.6736"
- y="711.01917">204 no content</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="47.338913"
- y="711.15979"
- id="text5371-4-6-0-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0-9-4"
- x="47.338913"
- y="711.15979">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="30.901413"
- y="545.89758"
- id="text5371-2-391-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-9"
- x="30.901413"
- y="545.89758">true</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7-1"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="357.85529"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="208.45485"
- y="381.31662"
- id="text5371-43-3-1-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-5-9"
- x="208.45485"
- y="381.31662">500 internal server error</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="159.54012"
- y="340.17645"
- id="text5371-2-8-9-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-4"
- x="159.54012"
- y="340.17645">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="47.338913"
- y="380.85568"
- id="text5371-4-4-9-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-1"
- x="47.338913"
- y="380.85568">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="159.54012"
- y="670.13989"
- id="text5371-2-391-6-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-9-1"
- x="159.54012"
- y="670.13989">false</tspan></text>
- </g>
-</svg>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_flowcharts/index.html b/_build/static/docs/en/cowboy/1.0/guide/rest_flowcharts/index.html
deleted file mode 100644
index 825dcc0a..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_flowcharts/index.html
+++ /dev/null
@@ -1,304 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>REST flowcharts</span></h1>
-
-<p>This chapter will explain the REST handler state machine through a number of different diagrams.</p>
-
-<p>There are four main paths that requests may follow. One for the method OPTIONS; one for the methods GET and HEAD; one for the methods PUT, POST and PATCH; and one for the method DELETE.</p>
-
-<p>All paths start with the "Start" diagram, and all paths excluding the OPTIONS path go through the "Content negotiation" diagram and optionally the "Conditional requests" diagram if the resource exists.</p>
-
-<p>The red squares refer to another diagram. The light green squares indicate a response. Other squares may be either a callback or a question answered by Cowboy itself. Green arrows tend to indicate the default behavior if the callback is undefined.</p>
-
-<h2 id="start">Start</h2>
-
-<p>All requests start from here.</p>
-
-<p><img title="REST starting flowchart" src="/docs/en/cowboy/1.0/guide/rest_start.png"/></p>
-
-<p>A series of callbacks are called in succession to perform a general checkup of the service, the request line and request headers.</p>
-
-<p>The request body, if any, is not expected to have been received for any of these steps. It is only processed at the end of the "PUT, POST and PATCH methods" diagram, when all conditions have been met.</p>
-
-<p>The <code>known_methods</code> and <code>allowed_methods</code> callbacks return a list of methods. Cowboy then checks if the request method is in the list, and stops otherwise.</p>
-
-<p>The <code>is_authorized</code> callback may be used to check that access to the resource is authorized. Authentication may also be performed as needed. When authorization is denied, the return value from the callback must include a challenge applicable to the requested resource, which will be sent back to the client in the www-authenticate header.</p>
-
-<p>This diagram is immediately followed by either the "OPTIONS method" diagram when the request method is OPTIONS, or the "Content negotiation" diagram otherwise.</p>
-
-<h2 id="options_method">OPTIONS method</h2>
-
-<p>This diagram only applies to OPTIONS requests.</p>
-
-<p><img title="REST OPTIONS method flowchart" src="/docs/en/cowboy/1.0/guide/rest_options.png"/></p>
-
-<p>The <code>options</code> callback may be used to add information about the resource, such as media types or languages provided; allowed methods; any extra information. A response body may also be set, although clients should not be expected to read it.</p>
-
-<p>If the <code>options</code> callback is not defined, Cowboy will send a response containing the list of allowed methods by default.</p>
-
-<h2 id="content_negotiation">Content negotiation</h2>
-
-<p>This diagram applies to all request methods other than OPTIONS. It is executed right after the "Start" diagram is completed.</p>
-
-<p><img title="REST content negotiation flowchart" src="/docs/en/cowboy/1.0/guide/rest_conneg.png"/></p>
-
-<p>The purpose of these steps is to determine an appropriate representation to be sent back to the client.</p>
-
-<p>The request may contain any of the accept header; the accept-language header; or the accept-charset header. When present, Cowboy will parse the headers and then call the corresponding callback to obtain the list of provided content-type, language or charset for this resource. It then automatically select the best match based on the request.</p>
-
-<p>If a callback is not defined, Cowboy will select the content-type, language or charset that the client prefers.</p>
-
-<p>The <code>content_types_provided</code> also returns the name of a callback for every content-type it accepts. This callback will only be called at the end of the "GET and HEAD methods" diagram, when all conditions have been met.</p>
-
-<p>The selected content-type, language and charset are saved as meta values in the Req object. You <em>should</em> use the appropriate representation if you set a response body manually (alongside an error code, for example).</p>
-
-<p>This diagram is immediately followed by the "GET and HEAD methods" diagram, the "PUT, POST and PATCH methods" diagram, or the "DELETE method" diagram, depending on the method.</p>
-
-<h2 id="get_and_head_methods">GET and HEAD methods</h2>
-
-<p>This diagram only applies to GET and HEAD requests.</p>
-
-<p>For a description of the <code>cond</code> step, please see the "Conditional requests" diagram.</p>
-
-<p><img title="REST GET/HEAD methods flowchart" src="/docs/en/cowboy/1.0/guide/rest_get_head.png"/></p>
-
-<p>When the resource exists, and the conditional steps succeed, the resource can be retrieved.</p>
-
-<p>Cowboy prepares the response by first retrieving metadata about the representation, then by calling the <code>ProvideResource</code> callback. This is the callback you defined for each content-types you returned from <code>content_types_provided</code>. This callback returns the body that will be sent back to the client, or a fun if the body must be streamed.</p>
-
-<p>When the resource does not exist, Cowboy will figure out whether the resource existed previously, and if so whether it was moved elsewhere in order to redirect the client to the new URI.</p>
-
-<p>The <code>moved_permanently</code> and <code>moved_temporarily</code> callbacks must return the new location of the resource if it was in fact moved.</p>
-
-<h2 id="put,_post_and_patch_methods">PUT, POST and PATCH methods</h2>
-
-<p>This diagram only applies to PUT, POST and PATCH requests.</p>
-
-<p>For a description of the <code>cond</code> step, please see the "Conditional requests" diagram.</p>
-
-<p><img title="REST PUT/POST/PATCH methods flowchart" src="/docs/en/cowboy/1.0/guide/rest_put_post_patch.png"/></p>
-
-<p>When the resource exists, first the conditional steps are executed. When that succeeds, and the method is PUT, Cowboy will call the <code>is_conflict</code> callback. This function can be used to prevent potential race conditions, by locking the resource for example.</p>
-
-<p>Then all three methods reach the <code>content_types_accepted</code> step that we will describe in a few paragraphs.</p>
-
-<p>When the resource does not exist, and the method is PUT, Cowboy will check for conflicts and then move on to the <code>content_types_accepted</code> step. For other methods, Cowboy will figure out whether the resource existed previously, and if so whether it was moved elsewhere. If the resource is truly non-existent, the method is POST and the call for <code>allow_missing_post</code> returns <code>true</code>, then Cowboy will move on to the <code>content_types_accepted</code> step. Otherwise the request processing ends there.</p>
-
-<p>The <code>moved_permanently</code> and <code>moved_temporarily</code> callbacks must return the new location of the resource if it was in fact moved.</p>
-
-<p>The <code>content_types_accepted</code> returns a list of content-types it accepts, but also the name of a callback for each of them. Cowboy will select the appropriate callback for processing the request body and call it.</p>
-
-<p>This callback may return one of three different return values.</p>
-
-<p>If an error occurred while processing the request body, it must return <code>false</code> and Cowboy will send an appropriate error response.</p>
-
-<p>If the method is POST, then you may return <code>true</code> with an URI of where the resource has been created. This is especially useful for writing handlers for collections.</p>
-
-<p>Otherwise, return <code>true</code> to indicate success. Cowboy will select the appropriate response to be sent depending on whether a resource has been created, rather than modified, and on the availability of a location header or a body in the response.</p>
-
-<h2 id="delete_method">DELETE method</h2>
-
-<p>This diagram only applies to DELETE requests.</p>
-
-<p>For a description of the <code>cond</code> step, please see the "Conditional requests" diagram.</p>
-
-<p><img title="REST DELETE method flowchart" src="/docs/en/cowboy/1.0/guide/rest_delete.png"/></p>
-
-<p>When the resource exists, and the conditional steps succeed, the resource can be deleted.</p>
-
-<p>Deleting the resource is a two steps process. First the callback <code>delete_resource</code> is executed. Use this callback to delete the resource.</p>
-
-<p>Because the resource may be cached, you must also delete all cached representations of this resource in the system. This operation may take a while though, so you may return before it finished.</p>
-
-<p>Cowboy will then call the <code>delete_completed</code> callback. If you know that the resource has been completely deleted from your system, including from caches, then you can return <code>true</code>. If any doubts persist, return <code>false</code>. Cowboy will assume <code>true</code> by default.</p>
-
-<p>To finish, Cowboy checks if you set a response body, and depending on that, sends the appropriate response.</p>
-
-<p>When the resource does not exist, Cowboy will figure out whether the resource existed previously, and if so whether it was moved elsewhere in order to redirect the client to the new URI.</p>
-
-<p>The <code>moved_permanently</code> and <code>moved_temporarily</code> callbacks must return the new location of the resource if it was in fact moved.</p>
-
-<h2 id="conditional_requests">Conditional requests</h2>
-
-<p>This diagram applies to all request methods other than OPTIONS. It is executed right after the <code>resource_exists</code> callback, when the resource exists.</p>
-
-<p><img title="REST conditional requests flowchart" src="/docs/en/cowboy/1.0/guide/rest_cond.png"/></p>
-
-<p>A request becomes conditional when it includes either of the if-match header; the if-unmodified-since header; the if-none-match header; or the if-modified-since header.</p>
-
-<p>If the condition fails, the request ends immediately without any retrieval or modification of the resource.</p>
-
-<p>The <code>generate_etag</code> and <code>last_modified</code> are called as needed. Cowboy will only call them once and then cache the results for subsequent use.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_get_head.png b/_build/static/docs/en/cowboy/1.0/guide/rest_get_head.png
deleted file mode 100644
index efee892a..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_get_head.png
+++ /dev/null
Binary files differ
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_get_head.svg b/_build/static/docs/en/cowboy/1.0/guide/rest_get_head.svg
deleted file mode 100644
index c78e9399..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_get_head.svg
+++ /dev/null
@@ -1,1523 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_get_head.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4142136"
- inkscape:cx="122.28875"
- inkscape:cy="777.29526"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(416.63925,-305.0045)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,-59.451492)"
- id="g5650-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,22.975441)"
- id="g5650-94"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-71"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,105.29639)"
- id="g5650-93"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,187.81342)"
- id="g5650-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,270.7128)"
- id="g5650-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,-141.93971)"
- id="g5650-0-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="275.4668"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="357.98779"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="440.50873"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="523.02966"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,-1,1,0,-314.06239,730.23773)"
- id="g5650-2-0-4-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="605.5506"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,261.76354,-143.71473)"
- id="g5650-2-2-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-4"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="253.76691"
- y="112.69559"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(530.58261,-183.7816)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.07524"
- y="379.78381"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="213.07524"
- y="379.78381">last_modified</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="212.74321"
- y="546.59912"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="212.74321"
- y="546.59912">ProvideResource</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="359.14185"
- y="50.482433"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="359.14185"
- y="50.482433"
- id="tspan17171">conneg</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="212.77055"
- y="627.34662"
- id="text5371-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="212.77055"
- y="627.34662">multiple_choices</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="358.52466"
- y="134.49161"
- id="text5371-2-95"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="358.52466"
- y="134.49161">resource_exists</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.38774"
- y="296.80188"
- id="text5371-2-32"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="213.38774"
- y="296.80188">generate_etag</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.05571"
- y="462.5274"
- id="text5371-2-74"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18"
- x="213.05571"
- y="462.5274">expires</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="251.83722"
- y="175.92931"
- id="text5371-2-391"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="251.83722"
- y="175.92931">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="161.54012"
- y="670.38055"
- id="text5371-2-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="161.54012"
- y="670.38055">false</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="447.26678"
- y="176.39024"
- id="text5371-4-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="447.26678"
- y="176.39024">false</tspan></text>
- <g
- transform="translate(563.72619,-141.76777)"
- id="g5650-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="46.409981"
- y="711.18011"
- id="text5371-4-3-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9"
- x="46.409981"
- y="711.18011">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="545.12921"
- y="257.43518"
- id="text5371-4-4-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6"
- x="545.12921"
- y="257.43518">true</tspan></text>
- <g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,547.47379,-62.310424)"
- id="g5650-9-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355-0"
- transform="translate(384.82851,-20.897068)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.38774"
- y="216.5154"
- id="text5371-4-0-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="213.38774"
- y="216.5154"
- id="tspan17171-6">cond</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-1"
- width="218.52127"
- height="34.993004"
- x="103.84195"
- y="770.70062"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="212.88774"
- y="792.61121"
- id="text5371-43-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-62"
- x="212.88774"
- y="792.61121">300 multiple choices</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8"
- width="218.52127"
- height="34.993004"
- x="103.84195"
- y="688.17969"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="212.35258"
- y="711.50043"
- id="text5371-43-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1"
- x="212.35258"
- y="711.50043">200 OK</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,1028.2004,317.70407)"
- id="g5650-2-0-4-3-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-4"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="192.94594"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.77957"
- y="216.51541"
- id="text5371-2-32-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8"
- x="505.77957"
- y="216.51541">has if-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="299.27689"
- id="text5371-2-391-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7"
- x="651.74426"
- y="299.27689">false</tspan></text>
- <g
- transform="translate(563.72619,22.800669)"
- id="g5650-0-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1027.6701,482.30508)"
- id="g5650-2-0-4-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-7"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="357.98779"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.94363"
- y="379.78381"
- id="text5371-2-32-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-1"
- x="505.94363"
- y="379.78381">previously_existed</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="440.37622"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="506.2796"
- y="463.83755"
- id="text5371-43-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9"
- x="506.2796"
- y="463.83755">404 not found</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="528.75421"
- y="422.69736"
- id="text5371-2-8-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4"
- x="528.75421"
- y="422.69736">false</tspan></text>
- <g
- transform="translate(563.72619,187.85116)"
- id="g5650-2-2-17">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-0"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-45"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1027.4933,646.81763)"
- id="g5650-2-0-4-3-8-0-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="523.02966"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.45535"
- y="544.82568"
- id="text5371-2-74-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2"
- x="505.45535"
- y="544.82568">moved_permanently</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,347.00351,567.35686)"
- id="g5650-2-0-4-3-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-3"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="275.81555"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="506.2796"
- y="297.7261"
- id="text5371-43"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="506.2796"
- y="297.7261">412 precondition failed</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="668.11926"
- y="463.37662"
- id="text5371-4-3-9-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9-9"
- x="668.11926"
- y="463.37662">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="549.12921"
- y="587.59863"
- id="text5371-4-4-9-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2"
- x="549.12921"
- y="587.59863">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="628.87946"
- id="text5371-2-391-5-5-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9"
- x="651.74426"
- y="628.87946">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="605.41809"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.57257"
- y="627.32867"
- id="text5371-43-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7"
- x="505.57257"
- y="627.32867">301 moved permanently</tspan></text>
- <g
- transform="translate(563.72619,353.12604)"
- id="g5650-2-2-65">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-5"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1032.2004,811.50699)"
- id="g5650-2-0-4-3-8-0-3-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8-1"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="687.83093"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.45535"
- y="709.62695"
- id="text5371-2-74-0-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8"
- x="505.45535"
- y="709.62695">moved_temporarily</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="549.12921"
- y="752.64056"
- id="text5371-4-4-9-3-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-6"
- x="549.12921"
- y="752.64056">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="794.16199"
- id="text5371-2-391-5-5-1-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-2"
- x="651.74426"
- y="794.16199">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="770.70062"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.57257"
- y="792.61121"
- id="text5371-43-2-9-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8"
- x="505.57257"
- y="792.61121">307 moved temporarily</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-4"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="853.22168"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.97882"
- y="874.99164"
- id="text5371-43-2-9-7-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-7"
- x="505.97882"
- y="874.99164">410 gone</tspan></text>
- <g
- transform="translate(31.619614,4.2328831)"
- id="g5650-2-2-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- </g>
-</svg>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_handlers/index.html b/_build/static/docs/en/cowboy/1.0/guide/rest_handlers/index.html
deleted file mode 100644
index 3bdad4fd..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_handlers/index.html
+++ /dev/null
@@ -1,289 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>REST handlers</span></h1>
-
-<p>REST is implemented in Cowboy as a protocol upgrade. Once upgraded, the request is handled as a state machine with many optional callbacks describing the resource and modifying the machine's behavior.</p>
-
-<p>The REST handler is the recommended way to handle requests.</p>
-
-<h2 id="initialization">Initialization</h2>
-
-<p>First, the <code>init/3</code> callback is called. This callback is common to all handlers. To use REST for the current request, this function must return an <code>upgrade</code> tuple.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init({tcp, http}, Req, Opts) ->
- {upgrade, protocol, cowboy_rest}.
-]]></script>
-
-<p>Cowboy will then switch to the REST protocol and start executing the state machine, starting from <code>rest_init/2</code> if it's defined, and ending with <code>rest_terminate/2</code> also if defined.</p>
-
-<h2 id="methods">Methods</h2>
-
-<p>The REST component has code for handling the following HTTP methods: HEAD, GET, POST, PATCH, PUT, DELETE and OPTIONS.</p>
-
-<p>Other methods can be accepted, however they have no specific callback defined for them at this time.</p>
-
-<h2 id="callbacks">Callbacks</h2>
-
-<p>All callbacks are optional. Some may become mandatory depending on what other defined callbacks return. The various flowcharts in the next chapter should be a useful to determine which callbacks you need.</p>
-
-<p>When the request starts being processed, Cowboy will call the <code>rest_init/2</code> function if it is defined, with the Req object and the handler options as arguments. This function must return <code>{ok, Req, State}</code> where <code>State</code> is the handler's state that all subsequent callbacks will receive.</p>
-
-<p>At the end of every request, the special callback <code>rest_terminate/2</code> will be called if it is defined. It cannot be used to send a reply, and must always return <code>ok</code>.</p>
-
-<p>All other callbacks are resource callbacks. They all take two arguments, the Req object and the State, and return a three-element tuple of the form <code>{Value, Req, State}</code>.</p>
-
-<p>The following table summarizes the callbacks and their default values. If the callback isn't defined, then the default value will be used. Please look at the flowcharts to find out the result of each return value.</p>
-
-<p>All callbacks can also return <code>{halt, Req, State}</code> to stop execution of the request, at which point <code>rest_terminate/2</code> will be called.</p>
-
-<p>In the following table, "skip" means the callback is entirely skipped if it is undefined, moving directly to the next step. Similarly, "none" means there is no default value for this callback.</p>
-
-<table class="table-bordered table-condensed table-striped">
-<thead>
-<tr><th>Callback name</th><th>Default value</th></tr>
-</thead>
-<tbody>
-<tr><td>allowed_methods</td><td><code>[<<"GET">>, <<"HEAD">>, <<"OPTIONS">>]</code></td></tr>
-<tr><td>allow_missing_post</td><td><code>true</code></td></tr>
-<tr><td>charsets_provided</td><td>skip</td></tr>
-<tr><td>content_types_accepted</td><td>none</td></tr>
-<tr><td>content_types_provided</td><td><code>[{{<<"text">>, <<"html">>, '*'}, to_html}] </code></td></tr>
-<tr><td>delete_completed</td><td><code>true</code></td></tr>
-<tr><td>delete_resource</td><td><code>false</code></td></tr>
-<tr><td>expires</td><td><code>undefined</code></td></tr>
-<tr><td>forbidden</td><td><code>false</code></td></tr>
-<tr><td>generate_etag</td><td><code>undefined</code></td></tr>
-<tr><td>is_authorized</td><td><code>true</code></td></tr>
-<tr><td>is_conflict</td><td><code>false</code></td></tr>
-<tr><td>known_content_type</td><td><code>true</code></td></tr>
-<tr><td>known_methods</td><td><code>[<<"GET">>, <<"HEAD">>, <<"POST">>, <<"PUT">>, <<"PATCH">>, <<"DELETE">>, <<"OPTIONS">>]</code></td></tr>
-<tr><td>languages_provided</td><td>skip</td></tr>
-<tr><td>last_modified</td><td><code>undefined</code></td></tr>
-<tr><td>malformed_request</td><td><code>false</code></td></tr>
-<tr><td>moved_permanently</td><td><code>false</code></td></tr>
-<tr><td>moved_temporarily</td><td><code>false</code></td></tr>
-<tr><td>multiple_choices</td><td><code>false</code></td></tr>
-<tr><td>options</td><td><code>ok</code></td></tr>
-<tr><td>previously_existed</td><td><code>false</code></td></tr>
-<tr><td>resource_exists</td><td><code>true</code></td></tr>
-<tr><td>service_available</td><td><code>true</code></td></tr>
-<tr><td>uri_too_long</td><td><code>false</code></td></tr>
-<tr><td>valid_content_headers</td><td><code>true</code></td></tr>
-<tr><td>valid_entity_length</td><td><code>true</code></td></tr>
-<tr><td>variances</td><td><code>[]</code></td></tr>
-</tbody>
-</table>
-
-<p>As you can see, Cowboy tries to move on with the request whenever possible by using well thought out default values.</p>
-
-<p>In addition to these, there can be any number of user-defined callbacks that are specified through <code>content_types_accepted/2</code> and <code>content_types_provided/2</code>. They can take any name, however it is recommended to use a separate prefix for the callbacks of each function. For example, <code>from_html</code> and <code>to_html</code> indicate in the first case that we're accepting a resource given as HTML, and in the second case that we send one as HTML.</p>
-
-<h2 id="meta_data">Meta data</h2>
-
-<p>Cowboy will set informative meta values at various points of the execution. You can retrieve them using <code>cowboy_req:meta/{2,3}</code>. The values are defined in the following table.</p>
-
-<table class="table-bordered table-condensed table-striped">
-<thead>
-<tr><th>Meta key</th><th>Details</th></tr>
-</thead>
-<tbody>
-<tr><td>media_type</td><td>The content-type negotiated for the response entity.</td></tr>
-<tr><td>language</td><td>The language negotiated for the response entity.</td></tr>
-<tr><td>charset</td><td>The charset negotiated for the response entity.</td></tr>
-</tbody>
-</table>
-
-<p>They can be used to send a proper body with the response to a request that used a method other than HEAD or GET.</p>
-
-<h2 id="response_headers">Response headers</h2>
-
-<p>Cowboy will set response headers automatically over the execution of the REST code. They are listed in the following table.</p>
-
-<table class="table-bordered table-condensed table-striped">
-<thead>
-<tr><th>Header name</th><th>Details</th></tr>
-</thead>
-<tbody>
-<tr><td>content-language</td><td>Language used in the response body</td></tr>
-<tr><td>content-type</td><td>Media type and charset of the response body</td></tr>
-<tr><td>etag</td><td>Etag of the resource</td></tr>
-<tr><td>expires</td><td>Expiration date of the resource</td></tr>
-<tr><td>last-modified</td><td>Last modification date for the resource</td></tr>
-<tr><td>location</td><td>Relative or absolute URI to the requested resource</td></tr>
-<tr><td>vary</td><td>List of headers that may change the representation of the resource</td></tr>
-</tbody>
-</table>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_options.png b/_build/static/docs/en/cowboy/1.0/guide/rest_options.png
deleted file mode 100644
index 90fd6f06..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_options.png
+++ /dev/null
Binary files differ
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_options.svg b/_build/static/docs/en/cowboy/1.0/guide/rest_options.svg
deleted file mode 100644
index 496c050c..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_options.svg
+++ /dev/null
@@ -1,387 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_options.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.0000001"
- inkscape:cx="166.77748"
- inkscape:cy="548.36436"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(205.92143,-296.03137)"
- id="g5650-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,-212.00698)"
- id="g5650-9">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="204.67757"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="121.0042"
- rx="15" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(319.86479,-176.50006)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.00391"
- y="60.912468"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="147.00391"
- y="60.912468"
- id="tspan17171">start</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.13106"
- y="142.80627"
- id="text5371-2-95"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="148.13106"
- y="142.80627">options</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.80684"
- y="226.4736"
- id="text5371-2-32"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="147.80684"
- y="226.4736">200 OK</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- </g>
-</svg>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_principles/index.html b/_build/static/docs/en/cowboy/1.0/guide/rest_principles/index.html
deleted file mode 100644
index 2dd15113..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_principles/index.html
+++ /dev/null
@@ -1,238 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>REST principles</span></h1>
-
-<p>This chapter will attempt to define the concepts behind REST and explain what makes a service RESTful.</p>
-
-<p>REST is often confused with performing a distinct operation depending on the HTTP method, while using more than the GET and POST methods. That's highly misguided at best.</p>
-
-<p>We will first attempt to define REST and will look at what it means in the context of HTTP and the Web. For a more in-depth explanation of REST, you can read <a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm">Roy T. Fielding's dissertation</a> as it does a great job explaining where it comes from and what it achieves.</p>
-
-<h2 id="rest_architecture">REST architecture</h2>
-
-<p>REST is a <em>client-server</em> architecture. The client and the server both have a different set of concerns. The server stores and/or manipulates information and makes it available to the user in an efficient manner. The client takes that information and displays it to the user and/or uses it to perform subsequent requests for information. This separation of concerns allows both the client and the server to evolve independently as it only requires that the interface stays the same.</p>
-
-<p>REST is <em>stateless</em>. That means the communication between the client and the server always contains all the information needed to perform the request. There is no session state in the server, it is kept entirely on the client's side. If access to a resource requires authentication, then the client needs to authenticate itself with every request.</p>
-
-<p>REST is <em>cacheable</em>. The client, the server and any intermediary components can all cache resources in order to improve performance.</p>
-
-<p>REST provides a <em>uniform interface</em> between components. This simplifies the architecture, as all components follow the same rules to speak to one another. It also makes it easier to understand the interactions between the different components of the system. A number of constraints are required to achieve this. They are covered in the rest of the chapter.</p>
-
-<p>REST is a <em>layered system</em>. Individual components cannot see beyond the immediate layer with which they are interacting. This means that a client connecting to an intermediate component, like a proxy, has no knowledge of what lies beyond. This allows components to be independent and thus easily replaceable or extendable.</p>
-
-<p>REST optionally provides <em>code on demand</em>. Code may be downloaded to extend client functionality. This is optional however because the client may not be able to download or run this code, and so a REST component cannot rely on it being executed.</p>
-
-<h2 id="resources_and_resource_identifiers">Resources and resource identifiers</h2>
-
-<p>A resource is an abstract concept. In a REST system, any information that can be named may be a resource. This includes documents, images, a collection of resources and any other information. Any information that can be the target of an hypertext link can be a resource.</p>
-
-<p>A resource is a conceptual mapping to a set of entities. The set of entities evolves over time; a resource doesn't. For example a resource can map to "users who have logged in this past month" and another to "all users". At some point in time they may map to the same set of entities, because all users logged in this past month. But they are still different resources. Similarly, if nobody logged in recently, then the first resource may map to the empty set. This resource exists regardless of the information it maps to.</p>
-
-<p>Resources are identified by uniform resource identifiers, also known as URIs. Sometimes internationalized resource identifiers, or IRIs, may also be used, but these can be directly translated into a URI.</p>
-
-<p>In practice we will identify two kinds of resources. Individual resources map to a set of one element, for example "user Joe". Collection of resources map to a set of 0 to N elements, for example "all users".</p>
-
-<h2 id="resource_representations">Resource representations</h2>
-
-<p>The representation of a resource is a sequence of bytes associated with metadata.</p>
-
-<p>The metadata comes as a list of key-value pairs, where the name corresponds to a standard that defines the value's structure and semantics. With HTTP, the metadata comes in the form of request or response headers. The headers' structure and semantics are well defined in the HTTP standard. Metadata includes representation metadata, resource metadata and control data.</p>
-
-<p>The representation metadata gives information about the representation, such as its media type, the date of last modification, or even a checksum.</p>
-
-<p>Resource metadata could be link to related resources or information about additional representations of the resource.</p>
-
-<p>Control data allows parameterizing the request or response. For example, we may only want the representation returned if it is more recent than the one we have in cache. Similarly, we may want to instruct the client about how it should cache the representation. This isn't restricted to caching. We may for example want to store a new representation of a resource only if it wasn't modified since we first retrieved it.</p>
-
-<p>The data format of a representation is also known as the media type. Some media types are intended for direct rendering to the user, while others are intended for automated processing. The media type is a key component of the REST architecture.</p>
-
-<h2 id="self-descriptive_messages">Self-descriptive messages</h2>
-
-<p>Messages must be self-descriptive. That means that the data format of a representation must always come with its media type (and similarly requesting a resource involves choosing the media type of the representation returned). If you are sending HTML, then you must say it is HTML by sending the media type with the representation. In HTTP this is done using the content-type header.</p>
-
-<p>The media type is often an IANA registered media type, like <code>text/html</code> or <code>image/png</code>, but does not need to be. Exactly two things are important for respecting this constraint: that the media type is well specified, and that the sender and recipient agree about what the media type refers to.</p>
-
-<p>This means that you can create your own media types, like <code>application/x-mine</code>, and that as long as you write the specifications for it and that both endpoints agree about it then the constraint is respected.</p>
-
-<h2 id="hypermedia_as_the_engine_of_application_state">Hypermedia as the engine of application state</h2>
-
-<p>The last constraint is generally where services that claim to be RESTful fail. Interactions with a server must be entirely driven by hypermedia. The client does not need any prior knowledge of the service in order to use it, other than an entry point and of course basic understanding of the media type of the representations, at the very least enough to find and identify hyperlinks and link relations.</p>
-
-<p>To give a simple example, if your service only works with the <code>application/json</code> media type then this constraint cannot be respected (as there are no concept of links in JSON) and thus your service isn't RESTful. This is the case for the majority of self-proclaimed REST services.</p>
-
-<p>On the other hand if you create a JSON based media type that has a concept of links and link relations, then your service might be RESTful.</p>
-
-<p>Respecting this constraint means that the entirety of the service becomes self-discoverable, not only the resources in it, but also the operations you can perform on it. This makes clients very thin as there is no need to implement anything specific to the service to operate on it.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_put_post_patch.png b/_build/static/docs/en/cowboy/1.0/guide/rest_put_post_patch.png
deleted file mode 100644
index 4afca9e9..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_put_post_patch.png
+++ /dev/null
Binary files differ
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_put_post_patch.svg b/_build/static/docs/en/cowboy/1.0/guide/rest_put_post_patch.svg
deleted file mode 100644
index 263cc942..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_put_post_patch.svg
+++ /dev/null
@@ -1,2856 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448"
- height="1052.3622"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_put_post_patch.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="2"
- inkscape:cx="299.56028"
- inkscape:cy="-395.99137"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1"
- transform="translate(0,1.5472441e-4)">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(370.63925,-305.0045)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,215.76354,-143.71473)"
- id="g5650-2-2-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-4"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="207.76691"
- y="112.69559"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(229.41793,93.569228)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(484.58261,-183.7816)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="313.14185"
- y="50.482433"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="313.14185"
- y="50.482433"
- id="tspan17171">conneg</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="312.52466"
- y="134.49161"
- id="text5371-2-95"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="312.52466"
- y="134.49161">resource_exists</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="205.83722"
- y="175.92931"
- id="text5371-2-391"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="205.83722"
- y="175.92931">true</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-586.85324,629.53436)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="401.26678"
- y="176.39024"
- id="text5371-4-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="401.26678"
- y="176.39024">false</tspan></text>
- <g
- transform="translate(517.41793,-144.94975)"
- id="g5650-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="496.12921"
- y="255.81152"
- id="text5371-4-4-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6"
- x="496.12921"
- y="255.81152">true</tspan></text>
- <g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,501.47379,-62.310424)"
- id="g5650-9-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(-0.08419269,-0.81571201,-1.0857893,-0.07785618,667.56845,424.75412)"
- id="g5650-2-0-4-3-8-9-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g6634">
- <path
- inkscape:connector-curvature="0"
- id="path20172-9-8-9-3-7"
- d="m 18.652036,463.77088 c 0,0 65.81835,-170.39134 345.869384,-106.32083"
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(-0.44664484,-0.38224114,-0.38224114,0.44664484,110.28192,145.11277)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1-5-3-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-443.10758,753.30201)"
- id="g5650-2-0-4-3-8-9-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:1.98598707;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 530.36552,568.78955 c 0,0 -275.73145,-235.65993 -602.761737,-30.40772"
- id="path20172-9-8-9-3-1"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.29887498,0.50623478,-0.50623478,0.29887498,210.13685,523.56774)"
- inkscape:transform-center-y="-0.81224338"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="5.134315" />
- </g>
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355-0"
- transform="translate(343.36129,-20.897068)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="171.92052"
- y="216.5154"
- id="text5371-4-0-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="171.92052"
- y="216.5154"
- id="tspan17171-6">cond</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,983.2611,313.28465)"
- id="g5650-2-0-4-3-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-4"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="192.94588"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.47131"
- y="216.51535"
- id="text5371-2-32-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8"
- x="459.47131"
- y="216.51535">has if-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="609.12769"
- y="296.02957"
- id="text5371-2-391-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7"
- x="609.12769"
- y="296.02957">false</tspan></text>
- <g
- transform="translate(517.41793,13.785058)"
- id="g5650-0-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-7"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="351.97443"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.47131"
- y="374.91498"
- id="text5371-2-32-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-1"
- x="459.47131"
- y="374.91498">method is POST/PATCH?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="479.69171"
- y="414.84009"
- id="text5371-2-8-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4"
- x="479.69171"
- y="414.84009">true</tspan></text>
- <g
- transform="translate(517.41793,490.80719)"
- id="g5650-0-6-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7-76"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3-7"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0.34202014,-0.93969262,-0.93969262,-0.34202014,1086.6042,1290.1092)"
- id="g5650-2-0-4-0-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 152.42141,615.5283 c 0,0 -73.650807,-184.33554 -245.781275,54.61093"
- id="path20172-9-3-4"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,178.4823,610.19901)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-0-2"
- style="opacity:0.80000000000000004;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="translate(517.41793,570.7504)"
- id="g5650-2-2-2-7-5">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-62-7-7"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-9-5-8"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="908.57428"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,1,-1,0,694.44282,904.44724)"
- id="g5650-2-2-6-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6-3"
- d="m -57.78256,339.02801 0,65.70583"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-59"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="829.06006"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.47131"
- y="852.62952"
- id="text5371-2-74-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2"
- x="459.47131"
- y="852.62952">method is POST?</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="272.56824"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.97131"
- y="294.47879"
- id="text5371-43"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="459.97131"
- y="294.47879">412 precondition failed</tspan></text>
- <g
- transform="translate(2.6196148,3.2328831)"
- id="g5650-2-2-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,1,-1,0,694.2803,507.19416)"
- id="g5650-0-6-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7-7"
- d="m -57.78256,340.48769 0,63.05283"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(517.41793,93.25206)"
- id="g5650-2-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-62"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-7-6"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="431.48868"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.63538"
- y="453.2847"
- id="text5371-2-32-8-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-1-2"
- x="459.63538"
- y="453.2847">previously_existed</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-5"
- width="218.52127"
- height="34.993004"
- x="62.374733"
- y="590.76849"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(229.41793,173.2314)"
- id="g5650-2-2-2-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-62-7"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-9-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="171.97131"
- y="614.22986"
- id="text5371-43-2-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-74"
- x="171.97131"
- y="614.22986">404 not found</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="296.84631"
- y="433.29703"
- id="text5371-2-8-9-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-8"
- x="296.84631"
- y="433.29703">false</tspan></text>
- <g
- transform="translate(516.00372,173.10383)"
- id="g5650-2-2-17-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-0-3"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-45-2"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,983.3517,631.45158)"
- id="g5650-2-0-4-3-8-0-3-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="500.12921"
- y="574.2605"
- id="text5371-4-4-9-3-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-8"
- x="500.12921"
- y="574.2605">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="607.7135"
- y="610.86951"
- id="text5371-2-391-5-5-1-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-5"
- x="607.7135"
- y="610.86951">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-29"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="590.76849"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.26428"
- y="612.67908"
- id="text5371-43-2-9-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-5"
- x="459.26428"
- y="612.67908">301 moved permanently</tspan></text>
- <g
- transform="translate(517.41793,332.05687)"
- id="g5650-2-2-65-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-5-9"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-5-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,982.4019,789.6002)"
- id="g5650-2-0-4-3-8-0-3-7-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8-1-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6-3-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-4"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="670.03149"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.14709"
- y="691.82751"
- id="text5371-2-74-0-7-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-9"
- x="459.14709"
- y="691.82751">moved_temporarily</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="500.12921"
- y="733.21747"
- id="text5371-4-4-9-3-2-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-6-6"
- x="500.12921"
- y="733.21747">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="607.7135"
- y="769.89801"
- id="text5371-2-391-5-5-1-0-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-2-8"
- x="607.7135"
- y="769.89801">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-1"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="749.65387"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.26428"
- y="771.56445"
- id="text5371-43-2-9-7-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-9"
- x="459.26428"
- y="771.56445">307 moved temporarily</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-4-1"
- width="218.52127"
- height="34.993004"
- x="495.25732"
- y="1220.3925"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="604.32263"
- y="1242.303"
- id="text5371-43-2-9-7-3-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-7-5"
- x="604.32263"
- y="1242.303">400 bad request</tspan></text>
- <g
- transform="matrix(-0.34202014,-0.93969262,0.93969262,-0.34202014,-311.11659,1246.6148)"
- id="g5650-2-0-4-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 251.64748,501.65559 c 0,0 -132.95279,-198.6035 -335.041098,15.43198"
- id="path20172-9-3"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,190.22636,455.7026)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="120.08566"
- y="891.92566"
- id="text5371-2-8-9-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-5"
- x="120.08566"
- y="891.92566">true</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,699.22962,550.33236)"
- id="g5650-2-0-4-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-1"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-3"
- width="210.17955"
- height="35.209244"
- x="66.545593"
- y="511.00293"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="167.39459"
- y="532.79895"
- id="text5371-2-74-0-7-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-94"
- x="167.39459"
- y="532.79895">allow_missing_post</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-5"
- width="210.17955"
- height="35.209244"
- x="66.545593"
- y="431.80698"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="175.2144"
- y="455.37643"
- id="text5371-2-74-0-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-6"
- x="175.2144"
- y="455.37643">method is POST?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.35022"
- y="930.3703"
- id="text5371-2-74-0-7-1-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-94-5"
- x="459.35022"
- y="930.3703">allow_missing_post</tspan></text>
- <g
- transform="translate(229.41793,490.95885)"
- id="g5650-0-6-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7-2"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3-14"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19"
- width="210.17955"
- height="35.209244"
- x="66.545593"
- y="829.06006"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="166.63885"
- y="852.62952"
- id="text5371-2-74-0-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7"
- x="166.63885"
- y="852.62952">method is PUT?</tspan></text>
- <g
- transform="translate(229.41793,571.07045)"
- id="g5650-2-2-65-9">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-5-1"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-5-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(-0.34202014,-0.93969262,-0.93969262,0.34202014,702.18987,886.11239)"
- id="g5650-2-0-4-05"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2.19573760000000018;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 96.51476,423.00572 c 0,0 -72.55269,-41.6703 -192.585744,26.04761"
- id="path20172-9-9"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.20642765,0.55044303,-0.55044303,0.20642765,176.90073,487.11794)"
- inkscape:transform-center-y="2.5699832"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-6"
- style="opacity:0.80000000000000004;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="6.2547481" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-8"
- width="210.17955"
- height="35.209244"
- x="66.545593"
- y="908.57428"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="166.24431"
- y="930.3703"
- id="text5371-2-74-0-7-15"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-2"
- x="166.24431"
- y="930.3703">is_conflict</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="136.52316"
- y="971.55994"
- id="text5371-4-4-9-3-2-08"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-6-0"
- x="136.52316"
- y="971.55994">true</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-7"
- width="218.52127"
- height="34.993004"
- x="62.374733"
- y="988.43671"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="171.44006"
- y="1011.8981"
- id="text5371-43-2-9-7-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-0"
- x="171.44006"
- y="1011.8981">409 conflict</tspan></text>
- <g
- transform="translate(370.63925,803.79161)"
- id="g5650-93-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3-0"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-40"
- width="210.17955"
- height="35.209244"
- x="207.76691"
- y="1142.3002"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="313.14185"
- y="1164.0962"
- id="text5371-2-74-0-7-41"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-3"
- x="313.14185"
- y="1164.0962">content_types_accepted</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4-9"
- width="210.17955"
- height="35.209244"
- x="207.76691"
- y="1220.5249"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="313.21997"
- y="1242.2975"
- id="text5371-2-3-0-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-1"
- x="313.21997"
- y="1242.2975">AcceptResource</tspan></text>
- <g
- transform="translate(233.45629,961.91953)"
- id="g5650-6-4-8-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5-5-2"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6-6-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-345.93614,1498.2457)"
- id="g5650-2-0-4-8-9-6-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 169.94368,422.8286 c 0,0 -94.23585,-64.78987 -206.003937,-8.35999"
- id="path20172-9-5-2-6-6"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8-7-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19-2"
- width="210.17955"
- height="35.209244"
- x="70.583946"
- y="1300.3734"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="175.50966"
- y="1323.8022"
- id="text5371-2-74-0-1-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7-4"
- x="175.50966"
- y="1323.8022">new resource?</tspan></text>
- <g
- transform="translate(517.41793,962.60627)"
- id="g5650-6-4-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,985.5699,1417.4167)"
- id="g5650-2-0-4-8-9-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5-2-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19-2-1"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="1300.3734"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.47131"
- y="1323.8022"
- id="text5371-2-74-0-1-3-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7-4-8"
- x="459.47131"
- y="1323.8022">new resource?</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="1380.1163"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.776"
- y="1403.5779"
- id="text5371-43-3-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-9"
- x="459.776"
- y="1403.5779">201 created</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7-4"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="1459.7511"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.03381"
- y="1483.2128"
- id="text5371-43-3-2-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-9-2"
- x="459.03381"
- y="1483.2128">303 see other</tspan></text>
- <g
- transform="matrix(0,1,1,0,-67.245042,1455.155)"
- id="g5650-2-2-6-6-7-9-1">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6-3-8-5-9"
- d="m -57.78256,339.02801 0,65.70583"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1-1-7-6-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(233.45629,1121.5376)"
- id="g5650-6-4-8-7-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5-5-2-8"
- d="m -57.78256,294.4515 0,109.76214"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6-6-6-7"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19-2-2"
- width="210.17955"
- height="35.209244"
- x="70.583946"
- y="1379.7678"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="175.50966"
- y="1401.7865"
- id="text5371-2-74-0-1-3-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7-4-9"
- x="175.50966"
- y="1401.7865">has resp location?</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7-4-7"
- width="218.52127"
- height="34.993004"
- x="62.374733"
- y="1619.0205"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(233.45629,1201.4108)"
- id="g5650-6-4-8-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5-5-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6-6-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,1,1,0,-63.162935,1614.665)"
- id="g5650-2-2-6-6-7-9">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6-3-8-5"
- d="m -57.78256,339.02801 0,65.70583"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1-1-7-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19-2-2-4"
- width="210.17955"
- height="35.209244"
- x="70.583946"
- y="1539.2778"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="175.50966"
- y="1561.2965"
- id="text5371-2-74-0-1-3-7-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7-4-9-5"
- x="175.50966"
- y="1561.2965">has resp body?</tspan></text>
- <g
- transform="translate(517.41793,1201.395)"
- id="g5650-6-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,987.64405,1658.4266)"
- id="g5650-2-0-4-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5-2"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87-8"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="1539.2778"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.30334"
- y="1561.0739"
- id="text5371-2-9-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8-6"
- x="459.30334"
- y="1561.0739">multiple_choices</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="479.75421"
- y="1602.6646"
- id="text5371-2-8-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7"
- x="479.75421"
- y="1602.6646">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-1-0"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="1698.6555"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.42053"
- y="1720.566"
- id="text5371-43-5-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-62-9"
- x="459.42053"
- y="1720.566">300 multiple choices</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-3"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="1619.0208"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="458.88538"
- y="1642.3412"
- id="text5371-43-3-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-3"
- x="458.88538"
- y="1642.3412">200 OK</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="171.24475"
- y="1642.3412"
- id="text5371-43-3-2-6-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-9-2-0"
- x="171.24475"
- y="1642.3412">204 no content</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="479.69171"
- y="891.92566"
- id="text5371-2-8-9-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-1"
- x="479.69171"
- y="891.92566">true</tspan></text>
- <g
- id="g5650-4-8"
- transform="matrix(0.5,0.8660254,-0.8660254,0.5,204.7918,279.30499)">
- <path
- inkscape:connector-curvature="0"
- id="path5570-8-7"
- d="m -58.01975,316.62647 0,86.23385"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,72.919441,161.77521)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-3-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="496.12921"
- y="494.3544"
- id="text5371-4-4-9-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8"
- x="496.12921"
- y="494.3544">true</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-3-4-8"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="511.00293"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.14709"
- y="532.79895"
- id="text5371-2-74-0-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-9"
- x="459.14709"
- y="532.79895">moved_permanently</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7-9"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="988.43671"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.67053"
- y="1010.2067"
- id="text5371-43-3-2-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-9-5"
- x="459.67053"
- y="1010.2067">410 gone</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="260.04547"
- y="494.97446"
- id="text5371-4-4-9-1-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-2"
- x="260.04547"
- y="494.97446">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="120.08566"
- y="494.51349"
- id="text5371-2-8-9-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-55"
- x="120.08566"
- y="494.51349">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="133.92941"
- y="574.40112"
- id="text5371-4-4-9-1-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0"
- x="133.92941"
- y="574.40112">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.87756"
- y="828.86047"
- id="text5371-4-4-9-1-1-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1"
- x="315.87756"
- y="828.86047">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="498.78546"
- y="972.02087"
- id="text5371-4-4-9-1-1-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-2"
- x="498.78546"
- y="972.02087">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="458.9295"
- y="1217.7582"
- id="text5371-4-4-9-1-1-9-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2"
- x="458.9295"
- y="1217.7582">false</tspan></text>
- <g
- transform="matrix(0,1,1,0,77.85132,1295.6715)"
- id="g5650-2-2-6-6-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6-3-8"
- d="m -57.78256,339.02801 0,65.70583"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="207.75119"
- y="1283.5576"
- id="text5371-2-391-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-4"
- x="207.75119"
- y="1283.5576">true</tspan></text>
- <g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,501.47379,1045.323)"
- id="g5650-9-9-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6-1"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="419.81369"
- y="1283.0615"
- id="text5371-2-391-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="419.81369"
- y="1283.0615"
- id="tspan5794">true, URI*</tspan></text>
- <g
- transform="matrix(-0.70710678,0.70710678,0.70710678,0.70710678,124.04665,1045.323)"
- id="g5650-9-9-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6-8"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5-45"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="479.69171"
- y="1363.2994"
- id="text5371-2-8-4-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7-5"
- x="479.69171"
- y="1363.2994">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="626.74475"
- y="1403.5779"
- id="text5371-4-4-9-1-1-9-1-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-0"
- x="626.74475"
- y="1403.5779">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="624.0885"
- y="1642.0209"
- id="text5371-4-4-9-1-1-9-1-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-3"
- x="624.0885"
- y="1642.0209">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="317.91525"
- y="1538.8624"
- id="text5371-4-4-9-1-1-9-1-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-1"
- x="317.91525"
- y="1538.8624">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="190.83659"
- y="1602.2036"
- id="text5371-2-8-4-3-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7-5-9"
- x="190.83659"
- y="1602.2036">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="190.83659"
- y="1363.1792"
- id="text5371-2-8-4-3-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7-5-0"
- x="190.83659"
- y="1363.1792">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="7.9966321"
- y="1443.395"
- id="text5371-4-4-9-1-1-9-1-4-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-0-6"
- x="7.9966321"
- y="1443.395">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="317.86548"
- y="1379.0562"
- id="text5371-4-4-9-1-1-9-1-2-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-1-5"
- x="317.86548"
- y="1379.0562">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="190.83659"
- y="1482.6313"
- id="text5371-2-8-4-3-8-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7-5-0-8"
- x="190.83659"
- y="1482.6313">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="85.095001"
- y="891.92566"
- id="text5371-4-4-9-1-4-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-2-9"
- x="85.095001"
- y="891.92566">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="232.21094"
- y="971.55994"
- id="text5371-2-391-5-5-1-0-7-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-2-8-8"
- x="232.21094"
- y="971.55994">false</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-359.02432,626.75367)"
- id="g5650-2-0-4-3-8-9-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g6614">
- <g
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- id="g5650-2-0-4-3-8-9"
- transform="matrix(0,-1,-1,0,347.00351,567.35686)">
- <path
- inkscape:transform-center-x="-3.1059024"
- sodipodi:type="star"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="path5576-12-1-7-58-6-1-4"
- sodipodi:sides="3"
- sodipodi:cx="-222.73865"
- sodipodi:cy="415.25897"
- sodipodi:r1="14.849242"
- sodipodi:r2="7.4246211"
- sodipodi:arg1="1.5707963"
- sodipodi:arg2="2.6179939"
- inkscape:flatsided="true"
- inkscape:rounded="0"
- inkscape:randomized="0"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:transform-center-y="6.2755376"
- transform="matrix(0.10770811,0.57792634,-0.57792634,0.10770811,224.52461,390.64831)" />
- </g>
- <path
- transform="translate(0,-1.5472441e-4)"
- inkscape:connector-curvature="0"
- id="path6438"
- d="M 72.831997,543.06854 C 17.500892,616.78442 35.178561,698.8088 35.178561,698.8088"
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="536.26642"
- y="972.02087"
- id="text5371-2-8-9-1-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-1-4"
- x="536.26642"
- y="972.02087">true</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,347.71062,566.6496)"
- id="g5650-2-0-4-3-8-9-2-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-3-7-4"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1-5-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="322.92551"
- y="375.54388"
- id="text5371-4-6-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0-8"
- x="322.92551"
- y="375.54388">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.001251"
- y="574.40112"
- id="text5371-2-8-9-0-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-55-3"
- x="66.001251"
- y="574.40112">true</tspan></text>
- </g>
-</svg>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_start.png b/_build/static/docs/en/cowboy/1.0/guide/rest_start.png
deleted file mode 100644
index 7f264642..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_start.png
+++ /dev/null
Binary files differ
diff --git a/_build/static/docs/en/cowboy/1.0/guide/rest_start.svg b/_build/static/docs/en/cowboy/1.0/guide/rest_start.svg
deleted file mode 100644
index d75e1cc6..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/rest_start.svg
+++ /dev/null
@@ -1,1468 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_options.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.0000001"
- inkscape:cx="171.11305"
- inkscape:cy="549.52821"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(205.92143,-296.03137)"
- id="g5650-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,-212.00698)"
- id="g5650-9">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,-129.04326)"
- id="g5650-0">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,-44.866334)"
- id="g5650-94">
- <path
- inkscape:connector-curvature="0"
- id="path5570-71"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,38.329623)"
- id="g5650-93">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,122.59665)"
- id="g5650-3">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,206.62103)"
- id="g5650-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,289.59516)"
- id="g5650-34">
- <path
- inkscape:connector-curvature="0"
- id="path5570-30"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,373.37691)"
- id="g5650-5">
- <path
- inkscape:connector-curvature="0"
- id="path5570-90"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,457.4117)"
- id="g5650-1">
- <path
- inkscape:connector-curvature="0"
- id="path5570-33"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,541.19345)"
- id="g5650-10">
- <path
- inkscape:connector-curvature="0"
- id="path5570-8"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-8"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,80.832304)"
- id="g5650-2-0">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-5"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,164.49956)"
- id="g5650-2-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,248.1668)"
- id="g5650-2-4">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-0"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,331.8341)"
- id="g5650-2-04">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,415.50138)"
- id="g5650-2-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-50"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-2"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,499.16862)"
- id="g5650-2-1">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,582.83589)"
- id="g5650-2-3">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-10"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-60"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,666.50315)"
- id="g5650-2-44">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-11"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-73"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,750.17041)"
- id="g5650-2-12">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-6"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-04"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,833.83768)"
- id="g5650-2-34">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-62"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-62"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="204.67757"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="288.40311"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="372.01199"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="455.67929"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="539.34656"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="623.01385"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-7"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="706.68115"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-20"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="790.34839"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-3"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="874.01562"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-54"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="957.68292"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="121.0042"
- rx="15" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(319.86479,-176.50006)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.18575"
- y="310.19913"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="148.18575"
- y="310.19913">uri_too_long</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.60762"
- y="477.47531"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="147.60762"
- y="477.47531">malformed_request</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.00391"
- y="60.912468"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="147.00391"
- y="60.912468"
- id="tspan17171">init</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.11153"
- y="561.14258"
- id="text5371-2-9"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="148.11153"
- y="561.14258">is_authorized</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.64278"
- y="646.58331"
- id="text5371-2-7"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2"
- x="148.64278"
- y="646.58331">forbidden</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.29512"
- y="728.47717"
- id="text5371-2-73"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-5"
- x="148.29512"
- y="728.47717">valid_content_headers</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.83809"
- y="812.14441"
- id="text5371-2-5"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-1"
- x="147.83809"
- y="812.14441">known_content_type</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.58809"
- y="895.81165"
- id="text5371-2-1"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-71"
- x="148.58809"
- y="895.81165">valid_entity_length</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.092"
- y="979.7016"
- id="text5371-2-39"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-6"
- x="148.092"
- y="979.7016">...</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.13106"
- y="142.80627"
- id="text5371-2-95"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="148.13106"
- y="142.80627">service_available</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.80684"
- y="226.4736"
- id="text5371-2-32"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="147.80684"
- y="226.4736">known_methods</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.05293"
- y="393.80801"
- id="text5371-2-74"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18"
- x="148.05293"
- y="393.80801">allowed_methods</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="185.95248"
- id="text5371-2-391"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="164.26562"
- y="185.95248">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="269.61978"
- id="text5371-2-954"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-808"
- x="164.26562"
- y="269.61978">known*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="353.28702"
- id="text5371-2-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-11"
- x="164.26562"
- y="353.28702">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="436.95425"
- id="text5371-2-92"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-4"
- x="164.26562"
- y="436.95425">allowed*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="520.62152"
- id="text5371-2-739"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0"
- x="164.26562"
- y="520.62152">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="604.28876"
- id="text5371-2-8"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="164.26562"
- y="604.28876">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="687.95599"
- id="text5371-2-0"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-01"
- x="164.26562"
- y="687.95599">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="771.62329"
- id="text5371-2-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-33"
- x="164.26562"
- y="771.62329">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="855.29053"
- id="text5371-2-21"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-9"
- x="164.26562"
- y="855.29053">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="938.95776"
- id="text5371-2-22"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-57"
- x="164.26562"
- y="938.95776">true</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="123.86062"
- id="text5371-4-6"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="315.26172"
- y="123.86062">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="207.30568"
- id="text5371-4-7"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-6"
- x="315.26172"
- y="207.30568">unknown*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="290.75076"
- id="text5371-4-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-01"
- x="315.26172"
- y="290.75076">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="374.19577"
- id="text5371-4-3"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62"
- x="315.26172"
- y="374.19577">unallowed*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="457.64084"
- id="text5371-4-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2"
- x="315.26172"
- y="457.64084">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="541.08588"
- id="text5371-4-5"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-09"
- x="315.26172"
- y="541.08588">false*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="624.53094"
- id="text5371-4-61"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-69"
- x="315.26172"
- y="624.53094">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="707.97595"
- id="text5371-4-58"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-5"
- x="315.26172"
- y="707.97595">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="791.42102"
- id="text5371-4-54"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-012"
- x="315.26172"
- y="791.42102">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="874.86609"
- id="text5371-4-38"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-67"
- x="315.26172"
- y="874.86609">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="121.24477"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.53516"
- y="143.02283"
- id="text5371-6"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- x="524.53516"
- y="143.02283"
- id="tspan18994">503 service unavailable</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-9"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="204.93674"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-6"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="288.62869"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="372.32065"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-90"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="456.01254"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-2"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="539.70447"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-3"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="623.39642"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-39"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="707.08838"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-5"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="790.78027"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-29"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="874.47223"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="227.80464"
- id="text5371-7"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-69"
- x="524.26172"
- y="227.80464">501 not implemented</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="311.49661"
- id="text5371-9"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-5"
- x="524.26172"
- y="311.49661">414 request URI too long</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="395.18857"
- id="text5371-43"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="524.26172"
- y="395.18857">405 method not allowed</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="478.88046"
- id="text5371-3"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-67"
- x="524.26172"
- y="478.88046">400 bad request</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="562.57239"
- id="text5371-1"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-53"
- x="524.26172"
- y="562.57239">401 unauthorized</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="646.26434"
- id="text5371-27"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-64"
- x="524.26172"
- y="646.26434">403 forbidden</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="729.9563"
- id="text5371-21"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-58"
- x="524.26172"
- y="729.9563">501 not implemented</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="813.64819"
- id="text5371-5"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-60"
- x="524.26172"
- y="813.64819">415 unsupported media type</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="897.34015"
- id="text5371-0"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-0"
- x="524.26172"
- y="897.34015">413 request entity too large</tspan></text>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- </g>
-</svg>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/routing/index.html b/_build/static/docs/en/cowboy/1.0/guide/routing/index.html
deleted file mode 100644
index 934e6136..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/routing/index.html
+++ /dev/null
@@ -1,365 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Routing</span></h1>
-
-<p>Cowboy does nothing by default.</p>
-
-<p>To make Cowboy useful, you need to map URLs to Erlang modules that will handle the requests. This is called routing.</p>
-
-<p>When Cowboy receives a request, it tries to match the requested host and path to the resources given in the dispatch rules. If it matches, then the associated Erlang code will be executed.</p>
-
-<p>Routing rules are given per host. Cowboy will first match on the host, and then try to find a matching path.</p>
-
-<p>Routes need to be compiled before they can be used by Cowboy.</p>
-
-<h2 id="structure">Structure</h2>
-
-<p>The general structure for the routes is defined as follow.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Routes = [Host1, Host2, ... HostN].
-]]></script>
-
-<p>Each host contains matching rules for the host along with optional constraints, and a list of routes for the path component.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Host1 = {HostMatch, PathsList}.
-Host2 = {HostMatch, Constraints, PathsList}.
-]]></script>
-
-<p>The list of routes for the path component is defined similar to the list of hosts.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathsList = [Path1, Path2, ... PathN].
-]]></script>
-
-<p>Finally, each path contains matching rules for the path along with optional constraints, and gives us the handler module to be used along with options that will be given to it on initialization.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Path1 = {PathMatch, Handler, Opts}.
-Path2 = {PathMatch, Constraints, Handler, Opts}.
-]]></script>
-
-<p>Continue reading to learn more about the match syntax and the optional constraints.</p>
-
-<h2 id="match_syntax">Match syntax</h2>
-
-<p>The match syntax is used to associate host names and paths with their respective handlers.</p>
-
-<p>The match syntax is the same for host and path with a few subtleties. Indeed, the segments separator is different, and the host is matched starting from the last segment going to the first. All examples will feature both host and path match rules and explain the differences when encountered.</p>
-
-<p>Excluding special values that we will explain at the end of this section, the simplest match value is a host or a path. It can be given as either a <code>string()</code> or a <code>binary()</code>.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch1 = "/".
-PathMatch2 = "/path/to/resource".
-
-HostMatch1 = "cowboy.example.org".
-]]></script>
-
-<p>As you can see, all paths defined this way must start with a slash character. Note that these two paths are identical as far as routing is concerned.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch2 = "/path/to/resource".
-PathMatch3 = "/path/to/resource/".
-]]></script>
-
-<p>Hosts with and without a trailing dot are equivalent for routing. Similarly, hosts with and without a leading dot are also equivalent.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-HostMatch1 = "cowboy.example.org".
-HostMatch2 = "cowboy.example.org.".
-HostMatch3 = ".cowboy.example.org".
-]]></script>
-
-<p>It is possible to extract segments of the host and path and to store the values in the <code>Req</code> object for later use. We call these kind of values bindings.</p>
-
-<p>The syntax for bindings is very simple. A segment that begins with the <code>:</code> character means that what follows until the end of the segment is the name of the binding in which the segment value will be stored.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch = "/hats/:name/prices".
-HostMatch = ":subdomain.example.org".
-]]></script>
-
-<p>If these two end up matching when routing, you will end up with two bindings defined, <code>subdomain</code> and <code>name</code>, each containing the segment value where they were defined. For example, the URL <code>http://test.example.org/hats/wild_cowboy_legendary/prices</code> will result in having the value <code>test</code> bound to the name <code>subdomain</code> and the value <code>wild_cowboy_legendary</code> bound to the name <code>name</code>. They can later be retrieved using <code>cowboy_req:binding/{2,3}</code>. The binding name must be given as an atom.</p>
-
-<p>There is a special binding name you can use to mimic the underscore variable in Erlang. Any match against the <code>_</code> binding will succeed but the data will be discarded. This is especially useful for matching against many domain names in one go.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-HostMatch = "ninenines.:_".
-]]></script>
-
-<p>Similarly, it is possible to have optional segments. Anything between brackets is optional.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch = "/hats/[page/:number]".
-HostMatch = "[www.]ninenines.eu".
-]]></script>
-
-<p>You can also have imbricated optional segments.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch = "/hats/[page/[:number]]".
-]]></script>
-
-<p>You can retrieve the rest of the host or path using <code>[...]</code>. In the case of hosts it will match anything before, in the case of paths anything after the previously matched segments. It is a special case of optional segments, in that it can have zero, one or many segments. You can then find the segments using <code>cowboy_req:host_info/1</code> and <code>cowboy_req:path_info/1</code> respectively. They will be represented as a list of segments.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch = "/hats/[...]".
-HostMatch = "[...]ninenines.eu".
-]]></script>
-
-<p>If a binding appears twice in the routing rules, then the match will succeed only if they share the same value. This copies the Erlang pattern matching behavior.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch = "/hats/:name/:name".
-]]></script>
-
-<p>This is also true when an optional segment is present. In this case the two values must be identical only if the segment is available.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch = "/hats/:name/[:name]".
-]]></script>
-
-<p>If a binding is defined in both the host and path, then they must also share the same value.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch = "/:user/[...]".
-HostMatch = ":user.github.com".
-]]></script>
-
-<p>Finally, there are two special match values that can be used. The first is the atom <code>'_'</code> which will match any host or path.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch = '_'.
-HostMatch = '_'.
-]]></script>
-
-<p>The second is the special host match <code>"*"</code> which will match the wildcard path, generally used alongside the <code>OPTIONS</code> method.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-HostMatch = "*".
-]]></script>
-
-<h2 id="constraints">Constraints</h2>
-
-<p>After the matching has completed, the resulting bindings can be tested against a set of constraints. Constraints are only tested when the binding is defined. They run in the order you defined them. The match will succeed only if they all succeed.</p>
-
-<p>They are always given as a two or three elements tuple, where the first element is the name of the binding, the second element is the constraint's name, and the optional third element is the constraint's arguments.</p>
-
-<p>The following constraints are currently defined:</p>
-
-<ul>
-<li>{Name, int}</li>
-<li>{Name, function, fun ((Value) -> true | {true, NewValue} | false)}</li>
-</ul>
-
-<p>The <code>int</code> constraint will check if the binding is a binary string representing an integer, and if it is, will convert the value to integer.</p>
-
-<p>The <code>function</code> constraint will pass the binding value to a user specified function that receives the binary value as its only argument and must return whether it fulfills the constraint, optionally modifying the value. The value thus returned can be of any type.</p>
-
-<p>Note that constraint functions SHOULD be pure and MUST NOT crash.</p>
-
-<h2 id="compilation">Compilation</h2>
-
-<p>The structure defined in this chapter needs to be compiled before it is passed to Cowboy. This allows Cowboy to efficiently lookup the correct handler to run instead of having to parse the routes repeatedly.</p>
-
-<p>This can be done with a simple call to <code>cowboy_router:compile/1</code>.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Dispatch = cowboy_router:compile([
- %% {HostMatch, list({PathMatch, Handler, Opts})}
- {'_', [{'_', my_handler, []}]}
-]),
-%% Name, NbAcceptors, TransOpts, ProtoOpts
-cowboy:start_http(my_http_listener, 100,
- [{port, 8080}],
- [{env, [{dispatch, Dispatch}]}]
-).
-]]></script>
-
-<p>Note that this function will return <code>{error, badarg}</code> if the structure given is incorrect.</p>
-
-<h2 id="live_update">Live update</h2>
-
-<p>You can use the <code>cowboy:set_env/3</code> function for updating the dispatch list used by routing. This will apply to all new connections accepted by the listener.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-cowboy:set_env(my_http_listener, dispatch,
- cowboy_router:compile(Dispatch)).
-]]></script>
-
-<p>Note that you need to compile the routes before updating.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/static_handlers/index.html b/_build/static/docs/en/cowboy/1.0/guide/static_handlers/index.html
deleted file mode 100644
index 20df02fd..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/static_handlers/index.html
+++ /dev/null
@@ -1,280 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Static handler</span></h1>
-
-<p>The static handler is a built-in REST handler for serving files. It is available as a convenience and provides a quick solution for serving files during development.</p>
-
-<p>For systems in production, consider using one of the many Content Distribution Network (CDN) available on the market, as they are the best solution for serving files. They are covered in the next chapter. If you decide against using a CDN solution, then please look at the chapter after that, as it explains how to efficiently serve static files on your own.</p>
-
-<p>The static handler can serve either one file or all files from a given directory. It can also send etag headers for client-side caching.</p>
-
-<p>To use the static file handler, simply add routes for it with the appropriate options.</p>
-
-<h2 id="serve_one_file">Serve one file</h2>
-
-<p>You can use the static handler to serve one specific file from an application's private directory. This is particularly useful to serve an <code>index.html</code> file when the client requests the <code>/</code> path, for example. The path configured is relative to the given application's private directory.</p>
-
-<p>The following rule will serve the file <code>static/index.html</code> from the application <code>my_app</code>'s priv directory whenever the path <code>/</code> is accessed.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/", cowboy_static, {priv_file, my_app, "static/index.html"}}
-]]></script>
-
-<p>You can also specify the absolute path to a file, or the path to the file relative to the current directory.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/", cowboy_static, {file, "/var/www/index.html"}}
-]]></script>
-
-<h2 id="serve_all_files_from_a_directory">Serve all files from a directory</h2>
-
-<p>You can also use the static handler to serve all files that can be found in the configured directory. The handler will use the <code>path_info</code> information to resolve the file location, which means that your route must end with a <code>[...]</code> pattern for it to work. All files are served, including the ones that may be found in subfolders.</p>
-
-<p>You can specify the directory relative to an application's private directory.</p>
-
-<p>The following rule will serve any file found in the application <code>my_app</code>'s priv directory inside the <code>static/assets</code> folder whenever the requested path begins with <code>/assets/</code>.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets"}}
-]]></script>
-
-<p>You can also specify the absolute path to the directory or set it relative to the current directory.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/assets/[...]", cowboy_static, {dir, "/var/www/assets"}}
-]]></script>
-
-<h2 id="customize_the_mimetype_detection">Customize the mimetype detection</h2>
-
-<p>By default, Cowboy will attempt to recognize the mimetype of your static files by looking at the extension.</p>
-
-<p>You can override the function that figures out the mimetype of the static files. It can be useful when Cowboy is missing a mimetype you need to handle, or when you want to reduce the list to make lookups faster. You can also give a hard-coded mimetype that will be used unconditionally.</p>
-
-<p>Cowboy comes with two functions built-in. The default function only handles common file types used when building Web applications. The other function is an extensive list of hundreds of mimetypes that should cover almost any need you may have. You can of course create your own function.</p>
-
-<p>To use the default function, you should not have to configure anything, as it is the default. If you insist, though, the following will do the job.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{mimetypes, cow_mimetypes, web}]}}
-]]></script>
-
-<p>As you can see, there is an optional field that may contain a list of less used options, like mimetypes or etag. All option types have this optional field.</p>
-
-<p>To use the function that will detect almost any mimetype, the following configuration will do.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{mimetypes, cow_mimetypes, all}]}}
-]]></script>
-
-<p>You probably noticed the pattern by now. The configuration expects a module and a function name, so you can use any of your own functions instead.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{mimetypes, Module, Function}]}}
-]]></script>
-
-<p>The function that performs the mimetype detection receives a single argument that is the path to the file on disk. It is recommended to return the mimetype in tuple form, although a binary string is also allowed (but will require extra processing). If the function can't figure out the mimetype, then it should return <code>{<<"application">>, <<"octet-stream">>, []}</code>.</p>
-
-<p>When the static handler fails to find the extension in the list, it will send the file as <code>application/octet-stream</code>. A browser receiving such file will attempt to download it directly to disk.</p>
-
-<p>Finally, the mimetype can be hard-coded for all files. This is especially useful in combination with the <code>file</code> and <code>priv_file</code> options as it avoids needless computation.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/", cowboy_static, {priv_file, my_app, "static/index.html",
- [{mimetypes, {<<"text">>, <<"html">>, []}}]}}
-]]></script>
-
-<h2 id="generate_an_etag">Generate an etag</h2>
-
-<p>By default, the static handler will generate an etag header value based on the size and modified time. This solution can not be applied to all systems though. It would perform rather poorly over a cluster of nodes, for example, as the file metadata will vary from server to server, giving a different etag on each server.</p>
-
-<p>You can however change the way the etag is calculated.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{etag, Module, Function}]}}
-]]></script>
-
-<p>This function will receive three arguments: the path to the file on disk, the size of the file and the last modification time. In a distributed setup, you would typically use the file path to retrieve an etag value that is identical across all your servers.</p>
-
-<p>You can also completely disable etag handling.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{etag, false}]}}
-]]></script>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/upgrade_protocol/index.html b/_build/static/docs/en/cowboy/1.0/guide/upgrade_protocol/index.html
deleted file mode 100644
index f110da9f..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/upgrade_protocol/index.html
+++ /dev/null
@@ -1,200 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Protocol upgrades</span></h1>
-
-<p>Cowboy features many different handlers, each for different purposes. All handlers have a common entry point: the <code>init/3</code> function.</p>
-
-<p>The default handler type is the simple HTTP handler.</p>
-
-<p>To switch to a different protocol, you must perform a protocol upgrade. This is what is done for Websocket and REST and is explained in details in the respective chapters.</p>
-
-<p>You can also create your own protocol on top of Cowboy and use the protocol upgrade mechanism to switch to it.</p>
-
-<p>For example, if you create the <code>my_protocol</code> module implementing the <code>cowboy_sub_protocol</code> behavior, then you can upgrade to it by simply returning the module name from <code>init/3</code>.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_, _, _Opts) ->
- {upgrade, protocol, my_protocol}.
-]]></script>
-
-<p>The <code>cowboy_sub_protocol</code> behavior only requires one callback, <code>upgrade/4</code>. It receives the Req object, the middleware environment, and the handler and options for this request. This is the same module as the <code>init/3</code> function and the same options that were passed to it.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-upgrade(Req, Env, Handler, HandlerOpts) ->
- %% ...
-]]></script>
-
-<p>This callback is expected to behave like a middleware. Please see the corresponding chapter for more information.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/ws_handlers/index.html b/_build/static/docs/en/cowboy/1.0/guide/ws_handlers/index.html
deleted file mode 100644
index fe712da7..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/ws_handlers/index.html
+++ /dev/null
@@ -1,327 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Handling Websocket connections</span></h1>
-
-<p>A special handler is required for handling Websocket connections. Websocket handlers allow you to initialize the connection, handle incoming frames from the socket, handle incoming Erlang messages and then clean up on termination.</p>
-
-<p>Websocket handlers essentially act as a bridge between the client and the Erlang system. They will typically do little more than socket communication and decoding/encoding of frames.</p>
-
-<h2 id="initialization">Initialization</h2>
-
-<p>First, the <code>init/3</code> callback is called. This callback is common to all handlers. To establish a Websocket connection, this function must return an <code>upgrade</code> tuple.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_, Req, Opts) ->
- {upgrade, protocol, cowboy_websocket}.
-]]></script>
-
-<p>It is also possible to return an update Req object and options using the longer form of this tuple.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_Type, Req, Opts) ->
- {upgrade, protocol, cowboy_websocket, Req, Opts}.
-]]></script>
-
-<p>Upon receiving this tuple, Cowboy will switch to the code that handles Websocket connections. It does not immediately perform the handshake however. First, it calls the <code>websocket_init/3</code> callback.</p>
-
-<p>This function must be used to initialize the state, and can also be used to register the process, start a timer, etc. As long as the function returns an <code>ok</code> tuple, then Cowboy performs the Websocket handshake.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-websocket_init(_Type, Req, _Opts) ->
- {ok, Req, #state{}}.
-]]></script>
-
-<p>A <code>shutdown</code> tuple can be returned to refuse to perform the handshake. When doing so, Cowboy will send a <code>400 Bad Request</code> response to the client and close the connection.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-websocket_init(_Type, Req, _Opts) ->
- {shutdown, Req}.
-]]></script>
-
-<p>It is also possible to perform a <code>cowboy_req:reply/{2,3,4}</code> before returning a <code>shutdown</code> tuple, allowing you to override the response sent back to the client.</p>
-
-<p>Note that browser support for handling Websocket connection failures may vary.</p>
-
-<p>If the sec-websocket-protocol header was sent with the request for establishing a Websocket connection, then the Websocket handler <em>must</em> select one of these subprotocol and send it back to the client, otherwise the client might decide to close the connection, assuming no correct subprotocol was found.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-websocket_init(_Type, Req, _Opts) ->
- case cowboy_req:parse_header(<<"sec-websocket-protocol">>, Req) of
- {ok, undefined, Req2} ->
- {ok, Req, #state{}};
- {ok, Subprotocols, Req2} ->
- case lists:keymember(<<"mychat2">>, 1, Subprotocols) of
- true ->
- Req3 = cowboy_req:set_resp_header(<<"sec-websocket-protocol">>,
- <<"mychat2">>, Req2),
- {ok, Req3, #state{}};
- false ->
- {shutdown, Req2}
- end
- end.
-]]></script>
-
-<p>It is not recommended to wait too long inside the <code>websocket_init/3</code> function. Any extra initialization may be done after returning by sending yourself a message before doing anything. Any message sent to <code>self()</code> from <code>websocket_init/3</code> is guaranteed to arrive before any frames from the client.</p>
-
-<p>It is also very easy to ensure that this message arrives before any message from other processes by sending it before registering or enabling timers.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-websocket_init(_Type, Req, _Opts) ->
- self() ! post_init,
- %% Register process here...
- {ok, Req, #state{}}.
-
-websocket_info(post_init, Req, State) ->
- %% Perform post_init initialization here...
- {ok, Req, State}.
-]]></script>
-
-<h2 id="handling_frames_from_the_client">Handling frames from the client</h2>
-
-<p>Cowboy will call <code>websocket_handle/3</code> whenever a text, binary, ping or pong frame arrives from the client. Note that in the case of ping and pong frames, no action is expected as Cowboy automatically replies to ping frames.</p>
-
-<p>The handler can decide to send frames to the socket, shutdown or just continue without sending anything.</p>
-
-<p>The following snippet echoes back any text frame received and ignores all others.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-websocket_handle(Frame = {text, _}, Req, State) ->
- {reply, Frame, Req, State};
-websocket_handle(_Frame, Req, State) ->
- {ok, Req, State}.
-]]></script>
-
-<h2 id="handling_erlang_messages">Handling Erlang messages</h2>
-
-<p>Cowboy will call <code>websocket_info/3</code> whenever an Erlang message arrives.</p>
-
-<p>The handler can decide to send frames to the socket, shutdown or just continue without sending anything.</p>
-
-<p>The following snippet forwards any <code>log</code> message to the socket and ignores all others.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-websocket_info({log, Text}, Req, State) ->
- {reply, {text, Text}, Req, State};
-websocket_info(_Info, Req, State) ->
- {ok, Req, State}.
-]]></script>
-
-<h2 id="sending_frames_to_the_socket">Sending frames to the socket</h2>
-
-<p>Cowboy allows sending either a single frame or a list of frames to the socket. Any frame can be sent: text, binary, ping, pong or close frames.</p>
-
-<p>The following example sends three frames using a single <code>reply</code> tuple.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-websocket_info(hello_world, Req, State) ->
- {reply, [
- {text, "Hello"},
- {text, <<"world!">>},
- {binary, <<0:8000>>}
- ], Req, State};
-%% More websocket_info/3 clauses here...
-]]></script>
-
-<p>Note that the payload for text and binary frames is of type <code>iodata()</code>, meaning it can be either a <code>binary()</code> or an <code>iolist()</code>.</p>
-
-<p>Sending a <code>close</code> frame will immediately initiate the closing of the Websocket connection. Be aware that any additional frames sent by the client or any Erlang messages waiting to be received will not be processed. Also note that when replying a list of frames that includes close, any frame found after the close frame will not be sent.</p>
-
-<h2 id="ping_and_timeout">Ping and timeout</h2>
-
-<p>The biggest performance improvement you can do when dealing with a huge number of Websocket connections is to reduce the number of timers that are started on the server. A common use of timers when dealing with connections is for sending a ping every once in a while. This should be done exclusively on the client side. Indeed, a server handling one million Websocket connections will perform a lot better when it doesn't have to handle one million extra timers too!</p>
-
-<p>Cowboy will automatically respond to ping frames sent by the client. It will still forward the frame to the handler for informative purpose, but no further action is required.</p>
-
-<p>Cowboy can be configured to automatically close the Websocket connection when no data arrives on the socket. It is highly recommended to configure a timeout for it, as otherwise you may end up with zombie "half-connected" sockets that may leave the process alive forever.</p>
-
-<p>A good timeout value is 60 seconds.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-websocket_init(_Type, Req, _Opts) ->
- {ok, Req, #state{}, 60000}.
-]]></script>
-
-<p>This value cannot be changed once it is set. It defaults to <code>infinity</code>.</p>
-
-<h2 id="hibernate">Hibernate</h2>
-
-<p>Most tuples returned from handler callbacks can include an extra value <code>hibernate</code>. After doing any necessary operations following the return of the callback, Cowboy will hibernate the process.</p>
-
-<p>It is highly recommended to hibernate processes that do not handle much traffic. It is a good idea to hibernate all connections by default and investigate only when you start noticing increased CPU usage.</p>
-
-<h2 id="supporting_older_browsers">Supporting older browsers</h2>
-
-<p>Unfortunately Websocket is a relatively recent technology, which means that not all browsers support it. A library like <a href="https://github.com/extend/bullet">Bullet</a> can be used to emulate Websocket connections on older browsers.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/guide/ws_protocol/index.html b/_build/static/docs/en/cowboy/1.0/guide/ws_protocol/index.html
deleted file mode 100644
index 18dd793e..00000000
--- a/_build/static/docs/en/cowboy/1.0/guide/ws_protocol/index.html
+++ /dev/null
@@ -1,194 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>The Websocket protocol</span></h1>
-
-<p>This chapter explains what Websocket is and why it is a vital component of soft realtime Web applications.</p>
-
-<h2 id="description">Description</h2>
-
-<p>Websocket is an extension to HTTP that emulates plain TCP connections between the client, typically a Web browser, and the server. It uses the HTTP Upgrade mechanism to establish the connection.</p>
-
-<p>Websocket connections are asynchronous, unlike HTTP. This means that not only can the client send frames to the server at any time, but the server can also send frames to the client without the client initiating anything other than the Websocket connection itself. This allows the server to push data to the client directly.</p>
-
-<p>Websocket is an IETF standard. Cowboy supports the standard and all drafts that were previously implemented by browsers, excluding the initial flawed draft sometimes known as "version 0".</p>
-
-<h2 id="implementation">Implementation</h2>
-
-<p>Cowboy implements Websocket as a protocol upgrade. Once the upgrade is performed from the <code>init/3</code> callback, Cowboy switches to Websocket. Please consult the next chapter for more information on initiating and handling Websocket connections.</p>
-
-<p>The implementation of Websocket in Cowboy is validated using the Autobahn test suite, which is an extensive suite of tests covering all aspects of the protocol. Cowboy passes the suite with 100% success, including all optional tests.</p>
-
-<p>Cowboy's Websocket implementation also includes the x-webkit-deflate-frame compression draft which is being used by some browsers to reduce the size of data being transmitted. Cowboy will automatically use compression as long as the <code>compress</code> protocol option is set when starting the listener.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/index.html b/_build/static/docs/en/cowboy/1.0/index.html
deleted file mode 100644
index c6b8c19f..00000000
--- a/_build/static/docs/en/cowboy/1.0/index.html
+++ /dev/null
@@ -1,206 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy README</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Cowboy</span></h1>
-<div class="service-description">
-<p>Cowboy is a small, fast and modular HTTP server written in Erlang.</p>
-<h2 id="goals">Goals</h2>
-<p>Cowboy aims to provide a <strong>complete</strong> HTTP stack in a <strong>small</strong> code base. It is optimized for <strong>low latency</strong> and <strong>low memory usage</strong>, in part because it uses <strong>binary strings</strong>.</p>
-<p>Cowboy provides <strong>routing</strong> capabilities, selectively dispatching requests to handlers written in Erlang.</p>
-<p>Because it uses Ranch for managing connections, Cowboy can easily be <strong>embedded</strong> in any other application.</p>
-<p>No parameterized module. No process dictionary. <strong>Clean</strong> Erlang code.</p>
-<h2 id="sponsors">Sponsors</h2>
-<p>The SPDY implementation was sponsored by <a href="http://www.leofs.org">LeoFS Cloud Storage</a>.</p>
-<p>The project is currently sponsored by <a href="https://kato.im">Kato.im</a>.</p>
-<h2 id="online_documentation">Online documentation</h2>
-<ul>
-<li><a href="http://ninenines.eu/docs/en/cowboy/HEAD/guide">User guide</a></li>
-<li><a href="http://ninenines.eu/docs/en/cowboy/HEAD/manual">Function reference</a></li>
-</ul>
-<h2 id="offline_documentation">Offline documentation</h2>
-<ul>
-<li>While still online, run <code>make docs</code></li>
-<li>Function reference man pages available in <code>doc/man3/</code> and <code>doc/man7/</code></li>
-<li>Run <code>make install-docs</code> to install man pages on your system</li>
-<li>Full documentation in Markdown available in <code>doc/markdown/</code></li>
-<li>Examples available in <code>examples/</code></li>
-</ul>
-<h2 id="getting_help">Getting help</h2>
-<ul>
-<li>Official IRC Channel: #ninenines on irc.freenode.net</li>
-<li><a href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
-<li><a href="http://ninenines.eu/support">Commercial Support</a></li>
-</ul>
-</div>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/cowboy/index.html b/_build/static/docs/en/cowboy/1.0/manual/cowboy/index.html
deleted file mode 100644
index e4ca1e2c..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/cowboy/index.html
+++ /dev/null
@@ -1,273 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy</span></h1>
-
-<p>The <code>cowboy</code> module provides convenience functions for manipulating Ranch listeners.</p>
-
-<h2 id="types">Types</h2>
-
-<h3 id="http_headers">http_headers() = [{binary(), iodata()}]</h3>
-
-<p>HTTP headers as a list of key/values.</p>
-
-<h3 id="http_status">http_status() = non_neg_integer() | binary()</h3>
-
-<p>HTTP status.</p>
-
-<p>A binary status can be used to set a custom message.</p>
-
-<h3 id="http_version">http_version() = 'HTTP/1.1' | 'HTTP/1.0'</h3>
-
-<p>HTTP version.</p>
-
-<h3 id="onrequest_fun">onrequest_fun() = fun((cowboy_req:req()) -> cowboy_req:req())</h3>
-
-<p>Fun called immediately after receiving a request.</p>
-
-<p>It can perform any operation on the Req object, including reading the request body or replying. If a reply is sent, the processing of the request ends here, before any middleware is executed.</p>
-
-<h3 id="onresponse_fun">onresponse_fun() = fun((http_status(), http_headers(), iodata(), cowboy_req:req()) -> cowboy_req:req())</h3>
-
-<p>Fun called immediately before sending the response.</p>
-
-<p>It can perform any operation on the Req object, including reading the request body or replying. If a reply is sent, it overrides the reply initially sent. The callback will not be called again for the new reply.</p>
-
-<h2 id="exports">Exports</h2>
-
-<h3 id="start_http">start_http(Ref, NbAcceptors, TransOpts, ProtoOpts) -> {ok, pid()}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Ref = ranch:ref()</li>
-<li>NbAcceptors = non_neg_integer()</li>
-<li>TransOpts = ranch_tcp:opts()</li>
-<li>ProtoOpts = cowboy_protocol:opts()</li>
-</ul>
-
-<p>Start listening for HTTP connections. Returns the pid for this listener's supervisor.</p>
-
-<h3 id="start_https">start_https(Ref, NbAcceptors, TransOpts, ProtoOpts) -> {ok, pid()}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Ref = ranch:ref()</li>
-<li>NbAcceptors = non_neg_integer()</li>
-<li>TransOpts = ranch_ssl:opts()</li>
-<li>ProtoOpts = cowboy_protocol:opts()</li>
-</ul>
-
-<p>Start listening for HTTPS connections. Returns the pid for this listener's supervisor.</p>
-
-<h3 id="start_spdy">start_spdy(Ref, NbAcceptors, TransOpts, ProtoOpts) -> {ok, pid()}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Ref = ranch:ref()</li>
-<li>NbAcceptors = non_neg_integer()</li>
-<li>TransOpts = ranch_ssl:opts()</li>
-<li>ProtoOpts = cowboy_spdy:opts()</li>
-</ul>
-
-<p>Start listening for SPDY connections. Returns the pid for this listener's supervisor.</p>
-
-<h3 id="stop_listener">stop_listener(Ref) -> ok | {error, not_found}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Ref = ranch:ref()</li>
-</ul>
-
-<p>Stop a previously started listener.</p>
-
-<h3 id="set_env">set_env(Ref, Name, Value) -> ok</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Ref = ranch:ref()</li>
-<li>Name = atom()</li>
-<li>Value = any()</li>
-</ul>
-
-<p>Set or update an environment value for an already running listener. This will take effect on all subsequent connections.</p>
-
-<h2 id="see_also">See also</h2>
-
-<p>The <a href="http://ninenines.eu/docs/en/ranch/HEAD/guide">Ranch guide</a> provides detailed information about how listeners work.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/cowboy_app/index.html b/_build/static/docs/en/cowboy/1.0/manual/cowboy_app/index.html
deleted file mode 100644
index 66b266f5..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/cowboy_app/index.html
+++ /dev/null
@@ -1,188 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>The Cowboy Application</span></h1>
-
-<p>Small, fast, modular HTTP server.</p>
-
-<h2 id="dependencies">Dependencies</h2>
-
-<p>The <code>cowboy</code> application uses the Erlang applications <code>ranch</code> for listening and accepting TCP connections, <code>crypto</code> for establishing Websocket connections, and <code>cowlib</code> for parsing and building messages for Web protocols. These dependencies must be loaded for the <code>cowboy</code> application to work. In an embedded environment this means that they need to be started with the <code>application:start/{1,2}</code> function before the <code>cowboy</code> application is started.</p>
-
-<p>The <code>cowboy</code> application also uses the Erlang applications <code>asn1</code>, <code>public_key</code> and <code>ssl</code> when listening for HTTPS connections. These are started automatically if they weren't before.</p>
-
-<h2 id="environment">Environment</h2>
-
-<p>The <code>cowboy</code> application does not define any application environment configuration parameters.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/cowboy_handler/index.html b/_build/static/docs/en/cowboy/1.0/manual/cowboy_handler/index.html
deleted file mode 100644
index 8806c3cc..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/cowboy_handler/index.html
+++ /dev/null
@@ -1,199 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_handler</span></h1>
-
-<p>The <code>cowboy_handler</code> middleware executes the handler passed through the environment values <code>handler</code> and <code>handler_opts</code>, and adds the result of this execution to the environment as the value <code>result</code>, indicating that the request has been handled and received a response.</p>
-
-<p>Environment input:</p>
-
-<ul>
-<li>handler = module()</li>
-<li>handler_opts = any()</li>
-</ul>
-
-<p>Environment output:</p>
-
-<ul>
-<li>result = ok</li>
-</ul>
-
-<h2 id="types">Types</h2>
-
-<p>None.</p>
-
-<h2 id="exports">Exports</h2>
-
-<p>None.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/cowboy_http_handler/index.html b/_build/static/docs/en/cowboy/1.0/manual/cowboy_http_handler/index.html
deleted file mode 100644
index e257ebc2..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/cowboy_http_handler/index.html
+++ /dev/null
@@ -1,229 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_http_handler</span></h1>
-
-<p>The <code>cowboy_http_handler</code> behaviour defines the interface used by plain HTTP handlers.</p>
-
-<p>Unless noted otherwise, the callbacks will be executed sequentially.</p>
-
-<h2 id="types">Types</h2>
-
-<p>None.</p>
-
-<h2 id="callbacks">Callbacks</h2>
-
-<h3 id="init">init({TransportName, ProtocolName}, Req, Opts) -> {ok, Req, State} | {shutdown, Req, State}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>TransportName = tcp | ssl | atom()</li>
-<li>ProtocolName = http | atom()</li>
-<li>Req = cowboy_req:req()</li>
-<li>Opts = any()</li>
-<li>State = any()</li>
-</ul>
-
-<p>Initialize the state for this request.</p>
-
-<p>The <code>shutdown</code> return value can be used to skip the <code>handle/2</code> call entirely.</p>
-
-<h3 id="handle">handle(Req, State) -> {ok, Req, State}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-</ul>
-
-<p>Handle the request.</p>
-
-<p>This callback is where the request is handled and a response should be sent. If a response is not sent, Cowboy will send a <code>204 No Content</code> response automatically.</p>
-
-<h3 id="terminate">terminate(Reason, Req, State) -> ok</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Reason = {normal, shutdown} | {error, atom()}</li>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-</ul>
-
-<p>Perform any necessary cleanup of the state.</p>
-
-<p>This callback should release any resource currently in use, clear any active timer and reset the process to its original state, as it might be reused for future requests sent on the same connection. Typical plain HTTP handlers rarely need to use it.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/cowboy_loop_handler/index.html b/_build/static/docs/en/cowboy/1.0/manual/cowboy_loop_handler/index.html
deleted file mode 100644
index 88b1c4ff..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/cowboy_loop_handler/index.html
+++ /dev/null
@@ -1,245 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_loop_handler</span></h1>
-
-<p>The <code>cowboy_loop_handler</code> behaviour defines the interface used by HTTP handlers that do not send a response directly, instead requiring a receive loop to process Erlang messages.</p>
-
-<p>This interface is best fit for long-polling types of requests.</p>
-
-<p>The <code>init/3</code> callback will always be called, followed by zero or more calls to <code>info/3</code>. The <code>terminate/3</code> callback will always be called last.</p>
-
-<h2 id="types">Types</h2>
-
-<p>None.</p>
-
-<h2 id="callbacks">Callbacks</h2>
-
-<h3 id="init">init({TransportName, ProtocolName}, Req, Opts) -> {loop, Req, State} | {loop, Req, State, hibernate} | {loop, Req, State, Timeout} | {loop, Req, State, Timeout, hibernate} | {shutdown, Req, State}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>TransportName = tcp | ssl | atom()</li>
-<li>ProtocolName = http | atom()</li>
-<li>Req = cowboy_req:req()</li>
-<li>Opts = any()</li>
-<li>State = any()</li>
-<li>Timeout = timeout()</li>
-</ul>
-
-<p>Initialize the state for this request.</p>
-
-<p>This callback will typically be used to register this process to an event manager or a message queue in order to receive the messages the handler wants to process.</p>
-
-<p>The receive loop will run for a duration of up to <code>Timeout</code> milliseconds after it last received data from the socket, at which point it will stop and send a <code>204 No Content</code> reply. By default this value is set to <code>infinity</code>. It is recommended to either set this value or ensure by any other mechanism that the handler will be closed after a certain period of inactivity.</p>
-
-<p>The <code>hibernate</code> option will hibernate the process until it starts receiving messages.</p>
-
-<p>The <code>shutdown</code> return value can be used to skip the receive loop entirely.</p>
-
-<h3 id="info">info(Info, Req, State) -> {ok, Req, State} | {loop, Req, State} | {loop, Req, State, hibernate}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Info = any()</li>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-</ul>
-
-<p>Handle the Erlang message received.</p>
-
-<p>This function will be called every time an Erlang message has been received. The message can be any Erlang term.</p>
-
-<p>The <code>ok</code> return value can be used to stop the receive loop, typically because a response has been sent.</p>
-
-<p>The <code>hibernate</code> option will hibernate the process until it receives another message.</p>
-
-<h3 id="terminate">terminate(Reason, Req, State) -> ok</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Reason = {normal, shutdown} | {normal, timeout} | {error, closed} | {error, overflow} | {error, atom()}</li>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-</ul>
-
-<p>Perform any necessary cleanup of the state.</p>
-
-<p>This callback will typically unregister from any event manager or message queue it registered to in <code>init/3</code>.</p>
-
-<p>This callback should release any resource currently in use, clear any active timer and reset the process to its original state, as it might be reused for future requests sent on the same connection.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/cowboy_middleware/index.html b/_build/static/docs/en/cowboy/1.0/manual/cowboy_middleware/index.html
deleted file mode 100644
index 6e0f87a3..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/cowboy_middleware/index.html
+++ /dev/null
@@ -1,213 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_middleware</span></h1>
-
-<p>The <code>cowboy_middleware</code> behaviour defines the interface used by Cowboy middleware modules.</p>
-
-<p>Middlewares process the request sequentially in the order they are configured.</p>
-
-<h2 id="types">Types</h2>
-
-<h3 id="env">env() = [{atom(), any()}]</h3>
-
-<p>The environment variable.</p>
-
-<p>One is created for every request. It is passed to each middleware module executed and subsequently returned, optionally with its contents modified.</p>
-
-<h2 id="callbacks">Callbacks</h2>
-
-<h3 id="execute">execute(Req, Env) -> {ok, Req, Env} | {suspend, Module, Function, Args} | {halt, Req} | {error, StatusCode, Req}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Req = cowboy_req:req()</li>
-<li>Env = env()</li>
-<li>Module = module()</li>
-<li>Function = atom()</li>
-<li>Args = [any()]</li>
-<li>StatusCode = cowboy:http_status()</li>
-</ul>
-
-<p>Execute the middleware.</p>
-
-<p>The <code>ok</code> return value indicates that everything went well and that Cowboy should continue processing the request. A response may or may not have been sent.</p>
-
-<p>The <code>suspend</code> return value will hibernate the process until an Erlang message is received. Note that when resuming, any previous stacktrace information will be gone.</p>
-
-<p>The <code>halt</code> return value stops Cowboy from doing any further processing of the request, even if there are middlewares that haven't been executed yet. The connection may be left open to receive more requests from the client.</p>
-
-<p>The <code>error</code> return value sends an error response identified by the <code>StatusCode</code> and then proceeds to terminate the connection. Middlewares that haven't been executed yet will not be called.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html b/_build/static/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html
deleted file mode 100644
index 83622ba3..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html
+++ /dev/null
@@ -1,244 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_protocol</span></h1>
-
-<p>The <code>cowboy_protocol</code> module implements HTTP/1.1 and HTTP/1.0 as a Ranch protocol.</p>
-
-<h2 id="types">Types</h2>
-
-<h3 id="opts">opts() = [{compress, boolean()} | {env, cowboy_middleware:env()} | {max_empty_lines, non_neg_integer()} | {max_header_name_length, non_neg_integer()} | {max_header_value_length, non_neg_integer()} | {max_headers, non_neg_integer()} | {max_keepalive, non_neg_integer()} | {max_request_line_length, non_neg_integer()} | {middlewares, [module()]} | {onrequest, cowboy:onrequest_fun()} | {onresponse, cowboy:onresponse_fun()} | {timeout, timeout()}]</h3>
-
-<p>Configuration for the HTTP protocol handler.</p>
-
-<p>This configuration is passed to Cowboy when starting listeners using <code>cowboy:start_http/4</code> or <code>cowboy:start_https/4</code> functions.</p>
-
-<p>It can be updated without restarting listeners using the Ranch functions <code>ranch:get_protocol_options/1</code> and <code>ranch:set_protocol_options/2</code>.</p>
-
-<h2 id="option_descriptions">Option descriptions</h2>
-
-<p>The default value is given next to the option name.</p>
-
-<h3 id="compress ">compress (false)</h3>
-
-<p>When enabled, Cowboy will attempt to compress the response body.</p>
-
-<h3 id="env ">env ([{listener, Ref}])</h3>
-
-<p>Initial middleware environment.</p>
-
-<h3 id="max_empty_lines ">max_empty_lines (5)</h3>
-
-<p>Maximum number of empty lines before a request.</p>
-
-<h3 id="max_header_name_length ">max_header_name_length (64)</h3>
-
-<p>Maximum length of header names.</p>
-
-<h3 id="max_header_value_length ">max_header_value_length (4096)</h3>
-
-<p>Maximum length of header values.</p>
-
-<h3 id="max_headers ">max_headers (100)</h3>
-
-<p>Maximum number of headers allowed per request.</p>
-
-<h3 id="max_keepalive ">max_keepalive (100)</h3>
-
-<p>Maximum number of requests allowed per connection.</p>
-
-<h3 id="max_request_line_length ">max_request_line_length (4096)</h3>
-
-<p>Maximum length of the request line.</p>
-
-<h3 id="middlewares ">middlewares ([cowboy_router, cowboy_handler])</h3>
-
-<p>List of middlewares to execute for every requests.</p>
-
-<h3 id="onrequest ">onrequest (undefined)</h3>
-
-<p>Fun called every time a request is received.</p>
-
-<h3 id="onresponse ">onresponse (undefined)</h3>
-
-<p>Fun called every time a response is sent.</p>
-
-<h3 id="timeout ">timeout (5000)</h3>
-
-<p>Time in ms with no requests before Cowboy closes the connection.</p>
-
-<h2 id="exports">Exports</h2>
-
-<p>None.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/cowboy_req/index.html b/_build/static/docs/en/cowboy/1.0/manual/cowboy_req/index.html
deleted file mode 100644
index a7cb0708..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/cowboy_req/index.html
+++ /dev/null
@@ -1,854 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req</span></h1>
-
-<p>The <code>cowboy_req</code> module provides functions to access, manipulate and respond to requests.</p>
-
-<p>The functions in this module follow patterns for their return types, based on the kind of function.</p>
-
-<ul>
-<li>access: <code>{Value, Req}</code></li>
-<li>action: <code>{Result, Req} | {Result, Value, Req} | {error, atom()}</code></li>
-<li>modification: <code>Req</code></li>
-<li>question: <code>boolean()</code></li>
-</ul>
-
-<p>The only exception is the <code>chunk/2</code> function which may return <code>ok</code>.</p>
-
-<p>Whenever <code>Req</code> is returned, you must use this returned value and ignore any previous you may have had. This value contains various state informations which are necessary for Cowboy to do some lazy evaluation or cache results where appropriate.</p>
-
-<p>All functions which perform an action should only be called once. This includes reading the request body or replying. Cowboy will generally throw an error on the second call.</p>
-
-<p>It is highly discouraged to pass the Req object to another process. Doing so and calling <code>cowboy_req</code> functions from it leads to undefined behavior.</p>
-
-<h2 id="types">Types</h2>
-
-<h3 id="body_opts">body_opts() = [{continue, boolean()} | {length, non_neg_integer()} | {read_length, non_neg_integer()} | {read_timeout, timeout()} | {transfer_decode, transfer_decode_fun(), any()} | {content_decode, content_decode_fun()}]</h3>
-
-<p>Request body reading options.</p>
-
-<h3 id="cookie_opts">cookie_opts() = [{max_age, non_neg_integer()} | {domain, binary()} | {path, binary()} | {secure, boolean()} | {http_only, boolean()}]</h3>
-
-<p>Cookie options.</p>
-
-<h3 id="req">req() - opaque to the user</h3>
-
-<p>The Req object.</p>
-
-<p>All functions in this module receive a <code>Req</code> as argument, and most of them return a new object labelled <code>Req2</code> in the function descriptions below.</p>
-
-<h2 id="request_related_exports">Request related exports</h2>
-
-<h3 id="binding">binding(Name, Req) -> binding(Name, Req, undefined)</h3>
-
-<h3 id="binding">binding(Name, Req, Default) -> {Value, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = atom()</li>
-<li>Default = any()</li>
-<li>Value = any() | Default</li>
-</ul>
-
-<p>Return the value for the given binding.</p>
-
-<p>By default the value is a binary, however constraints may change the type of this value (for example automatically converting numbers to integer).</p>
-
-<h3 id="bindings">bindings(Req) -> {[{Name, Value}], Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = atom()</li>
-<li>Value = any()</li>
-</ul>
-
-<p>Return all bindings.</p>
-
-<p>By default the value is a binary, however constraints may change the type of this value (for example automatically converting numbers to integer).</p>
-
-<h3 id="cookie">cookie(Name, Req) -> cookie(Name, Req, undefined)</h3>
-
-<h3 id="cookie">cookie(Name, Req, Default) -> {Value, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-<li>Default = any()</li>
-<li>Value = binary() | Default</li>
-</ul>
-
-<p>Return the value for the given cookie.</p>
-
-<p>Cookie names are case sensitive.</p>
-
-<h3 id="cookies">cookies(Req) -> {[{Name, Value}], Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-<li>Value = binary()</li>
-</ul>
-
-<p>Return all cookies.</p>
-
-<h3 id="header">header(Name, Req) -> header(Name, Req, undefined)</h3>
-
-<h3 id="header">header(Name, Req, Default) -> {Value, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-<li>Default = any()</li>
-<li>Value = binary() | Default</li>
-</ul>
-
-<p>Return the value for the given header.</p>
-
-<p>While header names are case insensitive, this function expects the name to be a lowercase binary.</p>
-
-<h3 id="headers">headers(Req) -> {Headers, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Headers = cowboy:http_headers()</li>
-</ul>
-
-<p>Return all headers.</p>
-
-<h3 id="host">host(Req) -> {Host, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Host = binary()</li>
-</ul>
-
-<p>Return the requested host.</p>
-
-<h3 id="host_info">host_info(Req) -> {HostInfo, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>HostInfo = cowboy_router:tokens() | undefined</li>
-</ul>
-
-<p>Return the extra tokens from matching against <code>...</code> during routing.</p>
-
-<h3 id="host_url">host_url(Req) -> {HostURL, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>HostURL = binary() | undefined</li>
-</ul>
-
-<p>Return the requested URL excluding the path component.</p>
-
-<p>This function will always return <code>undefined</code> until the <code>cowboy_router</code> middleware has been executed. This includes the <code>onrequest</code> hook.</p>
-
-<h3 id="meta">meta(Name, Req) -> meta(Name, Req, undefined)</h3>
-
-<h3 id="meta">meta(Name, Req, Default) -> {Value, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = atom()</li>
-<li>Default = any()</li>
-<li>Value = any()</li>
-</ul>
-
-<p>Return metadata about the request.</p>
-
-<h3 id="method">method(Req) -> {Method, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Method = binary()</li>
-</ul>
-
-<p>Return the method.</p>
-
-<p>Methods are case sensitive. Standard methods are always uppercase.</p>
-
-<h3 id="parse_header">parse_header(Name, Req) -></h3>
-
-<h3 id="parse_header">parse_header(Name, Req, Default) -> {ok, ParsedValue, Req2} | {undefined, Value, Req2} | {error, badarg}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-<li>Default = any()</li>
-<li>ParsedValue - see below</li>
-<li>Value = any()</li>
-</ul>
-
-<p>Parse the given header.</p>
-
-<p>While header names are case insensitive, this function expects the name to be a lowercase binary.</p>
-
-<p>The <code>parse_header/2</code> function will call <code>parser_header/3</code> with a different default value depending on the header being parsed. The following table summarizes the default values used.</p>
-
-<table class="table-bordered table-condensed table-striped">
-<thead>
-<tr><th>Header name</th><th>Default value</th></tr>
-</thead>
-<tbody>
-<tr><td>transfer-encoding</td><td><code>[<<"identity">>]</code></td></tr>
-<tr><td>Any other header</td><td><code>undefined</code></td></tr>
-</tbody>
-</table>
-
-<p>The parsed value differs depending on the header being parsed. The following table summarizes the different types returned.</p>
-
-<table class="table-bordered table-condensed table-striped">
-<thead>
-<tr><th>Header name</th><th>Type</th></tr>
-</thead>
-<tbody>
-<tr><td>accept</td><td><code>[{{Type, SubType, Params}, Quality, AcceptExt}]</code></td></tr>
-<tr><td>accept-charset</td><td><code>[{Charset, Quality}]</code></td></tr>
-<tr><td>accept-encoding</td><td><code>[{Encoding, Quality}]</code></td></tr>
-<tr><td>accept-language</td><td><code>[{LanguageTag, Quality}]</code></td></tr>
-<tr><td>authorization</td><td><code>{AuthType, Credentials}</code></td></tr>
-<tr><td>content-length</td><td><code>non_neg_integer()</code></td></tr>
-<tr><td>content-type</td><td><code>{Type, SubType, ContentTypeParams}</code></td></tr>
-<tr><td>cookie</td><td><code>[{binary(), binary()}]</code></td></tr>
-<tr><td>expect</td><td><code>[Expect | {Expect, ExpectValue, Params}]</code></td></tr>
-<tr><td>if-match</td><td><code>'*' | [{weak | strong, OpaqueTag}]</code></td></tr>
-<tr><td>if-modified-since</td><td><code>calendar:datetime()</code></td></tr>
-<tr><td>if-none-match</td><td><code>'*' | [{weak | strong, OpaqueTag}]</code></td></tr>
-<tr><td>if-unmodified-since</td><td><code>calendar:datetime()</code></td></tr>
-<tr><td>range</td><td><code>{Unit, [Range]}</code></td></tr>
-<tr><td>sec-websocket-protocol</td><td><code>[binary()]</code></td></tr>
-<tr><td>transfer-encoding</td><td><code>[binary()]</code></td></tr>
-<tr><td>upgrade</td><td><code>[binary()]</code></td></tr>
-<tr><td>x-forwarded-for</td><td><code>[binary()]</code></td></tr>
-</tbody>
-</table>
-
-<p>Types for the above table:</p>
-
-<ul>
-<li>Type = SubType = Charset = Encoding = LanguageTag = binary()</li>
-<li>AuthType = Expect = OpaqueTag = Unit = binary()</li>
-<li>Params = ContentTypeParams = [{binary(), binary()}]</li>
-<li>Quality = 0..1000</li>
-<li>AcceptExt = [{binary(), binary()} | binary()]</li>
-<li>Credentials - see below</li>
-<li>Range = {non_neg_integer(), non_neg_integer() | infinity} | neg_integer()</li>
-</ul>
-
-<p>The cookie names and values, the values of the sec-websocket-protocol and x-forwarded-for headers, the values in <code>AcceptExt</code> and <code>Params</code>, the authorization <code>Credentials</code>, the <code>ExpectValue</code> and <code>OpaqueTag</code> are case sensitive. All values in <code>ContentTypeParams</code> are case sensitive except the value of the charset parameter, which is case insensitive. All other values are case insensitive and will be returned as lowercase.</p>
-
-<p>The headers accept, accept-encoding and cookie headers can return an empty list. Others will return <code>{error, badarg}</code> if the header value is empty.</p>
-
-<p>The authorization header parsing code currently only supports basic HTTP authentication. The <code>Credentials</code> type is thus <code>{Username, Password}</code> with <code>Username</code> and <code>Password</code> being <code>binary()</code>.</p>
-
-<p>The range header value <code>Range</code> can take three forms:</p>
-
-<ul>
-<li><code>{From, To}</code>: from <code>From</code> to <code>To</code> units</li>
-<li><code>{From, infinity}</code>: everything after <code>From</code> units</li>
-<li><code>-Final</code>: the final <code>Final</code> units</li>
-</ul>
-
-<p>An <code>undefined</code> tuple will be returned if Cowboy doesn't know how to parse the requested header.</p>
-
-<h3 id="path">path(Req) -> {Path, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Path = binary()</li>
-</ul>
-
-<p>Return the requested path.</p>
-
-<h3 id="path_info">path_info(Req) -> {PathInfo, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>PathInfo = cowboy_router:tokens() | undefined</li>
-</ul>
-
-<p>Return the extra tokens from matching against <code>...</code> during routing.</p>
-
-<h3 id="peer">peer(Req) -> {Peer, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Peer = {inet:ip_address(), inet:port_number()}</li>
-</ul>
-
-<p>Return the client's IP address and port number.</p>
-
-<h3 id="port">port(Req) -> {Port, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Port = inet:port_number()</li>
-</ul>
-
-<p>Return the request's port.</p>
-
-<p>The port returned by this function is obtained by parsing the host header. It may be different than the actual port the client used to connect to the Cowboy server.</p>
-
-<h3 id="qs">qs(Req) -> {QueryString, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>QueryString = binary()</li>
-</ul>
-
-<p>Return the request's query string.</p>
-
-<h3 id="qs_val">qs_val(Name, Req) -> qs_val(Name, Req, undefined)</h3>
-
-<h3 id="qs_val">qs_val(Name, Req, Default) -> {Value, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-<li>Default = any()</li>
-<li>Value = binary() | true</li>
-</ul>
-
-<p>Return a value from the request's query string.</p>
-
-<p>The value <code>true</code> will be returned when the name was found in the query string without an associated value.</p>
-
-<h3 id="qs_vals">qs_vals(Req) -> {[{Name, Value}], Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-<li>Value = binary() | true</li>
-</ul>
-
-<p>Return the request's query string as a list of tuples.</p>
-
-<p>The value <code>true</code> will be returned when a name was found in the query string without an associated value.</p>
-
-<h3 id="set_meta">set_meta(Name, Value, Req) -> Req2</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = atom()</li>
-<li>Value = any()</li>
-</ul>
-
-<p>Set metadata about the request.</p>
-
-<p>An existing value will be overwritten.</p>
-
-<h3 id="url">url(Req) -> {URL, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>URL = binary() | undefined</li>
-</ul>
-
-<p>Return the requested URL.</p>
-
-<p>This function will always return <code>undefined</code> until the <code>cowboy_router</code> middleware has been executed. This includes the <code>onrequest</code> hook.</p>
-
-<h3 id="version">version(Req) -> {Version, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Version = cowboy:http_version()</li>
-</ul>
-
-<p>Return the HTTP version used for this request.</p>
-
-<h2 id="request_body_related_exports">Request body related exports</h2>
-
-<h3 id="body">body(Req) -> body(Req, [])</h3>
-
-<h3 id="body">body(Req, Opts) -> {ok, Data, Req2} | {more, Data, Req2} | {error, Reason}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Opts = [body_opt()]</li>
-<li>Data = binary()</li>
-<li>Reason = atom()</li>
-</ul>
-
-<p>Read the request body.</p>
-
-<p>This function will read a chunk of the request body. If there is more data to be read after this function call, then a <code>more</code> tuple is returned. Otherwise an <code>ok</code> tuple is returned.</p>
-
-<p>Cowboy will automatically send a <code>100 Continue</code> reply if required. If this behavior is not desirable, it can be disabled by setting the <code>continue</code> option to <code>false</code>.</p>
-
-<p>Cowboy will by default attempt to read up to 8MB of the body, but in chunks of 1MB. It will use a timeout of 15s per chunk. All these values can be changed using the <code>length</code>, <code>read_length</code> and <code>read_timeout</code> options respectively. Note that the size of the data may not be the same as requested as the decoding functions may grow or shrink it, and Cowboy makes not attempt at returning an exact amount.</p>
-
-<p>Cowboy will properly handle chunked transfer-encoding by default. If any other transfer-encoding or content-encoding has been used for the request, custom decoding functions can be used. The <code>content_decode</code> and <code>transfer_decode</code> options allow setting the decode functions manually.</p>
-
-<p>After the body has been streamed fully, Cowboy will remove the transfer-encoding header from the Req object, and add the content-length header if it wasn't already there.</p>
-
-<p>This function can only be called once. Cowboy will not cache the result of this call.</p>
-
-<h3 id="body_length">body_length(Req) -> {Length, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Length = non_neg_integer() | undefined</li>
-</ul>
-
-<p>Return the length of the request body.</p>
-
-<p>The length will only be returned if the request does not use any transfer-encoding and if the content-length header is present.</p>
-
-<h3 id="body_qs">body_qs(Req) -> body_qs(Req, [{length, 64000}, {read_length, 64000}, {read_timeout, 5000}])</h3>
-
-<h3 id="body_qs">body_qs(Req, Opts) -> {ok, [{Name, Value}], Req2} | {badlength, Req2} | {error, Reason}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Opts = [body_opt()]</li>
-<li>Name = binary()</li>
-<li>Value = binary() | true</li>
-<li>Reason = chunked | badlength | atom()</li>
-</ul>
-
-<p>Return the request body as a list of tuples.</p>
-
-<p>This function will parse the body assuming the content-type application/x-www-form-urlencoded, commonly used for the query string.</p>
-
-<p>This function calls <code>body/2</code> for reading the body, with the same options it received. By default it will attempt to read a body of 64KB in one chunk, with a timeout of 5s. If the body is larger then a <code>badlength</code> tuple is returned.</p>
-
-<p>This function can only be called once. Cowboy will not cache the result of this call.</p>
-
-<h3 id="has_body">has_body(Req) -> boolean()</h3>
-
-<p>Return whether the request has a body.</p>
-
-<h3 id="part">part(Req) -> part(Req, [{length, 64000}, {read_length, 64000}, {read_timeout, 5000}])</h3>
-
-<h3 id="part">part(Req, Opts) -> {ok, Headers, Req2} | {done, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Opts = [body_opt()]</li>
-<li>Headers = cow_multipart:headers()</li>
-</ul>
-
-<p>Read the headers for the next part of the multipart message.</p>
-
-<p>Cowboy will skip any data remaining until the beginning of the next part. This includes the preamble to the multipart message but also the body of a previous part if it hasn't been read. Both are skipped automatically when calling this function.</p>
-
-<p>The headers returned are MIME headers, NOT HTTP headers. They can be parsed using the functions from the <code>cow_multipart</code> module. In addition, the <code>cow_multipart:form_data/1</code> function can be used to quickly figure out <code>multipart/form-data</code> messages. It takes the list of headers and returns whether this part is a simple form field or a file being uploaded.</p>
-
-<p>Note that once a part has been read, or skipped, it cannot be read again.</p>
-
-<p>This function calls <code>body/2</code> for reading the body, with the same options it received. By default it will only read chunks of 64KB with a timeout of 5s. This is tailored for reading part headers, not for skipping the previous part's body. You might want to consider skipping large parts manually.</p>
-
-<h3 id="part_body">part_body(Req) -> part_body(Req, [])</h3>
-
-<h3 id="part_body">part_body(Req, Opts) -> {ok, Data, Req2} | {more, Data, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Opts = [body_opt()]</li>
-<li>Data = binary()</li>
-</ul>
-
-<p>Read the body of the current part of the multipart message.</p>
-
-<p>This function calls <code>body/2</code> for reading the body, with the same options it received. It uses the same defaults.</p>
-
-<p>If there are more data to be read from the socket for this part, the function will return what it could read inside a <code>more</code> tuple. Otherwise, it will return an <code>ok</code> tuple.</p>
-
-<p>Calling this function again after receiving a <code>more</code> tuple will return another chunk of body. The last chunk will be returned inside an <code>ok</code> tuple.</p>
-
-<p>Note that once the body has been read, fully or partially, it cannot be read again.</p>
-
-<h2 id="response_related_exports">Response related exports</h2>
-
-<h3 id="chunk">chunk(Data, Req) -> ok | {error, Reason}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Data = iodata()</li>
-<li>Reason = atom()</li>
-</ul>
-
-<p>Send a chunk of data.</p>
-
-<p>This function should be called as many times as needed to send data chunks after calling <code>chunked_reply/{2,3}</code>.</p>
-
-<p>When the method is HEAD, no data will actually be sent.</p>
-
-<p>If the request uses HTTP/1.0, the data is sent directly without wrapping it in an HTTP/1.1 chunk, providing compatibility with older clients.</p>
-
-<h3 id="chunked_reply">chunked_reply(StatusCode, Req) -> chunked_reply(StatusCode, [], Req)</h3>
-
-<h3 id="chunked_reply">chunked_reply(StatusCode, Headers, Req) -> {ok, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>StatusCode = cowboy:http_status()</li>
-<li>Headers = cowboy:http_headers()</li>
-</ul>
-
-<p>Send a response using chunked transfer-encoding.</p>
-
-<p>This function effectively sends the response status line and headers to the client.</p>
-
-<p>This function will not send any body set previously. After this call the handler must use the <code>chunk/2</code> function repeatedly to send the body in as many chunks as needed.</p>
-
-<p>If the request uses HTTP/1.0, the data is sent directly without wrapping it in an HTTP/1.1 chunk, providing compatibility with older clients.</p>
-
-<p>This function can only be called once, with the exception of overriding the response in the <code>onresponse</code> hook.</p>
-
-<h3 id="continue">continue(Req) -> ok | {error, Reason}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Reason = atom()</li>
-</ul>
-
-<p>Send a 100 Continue intermediate reply.</p>
-
-<p>This reply is required before the client starts sending the body when the request contains the <code>expect</code> header with the <code>100-continue</code> value.</p>
-
-<p>Cowboy will send this automatically when required. However you may want to do it manually by disabling this behavior with the <code>continue</code> body option and then calling this function.</p>
-
-<h3 id="delete_resp_header">delete_resp_header(Name, Req) -> Req2</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-</ul>
-
-<p>Delete the given response header.</p>
-
-<p>While header names are case insensitive, this function expects the name to be a lowercase binary.</p>
-
-<h3 id="has_resp_body">has_resp_body(Req) -> boolean()</h3>
-
-<p>Return whether a response body has been set.</p>
-
-<p>This function will return false if a response body has been set with a length of 0.</p>
-
-<h3 id="has_resp_header">has_resp_header(Name, Req) -> boolean()</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-</ul>
-
-<p>Return whether the given response header has been set.</p>
-
-<p>While header names are case insensitive, this function expects the name to be a lowercase binary.</p>
-
-<h3 id="reply">reply(StatusCode, Req) -> reply(StatusCode, [], Req)</h3>
-
-<h3 id="reply">reply(StatusCode, Headers, Req) - see below</h3>
-
-<h3 id="reply">reply(StatusCode, Headers, Body, Req) -> {ok, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>StatusCode = cowboy:http_status()</li>
-<li>Headers = cowboy:http_headers()</li>
-<li>Body = iodata()</li>
-</ul>
-
-<p>Send a response.</p>
-
-<p>This function effectively sends the response status line, headers and body to the client, in a single send function call.</p>
-
-<p>The <code>reply/2</code> and <code>reply/3</code> functions will send the body set previously, if any. The <code>reply/4</code> function overrides any body set previously and sends <code>Body</code> instead.</p>
-
-<p>If a body function was set, and <code>reply/2</code> or <code>reply/3</code> was used, it will be called before returning.</p>
-
-<p>No more data can be sent to the client after this function returns.</p>
-
-<p>This function can only be called once, with the exception of overriding the response in the <code>onresponse</code> hook.</p>
-
-<h3 id="set_resp_body">set_resp_body(Body, Req) -> Req2</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Body = iodata()</li>
-</ul>
-
-<p>Set a response body.</p>
-
-<p>This body will not be sent if <code>chunked_reply/{2,3}</code> or <code>reply/4</code> is used, as they override it.</p>
-
-<h3 id="set_resp_body_fun">set_resp_body_fun(Fun, Req) -> Req2</h3>
-
-<h3 id="set_resp_body_fun">set_resp_body_fun(Length, Fun, Req) -> Req2</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Fun = fun((Socket, Transport) -> ok)</li>
-<li>Socket = inet:socket()</li>
-<li>Transport = module()</li>
-<li>Length = non_neg_integer()</li>
-</ul>
-
-<p>Set a fun for sending the response body.</p>
-
-<p>If a <code>Length</code> is provided, it will be sent in the content-length header in the response. It is recommended to set the length if it can be known in advance. Otherwise, the transfer-encoding header will be set to identity.</p>
-
-<p>This function will only be called if the response is sent using the <code>reply/2</code> or <code>reply/3</code> function.</p>
-
-<p>The fun will receive the Ranch <code>Socket</code> and <code>Transport</code> as arguments. Only send and sendfile operations are supported.</p>
-
-<h3 id="set_resp_body_fun">set_resp_body_fun(chunked, Fun, Req) -> Req2</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Fun = fun((ChunkFun) -> ok)</li>
-<li>ChunkFun = fun((iodata()) -> ok | {error, atom()})</li>
-</ul>
-
-<p>Set a fun for sending the response body using chunked transfer-encoding.</p>
-
-<p>This function will only be called if the response is sent using the <code>reply/2</code> or <code>reply/3</code> function.</p>
-
-<p>The fun will receive another fun as argument. This fun is to be used to send chunks in a similar way to the <code>chunk/2</code> function, except the fun only takes one argument, the data to be sent in the chunk.</p>
-
-<h3 id="set_resp_cookie">set_resp_cookie(Name, Value, Opts, Req) -> Req2</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = iodata()</li>
-<li>Value = iodata()</li>
-<li>Opts = cookie_opts()</li>
-</ul>
-
-<p>Set a cookie in the response.</p>
-
-<p>Cookie names are case sensitive.</p>
-
-<h3 id="set_resp_header">set_resp_header(Name, Value, Req) -> Req2</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-<li>Value = iodata()</li>
-</ul>
-
-<p>Set a response header.</p>
-
-<p>You should use <code>set_resp_cookie/4</code> instead of this function to set cookies.</p>
-
-<h2 id="misc._exports">Misc. exports</h2>
-
-<h3 id="compact">compact(Req) -> Req2</h3>
-
-<p>Remove any non-essential data from the Req object.</p>
-
-<p>Long-lived connections usually only need to manipulate the Req object at initialization. Compacting allows saving up memory by discarding extraneous information.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/cowboy_rest/index.html b/_build/static/docs/en/cowboy/1.0/manual/cowboy_rest/index.html
deleted file mode 100644
index f2a275b3..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/cowboy_rest/index.html
+++ /dev/null
@@ -1,698 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_rest</span></h1>
-
-<p>The <code>cowboy_rest</code> module implements REST semantics on top of the HTTP protocol.</p>
-
-<p>This module cannot be described as a behaviour due to most of the callbacks it defines being optional. It has the same semantics as a behaviour otherwise.</p>
-
-<p>The only mandatory callback is <code>init/3</code>, needed to perform the protocol upgrade.</p>
-
-<h2 id="types">Types</h2>
-
-<p>None.</p>
-
-<h2 id="meta_values">Meta values</h2>
-
-<h3 id="charset">charset</h3>
-
-<p>Type: binary()</p>
-
-<p>Negotiated charset.</p>
-
-<p>This value may not be defined if no charset was negotiated.</p>
-
-<h3 id="language">language</h3>
-
-<p>Type: binary()</p>
-
-<p>Negotiated language.</p>
-
-<p>This value may not be defined if no language was negotiated.</p>
-
-<h3 id="media_type">media_type</h3>
-
-<p>Type: {binary(), binary(), '*' | [{binary(), binary()}]}</p>
-
-<p>Negotiated media-type.</p>
-
-<p>The media-type is the content-type, excluding the charset.</p>
-
-<p>This value is always defined after the call to <code>content_types_provided/2</code>.</p>
-
-<h2 id="callbacks">Callbacks</h2>
-
-<h3 id="init">init({TransportName, ProtocolName}, Req, Opts) -> {upgrade, protocol, cowboy_rest} | {upgrade, protocol, cowboy_rest, Req, Opts}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>TransportName = tcp | ssl | atom()</li>
-<li>ProtocolName = http | atom()</li>
-<li>Req = cowboy_req:req()</li>
-<li>Opts = any()</li>
-</ul>
-
-<p>Upgrade the protocol to <code>cowboy_rest</code>.</p>
-
-<p>This is the only mandatory callback.</p>
-
-<h3 id="rest_init">rest_init(Req, Opts) -> {ok, Req, State}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Req = cowboy_req:req()</li>
-<li>Opts = any()</li>
-<li>State = any()</li>
-</ul>
-
-<p>Initialize the state for this request.</p>
-
-<h3 id="rest_terminate">rest_terminate(Req, State) -> ok</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-</ul>
-
-<p>Perform any necessary cleanup of the state.</p>
-
-<p>This callback should release any resource currently in use, clear any active timer and reset the process to its original state, as it might be reused for future requests sent on the same connection.</p>
-
-<h3 id="callback">Callback(Req, State) -> {Value, Req, State} | {halt, Req, State}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Callback - one of the REST callbacks described below</li>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-<li>Value - see the REST callbacks description below</li>
-</ul>
-
-<p>Please see the REST callbacks description below for details on the <code>Value</code> type, the default value if the callback is not defined, and more general information on when the callback is called and what its intended use is.</p>
-
-<p>The <code>halt</code> tuple can be returned to stop REST processing. It is up to the resource code to send a reply before that, otherwise a <code>204 No Content</code> will be sent.</p>
-
-<h2 id="rest_callbacks_description">REST callbacks description</h2>
-
-<h3 id="allowed_methods">allowed_methods</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: [binary()]</li>
-<li>Default value: [<<"GET">>, <<"HEAD">>, <<"OPTIONS">>]</li>
-</ul>
-
-<p>Return the list of allowed methods.</p>
-
-<p>Methods are case sensitive. Standard methods are always uppercase.</p>
-
-<h3 id="allow_missing_post">allow_missing_post</h3>
-
-<ul>
-<li>Methods: POST</li>
-<li>Value type: boolean()</li>
-<li>Default value: true</li>
-</ul>
-
-<p>Return whether POST is allowed when the resource doesn't exist.</p>
-
-<p>Returning <code>true</code> here means that a new resource will be created. The URL to the created resource should also be returned from the <code>AcceptResource</code> callback.</p>
-
-<h3 id="charsets_provided">charsets_provided</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Value type: [binary()]</li>
-<li>Skip to the next step if undefined</li>
-</ul>
-
-<p>Return the list of charsets the resource provides.</p>
-
-<p>The list must be ordered in order of preference.</p>
-
-<p>If the accept-charset header was not sent, the first charset in the list will be selected. Otherwise Cowboy will select the most appropriate charset from the list.</p>
-
-<p>The chosen charset will be set in the <code>Req</code> object as the meta value <code>charset</code>.</p>
-
-<p>While charsets are case insensitive, this callback is expected to return them as lowercase binary.</p>
-
-<h3 id="content_types_accepted">content_types_accepted</h3>
-
-<ul>
-<li>Methods: POST, PUT, PATCH</li>
-<li>No default</li>
-</ul>
-
-<p>Types:</p>
-
-<ul>
-<li>Value = [{binary() | {Type, SubType, Params}, AcceptResource}]</li>
-<li>Type = SubType = binary()</li>
-<li>Params = '*' | [{binary(), binary()}]</li>
-<li>AcceptResource = atom()</li>
-</ul>
-
-<p>Return the list of content-types the resource accepts.</p>
-
-<p>The list must be ordered in order of preference.</p>
-
-<p>Each content-type can be given either as a binary string or as a tuple containing the type, subtype and parameters.</p>
-
-<p>Cowboy will select the most appropriate content-type from the list. If any parameter is acceptable, then the tuple form should be used with parameters set to <code>'*'</code>. If the parameters value is set to <code>[]</code> only content-type values with no parameters will be accepted. All parameter values are treated in a case sensitive manner except the <code>charset</code> parameter, if present, which is case insensitive.</p>
-
-<p>This function will be called for POST, PUT and PATCH requests. It is entirely possible to define different callbacks for different methods if the handling of the request differs. Simply verify what the method is with <code>cowboy_req:method/1</code> and return a different list for each methods.</p>
-
-<p>The <code>AcceptResource</code> value is the name of the callback that will be called if the content-type matches. It is defined as follow.</p>
-
-<ul>
-<li>Value type: true | {true, URL} | false</li>
-<li>No default</li>
-</ul>
-
-<p>Process the request body.</p>
-
-<p>This function should create or update the resource with the information contained in the request body. This information may be full or partial depending on the request method.</p>
-
-<p>If the request body was processed successfully, <code>true</code> must be returned. If the request method is POST, <code>{true, URL}</code> may be returned instead, and Cowboy will redirect the client to the location of the newly created resource.</p>
-
-<p>If a response body must be sent, the appropriate media-type, charset and language can be retrieved using the <code>cowboy_req:meta/{2,3}</code> functions. The respective keys are <code>media_type</code>, <code>charset</code> and <code>language</code>. The body can be set using <code>cowboy_req:set_resp_body/2</code>.</p>
-
-<h3 id="content_types_provided">content_types_provided</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Default value: [{{<<"text">>, <<"html">>, '*'}, to_html}]</li>
-</ul>
-
-<p>Types:</p>
-
-<ul>
-<li>Value = [{binary() | {Type, SubType, Params}, ProvideResource}]</li>
-<li>Type = SubType = binary()</li>
-<li>Params = '*' | [{binary(), binary()}]</li>
-<li>ProvideResource = atom()</li>
-</ul>
-
-<p>Return the list of content-types the resource provides.</p>
-
-<p>The list must be ordered in order of preference.</p>
-
-<p>Each content-type can be given either as a binary string or as a tuple containing the type, subtype and parameters.</p>
-
-<p>Cowboy will select the most appropriate content-type from the list. If any parameter is acceptable, then the tuple form should be used with parameters set to <code>'*'</code>. If the parameters value is set to <code>[]</code> only content-type values with no parameters will be accepted. All parameter values are treated in a case sensitive manner except the <code>charset</code> parameter, if present, which is case insensitive.</p>
-
-<p>The <code>ProvideResource</code> value is the name of the callback that will be called if the content-type matches. It will only be called when a representation of the resource needs to be returned. It is defined as follow.</p>
-
-<ul>
-<li>Methods: GET, HEAD</li>
-<li>Value type: iodata() | {stream, Fun} | {stream, Len, Fun} | {chunked, ChunkedFun}</li>
-<li>No default</li>
-</ul>
-
-<p>Return the response body.</p>
-
-<p>The response body may be provided directly or through a fun. If a fun tuple is returned, the appropriate <code>set_resp_body_fun</code> function will be called. Please refer to the documentation for these functions for more information about the types.</p>
-
-<p>The call to this callback happens a good time after the call to <code>content_types_provided/2</code>, when it is time to start rendering the response body.</p>
-
-<h3 id="delete_completed">delete_completed</h3>
-
-<ul>
-<li>Methods: DELETE</li>
-<li>Value type: boolean()</li>
-<li>Default value: true</li>
-</ul>
-
-<p>Return whether the delete action has been completed.</p>
-
-<p>This function should return <code>false</code> if there is no guarantee that the resource gets deleted immediately from the system, including from any internal cache.</p>
-
-<p>When this function returns <code>false</code>, a <code>202 Accepted</code> response will be sent instead of a <code>200 OK</code> or <code>204 No Content</code>.</p>
-
-<h3 id="delete_resource">delete_resource</h3>
-
-<ul>
-<li>Methods: DELETE</li>
-<li>Value type: boolean()</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Delete the resource.</p>
-
-<p>The value returned indicates if the action was successful, regardless of whether the resource is immediately deleted from the system.</p>
-
-<h3 id="expires">expires</h3>
-
-<ul>
-<li>Methods: GET, HEAD</li>
-<li>Value type: calendar:datetime() | binary() | undefined</li>
-<li>Default value: undefined</li>
-</ul>
-
-<p>Return the date of expiration of the resource.</p>
-
-<p>This date will be sent as the value of the expires header.</p>
-
-<h3 id="forbidden">forbidden</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: boolean()</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Return whether access to the resource is forbidden.</p>
-
-<p>A <code>403 Forbidden</code> response will be sent if this function returns <code>true</code>. This status code means that access is forbidden regardless of authentication, and that the request shouldn't be repeated.</p>
-
-<h3 id="generate_etag">generate_etag</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Value type: binary() | {weak | strong, binary()}</li>
-<li>Default value: undefined</li>
-</ul>
-
-<p>Return the entity tag of the resource.</p>
-
-<p>This value will be sent as the value of the etag header.</p>
-
-<p>If a binary is returned, then the value will be parsed to the tuple form automatically. The value must be in the same format as the etag header, including quotes.</p>
-
-<h3 id="is_authorized">is_authorized</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: true | {false, AuthHeader}</li>
-<li>Default value: true</li>
-</ul>
-
-<p>Return whether the user is authorized to perform the action.</p>
-
-<p>This function should be used to perform any necessary authentication of the user before attempting to perform any action on the resource.</p>
-
-<p>If the authentication fails, the value returned will be sent as the value for the www-authenticate header in the <code>401 Unauthorized</code> response.</p>
-
-<h3 id="is_conflict">is_conflict</h3>
-
-<ul>
-<li>Methods: PUT</li>
-<li>Value type: boolean()</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Return whether the put action results in a conflict.</p>
-
-<p>A <code>409 Conflict</code> response will be sent if this function returns <code>true</code>.</p>
-
-<h3 id="known_content_type">known_content_type</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: boolean()</li>
-<li>Default value: true</li>
-</ul>
-
-<p>Return whether the content-type is known.</p>
-
-<p>This function determines if the server understands the content-type, regardless of its use by the resource.</p>
-
-<h3 id="known_methods">known_methods</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: [binary()]</li>
-<li>Default value: [<<"GET">>, <<"HEAD">>, <<"POST">>, <<"PUT">>, <<"PATCH">>, <<"DELETE">>, <<"OPTIONS">>]</li>
-</ul>
-
-<p>Return the list of known methods.</p>
-
-<p>The full list of methods known by the server should be returned, regardless of their use in the resource.</p>
-
-<p>The default value lists the methods Cowboy knows and implement in <code>cowboy_rest</code>.</p>
-
-<p>Methods are case sensitive. Standard methods are always uppercase.</p>
-
-<h3 id="languages_provided">languages_provided</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Value type: [binary()]</li>
-<li>Skip to the next step if undefined</li>
-</ul>
-
-<p>Return the list of languages the resource provides.</p>
-
-<p>The list must be ordered in order of preference.</p>
-
-<p>If the accept-language header was not sent, the first language in the list will be selected. Otherwise Cowboy will select the most appropriate language from the list.</p>
-
-<p>The chosen language will be set in the <code>Req</code> object as the meta value <code>language</code>.</p>
-
-<p>While languages are case insensitive, this callback is expected to return them as lowercase binary.</p>
-
-<h3 id="last_modified">last_modified</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Value type: calendar:datetime()</li>
-<li>Default value: undefined</li>
-</ul>
-
-<p>Return the date of last modification of the resource.</p>
-
-<p>This date will be used to test against the if-modified-since and if-unmodified-since headers, and sent as the last-modified header in the response of GET and HEAD requests.</p>
-
-<h3 id="malformed_request">malformed_request</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: boolean()</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Return whether the request is malformed.</p>
-
-<p>Cowboy has already performed all the necessary checks by the time this function is called, so few resources are expected to implement it.</p>
-
-<p>The check is to be done on the request itself, not on the request body, which is processed later.</p>
-
-<h3 id="moved_permanently">moved_permanently</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Value type: {true, URL} | false</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Return whether the resource was permanently moved.</p>
-
-<p>If it was, its new URL is also returned and sent in the location header in the response.</p>
-
-<h3 id="moved_temporarily">moved_temporarily</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PATCH, DELETE</li>
-<li>Value type: {true, URL} | false</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Return whether the resource was temporarily moved.</p>
-
-<p>If it was, its new URL is also returned and sent in the location header in the response.</p>
-
-<h3 id="multiple_choices">multiple_choices</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Value type: boolean()</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Return whether there are multiple representations of the resource.</p>
-
-<p>This function should be used to inform the client if there are different representations of the resource, for example different content-type. If this function returns <code>true</code>, the response body should include information about these different representations using <code>cowboy_req:set_resp_body/2</code>. The content-type of the response should be the one previously negociated and that can be obtained by calling <code>cowboy_req:meta(media_type, Req)</code>.</p>
-
-<h3 id="options">options</h3>
-
-<ul>
-<li>Methods: OPTIONS</li>
-<li>Value type: ok</li>
-<li>Default value: ok</li>
-</ul>
-
-<p>Handle a request for information.</p>
-
-<p>The response should inform the client the communication options available for this resource.</p>
-
-<p>By default, Cowboy will send a <code>200 OK</code> response with the allow header set.</p>
-
-<h3 id="previously_existed">previously_existed</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PATCH, DELETE</li>
-<li>Value type: boolean()</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Return whether the resource existed previously.</p>
-
-<h3 id="resource_exists">resource_exists</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Value type: boolean()</li>
-<li>Default value: true</li>
-</ul>
-
-<p>Return whether the resource exists.</p>
-
-<p>If it exists, conditional headers will be tested before attempting to perform the action. Otherwise, Cowboy will check if the resource previously existed first.</p>
-
-<h3 id="service_available">service_available</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: boolean()</li>
-<li>Default value: true</li>
-</ul>
-
-<p>Return whether the service is available.</p>
-
-<p>This function can be used to test that all relevant backend systems are up and able to handle requests.</p>
-
-<p>A <code>503 Service Unavailable</code> response will be sent if this function returns <code>false</code>.</p>
-
-<h3 id="uri_too_long">uri_too_long</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: boolean()</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Return whether the requested URI is too long.</p>
-
-<p>Cowboy has already performed all the necessary checks by the time this function is called, so few resources are expected to implement it.</p>
-
-<p>A <code>414 Request-URI Too Long</code> response will be sent if this function returns <code>true</code>.</p>
-
-<h3 id="valid_content_headers">valid_content_headers</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: boolean()</li>
-<li>Default value: true</li>
-</ul>
-
-<p>Return whether the content-* headers are valid.</p>
-
-<p>This also applies to the transfer-encoding header. This function must return <code>false</code> for any unknown content-* headers, or if the headers can't be understood. The function <code>cowboy_req:parse_header/2</code> can be used to quickly check the headers can be parsed.</p>
-
-<p>A <code>501 Not Implemented</code> response will be sent if this function returns <code>false</code>.</p>
-
-<h3 id="valid_entity_length">valid_entity_length</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: boolean()</li>
-<li>Default value: true</li>
-</ul>
-
-<p>Return whether the request body length is within acceptable boundaries.</p>
-
-<p>A <code>413 Request Entity Too Large</code> response will be sent if this function returns <code>false</code>.</p>
-
-<h3 id="variances">variances</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Value type: [binary()]</li>
-<li>Default value: []</li>
-</ul>
-
-<p>Return the list of headers that affect the representation of the resource.</p>
-
-<p>These request headers return the same resource but with different parameters, like another language or a different content-type.</p>
-
-<p>Cowboy will automatically add the accept, accept-language and accept-charset headers to the list if the respective functions were defined in the resource.</p>
-
-<p>This operation is performed right before the <code>resource_exists/2</code> callback. All responses past that point will contain the vary header which holds this list.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/cowboy_router/index.html b/_build/static/docs/en/cowboy/1.0/manual/cowboy_router/index.html
deleted file mode 100644
index 23223ea9..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/cowboy_router/index.html
+++ /dev/null
@@ -1,247 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_router</span></h1>
-
-<p>The <code>cowboy_router</code> middleware maps the requested host and path to the handler to be used for processing the request. It uses the dispatch rules compiled from the routes given to the <code>compile/1</code> function for this purpose. It adds the handler name and options to the environment as the values <code>handler</code> and <code>handler_opts</code> respectively.</p>
-
-<p>Environment input:</p>
-
-<ul>
-<li>dispatch = dispatch_rules()</li>
-</ul>
-
-<p>Environment output:</p>
-
-<ul>
-<li>handler = module()</li>
-<li>handler_opts = any()</li>
-</ul>
-
-<h2 id="types">Types</h2>
-
-<h3 id="bindings">bindings() = [{atom(), binary()}]</h3>
-
-<p>List of bindings found during routing.</p>
-
-<h3 id="constraints">constraints() = [IntConstraint | FunConstraint]</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>IntConstraint = {atom(), int}</li>
-<li>FunConstraint = {atom(), function, Fun}</li>
-<li>Fun = fun((binary()) -> true | {true, any()} | false)</li>
-</ul>
-
-<p>List of constraints to apply to the bindings.</p>
-
-<p>The int constraint will convert the binding to an integer. The fun constraint allows writing custom code for checking the bindings. Returning a new value from that fun allows replacing the current binding with a new value.</p>
-
-<h3 id="dispatch_rules">dispatch_rules() - opaque to the user</h3>
-
-<p>Rules for dispatching request used by Cowboy.</p>
-
-<h3 id="routes">routes() = [{Host, Paths} | {Host, constraints(), Paths}]</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Host = Path = '_' | iodata()</li>
-<li>Paths = [{Path, Handler, Opts} | {Path, constraints(), Handler, Opts}]</li>
-<li>Handler = module()</li>
-<li>Opts = any()</li>
-</ul>
-
-<p>Human readable list of routes mapping hosts and paths to handlers.</p>
-
-<p>The syntax for routes is defined in the user guide.</p>
-
-<h3 id="tokens">tokens() = [binary()]</h3>
-
-<p>List of host_info and path_info tokens found during routing.</p>
-
-<h2 id="exports">Exports</h2>
-
-<h3 id="compile">compile(Routes) -> Dispatch</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Routes = routes()</li>
-<li>Dispatch = dispatch_rules()</li>
-</ul>
-
-<p>Compile the routes for use by Cowboy.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html b/_build/static/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html
deleted file mode 100644
index eb4460be..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html
+++ /dev/null
@@ -1,212 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_spdy</span></h1>
-
-<p>The <code>cowboy_spdy</code> module implements SPDY/3 as a Ranch protocol.</p>
-
-<h2 id="types">Types</h2>
-
-<h3 id="opts">opts() = [{env, cowboy_middleware:env()} | {middlewares, [module()]} | {onrequest, cowboy:onrequest_fun()} | {onresponse, cowboy:onresponse_fun()}]</h3>
-
-<p>Configuration for the SPDY protocol handler.</p>
-
-<p>This configuration is passed to Cowboy when starting listeners using the <code>cowboy:start_spdy/4</code> function.</p>
-
-<p>It can be updated without restarting listeners using the Ranch functions <code>ranch:get_protocol_options/1</code> and <code>ranch:set_protocol_options/2</code>.</p>
-
-<h2 id="option_descriptions">Option descriptions</h2>
-
-<p>The default value is given next to the option name.</p>
-
-<h3 id="env ">env ([{listener, Ref}])</h3>
-
-<p>Initial middleware environment.</p>
-
-<h3 id="middlewares ">middlewares ([cowboy_router, cowboy_handler])</h3>
-
-<p>List of middlewares to execute for every requests.</p>
-
-<h3 id="onrequest ">onrequest (undefined)</h3>
-
-<p>Fun called every time a request is received.</p>
-
-<h3 id="onresponse ">onresponse (undefined)</h3>
-
-<p>Fun called every time a response is sent.</p>
-
-<h2 id="exports">Exports</h2>
-
-<p>None.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/cowboy_static/index.html b/_build/static/docs/en/cowboy/1.0/manual/cowboy_static/index.html
deleted file mode 100644
index 6611a607..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/cowboy_static/index.html
+++ /dev/null
@@ -1,194 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_static</span></h1>
-
-<p>The <code>cowboy_static</code> module implements file serving capabilities by using the REST semantics provided by <code>cowboy_rest</code>.</p>
-
-<h2 id="types">Types</h2>
-
-<h3 id="opts">opts() = {priv_file, atom(), string() | binary()} | {priv_file, atom(), string() | binary(), extra()} | {file, string() | binary()} | {file, string() | binary(), extra()} | {priv_dir, atom(), string() | binary()} | {priv_dir, atom(), string() | binary(), extra()} | {dir, string() | binary()} | {dir, string() | binary(), extra()}</h3>
-
-<p>Configuration for the static handler.</p>
-
-<p>The handler can be configured for sending either one file or a directory (including its subdirectories).</p>
-
-<p>Extra options allow you to define how the etag should be calculated and how the mimetype of files should be detected. They are defined as follow, but do note that these types are not exported, only the <code>opts/0</code> type is public.</p>
-
-<h3 id="extra">extra() = [extra_etag() | extra_mimetypes()]</h3>
-
-<h3 id="extra_etag">extra_etag() = {etag, module(), function()} | {etag, false}</h3>
-
-<h3 id="extra_mimetypes">extra_mimetypes() = {mimetypes, module(), function()} | {mimetypes, binary() | {binary(), binary(), [{binary(), binary()}]}}</h3>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/cowboy_sub_protocol/index.html b/_build/static/docs/en/cowboy/1.0/manual/cowboy_sub_protocol/index.html
deleted file mode 100644
index 9fce2fb3..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/cowboy_sub_protocol/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_sub_protocol</span></h1>
-
-<p>The <code>cowboy_sub_protocol</code> behaviour defines the interface used by modules that implement a protocol on top of HTTP.</p>
-
-<h2 id="types">Types</h2>
-
-<p>None.</p>
-
-<h2 id="callbacks">Callbacks</h2>
-
-<h3 id="upgrade">upgrade(Req, Env, Handler, Opts) -> {ok, Req, Env} | {suspend, Module, Function, Args} | {halt, Req} | {error, StatusCode, Req}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Req = cowboy_req:req()</li>
-<li>Env = env()</li>
-<li>Handler = module()</li>
-<li>Opts = any()</li>
-<li>Module = module()</li>
-<li>Function = atom()</li>
-<li>Args = [any()]</li>
-<li>StatusCode = cowboy:http_status()</li>
-</ul>
-
-<p>Upgrade the protocol.</p>
-
-<p>Please refer to the <code>cowboy_middleware</code> manual for a description of the return values.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/cowboy_websocket/index.html b/_build/static/docs/en/cowboy/1.0/manual/cowboy_websocket/index.html
deleted file mode 100644
index bca70230..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/cowboy_websocket/index.html
+++ /dev/null
@@ -1,208 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_websocket</span></h1>
-
-<p>The <code>cowboy_websocket</code> module implements the Websocket protocol.</p>
-
-<p>The callbacks for websocket handlers are defined in the manual for the <code>cowboy_websocket_handler</code> behaviour.</p>
-
-<h2 id="types">Types</h2>
-
-<h3 id="close_code">close_code() = 1000..4999</h3>
-
-<p>Reason for closing the connection.</p>
-
-<h3 id="frame">frame() = close | ping | pong | {text | binary | close | ping | pong, iodata()} | {close, close_code(), iodata()}</h3>
-
-<p>Frames that can be sent to the client.</p>
-
-<h2 id="meta_values">Meta values</h2>
-
-<h3 id="websocket_compress">websocket_compress</h3>
-
-<p>Type: true | false</p>
-
-<p>Whether a websocket compression extension in in use.</p>
-
-<h3 id="websocket_version">websocket_version</h3>
-
-<p>Type: 7 | 8 | 13</p>
-
-<p>The version of the Websocket protocol being used.</p>
-
-<h2 id="exports">Exports</h2>
-
-<p>None.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html b/_build/static/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html
deleted file mode 100644
index 71ab1e36..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html
+++ /dev/null
@@ -1,273 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_websocket_handler</span></h1>
-
-<p>The <code>cowboy_websocket_handler</code> behaviour defines the interface used by Websocket handlers.</p>
-
-<p>The <code>init/3</code> and <code>websocket_init/3</code> callbacks will always be called, followed by zero or more calls to <code>websocket_handle/3</code> and <code>websocket_info/3</code>. The <code>websocket_terminate/3</code> will always be called last.</p>
-
-<h2 id="types">Types</h2>
-
-<p>None.</p>
-
-<h2 id="callbacks">Callbacks</h2>
-
-<h3 id="init">init({TransportName, ProtocolName}, Req, Opts) -> {upgrade, protocol, cowboy_websocket} | {upgrade, protocol, cowboy_websocket, Req, Opts}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>TransportName = tcp | ssl | atom()</li>
-<li>ProtocolName = http | atom()</li>
-<li>Req = cowboy_req:req()</li>
-<li>Opts = any()</li>
-</ul>
-
-<p>Upgrade the protocol to <code>cowboy_websocket</code>.</p>
-
-<h3 id="websocket_init">websocket_init(TransportName, Req, Opts) -> {ok, Req, State} | {ok, Req, State, hibernate} | {ok, Req, State, Timeout} | {ok, Req, State, Timeout, hibernate} | {shutdown, Req}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>TransportName = tcp | ssl | atom()</li>
-<li>Req = cowboy_req:req()</li>
-<li>Opts = any()</li>
-<li>State = any()</li>
-<li>Timeout = timeout()</li>
-</ul>
-
-<p>Initialize the state for this session.</p>
-
-<p>This function is called before the upgrade to Websocket occurs. It can be used to negotiate Websocket protocol extensions with the client. It will typically be used to register this process to an event manager or a message queue in order to receive the messages the handler wants to process.</p>
-
-<p>The connection will stay up for a duration of up to <code>Timeout</code> milliseconds after it last received data from the socket, at which point it will stop and close the connection. By default this value is set to <code>infinity</code>. It is recommended to either set this value or ensure by any other mechanism that the handler will be closed after a certain period of inactivity.</p>
-
-<p>The <code>hibernate</code> option will hibernate the process until it starts receiving either data from the Websocket connection or Erlang messages.</p>
-
-<p>The <code>shutdown</code> return value can be used to close the connection before upgrading to Websocket.</p>
-
-<h3 id="websocket_handle">websocket_handle(InFrame, Req, State) -> {ok, Req, State} | {ok, Req, State, hibernate} | {reply, OutFrame | [OutFrame], Req, State} | {reply, OutFrame | [OutFrame], Req, State, hibernate} | {shutdown, Req, State}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>InFrame = {text | binary | ping | pong, binary()}</li>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-<li>OutFrame = cowboy_websocket:frame()</li>
-</ul>
-
-<p>Handle the data received from the Websocket connection.</p>
-
-<p>This function will be called every time data is received from the Websocket connection.</p>
-
-<p>The <code>shutdown</code> return value can be used to close the connection. A close reply will also result in the connection being closed.</p>
-
-<p>The <code>hibernate</code> option will hibernate the process until it receives new data from the Websocket connection or an Erlang message.</p>
-
-<h3 id="websocket_info">websocket_info(Info, Req, State) -> {ok, Req, State} | {ok, Req, State, hibernate} | {reply, OutFrame | [OutFrame], Req, State} | {reply, OutFrame | [OutFrame], Req, State, hibernate} | {shutdown, Req, State}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Info = any()</li>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-<li>OutFrame = cowboy_websocket:frame()</li>
-</ul>
-
-<p>Handle the Erlang message received.</p>
-
-<p>This function will be called every time an Erlang message has been received. The message can be any Erlang term.</p>
-
-<p>The <code>shutdown</code> return value can be used to close the connection. A close reply will also result in the connection being closed.</p>
-
-<p>The <code>hibernate</code> option will hibernate the process until it receives another message or new data from the Websocket connection.</p>
-
-<h3 id="websocket_terminate">websocket_terminate(Reason, Req, State) -> ok</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Reason = {normal, shutdown | timeout} | {remote, closed} | {remote, cowboy_websocket:close_code(), binary()} | {error, badencoding | badframe | closed | atom()}</li>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-</ul>
-
-<p>Perform any necessary cleanup of the state.</p>
-
-<p>The connection will be closed and the process stopped right after this call.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/http_status_codes/index.html b/_build/static/docs/en/cowboy/1.0/manual/http_status_codes/index.html
deleted file mode 100644
index d7dbf7b7..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/http_status_codes/index.html
+++ /dev/null
@@ -1,305 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>HTTP status codes</span></h1>
-
-<p>This chapter aims to list all HTTP status codes that Cowboy may return, with details on the reasons why. The list given here only includes the replies that Cowboy sends, not user replies.</p>
-
-<h3 id="100 continue">100 Continue</h3>
-
-<p>When the client sends an <code>expect: 100-continue</code> header, Cowboy automatically sends a this status code before trying to read the request body. This behavior can be disabled using the appropriate body option.</p>
-
-<h3 id="101 switching protocols">101 Switching Protocols</h3>
-
-<p>This is the status code sent when switching to the Websocket protocol.</p>
-
-<h3 id="200 ok">200 OK</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="201 created">201 Created</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="202 accepted">202 Accepted</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="204 no content">204 No Content</h3>
-
-<p>This status code is sent when the processing of a request ends without any reply having been sent. It may also be sent by <code>cowboy_rest</code> under normal conditions.</p>
-
-<h3 id="300 multiple choices">300 Multiple Choices</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="301 moved permanently">301 Moved Permanently</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="303 see other">303 See Other</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="304 not modified">304 Not Modified</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="307 temporary redirect">307 Temporary Redirect</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="400 bad request">400 Bad Request</h3>
-
-<p>Cowboy will send this status code for any of the following reasons:</p>
-
-<ul>
-<li>Too many empty lines were sent before the request.</li>
-<li>The request-line could not be parsed.</li>
-<li>Too many headers were sent.</li>
-<li>A header name was too long.</li>
-<li>A header value was too long.</li>
-<li>The host header was missing from an HTTP/1.1 request.</li>
-<li>The host header could not be parsed.</li>
-<li>The requested host was not found.</li>
-<li>The requested path could not be parsed.</li>
-<li>The accept header could not be parsed when using REST.</li>
-<li>REST under normal conditions.</li>
-<li>A Websocket upgrade failed.</li>
-</ul>
-
-<h3 id="401 unauthorized">401 Unauthorized</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="403 forbidden">403 Forbidden</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="404 not found">404 Not Found</h3>
-
-<p>This status code is sent when the router successfully resolved the host but didn't find a matching path for the request. It may also be sent by <code>cowboy_rest</code> under normal conditions.</p>
-
-<h3 id="405 method not allowed">405 Method Not Allowed</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="406 not acceptable">406 Not Acceptable</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="408 request timeout">408 Request Timeout</h3>
-
-<p>Cowboy will send this status code to the client if the client started to send a request, indicated by the request-line being received fully, but failed to send all headers in a reasonable time.</p>
-
-<h3 id="409 conflict">409 Conflict</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="410 gone">410 Gone</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="412 precondition failed">412 Precondition Failed</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="413 request entity too large">413 Request Entity Too Large</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="414 request-uri too long">414 Request-URI Too Long</h3>
-
-<p>Cowboy will send this status code to the client if the request-line is too long. It may also be sent by <code>cowboy_rest</code> under normal conditions.</p>
-
-<h3 id="415 unsupported media type">415 Unsupported Media Type</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="500 internal server error">500 Internal Server Error</h3>
-
-<p>This status code is sent when a crash occurs in HTTP, loop or REST handlers, or when an invalid return value is returned. It may also be sent by <code>cowboy_rest</code> under normal conditions.</p>
-
-<h3 id="501 not implemented">501 Not Implemented</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="503 service unavailable">503 Service Unavailable</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="505 http version not supported">505 HTTP Version Not Supported</h3>
-
-<p>Cowboy only supports the versions 1.0 and 1.1 of HTTP. In all other cases this status code is sent back to the client and the connection is closed.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/_build/static/docs/en/cowboy/1.0/manual/index.html b/_build/static/docs/en/cowboy/1.0/manual/index.html
deleted file mode 100644
index feaaa5b0..00000000
--- a/_build/static/docs/en/cowboy/1.0/manual/index.html
+++ /dev/null
@@ -1,197 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Cowboy Function Reference</span></h1>
-
-<p>The function reference documents the public interface of Cowboy.</p>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_app">The Cowboy Application</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy">cowboy</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_handler">cowboy_handler</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_http_handler">cowboy_http_handler</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_loop_handler">cowboy_loop_handler</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_middleware">cowboy_middleware</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_protocol">cowboy_protocol</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_req">cowboy_req</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_rest">cowboy_rest</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_router">cowboy_router</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_spdy">cowboy_spdy</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_static">cowboy_static</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_sub_protocol">cowboy_sub_protocol</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_websocket">cowboy_websocket</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_websocket_handler">cowboy_websocket_handler</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/http_status_codes">HTTP status codes</a></li>
-</ul>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/articles/asciideck/index.html b/articles/asciideck/index.html
index 84ddd17d..0c509a79 100644
--- a/articles/asciideck/index.html
+++ b/articles/asciideck/index.html
@@ -110,6 +110,10 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/cowboy-2.0.0-pre.4/index.html b/articles/cowboy-2.0.0-pre.4/index.html
index 9eac8c92..7845f771 100644
--- a/articles/cowboy-2.0.0-pre.4/index.html
+++ b/articles/cowboy-2.0.0-pre.4/index.html
@@ -129,6 +129,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/cowboy-2.0.0-rc.1/index.html b/articles/cowboy-2.0.0-rc.1/index.html
index 9f0f1bbe..72a8239c 100644
--- a/articles/cowboy-2.0.0-rc.1/index.html
+++ b/articles/cowboy-2.0.0-rc.1/index.html
@@ -100,6 +100,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/cowboy-2.0.0-rc.2/index.html b/articles/cowboy-2.0.0-rc.2/index.html
index 0f4bd464..12aeadec 100644
--- a/articles/cowboy-2.0.0-rc.2/index.html
+++ b/articles/cowboy-2.0.0-rc.2/index.html
@@ -93,6 +93,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/cowboy-2.0.0/index.html b/articles/cowboy-2.0.0/index.html
index 31a04dec..afd24565 100644
--- a/articles/cowboy-2.0.0/index.html
+++ b/articles/cowboy-2.0.0/index.html
@@ -99,6 +99,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/cowboy-2.1.0/index.html b/articles/cowboy-2.1.0/index.html
index a82c6d23..106d7fb5 100644
--- a/articles/cowboy-2.1.0/index.html
+++ b/articles/cowboy-2.1.0/index.html
@@ -96,6 +96,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/cowboy-2.2.0/index.html b/articles/cowboy-2.2.0/index.html
index 112df4b5..0c754536 100644
--- a/articles/cowboy-2.2.0/index.html
+++ b/articles/cowboy-2.2.0/index.html
@@ -94,6 +94,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/cowboy-2.3.0/index.html b/articles/cowboy-2.3.0/index.html
index 0f48b4ff..1b27db49 100644
--- a/articles/cowboy-2.3.0/index.html
+++ b/articles/cowboy-2.3.0/index.html
@@ -86,6 +86,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/cowboy-2.4.0/index.html b/articles/cowboy-2.4.0/index.html
index 1e7e9dea..80353047 100644
--- a/articles/cowboy-2.4.0/index.html
+++ b/articles/cowboy-2.4.0/index.html
@@ -88,6 +88,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/cowboy-2.5.0/index.html b/articles/cowboy-2.5.0/index.html
index 726a4580..fd6a019a 100644
--- a/articles/cowboy-2.5.0/index.html
+++ b/articles/cowboy-2.5.0/index.html
@@ -92,6 +92,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/cowboy-2.6.0/index.html b/articles/cowboy-2.6.0/index.html
index 498b5785..e6c1838b 100644
--- a/articles/cowboy-2.6.0/index.html
+++ b/articles/cowboy-2.6.0/index.html
@@ -89,6 +89,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/cowboy2-qs/index.html b/articles/cowboy2-qs/index.html
index e0feab88..a21d788d 100644
--- a/articles/cowboy2-qs/index.html
+++ b/articles/cowboy2-qs/index.html
@@ -130,6 +130,10 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/dont-let-it-crash/index.html b/articles/dont-let-it-crash/index.html
index 41ff3ea8..88fb7201 100644
--- a/articles/dont-let-it-crash/index.html
+++ b/articles/dont-let-it-crash/index.html
@@ -105,6 +105,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/erlang-scalability/index.html b/articles/erlang-scalability/index.html
index 314ff313..6fe7b247 100644
--- a/articles/erlang-scalability/index.html
+++ b/articles/erlang-scalability/index.html
@@ -117,6 +117,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/erlang-validate-utf8/index.html b/articles/erlang-validate-utf8/index.html
index 16febad7..003c297e 100644
--- a/articles/erlang-validate-utf8/index.html
+++ b/articles/erlang-validate-utf8/index.html
@@ -233,6 +233,10 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/erlang.mk-and-relx/index.html b/articles/erlang.mk-and-relx/index.html
index 2417d6e5..85ca052f 100644
--- a/articles/erlang.mk-and-relx/index.html
+++ b/articles/erlang.mk-and-relx/index.html
@@ -143,6 +143,10 @@ cowboy-0.8.5 erlydtl-0.7.0 ninenines-0.2.0 stdlib-1.19.1</pre></div></div>
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/erlanger-playbook-september-2015-update/index.html b/articles/erlanger-playbook-september-2015-update/index.html
index 17e3955b..a73d2642 100644
--- a/articles/erlanger-playbook-september-2015-update/index.html
+++ b/articles/erlanger-playbook-september-2015-update/index.html
@@ -88,6 +88,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/erlanger-playbook/index.html b/articles/erlanger-playbook/index.html
index 47bb449f..aeadb579 100644
--- a/articles/erlanger-playbook/index.html
+++ b/articles/erlanger-playbook/index.html
@@ -129,6 +129,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/farwest-funded/index.html b/articles/farwest-funded/index.html
index ef4a55ff..b663d9a2 100644
--- a/articles/farwest-funded/index.html
+++ b/articles/farwest-funded/index.html
@@ -89,6 +89,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/gun-1.0.0-rc.1/index.html b/articles/gun-1.0.0-rc.1/index.html
index 1d685869..4d6492e1 100644
--- a/articles/gun-1.0.0-rc.1/index.html
+++ b/articles/gun-1.0.0-rc.1/index.html
@@ -90,6 +90,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/gun-1.0.0/index.html b/articles/gun-1.0.0/index.html
index 77675b5b..74111a89 100644
--- a/articles/gun-1.0.0/index.html
+++ b/articles/gun-1.0.0/index.html
@@ -89,6 +89,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/gun-1.2.0/index.html b/articles/gun-1.2.0/index.html
index b994c292..86152b61 100644
--- a/articles/gun-1.2.0/index.html
+++ b/articles/gun-1.2.0/index.html
@@ -89,6 +89,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/gun-1.3.0/index.html b/articles/gun-1.3.0/index.html
index a8dd474f..3f632633 100644
--- a/articles/gun-1.3.0/index.html
+++ b/articles/gun-1.3.0/index.html
@@ -87,6 +87,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/index.html b/articles/index.html
index 005c857b..05b4ead7 100644
--- a/articles/index.html
+++ b/articles/index.html
@@ -67,6 +67,24 @@
<article class="blog_item">
<header>
+ <h2><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></h2>
+ <p class="date">
+ <span class="year">2019</span>
+ <span class="day-month">18 Jul</span>
+ </p>
+ </header>
+
+ <p>Ranch 2.0.0-rc.1 has been released!
+We are getting very close to releasing Ranch 2.0! As most of the tremendous programming work was done by contributor Jan Uhlig, I will yield the floor and let him describe what went into this great release.
+In Ranch 1.x, there is only one supervisor per Ranch listener to start and manage connection processes. Under high load (many clients rapidly connecting and/or disconnecting), the message queue of this one supervisor could becomes congested, leading to declining accept rates or a stalled listener.</p>
+
+ <p style="text-align:right">
+ <a class="read_more" href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Read More</a>
+ </p>
+ </article>
+
+ <article class="blog_item">
+ <header>
<h2><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></h2>
<p class="date">
<span class="year">2019</span>
@@ -419,23 +437,6 @@ You lost them. You know you lost them. They comment on the syntax, or perhaps yo
</p>
</article>
- <article class="blog_item">
- <header>
- <h2><a href="https://ninenines.eu/articles/dont-let-it-crash/">Don&#39;t let it crash</a></h2>
- <p class="date">
- <span class="year">2017</span>
- <span class="day-month">22 Jan</span>
- </p>
- </header>
-
- <p>We have a specific mindset when writing Erlang programs. We focus on the normal execution of the program and don&apos;t handle most of the errors that may occur. We sometimes call this normal execution the happy path.
-The general pattern behind writing only for the happy path, letting the VM catch errors (writing them to a log for future consumption) and then having a supervisor restart the processes that failed from a clean state, has a name.</p>
-
- <p style="text-align:right">
- <a class="read_more" href="https://ninenines.eu/articles/dont-let-it-crash/">Read More</a>
- </p>
- </article>
-
<nav class="pagination" role="pagination">
diff --git a/articles/index.xml b/articles/index.xml
index c67b8e35..c2270ff5 100644
--- a/articles/index.xml
+++ b/articles/index.xml
@@ -6,12 +6,23 @@
<description>Recent content in Articles on Nine Nines</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
- <lastBuildDate>Tue, 11 Jun 2019 07:00:00 +0100</lastBuildDate>
+ <lastBuildDate>Thu, 18 Jul 2019 07:00:00 +0100</lastBuildDate>
<atom:link href="https://ninenines.eu/articles/index.xml" rel="self" type="application/rss+xml" />
<item>
+ <title>Ranch 2.0 release candidate 1</title>
+ <link>https://ninenines.eu/articles/ranch-2.0.0-rc.1/</link>
+ <pubDate>Thu, 18 Jul 2019 07:00:00 +0100</pubDate>
+
+ <guid>https://ninenines.eu/articles/ranch-2.0.0-rc.1/</guid>
+ <description>Ranch 2.0.0-rc.1 has been released!
+We are getting very close to releasing Ranch 2.0! As most of the tremendous programming work was done by contributor Jan Uhlig, I will yield the floor and let him describe what went into this great release.
+In Ranch 1.x, there is only one supervisor per Ranch listener to start and manage connection processes. Under high load (many clients rapidly connecting and/or disconnecting), the message queue of this one supervisor could becomes congested, leading to declining accept rates or a stalled listener.</description>
+ </item>
+
+ <item>
<title>Joe Armstrong the rubber duck</title>
<link>https://ninenines.eu/articles/joe_the_rubber_duck/</link>
<pubDate>Tue, 11 Jun 2019 07:00:00 +0100</pubDate>
diff --git a/articles/january-2014-status/index.html b/articles/january-2014-status/index.html
index 4acd83e7..7c63472d 100644
--- a/articles/january-2014-status/index.html
+++ b/articles/january-2014-status/index.html
@@ -115,6 +115,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/joe_the_rubber_duck/index.html b/articles/joe_the_rubber_duck/index.html
index 9298e787..7f1de2c8 100644
--- a/articles/joe_the_rubber_duck/index.html
+++ b/articles/joe_the_rubber_duck/index.html
@@ -89,6 +89,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/merry-christmas-2018/index.html b/articles/merry-christmas-2018/index.html
index 32d7f8e4..56ccd34a 100644
--- a/articles/merry-christmas-2018/index.html
+++ b/articles/merry-christmas-2018/index.html
@@ -96,6 +96,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/ml-archives/index.html b/articles/ml-archives/index.html
index 9eacbf0d..9debe397 100644
--- a/articles/ml-archives/index.html
+++ b/articles/ml-archives/index.html
@@ -86,6 +86,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/on-open-source/index.html b/articles/on-open-source/index.html
index 8343bb03..3acd36d1 100644
--- a/articles/on-open-source/index.html
+++ b/articles/on-open-source/index.html
@@ -98,6 +98,10 @@ much left to look at today</a>. This was followed by a <a href="https://github.c
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/page/2/index.html b/articles/page/2/index.html
index 6e899f20..ad1fb751 100644
--- a/articles/page/2/index.html
+++ b/articles/page/2/index.html
@@ -67,6 +67,23 @@
<article class="blog_item">
<header>
+ <h2><a href="https://ninenines.eu/articles/dont-let-it-crash/">Don&#39;t let it crash</a></h2>
+ <p class="date">
+ <span class="year">2017</span>
+ <span class="day-month">22 Jan</span>
+ </p>
+ </header>
+
+ <p>We have a specific mindset when writing Erlang programs. We focus on the normal execution of the program and don&apos;t handle most of the errors that may occur. We sometimes call this normal execution the happy path.
+The general pattern behind writing only for the happy path, letting the VM catch errors (writing them to a log for future consumption) and then having a supervisor restart the processes that failed from a clean state, has a name.</p>
+
+ <p style="text-align:right">
+ <a class="read_more" href="https://ninenines.eu/articles/dont-let-it-crash/">Read More</a>
+ </p>
+ </article>
+
+ <article class="blog_item">
+ <header>
<h2><a href="https://ninenines.eu/articles/cowboy-2.0.0-pre.4/">Cowboy 2.0 pre-release 4</a></h2>
<p class="date">
<span class="year">2017</span>
@@ -410,23 +427,6 @@ We are just starting, so let&apos;s no go ahead of ourselves here. We&apos;ll be
</p>
</article>
- <article class="blog_item">
- <header>
- <h2><a href="https://ninenines.eu/articles/ranch-ftp/">Build an FTP Server with Ranch in 30 Minutes</a></h2>
- <p class="date">
- <span class="year">2012</span>
- <span class="day-month">14 Nov</span>
- </p>
- </header>
-
- <p>Last week I was speaking at the London Erlang Factory Lite where I presented a live demonstration of building an FTP server using Ranch. As there was no slide, you should use this article as a reference instead.
-The goal of this article is to showcase how to use Ranch for writing a network protocol implementation, how Ranch gets out of the way to let you write the code that matters, and the common techniques used when writing servers.</p>
-
- <p style="text-align:right">
- <a class="read_more" href="https://ninenines.eu/articles/ranch-ftp/">Read More</a>
- </p>
- </article>
-
<nav class="pagination" role="pagination">
diff --git a/articles/page/3/index.html b/articles/page/3/index.html
index b75d31ad..5be66f95 100644
--- a/articles/page/3/index.html
+++ b/articles/page/3/index.html
@@ -67,6 +67,23 @@
<article class="blog_item">
<header>
+ <h2><a href="https://ninenines.eu/articles/ranch-ftp/">Build an FTP Server with Ranch in 30 Minutes</a></h2>
+ <p class="date">
+ <span class="year">2012</span>
+ <span class="day-month">14 Nov</span>
+ </p>
+ </header>
+
+ <p>Last week I was speaking at the London Erlang Factory Lite where I presented a live demonstration of building an FTP server using Ranch. As there was no slide, you should use this article as a reference instead.
+The goal of this article is to showcase how to use Ranch for writing a network protocol implementation, how Ranch gets out of the way to let you write the code that matters, and the common techniques used when writing servers.</p>
+
+ <p style="text-align:right">
+ <a class="read_more" href="https://ninenines.eu/articles/ranch-ftp/">Read More</a>
+ </p>
+ </article>
+
+ <article class="blog_item">
+ <header>
<h2><a href="https://ninenines.eu/articles/tictactoe/">Erlang Tic Tac Toe</a></h2>
<p class="date">
<span class="year">2012</span>
diff --git a/articles/ranch-1.3/index.html b/articles/ranch-1.3/index.html
index 2e07647a..74f25ab4 100644
--- a/articles/ranch-1.3/index.html
+++ b/articles/ranch-1.3/index.html
@@ -127,6 +127,10 @@ Primary key fingerprint<font color="#990000">:</font> F19F 189C ECC7 <font color
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/ranch-1.6.0/index.html b/articles/ranch-1.6.0/index.html
index bfe963e2..19efbe3a 100644
--- a/articles/ranch-1.6.0/index.html
+++ b/articles/ranch-1.6.0/index.html
@@ -89,6 +89,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/ranch-1.7.0/index.html b/articles/ranch-1.7.0/index.html
index 938438fc..679208db 100644
--- a/articles/ranch-1.7.0/index.html
+++ b/articles/ranch-1.7.0/index.html
@@ -88,6 +88,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/ranch-2.0.0-rc.1/index.html b/articles/ranch-2.0.0-rc.1/index.html
new file mode 100644
index 00000000..29a987fd
--- /dev/null
+++ b/articles/ranch-2.0.0-rc.1/index.html
@@ -0,0 +1,302 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="">
+ <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
+
+ <title>Nine Nines: Ranch 2.0 release candidate 1</title>
+
+ <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
+ <link href="/css/99s.css?r=5" rel="stylesheet">
+
+ <link rel="shortcut icon" href="/img/ico/favicon.ico">
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
+ <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
+
+
+</head>
+
+
+<body class="">
+ <header id="page-head">
+ <div id="topbar" class="container">
+ <div class="row">
+ <div class="span2">
+ <h1 id="logo"><a href="/" title="99s">99s</a></h1>
+ </div>
+ <div class="span10">
+
+ <div id="side-header">
+ <nav>
+ <ul>
+ <li class="active"><a title="Hear my thoughts" href="/articles">Articles</a></li>
+ <li><a title="Watch my talks" href="/talks">Talks</a></li>
+ <li><a title="Read the docs" href="/docs">Documentation</a></li>
+ <li><a title="Request my services" href="/services">Consulting & Training</a></li>
+ </ul>
+ </nav>
+ <ul id="social">
+ <li>
+ <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
+ </li>
+ <li>
+ <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+
+
+</header>
+
+<div id="contents">
+<div class="container">
+<div class="row">
+<div class="span9 maincol">
+
+<article class="blog_item">
+<header>
+ <h1 class="lined-header"><span>Ranch 2.0 release candidate 1</span></h1>
+ <p class="date">
+ <span class="year">2019</span>
+ <span class="day-month">18 Jul</span>
+ </p>
+</header>
+
+<p>Ranch <code>2.0.0-rc.1</code> has been released!</p>
+<p>We are getting very close to releasing Ranch 2.0! As most of the tremendous programming work was done by contributor Jan Uhlig, I will yield the floor and let him describe what went into this great release.</p>
+<p>In Ranch 1.x, there is only one supervisor per Ranch listener to start and manage connection processes. Under high load (many clients rapidly connecting and/or disconnecting), the message queue of this one supervisor could becomes congested, leading to declining accept rates or a stalled listener.</p>
+<p>Ranch 2.0 introduces the <code>num_conns_sups</code> option (defaulting to the number of acceptors), which allows the message load to be divided between the specified number of connection supervisors. This improves accept concurrency at the same time.</p>
+<p>Another bottleneck is a possible congestion of the syn queue of a listening socket. The reason is located within the operating system&apos;s TCP/IP implementation, and on Linux the <code>SO_REUSEPORT</code> socket option was introduced to address it. What it boils down to is that you can have more than just one socket listening on the same port, causing the sockets to be load-balanced when accepting connections.</p>
+<p>Ranch 1.x always uses a single listening socket per listener, shared between the acceptors. With a trick, starting multiple Ranch listeners on the same port, it is already possible to make use of the <code>SO_REUSEPORT</code> feature. But that&apos;s not ideal.</p>
+<p>Ranch 2.0 introduces the <code>num_listen_sockets</code> option, which allows to specify the number of listening sockets a Ranch listener should employ, without having to use this trick. Whether you can use <code>SO_REUSEPORT</code> at all and how to enable it depends on your operating system, though.</p>
+<p>Other changes include proper support for local (Unix Domain) sockets, removing the restriction that a listener be suspended to change its transport options and much needed improvements to embedded listeners.</p>
+<p>In addition we have had patches merged to Erlang/OTP to add support for active N to the <code>ssl</code> application (requires Erlang/OTP 21.3 or above) and fix a number of smaller issues we encountered. We have also helped detect and fix a bug in the Windows implementation of active N that greatly reduced its performance in some cases.</p>
+<p>To ensure that everything works correctly, new tests have been written, and some existing tests were updated. A noteworthy addition in this area is pitting Ranch against <a href="https://github.com/ankhers/havoc">Havoc</a>, a resilience testing tool that kills random processes and ports in the system.</p>
+<p>Cowboy users wishing to try Ranch 2.0.0-rc.1 will need to use Cowboy&apos;s master branch at this time or wait for the upcoming Cowboy 2.7.0. Cowboy has been made compatible with both Ranch 1 and 2.</p>
+<p>Last but not least, aside from the changes mentioned above, we are currently preparing a <a href="https://github.com/juhlig/prometheus_ranch">Prometheus collector</a> for Ranch as well as an accompanying Grafana dashboard.</p>
+<p>Ranch 2.0 requires Erlang/OTP 21 or above and is tested and supported on Linux, FreeBSD, macOS and Windows.</p>
+<p>A complete list of changes can be found in the migration guide: <a href="https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.7/">Migrating from Ranch 1.7 to 2.0</a>.</p>
+<p>You can donate to this project via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to pay for additional servers for testing. We will soon add two Raspberry Pi 4 in order to have some ARM targets when testing.</p>
+<p>As usual, feedback is appreciated, and issues or questions should be sent via Github tickets. Thanks!</p>
+
+
+</article>
+</div>
+
+<div class="span3 sidecol">
+<h3>More articles</h3>
+<ul id="articles-nav" class="extra_margin">
+
+
+
+
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/merry-christmas-2018/">Merry Christmas 2018: A Recap</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/cowboy-2.6.0/">Cowboy 2.6</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/ranch-1.7.0/">Ranch 1.7</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/cowboy-2.5.0/">Cowboy 2.5</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/gun-1.3.0/">Gun 1.3</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/gun-1.2.0/">Gun 1.2</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/ranch-1.6.0/">Ranch 1.6</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/gun-1.0.0/">Gun 1.0</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/asciideck/">Asciideck: Asciidoc for Erlang</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/gun-1.0.0-rc.1/">Gun 1.0 release candidate 1</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/cowboy-2.4.0/">Cowboy 2.4</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/cowboy-2.3.0/">Cowboy 2.3</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/cowboy-2.2.0/">Cowboy 2.2</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/cowboy-2.1.0/">Cowboy 2.1</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/cowboy-2.0.0/">Cowboy 2.0</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/cowboy-2.0.0-rc.2/">Cowboy 2.0 release candidate 2</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/cowboy-2.0.0-rc.1/">Cowboy 2.0 release candidate 1</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/the-elephant-in-the-room/">The elephant in the room</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/dont-let-it-crash/">Don&#39;t let it crash</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/cowboy-2.0.0-pre.4/">Cowboy 2.0 pre-release 4</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/ranch-1.3/">Ranch 1.3</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/ml-archives/">Mailing list archived</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/website-update/">Website update</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/erlanger-playbook-september-2015-update/">The Erlanger Playbook September 2015 Update</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/erlanger-playbook/">The Erlanger Playbook</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/erlang-validate-utf8/">Validating UTF-8 binaries with Erlang</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/on-open-source/">On open source</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/the-story-so-far/">The story so far</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/cowboy2-qs/">Cowboy 2.0 and query strings</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/january-2014-status/">January 2014 status</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/farwest-funded/">Farwest got funded!</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/erlang.mk-and-relx/">Build Erlang releases with Erlang.mk and Relx</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/xerl-0.5-intermediate-module/">Xerl: intermediate module</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/xerl-0.4-expression-separator/">Xerl: expression separator</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/erlang-scalability/">Erlang Scalability</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/xerl-0.3-atomic-expressions/">Xerl: atomic expressions</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/xerl-0.2-two-modules/">Xerl: two modules</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/xerl-0.1-empty-modules/">Xerl: empty modules</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/ranch-ftp/">Build an FTP Server with Ranch in 30 Minutes</a></li>
+
+
+
+ <li><a href="https://ninenines.eu/articles/tictactoe/">Erlang Tic Tac Toe</a></li>
+
+
+</ul>
+
+<h3>Feedback</h3>
+<p>Feel free to <a href="mailto:[email protected]">email us</a>
+if you found any mistake or need clarification on any of the
+articles.</p>
+
+</div>
+</div>
+</div>
+</div>
+
+ <footer>
+ <div class="container">
+ <div class="row">
+ <div class="span6">
+ <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
+ <nav>
+ <ul>
+ <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
+ </ul>
+ </nav>
+ </div>
+ <div class="span6 credits">
+ <p><img src="/img/footer_logo.png"></p>
+ <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
+ </div>
+ </div>
+ </div>
+ </footer>
+
+
+ <script src="/js/custom.js"></script>
+ </body>
+</html>
+
diff --git a/articles/ranch-ftp/index.html b/articles/ranch-ftp/index.html
index 4f2d4a42..fa6136c0 100644
--- a/articles/ranch-ftp/index.html
+++ b/articles/ranch-ftp/index.html
@@ -229,6 +229,10 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/the-elephant-in-the-room/index.html b/articles/the-elephant-in-the-room/index.html
index 27816ac4..b9b88c92 100644
--- a/articles/the-elephant-in-the-room/index.html
+++ b/articles/the-elephant-in-the-room/index.html
@@ -111,6 +111,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/the-story-so-far/index.html b/articles/the-story-so-far/index.html
index 17e9f5d5..817341ee 100644
--- a/articles/the-story-so-far/index.html
+++ b/articles/the-story-so-far/index.html
@@ -102,6 +102,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/tictactoe/index.html b/articles/tictactoe/index.html
index f83f08cf..456b075a 100644
--- a/articles/tictactoe/index.html
+++ b/articles/tictactoe/index.html
@@ -134,6 +134,10 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/website-update/index.html b/articles/website-update/index.html
index 70837aa7..d8c854b8 100644
--- a/articles/website-update/index.html
+++ b/articles/website-update/index.html
@@ -91,6 +91,10 @@
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/xerl-0.1-empty-modules/index.html b/articles/xerl-0.1-empty-modules/index.html
index cfb21eaa..971bf6ae 100644
--- a/articles/xerl-0.1-empty-modules/index.html
+++ b/articles/xerl-0.1-empty-modules/index.html
@@ -169,6 +169,10 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/xerl-0.2-two-modules/index.html b/articles/xerl-0.2-two-modules/index.html
index 2a65cfbb..5515501f 100644
--- a/articles/xerl-0.2-two-modules/index.html
+++ b/articles/xerl-0.2-two-modules/index.html
@@ -197,6 +197,10 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/xerl-0.3-atomic-expressions/index.html b/articles/xerl-0.3-atomic-expressions/index.html
index cb8a52eb..93c889e5 100644
--- a/articles/xerl-0.3-atomic-expressions/index.html
+++ b/articles/xerl-0.3-atomic-expressions/index.html
@@ -166,6 +166,10 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/xerl-0.4-expression-separator/index.html b/articles/xerl-0.4-expression-separator/index.html
index 264565ae..acad8209 100644
--- a/articles/xerl-0.4-expression-separator/index.html
+++ b/articles/xerl-0.4-expression-separator/index.html
@@ -118,6 +118,10 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/articles/xerl-0.5-intermediate-module/index.html b/articles/xerl-0.5-intermediate-module/index.html
index b2229f2f..5895c7af 100644
--- a/articles/xerl-0.5-intermediate-module/index.html
+++ b/articles/xerl-0.5-intermediate-module/index.html
@@ -162,6 +162,10 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="https://ninenines.eu/articles/ranch-2.0.0-rc.1/">Ranch 2.0 release candidate 1</a></li>
+
+
+
<li><a href="https://ninenines.eu/articles/joe_the_rubber_duck/">Joe Armstrong the rubber duck</a></li>
diff --git a/docs/db.json b/docs/db.json
deleted file mode 100644
index 368e78f0..00000000
--- a/docs/db.json
+++ /dev/null
@@ -1 +0,0 @@
-[{"n":"cowboy_static:extra_mimetypes","l":"/docs/en/cowboy/1.0/manual/cowboy_static/index.html#extra_mimetypes"},{"n":"cowboy_static:extra","l":"/docs/en/cowboy/1.0/manual/cowboy_static/index.html#extra"},{"n":"cowboy_static:opts","l":"/docs/en/cowboy/1.0/manual/cowboy_static/index.html#opts"},{"n":"cowboy_static:extra_etag","l":"/docs/en/cowboy/1.0/manual/cowboy_static/index.html#extra_etag"},{"n":"http_status_codes:304 Not Modified","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#304 not modified"},{"n":"http_status_codes:500 Internal Server Error","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#500 internal server error"},{"n":"http_status_codes:201 Created","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#201 created"},{"n":"http_status_codes:413 Request Entity Too Large","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#413 request entity too large"},{"n":"http_status_codes:300 Multiple Choices","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#300 multiple choices"},{"n":"http_status_codes:412 Precondition Failed","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#412 precondition failed"},{"n":"http_status_codes:200 OK","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#200 ok"},{"n":"http_status_codes:101 Switching Protocols","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#101 switching protocols"},{"n":"http_status_codes:501 Not Implemented","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#501 not implemented"},{"n":"http_status_codes:505 HTTP Version Not Supported","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#505 http version not supported"},{"n":"http_status_codes:204 No Content","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#204 no content"},{"n":"http_status_codes:406 Not Acceptable","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#406 not acceptable"},{"n":"http_status_codes:415 Unsupported Media Type","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#415 unsupported media type"},{"n":"http_status_codes:503 Service Unavailable","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#503 service unavailable"},{"n":"http_status_codes:410 Gone","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#410 gone"},{"n":"http_status_codes:400 Bad Request","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#400 bad request"},{"n":"http_status_codes:401 Unauthorized","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#401 unauthorized"},{"n":"http_status_codes:301 Moved Permanently","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#301 moved permanently"},{"n":"http_status_codes:100 Continue","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#100 continue"},{"n":"http_status_codes:414 Request-URI Too Long","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#414 request-uri too long"},{"n":"http_status_codes:307 Temporary Redirect","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#307 temporary redirect"},{"n":"http_status_codes:409 Conflict","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#409 conflict"},{"n":"http_status_codes:202 Accepted","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#202 accepted"},{"n":"http_status_codes:404 Not Found","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#404 not found"},{"n":"http_status_codes:303 See Other","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#303 see other"},{"n":"http_status_codes:405 Method Not Allowed","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#405 method not allowed"},{"n":"http_status_codes:403 Forbidden","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#403 forbidden"},{"n":"http_status_codes:408 Request Timeout","l":"/docs/en/cowboy/1.0/manual/http_status_codes/index.html#408 request timeout"},{"n":"cowboy:http_version","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#http_version"},{"n":"cowboy:http_status","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#http_status"},{"n":"cowboy:onrequest_fun","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#onrequest_fun"},{"n":"cowboy:onresponse_fun","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#onresponse_fun"},{"n":"cowboy:start_http","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#start_http"},{"n":"cowboy:http_headers","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#http_headers"},{"n":"cowboy:start_https","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#start_https"},{"n":"cowboy:start_spdy","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#start_spdy"},{"n":"cowboy:stop_listener","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#stop_listener"},{"n":"cowboy:set_env","l":"/docs/en/cowboy/1.0/manual/cowboy/index.html#set_env"},{"n":"cowboy_http_handler:handle","l":"/docs/en/cowboy/1.0/manual/cowboy_http_handler/index.html#handle"},{"n":"cowboy_http_handler:init","l":"/docs/en/cowboy/1.0/manual/cowboy_http_handler/index.html#init"},{"n":"cowboy_http_handler:terminate","l":"/docs/en/cowboy/1.0/manual/cowboy_http_handler/index.html#terminate"},{"n":"cowboy_loop_handler:info","l":"/docs/en/cowboy/1.0/manual/cowboy_loop_handler/index.html#info"},{"n":"cowboy_loop_handler:init","l":"/docs/en/cowboy/1.0/manual/cowboy_loop_handler/index.html#init"},{"n":"cowboy_loop_handler:terminate","l":"/docs/en/cowboy/1.0/manual/cowboy_loop_handler/index.html#terminate"},{"n":"cowboy_middleware:env","l":"/docs/en/cowboy/1.0/manual/cowboy_middleware/index.html#env"},{"n":"cowboy_middleware:execute","l":"/docs/en/cowboy/1.0/manual/cowboy_middleware/index.html#execute"},{"n":"cowboy_protocol:max_header_name_length ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#max_header_name_length "},{"n":"cowboy_protocol:max_keepalive ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#max_keepalive "},{"n":"cowboy_protocol:max_request_line_length ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#max_request_line_length "},{"n":"cowboy_protocol:middlewares ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#middlewares "},{"n":"cowboy_protocol:onresponse ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#onresponse "},{"n":"cowboy_protocol:timeout ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#timeout "},{"n":"cowboy_protocol:max_header_value_length ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#max_header_value_length "},{"n":"cowboy_protocol:max_headers ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#max_headers "},{"n":"cowboy_protocol:max_empty_lines ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#max_empty_lines "},{"n":"cowboy_protocol:compress ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#compress "},{"n":"cowboy_protocol:onrequest ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#onrequest "},{"n":"cowboy_protocol:env ","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#env "},{"n":"cowboy_protocol:opts","l":"/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html#opts"},{"n":"cowboy_req:has_resp_body","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#has_resp_body"},{"n":"cowboy_req:body_length","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#body_length"},{"n":"cowboy_req:headers","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#headers"},{"n":"cowboy_req:chunk","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#chunk"},{"n":"cowboy_req:parse_header","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#parse_header"},{"n":"cowboy_req:req","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#req"},{"n":"cowboy_req:cookie","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#cookie"},{"n":"cowboy_req:reply","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#reply"},{"n":"cowboy_req:method","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#method"},{"n":"cowboy_req:body_qs","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#body_qs"},{"n":"cowboy_req:set_resp_cookie","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#set_resp_cookie"},{"n":"cowboy_req:set_resp_header","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#set_resp_header"},{"n":"cowboy_req:port","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#port"},{"n":"cowboy_req:peer","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#peer"},{"n":"cowboy_req:part","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#part"},{"n":"cowboy_req:meta","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#meta"},{"n":"cowboy_req:continue","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#continue"},{"n":"cowboy_req:delete_resp_header","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#delete_resp_header"},{"n":"cowboy_req:set_meta","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#set_meta"},{"n":"cowboy_req:chunked_reply","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#chunked_reply"},{"n":"cowboy_req:host","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#host"},{"n":"cowboy_req:host_url","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#host_url"},{"n":"cowboy_req:qs_val","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#qs_val"},{"n":"cowboy_req:body","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#body"},{"n":"cowboy_req:cookies","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#cookies"},{"n":"cowboy_req:host_info","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#host_info"},{"n":"cowboy_req:cookie_opts","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#cookie_opts"},{"n":"cowboy_req:version","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#version"},{"n":"cowboy_req:qs","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#qs"},{"n":"cowboy_req:body_opts","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#body_opts"},{"n":"cowboy_req:bindings","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#bindings"},{"n":"cowboy_req:header","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#header"},{"n":"cowboy_req:binding","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#binding"},{"n":"cowboy_req:path_info","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#path_info"},{"n":"cowboy_req:compact","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#compact"},{"n":"cowboy_req:has_body","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#has_body"},{"n":"cowboy_req:path","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#path"},{"n":"cowboy_req:set_resp_body","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#set_resp_body"},{"n":"cowboy_req:has_resp_header","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#has_resp_header"},{"n":"cowboy_req:url","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#url"},{"n":"cowboy_req:qs_vals","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#qs_vals"},{"n":"cowboy_req:set_resp_body_fun","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#set_resp_body_fun"},{"n":"cowboy_req:part_body","l":"/docs/en/cowboy/1.0/manual/cowboy_req/index.html#part_body"},{"n":"cowboy_rest:valid_content_headers","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#valid_content_headers"},{"n":"cowboy_rest:generate_etag","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#generate_etag"},{"n":"cowboy_rest:forbidden","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#forbidden"},{"n":"cowboy_rest:valid_entity_length","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#valid_entity_length"},{"n":"cowboy_rest:expires","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#expires"},{"n":"cowboy_rest:resource_exists","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#resource_exists"},{"n":"cowboy_rest:last_modified","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#last_modified"},{"n":"cowboy_rest:delete_completed","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#delete_completed"},{"n":"cowboy_rest:is_conflict","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#is_conflict"},{"n":"cowboy_rest:moved_permanently","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#moved_permanently"},{"n":"cowboy_rest:media_type","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#media_type"},{"n":"cowboy_rest:charsets_provided","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#charsets_provided"},{"n":"cowboy_rest:content_types_provided","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#content_types_provided"},{"n":"cowboy_rest:content_types_accepted","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#content_types_accepted"},{"n":"cowboy_rest:previously_existed","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#previously_existed"},{"n":"cowboy_rest:languages_provided","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#languages_provided"},{"n":"cowboy_rest:uri_too_long","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#uri_too_long"},{"n":"cowboy_rest:moved_temporarily","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#moved_temporarily"},{"n":"cowboy_rest:charset","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#charset"},{"n":"cowboy_rest:rest_init","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#rest_init"},{"n":"cowboy_rest:rest_terminate","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#rest_terminate"},{"n":"cowboy_rest:known_content_type","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#known_content_type"},{"n":"cowboy_rest:allow_missing_post","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#allow_missing_post"},{"n":"cowboy_rest:options","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#options"},{"n":"cowboy_rest:multiple_choices","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#multiple_choices"},{"n":"cowboy_rest:language","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#language"},{"n":"cowboy_rest:allowed_methods","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#allowed_methods"},{"n":"cowboy_rest:malformed_request","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#malformed_request"},{"n":"cowboy_rest:known_methods","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#known_methods"},{"n":"cowboy_rest:Callback","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#callback"},{"n":"cowboy_rest:delete_resource","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#delete_resource"},{"n":"cowboy_rest:service_available","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#service_available"},{"n":"cowboy_rest:is_authorized","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#is_authorized"},{"n":"cowboy_rest:variances","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#variances"},{"n":"cowboy_rest:init","l":"/docs/en/cowboy/1.0/manual/cowboy_rest/index.html#init"},{"n":"cowboy_router:constraints","l":"/docs/en/cowboy/1.0/manual/cowboy_router/index.html#constraints"},{"n":"cowboy_router:routes","l":"/docs/en/cowboy/1.0/manual/cowboy_router/index.html#routes"},{"n":"cowboy_router:tokens","l":"/docs/en/cowboy/1.0/manual/cowboy_router/index.html#tokens"},{"n":"cowboy_router:bindings","l":"/docs/en/cowboy/1.0/manual/cowboy_router/index.html#bindings"},{"n":"cowboy_router:compile","l":"/docs/en/cowboy/1.0/manual/cowboy_router/index.html#compile"},{"n":"cowboy_router:dispatch_rules","l":"/docs/en/cowboy/1.0/manual/cowboy_router/index.html#dispatch_rules"},{"n":"cowboy_spdy:middlewares ","l":"/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html#middlewares "},{"n":"cowboy_spdy:onresponse ","l":"/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html#onresponse "},{"n":"cowboy_spdy:onrequest ","l":"/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html#onrequest "},{"n":"cowboy_spdy:opts","l":"/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html#opts"},{"n":"cowboy_spdy:env ","l":"/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html#env "},{"n":"cowboy_sub_protocol:upgrade","l":"/docs/en/cowboy/1.0/manual/cowboy_sub_protocol/index.html#upgrade"},{"n":"cowboy_websocket:websocket_compress","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket/index.html#websocket_compress"},{"n":"cowboy_websocket:websocket_version","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket/index.html#websocket_version"},{"n":"cowboy_websocket:close_code","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket/index.html#close_code"},{"n":"cowboy_websocket:frame","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket/index.html#frame"},{"n":"cowboy_websocket_handler:websocket_info","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html#websocket_info"},{"n":"cowboy_websocket_handler:websocket_terminate","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html#websocket_terminate"},{"n":"cowboy_websocket_handler:websocket_handle","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html#websocket_handle"},{"n":"cowboy_websocket_handler:init","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html#init"},{"n":"cowboy_websocket_handler:websocket_init","l":"/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html#websocket_init"},{"n":"cowboy_static:extra_mimetypes","l":"/docs/en/cowboy/HEAD/manual/cowboy_static/index.html#extra_mimetypes"},{"n":"cowboy_static:extra","l":"/docs/en/cowboy/HEAD/manual/cowboy_static/index.html#extra"},{"n":"cowboy_static:opts","l":"/docs/en/cowboy/HEAD/manual/cowboy_static/index.html#opts"},{"n":"cowboy_static:extra_etag","l":"/docs/en/cowboy/HEAD/manual/cowboy_static/index.html#extra_etag"},{"n":"http_status_codes:304 Not Modified","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#304 not modified"},{"n":"http_status_codes:500 Internal Server Error","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#500 internal server error"},{"n":"http_status_codes:201 Created","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#201 created"},{"n":"http_status_codes:413 Request Entity Too Large","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#413 request entity too large"},{"n":"http_status_codes:300 Multiple Choices","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#300 multiple choices"},{"n":"http_status_codes:412 Precondition Failed","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#412 precondition failed"},{"n":"http_status_codes:200 OK","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#200 ok"},{"n":"http_status_codes:101 Switching Protocols","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#101 switching protocols"},{"n":"http_status_codes:501 Not Implemented","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#501 not implemented"},{"n":"http_status_codes:505 HTTP Version Not Supported","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#505 http version not supported"},{"n":"http_status_codes:204 No Content","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#204 no content"},{"n":"http_status_codes:406 Not Acceptable","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#406 not acceptable"},{"n":"http_status_codes:415 Unsupported Media Type","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#415 unsupported media type"},{"n":"http_status_codes:503 Service Unavailable","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#503 service unavailable"},{"n":"http_status_codes:410 Gone","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#410 gone"},{"n":"http_status_codes:400 Bad Request","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#400 bad request"},{"n":"http_status_codes:401 Unauthorized","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#401 unauthorized"},{"n":"http_status_codes:301 Moved Permanently","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#301 moved permanently"},{"n":"http_status_codes:100 Continue","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#100 continue"},{"n":"http_status_codes:414 Request-URI Too Long","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#414 request-uri too long"},{"n":"http_status_codes:307 Temporary Redirect","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#307 temporary redirect"},{"n":"http_status_codes:409 Conflict","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#409 conflict"},{"n":"http_status_codes:202 Accepted","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#202 accepted"},{"n":"http_status_codes:404 Not Found","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#404 not found"},{"n":"http_status_codes:303 See Other","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#303 see other"},{"n":"http_status_codes:405 Method Not Allowed","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#405 method not allowed"},{"n":"http_status_codes:403 Forbidden","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#403 forbidden"},{"n":"http_status_codes:408 Request Timeout","l":"/docs/en/cowboy/HEAD/manual/http_status_codes/index.html#408 request timeout"},{"n":"cowboy:http_version","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#http_version"},{"n":"cowboy:fields","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#fields"},{"n":"cowboy:http_status","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#http_status"},{"n":"cowboy:onresponse_fun","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#onresponse_fun"},{"n":"cowboy:start_http","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#start_http"},{"n":"cowboy:http_headers","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#http_headers"},{"n":"cowboy:start_https","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#start_https"},{"n":"cowboy:start_spdy","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#start_spdy"},{"n":"cowboy:stop_listener","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#stop_listener"},{"n":"cowboy:set_env","l":"/docs/en/cowboy/HEAD/manual/cowboy/index.html#set_env"},{"n":"cowboy_handler:{crash, Class, Reason}","l":"/docs/en/cowboy/HEAD/manual/cowboy_handler/index.html#{crash, class, reason}"},{"n":"cowboy_handler:normal","l":"/docs/en/cowboy/HEAD/manual/cowboy_handler/index.html#normal"},{"n":"cowboy_handler:init","l":"/docs/en/cowboy/HEAD/manual/cowboy_handler/index.html#init"},{"n":"cowboy_handler:terminate","l":"/docs/en/cowboy/HEAD/manual/cowboy_handler/index.html#terminate"},{"n":"cowboy_loop:{error, Reason}","l":"/docs/en/cowboy/HEAD/manual/cowboy_loop/index.html#{error, reason}"},{"n":"cowboy_loop:stop","l":"/docs/en/cowboy/HEAD/manual/cowboy_loop/index.html#stop"},{"n":"cowboy_loop:timeout","l":"/docs/en/cowboy/HEAD/manual/cowboy_loop/index.html#timeout"},{"n":"cowboy_loop:{crash, Class, Reason}","l":"/docs/en/cowboy/HEAD/manual/cowboy_loop/index.html#{crash, class, reason}"},{"n":"cowboy_loop:{error, closed}","l":"/docs/en/cowboy/HEAD/manual/cowboy_loop/index.html#{error, closed}"},{"n":"cowboy_loop:info","l":"/docs/en/cowboy/HEAD/manual/cowboy_loop/index.html#info"},{"n":"cowboy_loop:{error, overflow}","l":"/docs/en/cowboy/HEAD/manual/cowboy_loop/index.html#{error, overflow}"},{"n":"cowboy_loop:normal","l":"/docs/en/cowboy/HEAD/manual/cowboy_loop/index.html#normal"},{"n":"cowboy_middleware:env","l":"/docs/en/cowboy/HEAD/manual/cowboy_middleware/index.html#env"},{"n":"cowboy_middleware:execute","l":"/docs/en/cowboy/HEAD/manual/cowboy_middleware/index.html#execute"},{"n":"cowboy_protocol:max_header_name_length ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#max_header_name_length "},{"n":"cowboy_protocol:max_keepalive ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#max_keepalive "},{"n":"cowboy_protocol:max_request_line_length ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#max_request_line_length "},{"n":"cowboy_protocol:middlewares ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#middlewares "},{"n":"cowboy_protocol:onresponse ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#onresponse "},{"n":"cowboy_protocol:timeout ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#timeout "},{"n":"cowboy_protocol:max_header_value_length ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#max_header_value_length "},{"n":"cowboy_protocol:max_headers ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#max_headers "},{"n":"cowboy_protocol:max_empty_lines ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#max_empty_lines "},{"n":"cowboy_protocol:compress ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#compress "},{"n":"cowboy_protocol:env ","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#env "},{"n":"cowboy_protocol:opts","l":"/docs/en/cowboy/HEAD/manual/cowboy_protocol/index.html#opts"},{"n":"cowboy_req:has_resp_body","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#has_resp_body"},{"n":"cowboy_req:body_length","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#body_length"},{"n":"cowboy_req:headers","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#headers"},{"n":"cowboy_req:chunk","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#chunk"},{"n":"cowboy_req:parse_header","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#parse_header"},{"n":"cowboy_req:req","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#req"},{"n":"cowboy_req:match_qs","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#match_qs"},{"n":"cowboy_req:reply","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#reply"},{"n":"cowboy_req:method","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#method"},{"n":"cowboy_req:parse_cookies","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#parse_cookies"},{"n":"cowboy_req:body_qs","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#body_qs"},{"n":"cowboy_req:parse_qs","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#parse_qs"},{"n":"cowboy_req:set_resp_cookie","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#set_resp_cookie"},{"n":"cowboy_req:set_resp_header","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#set_resp_header"},{"n":"cowboy_req:port","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#port"},{"n":"cowboy_req:peer","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#peer"},{"n":"cowboy_req:part","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#part"},{"n":"cowboy_req:meta","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#meta"},{"n":"cowboy_req:continue","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#continue"},{"n":"cowboy_req:delete_resp_header","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#delete_resp_header"},{"n":"cowboy_req:set_meta","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#set_meta"},{"n":"cowboy_req:chunked_reply","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#chunked_reply"},{"n":"cowboy_req:host","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#host"},{"n":"cowboy_req:host_url","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#host_url"},{"n":"cowboy_req:body","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#body"},{"n":"cowboy_req:host_info","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#host_info"},{"n":"cowboy_req:cookie_opts","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#cookie_opts"},{"n":"cowboy_req:version","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#version"},{"n":"cowboy_req:qs","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#qs"},{"n":"cowboy_req:body_opts","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#body_opts"},{"n":"cowboy_req:bindings","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#bindings"},{"n":"cowboy_req:header","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#header"},{"n":"cowboy_req:binding","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#binding"},{"n":"cowboy_req:match_cookies","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#match_cookies"},{"n":"cowboy_req:path_info","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#path_info"},{"n":"cowboy_req:has_body","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#has_body"},{"n":"cowboy_req:path","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#path"},{"n":"cowboy_req:set_resp_body","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#set_resp_body"},{"n":"cowboy_req:has_resp_header","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#has_resp_header"},{"n":"cowboy_req:url","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#url"},{"n":"cowboy_req:set_resp_body_fun","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#set_resp_body_fun"},{"n":"cowboy_req:part_body","l":"/docs/en/cowboy/HEAD/manual/cowboy_req/index.html#part_body"},{"n":"cowboy_rest:valid_content_headers","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#valid_content_headers"},{"n":"cowboy_rest:generate_etag","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#generate_etag"},{"n":"cowboy_rest:forbidden","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#forbidden"},{"n":"cowboy_rest:valid_entity_length","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#valid_entity_length"},{"n":"cowboy_rest:resource_exists","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#resource_exists"},{"n":"cowboy_rest:expires","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#expires"},{"n":"cowboy_rest:last_modified","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#last_modified"},{"n":"cowboy_rest:{crash, Class, Reason}","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#{crash, class, reason}"},{"n":"cowboy_rest:delete_completed","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#delete_completed"},{"n":"cowboy_rest:is_conflict","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#is_conflict"},{"n":"cowboy_rest:moved_permanently","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#moved_permanently"},{"n":"cowboy_rest:media_type","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#media_type"},{"n":"cowboy_rest:charsets_provided","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#charsets_provided"},{"n":"cowboy_rest:content_types_accepted","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#content_types_accepted"},{"n":"cowboy_rest:content_types_provided","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#content_types_provided"},{"n":"cowboy_rest:normal","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#normal"},{"n":"cowboy_rest:previously_existed","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#previously_existed"},{"n":"cowboy_rest:languages_provided","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#languages_provided"},{"n":"cowboy_rest:uri_too_long","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#uri_too_long"},{"n":"cowboy_rest:moved_temporarily","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#moved_temporarily"},{"n":"cowboy_rest:charset","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#charset"},{"n":"cowboy_rest:allow_missing_post","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#allow_missing_post"},{"n":"cowboy_rest:options","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#options"},{"n":"cowboy_rest:multiple_choices","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#multiple_choices"},{"n":"cowboy_rest:language","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#language"},{"n":"cowboy_rest:allowed_methods","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#allowed_methods"},{"n":"cowboy_rest:malformed_request","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#malformed_request"},{"n":"cowboy_rest:known_methods","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#known_methods"},{"n":"cowboy_rest:Callback","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#callback"},{"n":"cowboy_rest:delete_resource","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#delete_resource"},{"n":"cowboy_rest:service_available","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#service_available"},{"n":"cowboy_rest:is_authorized","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#is_authorized"},{"n":"cowboy_rest:variances","l":"/docs/en/cowboy/HEAD/manual/cowboy_rest/index.html#variances"},{"n":"cowboy_router:routes","l":"/docs/en/cowboy/HEAD/manual/cowboy_router/index.html#routes"},{"n":"cowboy_router:tokens","l":"/docs/en/cowboy/HEAD/manual/cowboy_router/index.html#tokens"},{"n":"cowboy_router:bindings","l":"/docs/en/cowboy/HEAD/manual/cowboy_router/index.html#bindings"},{"n":"cowboy_router:compile","l":"/docs/en/cowboy/HEAD/manual/cowboy_router/index.html#compile"},{"n":"cowboy_router:dispatch_rules","l":"/docs/en/cowboy/HEAD/manual/cowboy_router/index.html#dispatch_rules"},{"n":"cowboy_spdy:middlewares ","l":"/docs/en/cowboy/HEAD/manual/cowboy_spdy/index.html#middlewares "},{"n":"cowboy_spdy:onresponse ","l":"/docs/en/cowboy/HEAD/manual/cowboy_spdy/index.html#onresponse "},{"n":"cowboy_spdy:opts","l":"/docs/en/cowboy/HEAD/manual/cowboy_spdy/index.html#opts"},{"n":"cowboy_spdy:env ","l":"/docs/en/cowboy/HEAD/manual/cowboy_spdy/index.html#env "},{"n":"cowboy_sub_protocol:upgrade","l":"/docs/en/cowboy/HEAD/manual/cowboy_sub_protocol/index.html#upgrade"},{"n":"cowboy_websocket:{remote, Code, Payload}","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#{remote, code, payload}"},{"n":"cowboy_websocket:{error, Reason}","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#{error, reason}"},{"n":"cowboy_websocket:stop","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#stop"},{"n":"cowboy_websocket:timeout","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#timeout"},{"n":"cowboy_websocket:{crash, Class, Reason}","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#{crash, class, reason}"},{"n":"cowboy_websocket:websocket_compress","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#websocket_compress"},{"n":"cowboy_websocket:{error, closed}","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#{error, closed}"},{"n":"cowboy_websocket:websocket_info","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#websocket_info"},{"n":"cowboy_websocket:{error, badframe}","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#{error, badframe}"},{"n":"cowboy_websocket:websocket_version","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#websocket_version"},{"n":"cowboy_websocket:remote","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#remote"},{"n":"cowboy_websocket:normal","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#normal"},{"n":"cowboy_websocket:websocket_handle","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#websocket_handle"},{"n":"cowboy_websocket:{error, badencoding}","l":"/docs/en/cowboy/HEAD/manual/cowboy_websocket/index.html#{error, badencoding}"},{"n":"ranch:start_listener","l":"/docs/en/ranch/1.1/manual/ranch/index.html#start_listener"},{"n":"ranch:set_protocol_options","l":"/docs/en/ranch/1.1/manual/ranch/index.html#set_protocol_options"},{"n":"ranch:set_max_connections","l":"/docs/en/ranch/1.1/manual/ranch/index.html#set_max_connections"},{"n":"ranch:get_protocol_options","l":"/docs/en/ranch/1.1/manual/ranch/index.html#get_protocol_options"},{"n":"ranch:accept_ack","l":"/docs/en/ranch/1.1/manual/ranch/index.html#accept_ack"},{"n":"ranch:remove_connection","l":"/docs/en/ranch/1.1/manual/ranch/index.html#remove_connection"},{"n":"ranch:max_conns","l":"/docs/en/ranch/1.1/manual/ranch/index.html#max_conns"},{"n":"ranch:child_spec","l":"/docs/en/ranch/1.1/manual/ranch/index.html#child_spec"},{"n":"ranch:ref","l":"/docs/en/ranch/1.1/manual/ranch/index.html#ref"},{"n":"ranch:get_max_connections","l":"/docs/en/ranch/1.1/manual/ranch/index.html#get_max_connections"},{"n":"ranch:get_port","l":"/docs/en/ranch/1.1/manual/ranch/index.html#get_port"},{"n":"ranch:stop_listener","l":"/docs/en/ranch/1.1/manual/ranch/index.html#stop_listener"},{"n":"ranch_protocol:start_link","l":"/docs/en/ranch/1.1/manual/ranch_protocol/index.html#start_link"},{"n":"ranch_ssl:opts","l":"/docs/en/ranch/1.1/manual/ranch_ssl/index.html#opts"},{"n":"ranch_tcp:opts","l":"/docs/en/ranch/1.1/manual/ranch_tcp/index.html#opts"},{"n":"ranch_transport:accept_ack","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#accept_ack"},{"n":"ranch_transport:controlling_process","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#controlling_process"},{"n":"ranch_transport:shutdown","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#shutdown"},{"n":"ranch_transport:sendfile_opts","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#sendfile_opts"},{"n":"ranch_transport:sendfile","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#sendfile"},{"n":"ranch_transport:send","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#send"},{"n":"ranch_transport:accept","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#accept"},{"n":"ranch_transport:recv","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#recv"},{"n":"ranch_transport:name","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#name"},{"n":"ranch_transport:close","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#close"},{"n":"ranch_transport:listen","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#listen"},{"n":"ranch_transport:setopts","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#setopts"},{"n":"ranch_transport:peername","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#peername"},{"n":"ranch_transport:messages","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#messages"},{"n":"ranch_transport:sockname","l":"/docs/en/ranch/1.1/manual/ranch_transport/index.html#sockname"},{"n":"ranch:start_listener","l":"/docs/en/ranch/1.0/manual/ranch/index.html#start_listener"},{"n":"ranch:set_protocol_options","l":"/docs/en/ranch/1.0/manual/ranch/index.html#set_protocol_options"},{"n":"ranch:set_max_connections","l":"/docs/en/ranch/1.0/manual/ranch/index.html#set_max_connections"},{"n":"ranch:get_protocol_options","l":"/docs/en/ranch/1.0/manual/ranch/index.html#get_protocol_options"},{"n":"ranch:accept_ack","l":"/docs/en/ranch/1.0/manual/ranch/index.html#accept_ack"},{"n":"ranch:remove_connection","l":"/docs/en/ranch/1.0/manual/ranch/index.html#remove_connection"},{"n":"ranch:max_conns","l":"/docs/en/ranch/1.0/manual/ranch/index.html#max_conns"},{"n":"ranch:child_spec","l":"/docs/en/ranch/1.0/manual/ranch/index.html#child_spec"},{"n":"ranch:ref","l":"/docs/en/ranch/1.0/manual/ranch/index.html#ref"},{"n":"ranch:get_max_connections","l":"/docs/en/ranch/1.0/manual/ranch/index.html#get_max_connections"},{"n":"ranch:get_port","l":"/docs/en/ranch/1.0/manual/ranch/index.html#get_port"},{"n":"ranch:stop_listener","l":"/docs/en/ranch/1.0/manual/ranch/index.html#stop_listener"},{"n":"ranch_protocol:start_link","l":"/docs/en/ranch/1.0/manual/ranch_protocol/index.html#start_link"},{"n":"ranch_ssl:opts","l":"/docs/en/ranch/1.0/manual/ranch_ssl/index.html#opts"},{"n":"ranch_tcp:opts","l":"/docs/en/ranch/1.0/manual/ranch_tcp/index.html#opts"},{"n":"ranch_transport:accept_ack","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#accept_ack"},{"n":"ranch_transport:controlling_process","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#controlling_process"},{"n":"ranch_transport:shutdown","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#shutdown"},{"n":"ranch_transport:sendfile_opts","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#sendfile_opts"},{"n":"ranch_transport:sendfile","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#sendfile"},{"n":"ranch_transport:send","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#send"},{"n":"ranch_transport:accept","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#accept"},{"n":"ranch_transport:recv","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#recv"},{"n":"ranch_transport:name","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#name"},{"n":"ranch_transport:close","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#close"},{"n":"ranch_transport:listen","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#listen"},{"n":"ranch_transport:setopts","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#setopts"},{"n":"ranch_transport:peername","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#peername"},{"n":"ranch_transport:messages","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#messages"},{"n":"ranch_transport:sockname","l":"/docs/en/ranch/1.0/manual/ranch_transport/index.html#sockname"},{"n":"ranch:start_listener","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#start_listener"},{"n":"ranch:set_protocol_options","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#set_protocol_options"},{"n":"ranch:set_max_connections","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#set_max_connections"},{"n":"ranch:get_protocol_options","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#get_protocol_options"},{"n":"ranch:accept_ack","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#accept_ack"},{"n":"ranch:remove_connection","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#remove_connection"},{"n":"ranch:max_conns","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#max_conns"},{"n":"ranch:child_spec","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#child_spec"},{"n":"ranch:ref","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#ref"},{"n":"ranch:get_max_connections","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#get_max_connections"},{"n":"ranch:get_port","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#get_port"},{"n":"ranch:stop_listener","l":"/docs/en/ranch/HEAD/manual/ranch/index.html#stop_listener"},{"n":"ranch_protocol:start_link","l":"/docs/en/ranch/HEAD/manual/ranch_protocol/index.html#start_link"},{"n":"ranch_ssl:opts","l":"/docs/en/ranch/HEAD/manual/ranch_ssl/index.html#opts"},{"n":"ranch_tcp:opts","l":"/docs/en/ranch/HEAD/manual/ranch_tcp/index.html#opts"},{"n":"ranch_transport:accept_ack","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#accept_ack"},{"n":"ranch_transport:controlling_process","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#controlling_process"},{"n":"ranch_transport:shutdown","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#shutdown"},{"n":"ranch_transport:sendfile_opts","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#sendfile_opts"},{"n":"ranch_transport:sendfile","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#sendfile"},{"n":"ranch_transport:send","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#send"},{"n":"ranch_transport:accept","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#accept"},{"n":"ranch_transport:recv","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#recv"},{"n":"ranch_transport:name","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#name"},{"n":"ranch_transport:close","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#close"},{"n":"ranch_transport:listen","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#listen"},{"n":"ranch_transport:setopts","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#setopts"},{"n":"ranch_transport:peername","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#peername"},{"n":"ranch_transport:messages","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#messages"},{"n":"ranch_transport:sockname","l":"/docs/en/ranch/HEAD/manual/ranch_transport/index.html#sockname"}] \ No newline at end of file
diff --git a/docs/en/cowboy/1.0/guide/architecture/index.html b/docs/en/cowboy/1.0/guide/architecture/index.html
deleted file mode 100644
index 054fd97e..00000000
--- a/docs/en/cowboy/1.0/guide/architecture/index.html
+++ /dev/null
@@ -1,202 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Architecture</span></h1>
-
-<p>Cowboy is a lightweight HTTP server.</p>
-
-<p>It is built on top of Ranch. Please see the Ranch guide for more information.</p>
-
-<h2 id="one_process_per_connection">One process per connection</h2>
-
-<p>It uses only one process per connection. The process where your code runs is the process controlling the socket. Using one process instead of two allows for lower memory usage.</p>
-
-<p>Because there can be more than one request per connection with the keepalive feature of HTTP/1.1, that means the same process will be used to handle many requests.</p>
-
-<p>Because of this, you are expected to make sure your process cleans up before terminating the handling of the current request. This may include cleaning up the process dictionary, timers, monitoring and more.</p>
-
-<h2 id="binaries">Binaries</h2>
-
-<p>It uses binaries. Binaries are more efficient than lists for representing strings because they take less memory space. Processing performance can vary depending on the operation. Binaries are known for generally getting a great boost if the code is compiled natively. Please see the HiPE documentation for more details.</p>
-
-<h2 id="date_header">Date header</h2>
-
-<p>Because querying for the current date and time can be expensive, Cowboy generates one <code>Date</code> header value every second, shares it to all other processes, which then simply copy it in the response. This allows compliance with HTTP/1.1 with no actual performance loss.</p>
-
-<h2 id="max_connections">Max connections</h2>
-
-<p>By default the maximum number of active connections is set to a generally accepted big enough number. This is meant to prevent having too many processes performing potentially heavy work and slowing everything else down, or taking up all the memory.</p>
-
-<p>Disabling this feature, by setting the <code>{max_connections, infinity}</code> protocol option, would give you greater performance when you are only processing short-lived requests.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/broken_clients/index.html b/docs/en/cowboy/1.0/guide/broken_clients/index.html
deleted file mode 100644
index 81086e95..00000000
--- a/docs/en/cowboy/1.0/guide/broken_clients/index.html
+++ /dev/null
@@ -1,212 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Dealing with broken clients</span></h1>
-
-<p>There exists a very large number of implementations for the HTTP protocol. Most widely used clients, like browsers, follow the standard quite well, but others may not. In particular custom enterprise clients tend to be very badly written.</p>
-
-<p>Cowboy tries to follow the standard as much as possible, but is not trying to handle every possible special cases. Instead Cowboy focuses on the cases reported in the wild, on the public Web.</p>
-
-<p>That means clients that ignore the HTTP standard completely may fail to understand Cowboy's responses. There are of course workarounds. This chapter aims to cover them.</p>
-
-<h2 id="lowercase_headers">Lowercase headers</h2>
-
-<p>Cowboy converts all headers it receives to lowercase, and similarly sends back headers all in lowercase. Some broken HTTP clients have issues with that.</p>
-
-<p>A simple way to solve this is to create an <code>onresponse</code> hook that will format the header names with the expected case.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-capitalize_hook(Status, Headers, Body, Req) ->
- Headers2 = [{cowboy_bstr:capitalize_token(N), V}
- || {N, V} <- Headers],
- {ok, Req2} = cowboy_req:reply(Status, Headers2, Body, Req),
- Req2.
-]]></script>
-
-<p>Note that SPDY clients do not have that particular issue because the specification explicitly says all headers are lowercase, unlike HTTP which allows any case but treats them as case insensitive.</p>
-
-<h2 id="camel-case_headers">Camel-case headers</h2>
-
-<p>Sometimes it is desirable to keep the actual case used by clients, for example when acting as a proxy between two broken implementations. There is no easy solution for this other than forking the project and editing the <code>cowboy_protocol</code> file directly.</p>
-
-<h2 id="chunked_transfer-encoding">Chunked transfer-encoding</h2>
-
-<p>Sometimes an HTTP client advertises itself as HTTP/1.1 but does not support chunked transfer-encoding. This is invalid behavior, as HTTP/1.1 clients are required to support it.</p>
-
-<p>A simple workaround exists in these cases. By changing the Req object response state to <code>waiting_stream</code>, Cowboy will understand that it must use the identity transfer-encoding when replying, just like if it was an HTTP/1.0 client.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Req2 = cowboy_req:set(resp_state, waiting_stream).
-]]></script>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/cookies/index.html b/docs/en/cowboy/1.0/guide/cookies/index.html
deleted file mode 100644
index e315fccd..00000000
--- a/docs/en/cowboy/1.0/guide/cookies/index.html
+++ /dev/null
@@ -1,273 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Using cookies</span></h1>
-
-<p>Cookies are a mechanism allowing applications to maintain state on top of the stateless HTTP protocol.</p>
-
-<p>Cowboy provides facilities for handling cookies. It is highly recommended to use them instead of writing your own, as the implementation of cookies can vary greatly between clients.</p>
-
-<p>Cookies are stored client-side and sent with every subsequent request that matches the domain and path for which they were stored, including requests for static files. For this reason they can incur a cost which must be taken in consideration.</p>
-
-<p>Also consider that, regardless of the options used, cookies are not to be trusted. They may be read and modified by any program on the user's computer, but also by proxies. You should always validate cookie values before using them. Do not store any sensitive information in cookies either.</p>
-
-<p>When explicitly setting the domain, the cookie will be sent for the domain and all subdomains from that domain. Otherwise the current domain will be used. The same is true for the path.</p>
-
-<p>When the server sets cookies, they will only be available for requests that are sent after the client receives the response.</p>
-
-<p>Cookies are sent in HTTP headers, therefore they must have text values. It is your responsibility to encode any other data type. Also note that cookie names are de facto case sensitive.</p>
-
-<p>Cookies can be set for the client session (which generally means until the browser is closed), or it can be set for a number of seconds. Once it expires, or when the server says the cookie must exist for up to 0 seconds, the cookie is deleted by the client. To avoid this while the user is browsing your site, you should set the cookie for every request, essentially resetting the expiration time.</p>
-
-<p>Cookies can be restricted to secure channels. This typically means that such a cookie will only be sent over HTTPS, and that it will only be available by client-side scripts that run from HTTPS webpages.</p>
-
-<p>Finally, cookies can be restricted to HTTP and HTTPS requests, essentially disabling their access from client-side scripts.</p>
-
-<h2 id="setting_cookies">Setting cookies</h2>
-
-<p>By default, cookies you set are defined for the session.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-SessionID = generate_session_id(),
-Req2 = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, [], Req).
-]]></script>
-
-<p>You can also make them expire at a specific point in the future.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-SessionID = generate_session_id(),
-Req2 = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, [
- {max_age, 3600}
-], Req).
-]]></script>
-
-<p>You can delete cookies that have already been set. The value is ignored.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Req2 = cowboy_req:set_resp_cookie(<<"sessionid">>, <<>>, [
- {max_age, 0}
-], Req).
-]]></script>
-
-<p>You can restrict them to a specific domain and path. For example, the following cookie will be set for the domain <code>my.example.org</code> and all its subdomains, but only on the path <code>/account</code> and all its subdirectories.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Req2 = cowboy_req:set_resp_cookie(<<"inaccount">>, <<"1">>, [
- {domain, "my.example.org"},
- {path, "/account"}
-], Req).
-]]></script>
-
-<p>You can restrict the cookie to secure channels, typically HTTPS.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-SessionID = generate_session_id(),
-Req2 = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, [
- {secure, true}
-], Req).
-]]></script>
-
-<p>You can restrict the cookie to client-server communication only. Such a cookie will not be available to client-side scripts.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-SessionID = generate_session_id(),
-Req2 = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, [
- {http_only, true}
-], Req).
-]]></script>
-
-<p>Cookies may also be set client-side, for example using Javascript.</p>
-
-<h2 id="reading_cookies">Reading cookies</h2>
-
-<p>As we said, the client sends cookies with every request. But unlike the server, the client only sends the cookie name and value.</p>
-
-<p>You can read the value of a cookie.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{CookieVal, Req2} = cowboy_req:cookie(<<"lang">>, Req).
-]]></script>
-
-<p>You can also get a default value returned when the cookie isn't set.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{CookieVal, Req2} = cowboy_req:cookie(<<"lang">>, Req, <<"fr">>).
-]]></script>
-
-<p>And you can obtain all cookies at once as a list of key/value tuples.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{AllCookies, Req2} = cowboy_req:cookies(Req).
-]]></script>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/erlang_beginners/index.html b/docs/en/cowboy/1.0/guide/erlang_beginners/index.html
deleted file mode 100644
index 23de4035..00000000
--- a/docs/en/cowboy/1.0/guide/erlang_beginners/index.html
+++ /dev/null
@@ -1,196 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Erlang for beginners</span></h1>
-
-<p>Chances are you are interested in using Cowboy, but have no idea how to write an Erlang program. Fear not! This chapter will help you get started.</p>
-
-<p>We recommend two books for beginners. You should read them both at some point, as they cover Erlang from two entirely different perspectives.</p>
-
-<h2 id="learn_you_some_erlang_for_great_good!">Learn You Some Erlang for Great Good!</h2>
-
-<p>The quickest way to get started with Erlang is by reading a book with the funny name of <a href="http://learnyousomeerlang.com">LYSE</a>, as we affectionately call it.</p>
-
-<p>It will get right into the syntax and quickly answer the questions a beginner would ask themselves, all the while showing funny pictures and making insightful jokes.</p>
-
-<p>You can read an early version of the book online for free, but you really should buy the much more refined paper and ebook versions.</p>
-
-<h2 id="programming_erlang">Programming Erlang</h2>
-
-<p>After writing some code, you will probably want to understand the very concepts that make Erlang what it is today. These are best explained by Joe Armstrong, the godfather of Erlang, in his book <a href="http://pragprog.com/book/jaerlang2/programming-erlang">Programming Erlang</a>.</p>
-
-<p>Instead of going into every single details of the language, Joe focuses on the central concepts behind Erlang, and shows you how they can be used to write a variety of different applications.</p>
-
-<p>At the time of writing, the 2nd edition of the book is in beta, and includes a few details about upcoming Erlang features that cannot be used today. Choose the edition you want, then get reading!</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/erlang_web/index.html b/docs/en/cowboy/1.0/guide/erlang_web/index.html
deleted file mode 100644
index 23430883..00000000
--- a/docs/en/cowboy/1.0/guide/erlang_web/index.html
+++ /dev/null
@@ -1,248 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Erlang and the Web</span></h1>
-
-<h2 id="the_web_is_concurrent">The Web is concurrent</h2>
-
-<p>When you access a website there is little concurrency involved. A few connections are opened and requests are sent through these connections. Then the web page is displayed on your screen. Your browser will only open up to 4 or 8 connections to the server, depending on your settings. This isn't much.</p>
-
-<p>But think about it. You are not the only one accessing the server at the same time. There can be hundreds, if not thousands, if not millions of connections to the same server at the same time.</p>
-
-<p>Even today a lot of systems used in production haven't solved the C10K problem (ten thousand concurrent connections). And the ones who did are trying hard to get to the next step, C100K, and are pretty far from it.</p>
-
-<p>Erlang meanwhile has no problem handling millions of connections. At the time of writing there are application servers written in Erlang that can handle more than two million connections on a single server in a real production application, with spare memory and CPU!</p>
-
-<p>The Web is concurrent, and Erlang is a language designed for concurrency, so it is a perfect match.</p>
-
-<p>Of course, various platforms need to scale beyond a few million connections. This is where Erlang's built-in distribution mechanisms come in. If one server isn't enough, add more! Erlang allows you to use the same code for talking to local processes or to processes in other parts of your cluster, which means you can scale very quickly if the need arises.</p>
-
-<p>The Web has large userbases, and the Erlang platform was designed to work in a distributed setting, so it is a perfect match.</p>
-
-<p>Or is it? Surely you can find solutions to handle that many concurrent connections with your favorite language... But all these solutions will break down in the next few years. Why? Firstly because servers don't get any more powerful, they instead get a lot more cores and memory. This is only useful if your application can use them properly, and Erlang is light-years away from anything else in that area. Secondly, today your computer and your phone are online, tomorrow your watch, goggles, bike, car, fridge and tons of other devices will also connect to various applications on the Internet.</p>
-
-<p>Only Erlang is prepared to deal with what's coming.</p>
-
-<h2 id="the_web_is_soft_real_time">The Web is soft real time</h2>
-
-<p>What does soft real time mean, you ask? It means we want the operations done as quickly as possible, and in the case of web applications, it means we want the data propagated fast.</p>
-
-<p>In comparison, hard real time has a similar meaning, but also has a hard time constraint, for example an operation needs to be done in under N milliseconds otherwise the system fails entirely.</p>
-
-<p>Users aren't that needy yet, they just want to get access to their content in a reasonable delay, and they want the actions they make to register at most a few seconds after they submitted them, otherwise they'll start worrying about whether it successfully went through.</p>
-
-<p>The Web is soft real time because taking longer to perform an operation would be seen as bad quality of service.</p>
-
-<p>Erlang is a soft real time system. It will always run processes fairly, a little at a time, switching to another process after a while and preventing a single process to steal resources from all others. This means that Erlang can guarantee stable low latency of operations.</p>
-
-<p>Erlang provides the guarantees that the soft real time Web requires.</p>
-
-<h2 id="the_web_is_asynchronous">The Web is asynchronous</h2>
-
-<p>Long ago, the Web was synchronous because HTTP was synchronous. You fired a request, and then waited for a response. Not anymore. It all began when XmlHttpRequest started being used. It allowed the client to perform asynchronous calls to the server.</p>
-
-<p>Then Websocket appeared and allowed both the server and the client to send data to the other endpoint completely asynchronously. The data is contained within frames and no response is necessary.</p>
-
-<p>Erlang processes work the same. They send each other data contained within messages and then continue running without needing a response. They tend to spend most of their time inactive, waiting for a new message, and the Erlang VM happily activate them when one is received.</p>
-
-<p>It is therefore quite easy to imagine Erlang being good at receiving Websocket frames, which may come in at unpredictable times, pass the data to the responsible processes which are always ready waiting for new messages, and perform the operations required by only activating the required parts of the system.</p>
-
-<p>The more recent Web technologies, like Websocket of course, but also SPDY and HTTP/2.0, are all fully asynchronous protocols. The concept of requests and responses is retained of course, but anything could be sent in between, by both the client or the browser, and the responses could also be received in a completely different order.</p>
-
-<p>Erlang is by nature asynchronous and really good at it thanks to the great engineering that has been done in the VM over the years. It's only natural that it's so good at dealing with the asynchronous Web.</p>
-
-<h2 id="the_web_is_omnipresent">The Web is omnipresent</h2>
-
-<p>The Web has taken a very important part of our lives. We're connected at all times, when we're on our phone, using our computer, passing time using a tablet while in the bathroom... And this isn't going to slow down, every single device at home or on us will be connected.</p>
-
-<p>All these devices are always connected. And with the number of alternatives to give you access to the content you seek, users tend to not stick around when problems arise. Users today want their applications to be always available and if it's having too many issues they just move on.</p>
-
-<p>Despite this, when developers choose a product to use for building web applications, their only concern seem to be "Is it fast?", and they look around for synthetic benchmarks showing which one is the fastest at sending "Hello world" with only a handful concurrent connections. Web benchmarks haven't been representative of reality in a long time, and are drifting further away as time goes on.</p>
-
-<p>What developers should really ask themselves is "Can I service all my users with no interruption?" and they'd find that they have two choices. They can either hope for the best, or they can use Erlang.</p>
-
-<p>Erlang is built for fault tolerance. When writing code in any other language, you have to check all the return values and act accordingly to avoid any unforeseen issues. If you're lucky, you won't miss anything important. When writing Erlang code, you can just check the success condition and ignore all errors. If an error happen, the Erlang process crashes and is then restarted by a special process called a supervisor.</p>
-
-<p>The Erlang developer thus has no need to fear about unhandled errors, and can focus on handling only the errors that should give some feedback to the user and let the system take care of the rest. This also has the advantage of allowing him to write a lot less code, and letting him sleep at night.</p>
-
-<p>Erlang's fault tolerance oriented design is the first piece of what makes it the best choice for the omnipresent, always available Web.</p>
-
-<p>The second piece is Erlang's built-in distribution. Distribution is a key part of building a fault tolerant system, because it allows you to handle bigger failures, like a whole server going down, or even a data center entirely.</p>
-
-<p>Fault tolerance and distribution are important today, and will be vital in the future of the Web. Erlang is ready.</p>
-
-<h2 id="erlang_is_the_ideal_platform_for_the_web">Erlang is the ideal platform for the Web</h2>
-
-<p>Erlang provides all the important features that the Web requires or will require in the near future. Erlang is a perfect match for the Web, and it only makes sense to use it to build web applications.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/getting_started/index.html b/docs/en/cowboy/1.0/guide/getting_started/index.html
deleted file mode 100644
index bd063c52..00000000
--- a/docs/en/cowboy/1.0/guide/getting_started/index.html
+++ /dev/null
@@ -1,299 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Getting started</span></h1>
-
-<p>Erlang is more than a language, it is also an operating system for your applications. Erlang developers rarely write standalone modules, they write libraries or applications, and then bundle those into what is called a release. A release contains the Erlang VM plus all applications required to run the node, so it can be pushed to production directly.</p>
-
-<p>This chapter walks you through all the steps of setting up Cowboy, writing your first application and generating your first release. At the end of this chapter you should know everything you need to push your first Cowboy application to production.</p>
-
-<h2 id="bootstrap">Bootstrap</h2>
-
-<p>We are going to use the <a href="https://github.com/ninenines/erlang.mk">erlang.mk</a> build system. It also offers bootstrap features allowing us to quickly get started without having to deal with minute details.</p>
-
-<p>First, let's create the directory for our application.</p>
-
-<script type="syntaxhighlighter" class="brush: bash"><![CDATA[
-$ mkdir hello_erlang
-$ cd hello_erlang
-]]></script>
-
-<p>Then we need to download <code>erlang.mk</code>. Either use the following command or download it manually.</p>
-
-<script type="syntaxhighlighter" class="brush: bash"><![CDATA[
-$ wget https://raw.githubusercontent.com/ninenines/erlang.mk/master/erlang.mk
-]]></script>
-
-<p>We can now bootstrap our application. Since we are going to generate a release, we will also bootstrap it at the same time.</p>
-
-<script type="syntaxhighlighter" class="brush: bash"><![CDATA[
-$ make -f erlang.mk bootstrap bootstrap-rel
-]]></script>
-
-<p>This creates a Makefile, a base application, and the release files necessary for creating the release. We can already build and start this release.</p>
-
-<script type="syntaxhighlighter" class="brush: bash"><![CDATA[
-$ make
-...
-$ ./_rel/hello_erlang_release/bin/hello_erlang_release console
-...
-]]></script>
-
-<p>Entering the command <code>i().</code> will show the running processes, including one called <code>hello_erlang_sup</code>. This is the supervisor for our application.</p>
-
-<p>The release currently does nothing. In the rest of this chapter we will add Cowboy as a dependency and write a simple "Hello world!" handler.</p>
-
-<h2 id="cowboy_setup">Cowboy setup</h2>
-
-<p>To add Cowboy as a dependency to your application, you need to modify two files: the Makefile and the application resource file.</p>
-
-<p>Modifying the Makefile allows the build system to know it needs to fetch and compile Cowboy. To do that we simply need to add one line to our Makefile to make it look like this:</p>
-
-<script type="syntaxhighlighter" class="brush: plain"><![CDATA[
-PROJECT = hello_erlang
-DEPS = cowboy
-include erlang.mk
-]]></script>
-
-<p>Modifying the application resource file, <code>src/hello_erlang.app.src</code>, allows the build system to know it needs to include Cowboy in the release and start it automatically. This is a different step because some dependencies are only needed during development.</p>
-
-<p>We are simply going to add <code>cowboy</code> to the list of <code>applications</code>, right after <code>stdlib</code>. Don't forget the comma separator.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{application, hello_erlang, [
- {description, "Hello Erlang!"},
- {vsn, "0.1.0"},
- {modules, []},
- {registered, []},
- {applications, [
- kernel,
- stdlib,
- cowboy
- ]},
- {mod, {hello_erlang_app, []}},
- {env, []}
-]}.
-]]></script>
-
-<p>You may want to set a description for the application while you are editing the file.</p>
-
-<p>If you run <code>make</code> now and start the release, Cowboy will be included and started automatically. This is not enough however, as Cowboy doesn't do anything by default. We still need to tell Cowboy to listen for connections.</p>
-
-<h2 id="listening_for_connections">Listening for connections</h2>
-
-<p>We will do this when our application starts. It's a two step process. First we need to define and compile the dispatch list, a list of routes that Cowboy will use to map requests to handler modules. Then we tell Cowboy to listen for connections.</p>
-
-<p>Open the <code>src/hello_erlang_app.erl</code> file and add the necessary code to the <code>start/2</code> function to make it look like this:</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-start(_Type, _Args) ->
- Dispatch = cowboy_router:compile([
- {'_', [{"/", hello_handler, []}]}
- ]),
- cowboy:start_http(my_http_listener, 100, [{port, 8080}],
- [{env, [{dispatch, Dispatch}]}]
- ),
- hello_erlang_sup:start_link().
-]]></script>
-
-<p>The dispatch list is explained in great details in the <a href="/docs/en/cowboy/1.0/guide/routing">Routing</a> chapter. For this tutorial we map the path <code>/</code> to the handler module <code>hello_handler</code>. This module doesn't exist yet, we still have to write it.</p>
-
-<p>If you build the release, start it and open <a href="http://localhost:8080">http://localhost:8080</a> now, you will get an error because the module is missing. Any other URL, like <a href="http://localhost:8080/test">http://localhost:8080/test</a>, will result in a 404 error.</p>
-
-<h2 id="handling_requests">Handling requests</h2>
-
-<p>Cowboy features different kinds of handlers, including REST and Websocket handlers. For this tutorial we will use a plain HTTP handler.</p>
-
-<p>First, let's generate a handler from a template.</p>
-
-<script type="syntaxhighlighter" class="brush: bash"><![CDATA[
-$ make new t=cowboy_http n=hello_handler
-]]></script>
-
-<p>You can then open the <code>src/hello_handler.erl</code> file and modify the <code>handle/2</code> function like this to send a reply.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-handle(Req, State=#state{}) ->
- {ok, Req2} = cowboy_req:reply(200,
- [{<<"content-type">>, <<"text/plain">>}],
- <<"Hello Erlang!">>,
- Req),
- {ok, Req2, State}.
-]]></script>
-
-<p>What the above code does is send a <code>200 OK</code> reply, with the <code>content-type</code> header set to <code>text/plain</code> and the response body set to <code>Hello Erlang!</code>.</p>
-
-<p>If you build the release, start it and open <a href="http://localhost:8080">http://localhost:8080</a> in your browser, you should get a nice <code>Hello Erlang!</code> displayed!</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/hooks/index.html b/docs/en/cowboy/1.0/guide/hooks/index.html
deleted file mode 100644
index 861a97b5..00000000
--- a/docs/en/cowboy/1.0/guide/hooks/index.html
+++ /dev/null
@@ -1,239 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Hooks</span></h1>
-
-<p>Cowboy provides two hooks. <code>onrequest</code> is called once the request line and headers have been received. <code>onresponse</code> is called just before sending the response.</p>
-
-<h2 id="onrequest">Onrequest</h2>
-
-<p>The <code>onrequest</code> hook is called as soon as Cowboy finishes fetching the request headers. It occurs before any other processing, including routing. It can be used to perform any modification needed on the request object before continuing with the processing. If a reply is sent inside this hook, then Cowboy will move on to the next request, skipping any subsequent handling.</p>
-
-<p>This hook is a function that takes a request object as argument, and returns a request object. This function MUST NOT crash. Cowboy will not send any reply if a crash occurs in this function.</p>
-
-<p>You can specify the <code>onrequest</code> hook when creating the listener, inside the request options.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-cowboy:start_http(my_http_listener, 100,
- [{port, 8080}],
- [
- {env, [{dispatch, Dispatch}]},
- {onrequest, fun ?MODULE:debug_hook/1}
- ]
-).
-]]></script>
-
-<p>The following hook function prints the request object everytime a request is received. This can be useful for debugging, for example.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-debug_hook(Req) ->
- erlang:display(Req),
- Req.
-]]></script>
-
-<p>Make sure to always return the last request object obtained.</p>
-
-<h2 id="onresponse">Onresponse</h2>
-
-<p>The <code>onresponse</code> hook is called right before sending the response to the socket. It can be used for the purposes of logging responses, or for modifying the response headers or body. The best example is providing custom error pages.</p>
-
-<p>Note that like the <code>onrequest</code> hook, this function MUST NOT crash. Cowboy may or may not send a reply if this function crashes. If a reply is sent, the hook MUST explicitly provide all headers that are needed.</p>
-
-<p>You can specify the <code>onresponse</code> hook when creating the listener.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-cowboy:start_http(my_http_listener, 100,
- [{port, 8080}],
- [
- {env, [{dispatch, Dispatch}]},
- {onresponse, fun ?MODULE:custom_404_hook/4}
- ]
-).
-]]></script>
-
-<p>The following hook function will provide a custom body for 404 errors when it has not been provided before, and will let Cowboy proceed with the default response otherwise.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-custom_404_hook(404, Headers, <<>>, Req) ->
- Body = <<"404 Not Found.">>,
- Headers2 = lists:keyreplace(<<"content-length">>, 1, Headers,
- {<<"content-length">>, integer_to_list(byte_size(Body))}),
- {ok, Req2} = cowboy_req:reply(404, Headers2, Body, Req),
- Req2;
-custom_404_hook(_, _, _, Req) ->
- Req.
-]]></script>
-
-<p>Again, make sure to always return the last request object obtained.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/http_handlers/index.html b/docs/en/cowboy/1.0/guide/http_handlers/index.html
deleted file mode 100644
index 512558af..00000000
--- a/docs/en/cowboy/1.0/guide/http_handlers/index.html
+++ /dev/null
@@ -1,279 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Handling plain HTTP requests</span></h1>
-
-<p>The simplest way to handle a request is by writing a plain HTTP handler. It is modeled after Erlang/OTP's gen_server behaviour, although simplified, as Cowboy will simply call the three callbacks sequentially.</p>
-
-<h2 id="initialization">Initialization</h2>
-
-<p>The first callback, <code>init/3</code>, is common to all handlers, as it is used to identify the type of handler. Plain HTTP handlers just return <code>ok</code>.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_Type, Req, _Opts) ->
- {ok, Req, no_state}.
-]]></script>
-
-<p>This function receives the name of the transport and protocol modules used for processing the request. They can be used to quickly dismiss requests. For example the following handler will crash when accessed using TCP instead of SSL.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init({ssl, _}, Req, _Opts) ->
- {ok, Req, no_state}.
-]]></script>
-
-<p>This function also receives the options associated with this route that you configured previously. If your handler does not use options, then it is recommended you match the value <code>[]</code> directly to quickly detect configuration errors.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_Type, Req, []) ->
- {ok, Req, no_state}.
-]]></script>
-
-<p>You do not need to validate the options unless they are user configured. If they are, and there's a configuration error, you may choose to crash. For example, this will crash if the required <code>lang</code> option is not found.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_Type, Req, Opts) ->
- {_, _Lang} = lists:keyfind(lang, 1, Opts),
- {ok, Req, no_state}.
-]]></script>
-
-<p>If your users are unlikely to figure out the issue without explanations, then you should send a more meaningful error back to the user. Since we already replied to the user, there's no need for us to continue with the handler code, so we use the <code>shutdown</code> return value to stop early.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_Type, Req, Opts) ->
- case lists:keyfind(lang, 1, Opts) of
- false ->
- {ok, Req2} = cowboy_req:reply(500, [
- {<<"content-type">>, <<"text/plain">>}
- ], "Missing option 'lang'.", Req),
- {shutdown, Req2, no_state};
- _ ->
- {ok, Req, no_state}
- end.
-]]></script>
-
-<p>Once the options have been validated, we can use them safely. So we need to pass them onward to the rest of the handler. That's what the third element of the return tuple, the state, is for.</p>
-
-<p>We recommend that you create a state record for this. The record will make your handler code clearer and will allow you to better use Dialyzer for type checking.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
--record(state, {
- lang :: en | fr
- %% More fields here.
-}).
-
-init(_Type, Req, Opts) ->
- {_, Lang} = lists:keyfind(lang, 1, Opts),
- {ok, Req, #state{lang=Lang}}.
-]]></script>
-
-<h2 id="handling_the_request">Handling the request</h2>
-
-<p>The second callback, <code>handle/2</code>, is specific to plain HTTP handlers. It's where you, wait for it, handle the request.</p>
-
-<p>A handle function that does nothing would look like this:</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-handle(Req, State) ->
- {ok, Req, State}.
-]]></script>
-
-<p>There's no other return value. To obtain information about the request, or send a response, you would use the Req object here. The Req object is documented in its own chapter.</p>
-
-<p>The following handle function will send a fairly original response.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-handle(Req, State) ->
- {ok, Req2} = cowboy_req:reply(200, [
- {<<"content-type">>, <<"text/plain">>}
- ], <<"Hello World!">>, Req),
- {ok, Req2, State}.
-]]></script>
-
-<h2 id="cleaning_up">Cleaning up</h2>
-
-<p>The third and last callback, <code>terminate/3</code>, will most likely be empty in your handler.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-terminate(_Reason, Req, State) ->
- ok.
-]]></script>
-
-<p>This callback is strictly reserved for any required cleanup. You cannot send a response from this function. There is no other return value.</p>
-
-<p>If you used the process dictionary, timers, monitors or may be receiving messages, then you can use this function to clean them up, as Cowboy might reuse the process for the next keep-alive request.</p>
-
-<p>The chances of any of this happening in your handler are pretty thin however. The use of the process dictionary is discouraged in Erlang code in general. And if you need to use timers, monitors or to receive messages, you are better off with a loop handler, a different kind of handler meant specifically for this use.</p>
-
-<p>This function is still available should you need it. It will always be called.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/http_req_life/index.html b/docs/en/cowboy/1.0/guide/http_req_life/index.html
deleted file mode 100644
index 9ee8b4d0..00000000
--- a/docs/en/cowboy/1.0/guide/http_req_life/index.html
+++ /dev/null
@@ -1,251 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>The life of a request</span></h1>
-
-<p>This chapter explains the different steps a request goes through until a response is sent, along with details of the Cowboy implementation.</p>
-
-<h2 id="request/response">Request/response</h2>
-
-<p>As you already know, HTTP clients connect to the server and send a request for a resource; the server then sends a response containing the resource if it could obtain it.</p>
-
-<p>Before the server can send the resource, however, it needs to perform many different operations to read the request, find the resource, prepare the response being sent and often other related operations the user can add like writing logs.</p>
-
-<p>Requests take the following route in Cowboy:</p>
-
-<p><img title="HTTP request/response flowchart" src="/docs/en/cowboy/1.0/guide/http_req_resp.png"/></p>
-
-<p>This shows the default middlewares, but they may be configured differently in your setup. The dark green indicates the points where you can hook your own code, the light green is the Cowboy code that you can of course configure as needed.</p>
-
-<p>The <code>acceptor</code> is the part of the server that accepts the connection and create an Erlang process to handle it. The <code>parser</code> then starts reading from the socket and handling requests as they come until the socket is closed.</p>
-
-<p>A response may be sent at many different points in the life of the request. If Cowboy can't parse the request, it gives up with an error response. If the router can't find the resource, it sends a not found error. Your own code can of course send a response at any time.</p>
-
-<p>When a response is sent, you can optionally modify it or act upon it by enabling the <code>onresponse</code> hook. By default the response is sent directly to the client.</p>
-
-<h2 id="and_then?">And then?</h2>
-
-<p>Behavior depends on what protocol is in use.</p>
-
-<p>HTTP/1.0 can only process one request per connection, so Cowboy will close the connection immediately after it sends the response.</p>
-
-<p>HTTP/1.1 allows the client to request that the server keeps the connection alive. This mechanism is described in the next section.</p>
-
-<p>SPDY is designed to allow sending multiple requests asynchronously on the same connection. Details on what this means for your application is described in this chapter.</p>
-
-<h2 id="keep-alive_(http/1.1)">Keep-alive (HTTP/1.1)</h2>
-
-<p>With HTTP/1.1, the connection may be left open for subsequent requests to come. This mechanism is called <code>keep-alive</code>.</p>
-
-<p>When the client sends a request to the server, it includes a header indicating whether it would like to leave the socket open. The server may or may not accept, indicating its choice by sending the same header in the response.</p>
-
-<p>Cowboy will include this header automatically in all responses to HTTP/1.1 requests. You can however force the closing of the socket if you want. When Cowboy sees you want to send a <code>connection: close</code> header, it will not override it and will close the connection as soon as the reply is sent.</p>
-
-<p>This snippet will force Cowboy to close the connection.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:reply(200, [
- {<<"connection">>, <<"close">>},
-], <<"Closing the socket in 3.. 2.. 1..">>, Req).
-]]></script>
-
-<p>Cowboy will only accept a certain number of new requests on the same connection. By default it will run up to 100 requests. This number can be changed by setting the <code>max_keepalive</code> configuration value when starting an HTTP listener.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-cowboy:start_http(my_http_listener, 100, [{port, 8080}], [
- {env, [{dispatch, Dispatch}]},
- {max_keepalive, 5}
-]).
-]]></script>
-
-<p>Cowboy implements the keep-alive mechanism by reusing the same process for all requests. This allows Cowboy to save memory. This works well because most code will not have any side effect impacting subsequent requests. But it also means you need to clean up if you do have code with side effects. The <code>terminate/3</code> function can be used for this purpose.</p>
-
-<h2 id="pipelining_(http/1.1)">Pipelining (HTTP/1.1)</h2>
-
-<p>While HTTP is designed as a sequential protocol, with the client sending a request and then waiting for the response from the server, nothing prevents the client from sending more requests to the server without waiting for the response, due to how sockets work. The server still handles the requests sequentially and sends the responses in the same order.</p>
-
-<p>This mechanism is called pipelining. It allows reducing latency when a client needs to request many resources at the same time. This is used by browsers when requesting static files for example.</p>
-
-<p>This is handled automatically by the server.</p>
-
-<h2 id="asynchronous_requests_(spdy)">Asynchronous requests (SPDY)</h2>
-
-<p>In SPDY, the client can send a request at any time. And the server can send a response at any time too.</p>
-
-<p>This means for example that the client does not need to wait for a request to be fully sent to send another, it is possible to interleave a request with the request body of another request. The same is true with responses. Responses may also be sent in a different order.</p>
-
-<p>Because requests and responses are fully asynchronous, Cowboy creates a new process for each request, and these processes are managed by another process that handles the connection itself.</p>
-
-<p>SPDY servers may also decide to send resources to the client before the client requests them. This is especially useful for sending static files associated with the HTML page requested, as this reduces the latency of the overall response. Cowboy does not support this particular mechanism at this point, however.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/http_req_resp.png b/docs/en/cowboy/1.0/guide/http_req_resp.png
deleted file mode 100644
index e38935f3..00000000
--- a/docs/en/cowboy/1.0/guide/http_req_resp.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/1.0/guide/http_req_resp.svg b/docs/en/cowboy/1.0/guide/http_req_resp.svg
deleted file mode 100644
index 0cfa0ae9..00000000
--- a/docs/en/cowboy/1.0/guide/http_req_resp.svg
+++ /dev/null
@@ -1,558 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="http_req_resp.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4142136"
- inkscape:cx="229.71447"
- inkscape:cy="764.83183"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="1920"
- inkscape:window-height="1014"
- inkscape:window-x="0"
- inkscape:window-y="33"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <use
- x="0"
- y="0"
- xlink:href="#path5757"
- id="use5779"
- transform="matrix(0.59961275,-0.80029029,0.80029029,0.59961275,-103.8895,437.48518)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#path5757"
- id="use5777"
- transform="matrix(0.92125726,-0.38895379,0.38895379,0.92125726,-85.14742,176.0134)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:2, 4;stroke-dashoffset:0"
- d="m 188.5,231.36218 187,79"
- id="path5757"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#g5650"
- id="use5753"
- transform="translate(475.11201,-33.017248)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#use5753"
- id="use5755"
- transform="translate(3.984568e-6,86.977569)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279908999999984;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="43.721401"
- y="360.88528"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#g5650"
- id="use5654"
- transform="translate(205.03261,53.351708)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#use5656"
- id="use5658"
- transform="translate(0,-86.13396)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#use5658"
- id="use5660"
- transform="translate(0,-87.519558)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#use5660"
- id="use5662"
- transform="translate(0,-86.562562)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;opacity:0.8" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;opacity:0.8"
- sodipodi:type="star" />
- </g>
- <use
- x="0"
- y="0"
- xlink:href="#use5654"
- id="use5656"
- transform="translate(6.1542801e-7,-87.19819)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273"
- id="use5335"
- transform="translate(318.97597,268.31614)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(318.97592,-176.5)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-7"
- id="use5359"
- transform="translate(318.97597,32.954225)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#use5359"
- id="use5361"
- transform="translate(1.630859e-6,86.769591)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#use5335"
- id="use5363"
- transform="translate(0,173.33215)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#use5361"
- id="use5365"
- transform="translate(0,173.66424)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="146.77734"
- y="147.73293"
- id="text5371-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="146.77734"
- y="147.73293">acceptor</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="146.53125"
- y="233.42836"
- id="text5371-74"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-5"
- x="146.53125"
- y="233.42836">parser</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="146.53125"
- y="407.78009"
- id="text5371-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-0"
- x="146.53125"
- y="407.78009">router</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.00391"
- y="321.39722"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="147.00391"
- y="321.39722">onrequest</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="146.53125"
- y="495.07318"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="146.53125"
- y="495.07318">handler</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-446.99591"
- y="63.078125"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-446.99591"
- y="63.078125">middlewares</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.00391"
- y="60.912468"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2"
- x="147.00391"
- y="60.912468">client</tspan></text>
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-7"
- id="use5668"
- transform="translate(589.05532,207.03588)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273"
- id="use5670"
- transform="translate(589.05538,355.27934)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#use5355"
- id="use5672"
- transform="translate(270.07946,434.91762)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#text5371-4-0"
- id="use5674"
- transform="translate(270.29655,434.16115)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="417.30829"
- y="321.42792"
- id="text5371-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-57"
- x="417.30829"
- y="321.42792">reply</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="417.30829"
- y="407.77994"
- id="text5371-2-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="417.30829"
- y="407.77994">onresponse</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/1.0/guide/index.html b/docs/en/cowboy/1.0/guide/index.html
deleted file mode 100644
index 52d8fdcc..00000000
--- a/docs/en/cowboy/1.0/guide/index.html
+++ /dev/null
@@ -1,250 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Cowboy User Guide</span></h1>
-
-<p>The Cowboy User Guide explores the modern Web and how to make best use of Cowboy for writing powerful web applications.</p>
-
-<h2 id="introducing_cowboy">Introducing Cowboy</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/introduction">Introduction</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/modern_web">The modern Web</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/erlang_web">Erlang and the Web</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/erlang_beginners">Erlang for beginners</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/getting_started">Getting started</a></li>
-</ul>
-
-<h2 id="http">HTTP</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/http_req_life">The life of a request</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/routing">Routing</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/http_handlers">Handling plain HTTP requests</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/req">The Req object</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/req_body">Reading the request body</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/resp">Sending a response</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/cookies">Using cookies</a></li>
-</ul>
-
-<h2 id="multipart">Multipart</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/multipart_intro">Introduction to multipart</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/multipart_req">Multipart requests</a></li>
-</ul>
-
-<h2 id="static_files">Static files</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/static_handlers">Static handler</a></li>
-</ul>
-
-<h2 id="rest">REST</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/rest_principles">REST principles</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/rest_handlers">Handling REST requests</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/rest_flowcharts">REST flowcharts</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/resource_design">Designing a resource handler</a></li>
-</ul>
-
-<h2 id="websocket">Websocket</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/ws_protocol">The Websocket protocol</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/ws_handlers">Handling Websocket connections</a></li>
-</ul>
-
-<h2 id="server_push">Server push</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/loop_handlers">Loop handlers</a></li>
-</ul>
-
-<h2 id="pluggable_interface">Pluggable interface</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/middlewares">Middlewares</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/upgrade_protocol">Protocol upgrades</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/hooks">Hooks</a></li>
-</ul>
-
-<h2 id="internals">Internals</h2>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/guide/architecture">Architecture</a></li>
-<li><a href="/docs/en/cowboy/1.0/guide/broken_clients">Dealing with broken clients</a></li>
-</ul>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/introduction/index.html b/docs/en/cowboy/1.0/guide/introduction/index.html
deleted file mode 100644
index 8b73b179..00000000
--- a/docs/en/cowboy/1.0/guide/introduction/index.html
+++ /dev/null
@@ -1,212 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Introduction</span></h1>
-
-<p>Cowboy is a small, fast and modular HTTP server written in Erlang.</p>
-
-<p>Cowboy aims to provide a complete HTTP stack, including its derivatives SPDY, Websocket and REST. Cowboy currently supports HTTP/1.0, HTTP/1.1, Websocket (all implemented drafts + standard) and Webmachine-based REST.</p>
-
-<p>Cowboy is a high quality project. It has a small code base, is very efficient (both in latency and memory use) and can easily be embedded in another application.</p>
-
-<p>Cowboy is clean Erlang code. It includes hundreds of tests and its code is fully compliant with the Dialyzer. It is also well documented and features both a Function Reference and a User Guide.</p>
-
-<h2 id="prerequisites">Prerequisites</h2>
-
-<p>No Erlang knowledge is required for reading this guide. The reader will be introduced to Erlang concepts and redirected to reference material whenever necessary.</p>
-
-<p>Knowledge of the HTTP protocol is recommended but not required, as it will be detailed throughout the guide.</p>
-
-<h2 id="supported_platforms">Supported platforms</h2>
-
-<p>Cowboy is tested and supported on Linux.</p>
-
-<p>Cowboy has been reported to work on other platforms, but we make no guarantee that the experience will be safe and smooth. You are advised to perform the necessary testing and security audits prior to deploying on other platforms.</p>
-
-<p>Cowboy is developed for Erlang/OTP R16B01, R16B02, R16B03-1, 17.0 and 17.1.2.</p>
-
-<p>Cowboy may be compiled on other Erlang versions with small source code modifications but there is no guarantee that it will work as expected.</p>
-
-<h2 id="versioning">Versioning</h2>
-
-<p>Cowboy uses <a href="http://semver.org/">Semantic Versioning 2.0.0</a>.</p>
-
-<h2 id="conventions">Conventions</h2>
-
-<p>In the HTTP protocol, the method name is case sensitive. All standard method names are uppercase.</p>
-
-<p>Header names are case insensitive. Cowboy converts all the request header names to lowercase, and expects your application to provide lowercase header names in the response.</p>
-
-<p>The same applies to any other case insensitive value.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/loop_handlers/index.html b/docs/en/cowboy/1.0/guide/loop_handlers/index.html
deleted file mode 100644
index 8d177942..00000000
--- a/docs/en/cowboy/1.0/guide/loop_handlers/index.html
+++ /dev/null
@@ -1,264 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Loop handlers</span></h1>
-
-<p>Loop handlers are a special kind of HTTP handlers used when the response can not be sent right away. The handler enters instead a receive loop waiting for the right message before it can send a response.</p>
-
-<p>Loop handlers are used for requests where a response might not be immediately available, but where you would like to keep the connection open for a while in case the response arrives. The most known example of such practice is known as long-polling.</p>
-
-<p>Loop handlers can also be used for requests where a response is partially available and you need to stream the response body while the connection is open. The most known example of such practice is known as server-sent events.</p>
-
-<p>While the same can be accomplished using plain HTTP handlers, it is recommended to use loop handlers because they are well-tested and allow using built-in features like hibernation and timeouts.</p>
-
-<p>Loop handlers essentially wait for one or more Erlang messages and feed these messages to the <code>info/3</code> callback. It also features the <code>init/3</code> and <code>terminate/3</code> callbacks which work the same as for plain HTTP handlers.</p>
-
-<h2 id="initialization">Initialization</h2>
-
-<p>The <code>init/3</code> function must return a <code>loop</code> tuple to enable loop handler behavior. This tuple may optionally contain a timeout value and/or the atom <code>hibernate</code> to make the process enter hibernation until a message is received.</p>
-
-<p>This snippet enables the loop handler.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_Type, Req, _Opts) ->
- {loop, Req, undefined_state}.
-]]></script>
-
-<p>However it is largely recommended that you set a timeout value. The next example sets a timeout value of 30s and also makes the process hibernate.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_Type, Req, _Opts) ->
- {loop, Req, undefined_state, 30000, hibernate}.
-]]></script>
-
-<h2 id="receive_loop">Receive loop</h2>
-
-<p>Once initialized, Cowboy will wait for messages to arrive in the process' mailbox. When a message arrives, Cowboy calls the <code>info/3</code> function with the message, the Req object and the handler's state.</p>
-
-<p>The following snippet sends a reply when it receives a <code>reply</code> message from another process, or waits for another message otherwise.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-info({reply, Body}, Req, State) ->
- {ok, Req2} = cowboy_req:reply(200, [], Body, Req),
- {ok, Req2, State};
-info(_Msg, Req, State) ->
- {loop, Req, State, hibernate}.
-]]></script>
-
-<p>Do note that the <code>reply</code> tuple here may be any message and is simply an example.</p>
-
-<p>This callback may perform any necessary operation including sending all or parts of a reply, and will subsequently return a tuple indicating if more messages are to be expected.</p>
-
-<p>The callback may also choose to do nothing at all and just skip the message received.</p>
-
-<p>If a reply is sent, then the <code>ok</code> tuple should be returned. This will instruct Cowboy to end the request.</p>
-
-<p>Otherwise a <code>loop</code> tuple should be returned.</p>
-
-<h2 id="streaming_loop">Streaming loop</h2>
-
-<p>Another common case well suited for loop handlers is streaming data received in the form of Erlang messages. This can be done by initiating a chunked reply in the <code>init/3</code> callback and then using <code>cowboy_req:chunk/2</code> every time a message is received.</p>
-
-<p>The following snippet does exactly that. As you can see a chunk is sent every time a <code>chunk</code> message is received, and the loop is stopped by sending an <code>eof</code> message.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_Type, Req, _Opts) ->
- {ok, Req2} = cowboy_req:chunked_reply(200, [], Req),
- {loop, Req2, undefined_state}.
-
-info(eof, Req, State) ->
- {ok, Req, State};
-info({chunk, Chunk}, Req, State) ->
- ok = cowboy_req:chunk(Chunk, Req),
- {loop, Req, State};
-info(_Msg, Req, State) ->
- {loop, Req, State}.
-]]></script>
-
-<h2 id="cleaning_up">Cleaning up</h2>
-
-<p>It is recommended that you set the connection header to <code>close</code> when replying, as this process may be reused for a subsequent request.</p>
-
-<p>Please refer to the <a href="/docs/en/cowboy/1.0/guide/http_handlers">HTTP handlers chapter</a> for general instructions about cleaning up.</p>
-
-<h2 id="timeout">Timeout</h2>
-
-<p>By default Cowboy will not attempt to close the connection if there is no activity from the client. This is not always desirable, which is why you can set a timeout. Cowboy will close the connection if no data was received from the client after the configured time. The timeout only needs to be set once and can't be modified afterwards.</p>
-
-<p>Because the request may have had a body, or may be followed by another request, Cowboy is forced to buffer all data it receives. This data may grow to become too large though, so there is a configurable limit for it. The default buffer size is of 5000 bytes, but it may be changed by setting the <code>loop_max_buffer</code> middleware environment value.</p>
-
-<h2 id="hibernate">Hibernate</h2>
-
-<p>To save memory, you may hibernate the process in between messages received. This is done by returning the atom <code>hibernate</code> as part of the <code>loop</code> tuple callbacks normally return. Just add the atom at the end and Cowboy will hibernate accordingly.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/middlewares/index.html b/docs/en/cowboy/1.0/guide/middlewares/index.html
deleted file mode 100644
index c9bf10ee..00000000
--- a/docs/en/cowboy/1.0/guide/middlewares/index.html
+++ /dev/null
@@ -1,226 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Middlewares</span></h1>
-
-<p>Cowboy delegates the request processing to middleware components. By default, two middlewares are defined, for the routing and handling of the request, as is detailed in most of this guide.</p>
-
-<p>Middlewares give you complete control over how requests are to be processed. You can add your own middlewares to the mix or completely change the chain of middlewares as needed.</p>
-
-<p>Cowboy will execute all middlewares in the given order, unless one of them decides to stop processing.</p>
-
-<h2 id="usage">Usage</h2>
-
-<p>Middlewares only need to implement a single callback: <code>execute/2</code>. It is defined in the <code>cowboy_middleware</code> behavior.</p>
-
-<p>This callback has two arguments. The first is the <code>Req</code> object. The second is the environment.</p>
-
-<p>Middlewares can return one of four different values:</p>
-
-<ul>
-<li><code>{ok, Req, Env}</code> to continue the request processing</li>
-<li><code>{suspend, Module, Function, Args}</code> to hibernate</li>
-<li><code>{halt, Req}</code> to stop processing and move on to the next request</li>
-<li><code>{error, StatusCode, Req}</code> to reply an error and close the socket</li>
-</ul>
-
-<p>Of note is that when hibernating, processing will resume on the given MFA, discarding all previous stacktrace. Make sure you keep the <code>Req</code> and <code>Env</code> in the arguments of this MFA for later use.</p>
-
-<p>If an error happens during middleware processing, Cowboy will not try to send an error back to the socket, the process will just crash. It is up to the middleware to make sure that a reply is sent if something goes wrong.</p>
-
-<h2 id="configuration">Configuration</h2>
-
-<p>The middleware environment is defined as the <code>env</code> protocol option. In the previous chapters we saw it briefly when we needed to pass the routing information. It is a list of tuples with the first element being an atom and the second any Erlang term.</p>
-
-<p>Two values in the environment are reserved:</p>
-
-<ul>
-<li><code>listener</code> contains the name of the listener</li>
-<li><code>result</code> contains the result of the processing</li>
-</ul>
-
-<p>The <code>listener</code> value is always defined. The <code>result</code> value can be set by any middleware. If set to anything other than <code>ok</code>, Cowboy will not process any subsequent requests on this connection.</p>
-
-<p>The middlewares that come with Cowboy may define or require other environment values to perform.</p>
-
-<p>You can update the environment by calling the <code>cowboy:set_env/3</code> convenience function, adding or replacing a value in the environment.</p>
-
-<h2 id="routing_middleware">Routing middleware</h2>
-
-<p>The routing middleware requires the <code>dispatch</code> value. If routing succeeds, it will put the handler name and options in the <code>handler</code> and <code>handler_opts</code> values of the environment, respectively.</p>
-
-<h2 id="handler_middleware">Handler middleware</h2>
-
-<p>The handler middleware requires the <code>handler</code> and <code>handler_opts</code> values. It puts the result of the request handling into <code>result</code>.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/modern_web/index.html b/docs/en/cowboy/1.0/guide/modern_web/index.html
deleted file mode 100644
index 530a5af0..00000000
--- a/docs/en/cowboy/1.0/guide/modern_web/index.html
+++ /dev/null
@@ -1,282 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>The modern Web</span></h1>
-
-<p>Let's take a look at various technologies from the beginnings of the Web up to this day, and get a preview of what's coming next.</p>
-
-<p>Cowboy is compatible with all the technology cited in this chapter except of course HTTP/2.0 which has no implementation in the wild at the time of writing.</p>
-
-<h2 id="the_prehistoric_web">The prehistoric Web</h2>
-
-<p>HTTP was initially created to serve HTML pages and only had the GET method for retrieving them. This initial version is documented and is sometimes called HTTP/0.9. HTTP/1.0 defined the GET, HEAD and POST methods, and was able to send data with POST requests.</p>
-
-<p>HTTP/1.0 works in a very simple way. A TCP connection is first established to the server. Then a request is sent. Then the server sends a response back and closes the connection.</p>
-
-<p>Suffice to say, HTTP/1.0 is not very efficient. Opening a TCP connection takes some time, and pages containing many assets load much slower than they could because of this.</p>
-
-<p>Most improvements done in recent years focused on reducing this load time and reducing the latency of the requests.</p>
-
-<h2 id="http/1.1">HTTP/1.1</h2>
-
-<p>HTTP/1.1 quickly followed and added a keep-alive mechanism to allow using the same connection for many requests, as well as streaming capabilities, allowing an endpoint to send a body in well defined chunks.</p>
-
-<p>HTTP/1.1 defines the OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE and CONNECT methods. The PATCH method was added in more recent years. It also improves the caching capabilities with the introduction of many headers.</p>
-
-<p>HTTP/1.1 still works like HTTP/1.0 does, except the connection can be kept alive for subsequent requests. This however allows clients to perform what is called as pipelining: sending many requests in a row, and then processing the responses which will be received in the same order as the requests.</p>
-
-<h2 id="rest">REST</h2>
-
-<p>The design of HTTP/1.1 was influenced by the REST architectural style. REST, or REpresentational State Transfer, is a style of architecture for loosely connected distributed systems.</p>
-
-<p>REST defines constraints that systems must obey to in order to be RESTful. A system which doesn't follow all the constraints cannot be considered RESTful.</p>
-
-<p>REST is a client-server architecture with a clean separation of concerns between the client and the server. They communicate by referencing resources. Resources can be identified, but also manipulated. A resource representation has a media type and information about whether it can be cached and how. Hypermedia determines how resources are related and how they can be used. REST is also stateless. All requests contain the complete information necessary to perform the action.</p>
-
-<p>HTTP/1.1 defines all the methods, headers and semantics required to implement RESTful systems.</p>
-
-<p>REST is most often used when designing web application APIs which are generally meant to be used by executable code directly.</p>
-
-<h2 id="xmlhttprequest">XmlHttpRequest</h2>
-
-<p>Also know as AJAX, this technology allows Javascript code running on a web page to perform asynchronous requests to the server. This is what started the move from static websites to dynamic web applications.</p>
-
-<p>XmlHttpRequest still performs HTTP requests under the hood, and then waits for a response, but the Javascript code can continue to run until the response arrives. It will then receive the response through a callback previously defined.</p>
-
-<p>This is of course still requests initiated by the client, the server still had no way of pushing data to the client on its own, so new technology appeared to allow that.</p>
-
-<h2 id="long-polling">Long-polling</h2>
-
-<p>Polling was a technique used to overcome the fact that the server cannot push data directly to the client. Therefore the client had to repeatedly create a connection, make a request, get a response, then try again a few seconds later. This is overly expensive and adds an additional delay before the client receives the data.</p>
-
-<p>Polling was necessary to implement message queues and other similar mechanisms, where a user must be informed of something when it happens, rather than when he refreshes the page next. A typical example would be a chat application.</p>
-
-<p>Long-polling was created to reduce the server load by creating less connections, but also to improve latency by getting the response back to the client as soon as it becomes available on the server.</p>
-
-<p>Long-polling works in a similar manner to polling, except the request will not get a response immediately. Instead the server leaves it open until it has a response to send. After getting the response, the client creates a new request and gets back to waiting.</p>
-
-<p>You probably guessed by now that long-polling is a hack, and like most hacks it can suffer from unforeseen issues, in this case it doesn't always play well with proxies.</p>
-
-<h2 id="html5">HTML5</h2>
-
-<p>HTML5 is, of course, the HTML version after HTML4. But HTML5 emerged to solve a specific problem: dynamic web applications.</p>
-
-<p>HTML was initially created to write web pages which compose a website. But soon people and companies wanted to use HTML to write more and more complex websites, eventually known as web applications. They are for example your news reader, your email client in the browser, or your video streaming website.</p>
-
-<p>Because HTML wasn't enough, they started using proprietary solutions, often implemented using plug-ins. This wasn't perfect of course, but worked well enough for most people.</p>
-
-<p>However, the needs for a standard solution eventually became apparent. The browser needed to be able to play media natively. It needed to be able to draw anything. It needed an efficient way of streaming events to the server, but also receiving events from the server.</p>
-
-<p>The solution went on to become HTML5. At the time of writing it is being standardized.</p>
-
-<h2 id="eventsource">EventSource</h2>
-
-<p>EventSource, sometimes also called Server-Sent Events, is a technology allowing servers to push data to HTML5 applications.</p>
-
-<p>EventSource is one-way communication channel from the server to the client. The client has no means to talk to the server other than by using HTTP requests.</p>
-
-<p>It consists of a Javascript object allowing setting up an EventSource connection to the server, and a very small protocol for sending events to the client on top of the HTTP/1.1 connection.</p>
-
-<p>EventSource is a lightweight solution that only works for UTF-8 encoded text data. Binary data and text data encoded differently are not allowed by the protocol. A heavier but more generic approach can be found in Websocket.</p>
-
-<h2 id="websocket">Websocket</h2>
-
-<p>Websocket is a protocol built on top of HTTP/1.1 that provides a two-ways communication channel between the client and the server. Communication is asynchronous and can occur concurrently.</p>
-
-<p>It consists of a Javascript object allowing setting up a Websocket connection to the server, and a binary based protocol for sending data to the server or the client.</p>
-
-<p>Websocket connections can transfer either UTF-8 encoded text data or binary data. The protocol also includes support for implementing a ping/pong mechanism, allowing the server and the client to have more confidence that the connection is still alive.</p>
-
-<p>A Websocket connection can be used to transfer any kind of data, small or big, text or binary. Because of this Websocket is sometimes used for communication between systems.</p>
-
-<h2 id="spdy">SPDY</h2>
-
-<p>SPDY is an attempt to reduce page loading time by opening a single connection per server, keeping it open for subsequent requests, and also by compressing the HTTP headers to reduce the size of requests.</p>
-
-<p>SPDY is compatible with HTTP/1.1 semantics, and is actually just a different way of performing HTTP requests and responses, by using binary frames instead of a text-based protocol. SPDY also allows the server to send extra responses following a request. This is meant to allow sending the resources associated with the request before the client requests them, saving latency when loading websites.</p>
-
-<p>SPDY is an experiment that has proven successful and is used as the basis for the HTTP/2.0 standard.</p>
-
-<p>Browsers make use of TLS Next Protocol Negotiation to upgrade to a SPDY connection seamlessly if the protocol supports it.</p>
-
-<p>The protocol itself has a few shortcomings which are being fixed in HTTP/2.0.</p>
-
-<h2 id="http/2.0">HTTP/2.0</h2>
-
-<p>HTTP/2.0 is the long-awaited update to the HTTP/1.1 protocol. It is based on SPDY although a lot has been improved at the time of writing.</p>
-
-<p>HTTP/2.0 is an asynchronous two-ways communication channel between two endpoints.</p>
-
-<p>It is planned to be ready late 2014.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/multipart_intro/index.html b/docs/en/cowboy/1.0/guide/multipart_intro/index.html
deleted file mode 100644
index 1ace9c22..00000000
--- a/docs/en/cowboy/1.0/guide/multipart_intro/index.html
+++ /dev/null
@@ -1,198 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Introduction to multipart</span></h1>
-
-<p>Multipart originates from MIME, an Internet standard that extends the format of emails. Multipart messages are a container for parts of any content-type.</p>
-
-<p>For example, a multipart message may have a part containing text and a second part containing an image. This is what allows you to attach files to emails.</p>
-
-<p>In the context of HTTP, multipart is most often used with the <code>multipart/form-data</code> content-type. This is the content-type you have to use when you want browsers to be allowed to upload files through HTML forms.</p>
-
-<p>Multipart is of course not required for uploading files, it is only required when you want to do so through HTML forms.</p>
-
-<h2 id="structure">Structure</h2>
-
-<p>A multipart message is a list of parts. Parts may contain either a multipart message or a non-multipart content-type. This allows parts to be arranged in a tree structure, although this is a rare case as far as the Web is concerned.</p>
-
-<h2 id="form-data">Form-data</h2>
-
-<p>In the normal case, when a form is submitted, the browser will use the <code>application/x-www-form-urlencoded</code> content-type. This type is just a list of keys and values and is therefore not fit for uploading files.</p>
-
-<p>That's where the <code>multipart/form-data</code> content-type comes in. When the form is configured to use this content-type, the browser will use one part of the message for each form field. This means that a file input field will be sent in its own part, but the same applies to all other kinds of fields.</p>
-
-<p>A form with a text input, a file input and a select choice box will result in a multipart message with three parts, one for each field.</p>
-
-<p>The browser does its best to determine the content-type of the files it sends this way, but you should not rely on it for determining the contents of the file. Proper investigation of the contents is recommended.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/multipart_req/index.html b/docs/en/cowboy/1.0/guide/multipart_req/index.html
deleted file mode 100644
index d4661cb6..00000000
--- a/docs/en/cowboy/1.0/guide/multipart_req/index.html
+++ /dev/null
@@ -1,261 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Multipart requests</span></h1>
-
-<p>You can read and parse multipart messages using the Req object directly.</p>
-
-<p>Cowboy defines two functions that allows you to get information about each part and read their contents.</p>
-
-<h2 id="checking_the_content-type">Checking the content-type</h2>
-
-<p>While there is a variety of multipart messages, the most common on the Web is <code>multipart/form-data</code>. It's the type of message being sent when an HTML form allows uploading files.</p>
-
-<p>You can quickly figure out if a multipart message has been sent by parsing the <code>content-type</code> header.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, {<<"multipart">>, <<"form-data">>, _}, Req2}
- = cowboy_req:parse_header(<<"content-type">>, Req).
-]]></script>
-
-<h2 id="reading_a_multipart_message">Reading a multipart message</h2>
-
-<p>To read a message you have to iterate over all its parts. Then, for each part, you can inspect its headers and read its body.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-multipart(Req) ->
- case cowboy_req:part(Req) of
- {ok, _Headers, Req2} ->
- {ok, _Body, Req3} = cowboy_req:part_body(Req2),
- multipart(Req3);
- {done, Req2} ->
- Req2
- end.
-]]></script>
-
-<p>Parts do not have a size limit. When a part body is too big, Cowboy will return what it read so far and allow you to continue if you wish to do so.</p>
-
-<p>The function <code>cow_multipart:form_data/1</code> can be used to quickly obtain information about a part from a <code>multipart/form-data</code> message. This function will tell you if the part is for a normal field or if it is a file being uploaded.</p>
-
-<p>This can be used for example to allow large part bodies for files but crash when a normal field is too large.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-multipart(Req) ->
- case cowboy_req:part(Req) of
- {ok, Headers, Req2} ->
- Req4 = case cow_multipart:form_data(Headers) of
- {data, _FieldName} ->
- {ok, _Body, Req3} = cowboy_req:part_body(Req2),
- Req3;
- {file, _FieldName, _Filename, _CType, _CTransferEncoding} ->
- stream_file(Req2)
- end,
- multipart(Req4);
- {done, Req2} ->
- Req2
- end.
-
-stream_file(Req) ->
- case cowboy_req:part_body(Req) of
- {ok, _Body, Req2} ->
- Req2;
- {more, _Body, Req2} ->
- stream_file(Req2)
- end.
-]]></script>
-
-<p>By default the body chunk Cowboy will return is limited to 8MB. This can of course be overriden. Both functions can take a second argument, the same list of options that will be passed to <code>cowboy_req:body/2</code> function.</p>
-
-<h2 id="skipping_unwanted_parts">Skipping unwanted parts</h2>
-
-<p>If you do not want to read a part's body, you can skip it. Skipping is easy. If you do not call the function to read the part's body, Cowboy will automatically skip it when you request the next part.</p>
-
-<p>The following snippet reads all part headers and skips all bodies:</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-multipart(Req) ->
- case cowboy_req:part(Req) of
- {ok, _Headers, Req2} ->
- multipart(Req2);
- {done, Req2} ->
- Req2
- end.
-]]></script>
-
-<p>Similarly, if you start reading the body and it ends up being too big, you can simply continue with the next part, Cowboy will automatically skip what remains.</p>
-
-<p>Note that the skipping rate may not be adequate for your application. If you observe poor performance when skipping, you might want to consider manually skipping by calling the <code>cowboy_req:part_body/1</code> function directly.</p>
-
-<p>And if you started reading the message but decide that you do not need the remaining parts, you can simply stop reading entirely and Cowboy will automatically figure out what to do.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/req/index.html b/docs/en/cowboy/1.0/guide/req/index.html
deleted file mode 100644
index 7005d09b..00000000
--- a/docs/en/cowboy/1.0/guide/req/index.html
+++ /dev/null
@@ -1,390 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>The Req object</span></h1>
-
-<p>The Req object is this variable that you will use to obtain information about a request, read the body of the request and send a response.</p>
-
-<h2 id="a_special_variable">A special variable</h2>
-
-<p>While we call it an "object", it is not an object in the OOP sense of the term. In fact it is completely opaque to you and the only way you can perform operations using it is by calling the functions from the <code>cowboy_req</code> module.</p>
-
-<p>Almost all the calls to the <code>cowboy_req</code> module will return an updated request object. Just like you would keep the updated <code>State</code> variable in a gen_server, you MUST keep the updated <code>Req</code> variable in a Cowboy handler. Cowboy will use this object to know whether a response has been sent when the handler has finished executing.</p>
-
-<p>The Req object allows accessing both immutable and mutable state. This means that calling some of the functions twice will not produce the same result. For example, when streaming the request body, the function will return the body by chunks, one at a time, until there is none left.</p>
-
-<p>It also caches the result of operations performed on the immutable state. That means that some calls will give a result much faster when called many times.</p>
-
-<h2 id="overview_of_the_cowboy_req_interface">Overview of the cowboy_req interface</h2>
-
-<p>The <code>cowboy_req</code> interface is divided in four groups of functions, each having a well defined return type signature common to the entire group.</p>
-
-<p>The first group, access functions, will always return <code>{Value, Req}</code>. The group includes all the following functions: <code>binding/{2,3}</code>, <code>bindings/1</code>, <code>body_length/1</code>, <code>cookie/{2,3}</code>, <code>cookies/1</code>, <code>header/{2,3}</code>, <code>headers/1</code>, <code>host/1</code>, <code>host_info/1</code>, <code>host_url/1</code>, <code>meta/{2,3}</code>, <code>method/1</code>, <code>path/1</code>, <code>path_info/1</code>, <code>peer/1</code>, <code>port/1</code>, <code>qs/1</code>, <code>qs_val/{2,3}</code>, <code>qs_vals/1</code>, <code>url/1</code>, <code>version/1</code>.</p>
-
-<p>The second group, question functions, will always return a <code>boolean()</code>. The group includes the following three functions: <code>has_body/1</code>, <code>has_resp_body/1</code>, <code>has_resp_header/2</code>.</p>
-
-<p>The third group contains the functions that manipulate the socket or perform operations that may legitimately fail. They may return <code>{Result, Req}</code>, <code>{Result, Value, Req}</code> or <code>{error, atom()}</code>. This includes the following functions: <code>body/{1,2}</code>, <code>body_qs/{1,2}</code>, <code>chunked_reply/{2,3}</code>, <code>parse_header/{2,3}</code>, <code>part/{1,2}</code>, <code>part_body/{1,2}</code> and <code>reply/{2,3,4}</code>. Finally, the group also includes the <code>chunk/2</code> and <code>continue/1</code> functions which always return <code>ok</code>.</p>
-
-<p>The final group modifies the Req object state without performing any immediate operations. As these functions can't fail, they always return a new <code>Req</code> directly. This includes the following functions: <code>compact/1</code>, <code>delete_resp_header/2</code>, <code>set_meta/3</code>, <code>set_resp_body/2</code>, <code>set_resp_body_fun/{2,3}</code>, <code>set_resp_cookie/4</code>, <code>set_resp_header/3</code>.</p>
-
-<p>This chapter covers most of the first group, plus a few other functions. The next few chapters cover cookies handling, reading the request body and sending a response.</p>
-
-<h2 id="request">Request</h2>
-
-<p>When a client performs a request, it first sends a few required values. They are sent differently depending on the protocol being used, but the intent is the same. They indicate to the server the type of action it wants to do and how to locate the resource to perform it on.</p>
-
-<p>The method identifies the action. Standard methods include GET, HEAD, OPTIONS, PATCH, POST, PUT, DELETE. Method names are case sensitive.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{Method, Req2} = cowboy_req:method(Req).
-]]></script>
-
-<p>The host, port and path parts of the URL identify the resource being accessed. The host and port information may not be available if the client uses HTTP/1.0.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{Host, Req2} = cowboy_req:host(Req),
-{Port, Req3} = cowboy_req:port(Req2),
-{Path, Req4} = cowboy_req:path(Req3).
-]]></script>
-
-<p>The version used by the client can of course also be obtained.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{Version, Req2} = cowboy_req:version(Req).
-]]></script>
-
-<p>Do note however that clients claiming to implement one version of the protocol does not mean they implement it fully, or even properly.</p>
-
-<h2 id="bindings">Bindings</h2>
-
-<p>After routing the request, bindings are available. Bindings are these parts of the host or path that you chose to extract when defining the routes of your application.</p>
-
-<p>You can fetch a single binding. The value will be <code>undefined</code> if the binding doesn't exist.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{Binding, Req2} = cowboy_req:binding(my_binding, Req).
-]]></script>
-
-<p>If you need a different value when the binding doesn't exist, you can change the default.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{Binding, Req2} = cowboy_req:binding(my_binding, Req, 42).
-]]></script>
-
-<p>You can also obtain all bindings in one call. They will be returned as a list of key/value tuples.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{AllBindings, Req2} = cowboy_req:bindings(Req).
-]]></script>
-
-<p>If you used <code>...</code> at the beginning of the route's pattern for the host, you can retrieve the matched part of the host. The value will be <code>undefined</code> otherwise.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{HostInfo, Req2} = cowboy_req:host_info(Req).
-]]></script>
-
-<p>Similarly, if you used <code>...</code> at the end of the route's pattern for the path, you can retrieve the matched part, or get <code>undefined</code> otherwise.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{PathInfo, Req2} = cowboy_req:path_info(Req).
-]]></script>
-
-<h2 id="query_string">Query string</h2>
-
-<p>The query string can be obtained directly.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{Qs, Req2} = cowboy_req:qs(Req).
-]]></script>
-
-<p>You can also requests only one value.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{QsVal, Req2} = cowboy_req:qs_val(<<"lang">>, Req).
-]]></script>
-
-<p>If that value is optional, you can define a default to simplify your task.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{QsVal, Req2} = cowboy_req:qs_val(<<"lang">>, Req, <<"en">>).
-]]></script>
-
-<p>Finally, you can obtain all query string values.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{AllValues, Req2} = cowboy_req:qs_vals(Req).
-]]></script>
-
-<h2 id="request_url">Request URL</h2>
-
-<p>You can reconstruct the full URL of the resource.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{URL, Req2} = cowboy_req:url(Req).
-]]></script>
-
-<p>You can also obtain only the base of the URL, excluding the path and query string.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{BaseURL, Req2} = cowboy_req:host_url(Req).
-]]></script>
-
-<h2 id="headers">Headers</h2>
-
-<p>Cowboy allows you to obtain the header values as string, or parsed into a more meaningful representation.</p>
-
-<p>This will get the string value of a header.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{HeaderVal, Req2} = cowboy_req:header(<<"content-type">>, Req).
-]]></script>
-
-<p>You can of course set a default in case the header is missing.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{HeaderVal, Req2}
- = cowboy_req:header(<<"content-type">>, Req, <<"text/plain">>).
-]]></script>
-
-<p>And also obtain all headers.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{AllHeaders, Req2} = cowboy_req:headers(Req).
-]]></script>
-
-<p>To parse the previous header, simply call <code>parse_header/{2,3}</code> where you would call <code>header/{2,3}</code> otherwise. Note that the return value changes and includes the result of the operation as the first element of the returned tuple. A successful parse returns <code>ok</code>.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, ParsedVal, Req2} = cowboy_req:parse_header(<<"content-type">>, Req).
-]]></script>
-
-<p>When Cowboy doesn't know how to parse the given header, the result of the operation will be <code>undefined</code> and the string value will be returned instead.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{undefined, HeaderVal, Req2}
- = cowboy_req:parse_header(<<"unicorn-header">>, Req).
-]]></script>
-
-<p>When parsing fails, <code>{error, Reason}</code> is returned instead.</p>
-
-<p>You can of course define a default value. Note that the default value you specify here is the parsed value you'd like to get by default.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, ParsedVal, Req2}
- = cowboy_req:parse_header(<<"content-type">>, Req,
- {<<"text">>, <<"plain">>, []}).
-]]></script>
-
-<p>The list of known headers and default values is defined in the manual. Also note that the result of parsing is cached, so calling this function multiple times for the same values will not have a significant performance impact.</p>
-
-<h2 id="meta">Meta</h2>
-
-<p>Cowboy will sometimes associate some meta information with the request. Built-in meta values are listed in the manual for their respective modules.</p>
-
-<p>This will get a meta value. The returned value will be <code>undefined</code> if it isn't defined.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{MetaVal, Req2} = cowboy_req:meta(websocket_version, Req).
-]]></script>
-
-<p>You can change the default value if needed.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{MetaVal, Req2} = cowboy_req:meta(websocket_version, Req, 13).
-]]></script>
-
-<p>You can also define your own meta values. The name must be an <code>atom()</code>.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Req2 = cowboy_req:set_meta(the_answer, 42, Req).
-]]></script>
-
-<h2 id="peer">Peer</h2>
-
-<p>You can obtain the peer address and port number. This is not necessarily the actual IP and port of the client, but rather the one of the machine that connected to the server.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{{IP, Port}, Req2} = cowboy_req:peer(Req).
-]]></script>
-
-<h2 id="reducing_the_memory_footprint">Reducing the memory footprint</h2>
-
-<p>When you are done reading information from the request object and know you are not going to access it anymore, for example when using long-polling or Websocket, you can use the <code>compact/1</code> function to remove most of the data from the request object and free memory.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Req2 = cowboy_req:compact(Req).
-]]></script>
-
-<p>You will still be able to send a reply if needed.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/req_body/index.html b/docs/en/cowboy/1.0/guide/req_body/index.html
deleted file mode 100644
index f244a694..00000000
--- a/docs/en/cowboy/1.0/guide/req_body/index.html
+++ /dev/null
@@ -1,296 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Reading the request body</span></h1>
-
-<p>The Req object also allows you to read the request body.</p>
-
-<p>Because the request body can be of any size, all body reading operations will only work once, as Cowboy will not cache the result of these operations.</p>
-
-<p>Cowboy will not attempt to read the body until you do. If handler execution ends without reading it, Cowboy will simply skip it.</p>
-
-<p>Cowboy provides different ways to read the request body. You can read it directly, stream it, but also read and parse in a single call for form urlencoded formats or multipart. All of these except multipart are covered in this chapter. Multipart is covered later on in the guide.</p>
-
-<h2 id="check_for_request_body">Check for request body</h2>
-
-<p>You can check whether a body was sent with the request.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-cowboy_req:has_body(Req).
-]]></script>
-
-<p>It will return <code>true</code> if there is a request body, and <code>false</code> otherwise.</p>
-
-<p>Note that it is generally safe to assume that a body is sent for <code>POST</code>, <code>PUT</code> and <code>PATCH</code> requests, without having to explicitly check for it.</p>
-
-<h2 id="request_body_length">Request body length</h2>
-
-<p>You can obtain the body length if it was sent with the request.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{Length, Req2} = cowboy_req:body_length(Req).
-]]></script>
-
-<p>The value returned will be <code>undefined</code> if the length couldn't be figured out from the request headers. If there's a body but no length is given, this means that the chunked transfer-encoding was used. You can read chunked bodies by using the stream functions.</p>
-
-<h2 id="reading_the_body">Reading the body</h2>
-
-<p>You can read the whole body directly in one call.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Body, Req2} = cowboy_req:body(Req).
-]]></script>
-
-<p>By default, Cowboy will attempt to read up to a size of 8MB. You can override this limit as needed.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Body, Req2} = cowboy_req:body(Req, [{length, 100000000}]).
-]]></script>
-
-<p>You can also disable it.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Body, Req2} = cowboy_req:body(Req, [{length, infinity}]).
-]]></script>
-
-<p>It is recommended that you do not disable it for public facing websites.</p>
-
-<p>If the body is larger than the limit, then Cowboy will return a <code>more</code> tuple instead, allowing you to stream it if you would like to.</p>
-
-<h2 id="streaming_the_body">Streaming the body</h2>
-
-<p>You can stream the request body by chunks.</p>
-
-<p>Cowboy returns a <code>more</code> tuple when there is more body to be read, and an <code>ok</code> tuple for the last chunk. This allows you to loop over all chunks.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-body_to_console(Req) ->
- case cowboy_req:body(Req) of
- {ok, Data, Req2} ->
- io:format("~s", [Data]),
- Req2;
- {more, Data, Req2} ->
- io:format("~s", [Data]),
- body_to_console(Req2)
- end.
-]]></script>
-
-<p>You can of course set the <code>length</code> option to configure the size of chunks.</p>
-
-<h2 id="rate_of_data_transmission">Rate of data transmission</h2>
-
-<p>You can control the rate of data transmission by setting options when calling body functions. This applies not only to the functions described in this chapter, but also to the multipart functions.</p>
-
-<p>The <code>read_length</code> option defines the maximum amount of data to be received from the socket at once, in bytes.</p>
-
-<p>The <code>read_timeout</code> option defines the time Cowboy waits before that amount is received, in milliseconds.</p>
-
-<h2 id="transfer_and_content_decoding">Transfer and content decoding</h2>
-
-<p>Cowboy will by default decode the chunked transfer-encoding if any. It will not decode any content-encoding by default.</p>
-
-<p>The first time you call a body function you can set the <code>transfer_decode</code> and <code>content_decode</code> options. If the body was already started being read these options are simply ignored.</p>
-
-<p>The following example shows how to set both options.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:body(Req, [
- {transfer_decode, fun transfer_decode/2, TransferState},
- {content_decode, fun content_decode/1}
-]).
-]]></script>
-
-<h2 id="reading_a_form_urlencoded_body">Reading a form urlencoded body</h2>
-
-<p>You can directly obtain a list of key/value pairs if the body was sent using the application/x-www-form-urlencoded content-type.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, KeyValues, Req2} = cowboy_req:body_qs(Req).
-]]></script>
-
-<p>You can then retrieve an individual value from that list.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{_, Lang} = lists:keyfind(lang, 1, KeyValues).
-]]></script>
-
-<p>You should not attempt to match on the list as the order of the values is undefined.</p>
-
-<p>By default Cowboy will reject bodies with a size above 64KB when using this function. You can override this limit by setting the <code>length</code> option.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, KeyValues, Req2} = cowboy_req:body_qs(Req,
- [{length, 2000000}]).
-]]></script>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/resource_design/index.html b/docs/en/cowboy/1.0/guide/resource_design/index.html
deleted file mode 100644
index 2f9a358e..00000000
--- a/docs/en/cowboy/1.0/guide/resource_design/index.html
+++ /dev/null
@@ -1,294 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Designing a resource handler</span></h1>
-
-<p>This chapter aims to provide you with a list of questions you must answer in order to write a good resource handler. It is meant to be usable as a step by step guide.</p>
-
-<h2 id="the_service">The service</h2>
-
-<p>Can the service become unavailable, and when it does, can we detect it? For example database connectivity problems may be detected early. We may also have planned outages of all or parts of the system. Implement the <code>service_available</code> callback.</p>
-
-<p>What HTTP methods does the service implement? Do we need more than the standard OPTIONS, HEAD, GET, PUT, POST, PATCH and DELETE? Are we not using one of those at all? Implement the <code>known_methods</code> callback.</p>
-
-<h2 id="type_of_resource_handler">Type of resource handler</h2>
-
-<p>Am I writing a handler for a collection of resources, or for a single resource?</p>
-
-<p>The semantics for each of these are quite different. You should not mix collection and single resource in the same handler.</p>
-
-<h2 id="collection_handler">Collection handler</h2>
-
-<p>Skip this section if you are not doing a collection.</p>
-
-<p>Is the collection hardcoded or dynamic? For example if you use the route <code>/users</code> for the collection of users then the collection is hardcoded; if you use <code>/forums/:category</code> for the collection of threads then it isn't. When the collection is hardcoded you can safely assume the resource always exists.</p>
-
-<p>What methods should I implement?</p>
-
-<p>OPTIONS is used to get some information about the collection. It is recommended to allow it even if you do not implement it, as Cowboy has a default implementation built-in.</p>
-
-<p>HEAD and GET are used to retrieve the collection. If you allow GET, also allow HEAD as there's no extra work required to make it work.</p>
-
-<p>POST is used to create a new resource inside the collection. Creating a resource by using POST on the collection is useful when resources may be created before knowing their URI, usually because parts of it are generated dynamically. A common case is some kind of auto incremented integer identifier.</p>
-
-<p>The next methods are more rarely allowed.</p>
-
-<p>PUT is used to create a new collection (when the collection isn't hardcoded), or replace the entire collection.</p>
-
-<p>DELETE is used to delete the entire collection.</p>
-
-<p>PATCH is used to modify the collection using instructions given in the request body. A PATCH operation is atomic. The PATCH operation may be used for such things as reordering; adding, modifying or deleting parts of the collection.</p>
-
-<h2 id="single_resource_handler">Single resource handler</h2>
-
-<p>Skip this section if you are doing a collection.</p>
-
-<p>What methods should I implement?</p>
-
-<p>OPTIONS is used to get some information about the resource. It is recommended to allow it even if you do not implement it, as Cowboy has a default implementation built-in.</p>
-
-<p>HEAD and GET are used to retrieve the resource. If you allow GET, also allow HEAD as there's no extra work required to make it work.</p>
-
-<p>POST is used to update the resource.</p>
-
-<p>PUT is used to create a new resource (when it doesn't already exist) or replace the resource.</p>
-
-<p>DELETE is used to delete the resource.</p>
-
-<p>PATCH is used to modify the resource using instructions given in the request body. A PATCH operation is atomic. The PATCH operation may be used for adding, removing or modifying specific values in the resource.</p>
-
-<h2 id="the_resource">The resource</h2>
-
-<p>Following the above discussion, implement the <code>allowed_methods</code> callback.</p>
-
-<p>Does the resource always exist? If it may not, implement the <code>resource_exists</code> callback.</p>
-
-<p>Do I need to authenticate the client before they can access the resource? What authentication mechanisms should I provide? This may include form-based, token-based (in the URL or a cookie), HTTP basic, HTTP digest, SSL certificate or any other form of authentication. Implement the <code>is_authorized</code> callback.</p>
-
-<p>Do I need fine-grained access control? How do I determine that they are authorized access? Handle that in your <code>is_authorized</code> callback.</p>
-
-<p>Can access to a resource be forbidden regardless of access being authorized? A simple example of that is censorship of a resource. Implement the <code>forbidden</code> callback.</p>
-
-<p>Is there any constraints on the length of the resource URI? For example the URI may be used as a key in storage and may have a limit in length. Implement <code>uri_too_long</code>.</p>
-
-<h2 id="representations">Representations</h2>
-
-<p>What media types do I provide? If text based, what charsets are provided? What languages do I provide?</p>
-
-<p>Implement the mandatory <code>content_types_provided</code>. Prefix the callbacks with <code>to_</code> for clarity. For example <code>to_html</code> or <code>to_text</code>.</p>
-
-<p>Implement the <code>languages_provided</code> or <code>charsets_provided</code> callbacks if applicable.</p>
-
-<p>Is there any other header that may make the representation of the resource vary? Implement the <code>variances</code> callback.</p>
-
-<p>Depending on your choices for caching content, you may want to implement one or more of the <code>generate_etag</code>, <code>last_modified</code> and <code>expires</code> callbacks.</p>
-
-<p>Do I want the user or user agent to actively choose a representation available? Send a list of available representations in the response body and implement the <code>multiple_choices</code> callback.</p>
-
-<h2 id="redirections">Redirections</h2>
-
-<p>Do I need to keep track of what resources were deleted? For example you may have a mechanism where moving a resource leaves a redirect link to its new location. Implement the <code>previously_existed</code> callback.</p>
-
-<p>Was the resource moved, and is the move temporary? If it is explicitly temporary, for example due to maintenance, implement the <code>moved_temporarily</code> callback. Otherwise, implement the <code>moved_permanently</code> callback.</p>
-
-<h2 id="the_request">The request</h2>
-
-<p>Do we need to perform extra checks to make sure the request is valid? Cowboy will do many checks when receiving the request already, do we need more? Note that this only applies to the request-line and headers of the request, and not the body. Implement <code>malformed_request</code>.</p>
-
-<p>May there be a request body? Will I know its size? What's the maximum size of the request body I'm willing to accept? Implement <code>valid_entity_length</code>.</p>
-
-<p>Finally, take a look at the sections corresponding to the methods you are implementing.</p>
-
-<h2 id="options_method">OPTIONS method</h2>
-
-<p>Cowboy by default will send back a list of allowed methods. Do I need to add more information to the response? Implement the <code>options</code> method.</p>
-
-<h2 id="get_and_head_methods">GET and HEAD methods</h2>
-
-<p>If you implement the methods GET and/or HEAD, you must implement one <code>ProvideResource</code> callback for each content-type returned by the <code>content_types_provided</code> callback.</p>
-
-<h2 id="put,_post_and_patch_methods">PUT, POST and PATCH methods</h2>
-
-<p>If you implement the methods PUT, POST and/or PATCH, you must implement the <code>content_types_accepted</code> callback, and one <code>AcceptResource</code> callback for each content-type it returns. Prefix the <code>AcceptResource</code> callback names with <code>from_</code> for clarity. For example <code>from_html</code> or <code>from_json</code>.</p>
-
-<p>Do we want to allow the POST method to create individual resources directly through their URI (like PUT)? Implement the <code>allow_missing_post</code> callback. It is recommended to explicitly use PUT in these cases instead.</p>
-
-<p>May there be conflicts when using PUT to create or replace a resource? Do we want to make sure that two updates around the same time are not cancelling one another? Implement the <code>is_conflict</code> callback.</p>
-
-<h2 id="delete_methods">DELETE methods</h2>
-
-<p>If you implement the method DELETE, you must implement the <code>delete_resource</code> callback.</p>
-
-<p>When <code>delete_resource</code> returns, is the resource completely removed from the server, including from any caching service? If not, and/or if the deletion is asynchronous and we have no way of knowing it has been completed yet, implement the <code>delete_completed</code> callback.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/resp/index.html b/docs/en/cowboy/1.0/guide/resp/index.html
deleted file mode 100644
index f9783518..00000000
--- a/docs/en/cowboy/1.0/guide/resp/index.html
+++ /dev/null
@@ -1,327 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Sending a response</span></h1>
-
-<p>The Req object also allows you to send a response.</p>
-
-<p>You can only send one response. Any other attempt will trigger a crash. The response may be sent in one go or with its body streamed by chunks of arbitrary size.</p>
-
-<p>You can also set headers or the response body in advance and Cowboy will use them when you finally do reply.</p>
-
-<h2 id="reply">Reply</h2>
-
-<p>You can send a reply with no particular headers or body. Cowboy will make sure to send the mandatory headers with the response.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:reply(200, Req).
-]]></script>
-
-<p>You can define headers to be sent with the response. Note that header names must be lowercase. Again, Cowboy will make sure to send the mandatory headers with the response.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:reply(303, [
- {<<"location">>, <<"http://ninenines.eu">>}
-], Req).
-]]></script>
-
-<p>You can override headers that Cowboy would send otherwise. Any header set by the user will be used over the ones set by Cowboy. For example, you can advertise yourself as a different server.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:reply(200, [
- {<<"server">>, <<"yaws">>}
-], Req).
-]]></script>
-
-<p>We also saw earlier how to force close the connection by overriding the connection header.</p>
-
-<p>Finally, you can also send a body with the response. Cowboy will automatically set the content-length header if you do. We recommend that you set the content-type header so the client may know how to read the body.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:reply(200, [
- {<<"content-type">>, <<"text/plain">>}
-], "Hello world!", Req).
-]]></script>
-
-<p>Here is the same example but sending HTML this time.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:reply(200, [
- {<<"content-type">>, <<"text/html">>}
-], "<html><head>Hello world!</head><body><p>Hats off!</p></body></html>", Req).
-]]></script>
-
-<p>Note that the reply is sent immediately.</p>
-
-<h2 id="chunked_reply">Chunked reply</h2>
-
-<p>You can also stream the response body. First, you need to initiate the reply by sending the response status code. Then you can send the body in chunks of arbitrary size.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:chunked_reply(200, Req),
-ok = cowboy_req:chunk("Hello...", Req2),
-ok = cowboy_req:chunk("chunked...", Req2),
-ok = cowboy_req:chunk("world!!", Req2).
-]]></script>
-
-<p>You should make sure to match on <code>ok</code> as an error may be returned.</p>
-
-<p>While it is possible to send a chunked response without a content-type header, it is still recommended. You can set this header or any other just like for normal replies.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{ok, Req2} = cowboy_req:chunked_reply(200, [
- {<<"content-type">>, <<"text/html">>}
-], Req),
-ok = cowboy_req:chunk("<html><head>Hello world!</head>", Req2),
-ok = cowboy_req:chunk("<body><p>Hats off!</p></body></html>", Req2).
-]]></script>
-
-<p>Note that the reply and each chunk following it are sent immediately.</p>
-
-<h2 id="preset_response_headers">Preset response headers</h2>
-
-<p>You can define response headers in advance. They will be merged into the headers given in the reply call. Headers in the reply call override preset response headers which override the default Cowboy headers.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Req2 = cowboy_req:set_resp_header(<<"allow">>, "GET", Req).
-]]></script>
-
-<p>You can check if a response header has already been set. This will only check the response headers that you set, and not the ones Cowboy will add when actually sending the reply.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-cowboy_req:has_resp_header(<<"allow">>, Req).
-]]></script>
-
-<p>It will return <code>true</code> if the header is defined, and <code>false</code> otherwise.</p>
-
-<p>Finally, you can also delete a preset response header if needed. If you do, it will not be sent.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Req2 = cowboy_req:delete_resp_header(<<"allow">>, Req).
-]]></script>
-
-<h2 id="preset_response_body">Preset response body</h2>
-
-<p>You can set the response body in advance. Note that this body will be ignored if you then choose to send a chunked reply, or if you send a reply with an explicit body.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Req2 = cowboy_req:set_resp_body("Hello world!", Req).
-]]></script>
-
-<p>You can also set a fun that will be called when it is time to send the body. There are three different ways of doing that.</p>
-
-<p>If you know the length of the body that needs to be sent, you should specify it, as it will help clients determine the remaining download time and allow them to inform the user.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-F = fun (Socket, Transport) ->
- Transport:send(Socket, "Hello world!")
-end,
-Req2 = cowboy_req:set_resp_body_fun(12, F, Req).
-]]></script>
-
-<p>If you do not know the length of the body, you should use a chunked response body fun instead.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-F = fun (SendChunk) ->
- Body = lists:duplicate(random:uniform(1024, $a)),
- SendChunk(Body)
-end,
-Req2 = cowboy_req:set_resp_body_fun(chunked, F, Req).
-]]></script>
-
-<p>Finally, you can also send data on the socket directly, without knowing the length in advance. Cowboy may be forced to close the connection at the end of the response though depending on the protocol capabilities.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-F = fun (Socket, Transport) ->
- Body = lists:duplicate(random:uniform(1024, $a)),
- Transport:send(Socket, Body)
-end,
-Req2 = cowboy_req:set_resp_body_fun(F, Req).
-]]></script>
-
-<h2 id="sending_files">Sending files</h2>
-
-<p>You can send files directly from disk without having to read them. Cowboy will use the <code>sendfile</code> syscall when possible, which means that the file is sent to the socket directly from the kernel, which is a lot more performant than doing it from userland.</p>
-
-<p>Again, it is recommended to set the size of the file if it can be known in advance.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-F = fun (Socket, Transport) ->
- Transport:sendfile(Socket, "priv/styles.css")
-end,
-Req2 = cowboy_req:set_resp_body_fun(FileSize, F, Req).
-]]></script>
-
-<p>Please see the Ranch guide for more information about sending files.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/rest_cond.png b/docs/en/cowboy/1.0/guide/rest_cond.png
deleted file mode 100644
index 64cda347..00000000
--- a/docs/en/cowboy/1.0/guide/rest_cond.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/1.0/guide/rest_cond.svg b/docs/en/cowboy/1.0/guide/rest_cond.svg
deleted file mode 100644
index 542ae17d..00000000
--- a/docs/en/cowboy/1.0/guide/rest_cond.svg
+++ /dev/null
@@ -1,1656 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_cond.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="2.0000001"
- inkscape:cx="351.17815"
- inkscape:cy="292.20555"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(303.92143,-296.03137)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-212.00698)"
- id="g5650-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-129.04326)"
- id="g5650-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-44.866334)"
- id="g5650-94"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-71"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,38.329623)"
- id="g5650-93"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,122.59665)"
- id="g5650-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,206.62103)"
- id="g5650-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,248.85545)"
- id="g5650-2-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,72.326854,331.8341)"
- id="g5650-2-04"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9"
- d="m -57.78256,274.83062 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="204.49196"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="288.06644"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="371.6409"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="455.21542"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,-1,1,0,72.019862,498.61197)"
- id="g5650-2-04-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9-6"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="538.78992"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(303.92156,289.38374)"
- id="g5650-6-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-273.77202,830.73267)"
- id="g5650-2-0-4-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.00956,743.77999)"
- id="g5650-2-0-4-9-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 100.30195,432.97597 c 0,0 -104.1879007,-96.82159 -227.75958,-12.49311"
- id="path20172-9-6-0"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,146.48523,357.79168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-5-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41"
- width="210.17955"
- height="35.209244"
- x="140.98338"
- y="622.36444"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="120.91741"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(417.86479,-176.50006)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.18575"
- y="311.63589"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="246.18575"
- y="311.63589">has if-unmodified-since?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.60762"
- y="478.78488"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="245.60762"
- y="478.78488">has if-none-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.15059"
- y="55.939754"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="246.15059"
- y="55.939754"
- id="tspan17171">...</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.11153"
- y="560.125"
- id="text5371-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="246.11153"
- y="560.125">generate_etag</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.64278"
- y="645.9339"
- id="text5371-2-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2"
- x="246.64278"
- y="645.9339">has if-modified-since?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.13106"
- y="144.48688"
- id="text5371-2-95"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="246.13106"
- y="144.48688">has if-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.80684"
- y="225.82706"
- id="text5371-2-32"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="245.80684"
- y="225.82706">generate_etag</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.05293"
- y="393.43692"
- id="text5371-2-74"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18"
- x="246.05293"
- y="393.43692">last_modified</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="185.95248"
- id="text5371-2-391"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="262.26562"
- y="185.95248">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="269.61978"
- id="text5371-2-954"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-808"
- x="262.26562"
- y="269.61978">match*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="353.28702"
- id="text5371-2-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-11"
- x="262.26562"
- y="353.28702">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="436.95425"
- id="text5371-2-92"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-4"
- x="262.26562"
- y="436.95425">not modified*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="520.62152"
- id="text5371-2-739"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0"
- x="262.26562"
- y="520.62152">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="261.24219"
- y="604.14661"
- id="text5371-2-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="261.24219"
- y="604.14661">no match*</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.515488"
- y="227.88033"
- id="text5371-4-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="66.515488"
- y="227.88033">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.097519"
- y="385.50708"
- id="text5371-4-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-01"
- x="66.097519"
- y="385.50708">false, or</tspan><tspan
- sodipodi:role="line"
- x="66.097519"
- y="405.50708"
- id="tspan21678">invalid</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="413.26172"
- y="414.19577"
- id="text5371-4-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62"
- x="413.26172"
- y="414.19577">modified*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.515488"
- y="563.13391"
- id="text5371-4-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2"
- x="66.515488"
- y="563.13391">false</tspan></text>
- <g
- transform="matrix(-1,0,0,-1,541.38289,824.55574)"
- id="g5650-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="489.90482"
- y="372.18814"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="599.20062"
- y="394.09869"
- id="text5371-43"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="599.20062"
- y="394.09869">412 precondition failed</tspan></text>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,416.17722)"
- id="g5650-2-0-4-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,583.49898)"
- id="g5650-2-0-4-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-0"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0.70472302,-0.70948254,0.70948254,0.70472302,241.97558,40.02582)"
- id="g5650-2-1-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-2-8"
- d="m -64.113139,212.68162 6.332851,190.92097"
- style="opacity:0.80000000000000004;fill:none;stroke:#9b3b1c;stroke-width:1.99999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-9-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="511.01306"
- y="-49.514503"
- id="text5371-4-5-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"
- transform="matrix(0.72036037,0.69359998,-0.69359998,0.72036037,0,0)"><tspan
- sodipodi:role="line"
- id="tspan5373-9-09-1"
- x="511.01306"
- y="-49.514503">no match*</tspan></text>
- <g
- transform="translate(303.92156,371.88426)"
- id="g5650-6-2-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4-2"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41-0"
- width="210.17955"
- height="35.209244"
- x="140.98338"
- y="705.93896"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.11142"
- y="729.50842"
- id="text5371-2-7-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1"
- x="246.11142"
- y="729.50842">date is in the future?</tspan></text>
- <g
- transform="translate(303.92156,455.39272)"
- id="g5650-6-2-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4-6"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,72.385532,749.33549)"
- id="g5650-2-04-1-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9-6-9"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0-7-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2-6"
- width="210.17955"
- height="35.209244"
- x="140.98338"
- y="789.51343"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.04581"
- y="811.30945"
- id="text5371-2-7-9-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1-1"
- x="246.04581"
- y="811.30945">last_modified</tspan></text>
- <g
- id="g5650-39"
- transform="translate(656.94774,376.09516)">
- <path
- inkscape:connector-curvature="0"
- id="path5570-0"
- d="m -57.78256,195.3221 0,204.64594"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,159.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-124"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-7"
- width="218.52127"
- height="34.993004"
- x="489.90482"
- y="957.01166"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="599.28265"
- y="980.47302"
- id="text5371-43-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-6"
- x="599.28265"
- y="980.47302">304 not modified</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2-6-4"
- width="210.17955"
- height="35.209244"
- x="140.98338"
- y="873.08795"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.08487"
- y="891.68475"
- id="text5371-2-7-9-0-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1-1-0"
- x="246.08487"
- y="891.68475">...</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.097519"
- y="720.76068"
- id="text5371-4-2-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-01-9"
- x="66.097519"
- y="720.76068">false, or</tspan><tspan
- sodipodi:role="line"
- x="66.097519"
- y="740.76068"
- id="tspan21678-9">invalid</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="412.95471"
- y="580.78271"
- id="text5371-4-3-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9"
- x="412.95471"
- y="580.78271">match*</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3.05435514;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41-0-7"
- width="218.20164"
- height="35.154888"
- x="490.06448"
- y="538.81708"
- rx="15.572517"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="599.00122"
- y="562.35938"
- id="text5371-2-7-9-04"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1-6"
- x="599.00122"
- y="562.35938">method is GET/HEAD?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="621.08008"
- y="607.0827"
- id="text5371-2-739-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0-0"
- x="621.08008"
- y="607.0827">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="640.17383"
- y="518.34009"
- id="text5371-4-4-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6"
- x="640.17383"
- y="518.34009">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="157.927"
- y="770.83472"
- id="text5371-4-4-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-4"
- x="157.927"
- y="770.83472">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.32812"
- y="771.29565"
- id="text5371-2-739-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0-1"
- x="262.32812"
- y="771.29565">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="687.26025"
- id="text5371-2-739-56"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0-8"
- x="262.26562"
- y="687.26025">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="261.24219"
- y="854.87012"
- id="text5371-2-739-5-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0-1-3"
- x="261.24219"
- y="854.87012">modified*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="417.07037"
- y="834.64905"
- id="text5371-4-3-9-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9-4"
- x="417.07037"
- y="834.64905">not modified*</tspan></text>
- <g
- transform="translate(656.94774,455.40497)"
- id="g5650-6-2-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4-1"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-5"
- width="210.17955"
- height="35.209244"
- x="490.03729"
- y="789.51343"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="595.41223"
- y="810.84851"
- id="text5371-2-32-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8"
- x="595.41223"
- y="810.84851">generate_etag</tspan></text>
- <g
- transform="translate(656.94774,539.41312)"
- id="g5650-6-2-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-5-0"
- width="210.17955"
- height="35.209244"
- x="490.03729"
- y="873.08795"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="595.41223"
- y="894.42303"
- id="text5371-2-32-1-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8-6"
- x="595.41223"
- y="894.42303">expires</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/1.0/guide/rest_conneg.png b/docs/en/cowboy/1.0/guide/rest_conneg.png
deleted file mode 100644
index 65ecdcf3..00000000
--- a/docs/en/cowboy/1.0/guide/rest_conneg.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/1.0/guide/rest_conneg.svg b/docs/en/cowboy/1.0/guide/rest_conneg.svg
deleted file mode 100644
index 247567a0..00000000
--- a/docs/en/cowboy/1.0/guide/rest_conneg.svg
+++ /dev/null
@@ -1,1135 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_conneg.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4142136"
- inkscape:cx="222.80947"
- inkscape:cy="634.56615"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(303.92143,-296.03137)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-212.00698)"
- id="g5650-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-129.04326)"
- id="g5650-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-44.866334)"
- id="g5650-94"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-71"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,38.329623)"
- id="g5650-93"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,122.59665)"
- id="g5650-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,206.62103)"
- id="g5650-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,248.85545)"
- id="g5650-2-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,72.326854,331.8341)"
- id="g5650-2-04"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="204.67757"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="288.40311"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="372.01199"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="455.67929"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="539.34656"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(303.92156,289.38374)"
- id="g5650-6-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="623.01385"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="121.0042"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(417.86479,-176.50006)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.18575"
- y="310.19913"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="246.18575"
- y="310.19913">has accept-language?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.60762"
- y="477.47531"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="245.60762"
- y="477.47531">has accept-charset?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.00391"
- y="60.912468"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="245.00391"
- y="60.912468"
- id="tspan17171">start</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.11153"
- y="561.14258"
- id="text5371-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="246.11153"
- y="561.14258">charsets_provided</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.64278"
- y="646.58331"
- id="text5371-2-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2"
- x="246.64278"
- y="646.58331">variances</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.13106"
- y="142.80627"
- id="text5371-2-95"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="246.13106"
- y="142.80627">has accept?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.80684"
- y="226.4736"
- id="text5371-2-32"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="245.80684"
- y="226.4736">content_types_provided</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.05293"
- y="393.80801"
- id="text5371-2-74"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18"
- x="246.05293"
- y="393.80801">languages_provided</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="185.95248"
- id="text5371-2-391"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="262.26562"
- y="185.95248">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="269.61978"
- id="text5371-2-954"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-808"
- x="262.26562"
- y="269.61978">provided*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="353.28702"
- id="text5371-2-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-11"
- x="262.26562"
- y="353.28702">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="436.95425"
- id="text5371-2-92"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-4"
- x="262.26562"
- y="436.95425">provided*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="520.62152"
- id="text5371-2-739"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0"
- x="262.26562"
- y="520.62152">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="604.28876"
- id="text5371-2-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="262.26562"
- y="604.28876">provided*</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="76.761719"
- y="227.88033"
- id="text5371-4-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="76.761719"
- y="227.88033">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="76.761719"
- y="395.20209"
- id="text5371-4-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-01"
- x="76.761719"
- y="395.20209">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="413.26172"
- y="374.19577"
- id="text5371-4-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62"
- x="413.26172"
- y="374.19577">not provided*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="76.761719"
- y="562.52386"
- id="text5371-4-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2"
- x="76.761719"
- y="562.52386">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-8.8034744"
- y="663.24762"
- id="text5371-4-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"
- transform="matrix(0.7410941,-0.67140117,0.67140117,0.7410941,0,0)"><tspan
- sodipodi:role="line"
- id="tspan5373-9-09"
- x="-8.8034744"
- y="663.24762">not provided*</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="489.90482"
- y="372.18814"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(-0.65781496,-0.75317958,0.75317958,-0.65781496,150.24236,637.46542)"
- id="g5650-2-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-2"
- d="m -59.488319,210.57681 1.65844,193.00059"
- style="opacity:0.80000000000000004;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="599.20062"
- y="394.09869"
- id="text5371-43"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="599.20062"
- y="394.09869">406 not acceptable</tspan></text>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,416.17722)"
- id="g5650-2-0-4-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,583.49898)"
- id="g5650-2-0-4-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-0"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0.70472302,-0.70948254,0.70948254,0.70472302,241.97558,40.02582)"
- id="g5650-2-1-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-2-8"
- d="m -64.113139,212.68162 6.332851,190.92097"
- style="opacity:0.80000000000000004;fill:none;stroke:#9b3b1c;stroke-width:1.99999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-9-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="509.41452"
- y="-106.16136"
- id="text5371-4-5-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"
- transform="matrix(0.69480867,0.71919462,-0.71919462,0.69480867,0,0)"><tspan
- sodipodi:role="line"
- id="tspan5373-9-09-1"
- x="509.41452"
- y="-106.16136">not provided*</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41-0"
- width="210.17955"
- height="35.209244"
- x="141.049"
- y="706.68097"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.15048"
- y="725.27777"
- id="text5371-2-7-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1"
- x="246.15048"
- y="725.27777">...</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/1.0/guide/rest_delete.png b/docs/en/cowboy/1.0/guide/rest_delete.png
deleted file mode 100644
index 56a861c0..00000000
--- a/docs/en/cowboy/1.0/guide/rest_delete.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/1.0/guide/rest_delete.svg b/docs/en/cowboy/1.0/guide/rest_delete.svg
deleted file mode 100644
index 2f5513cd..00000000
--- a/docs/en/cowboy/1.0/guide/rest_delete.svg
+++ /dev/null
@@ -1,1718 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_delete.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4142136"
- inkscape:cx="187.51922"
- inkscape:cy="446.38557"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(416.63925,-305.0045)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,270.15614)"
- id="g5650-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,435.68973)"
- id="g5650-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,-141.93971)"
- id="g5650-0-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,-59.713866)"
- id="g5650-0-6-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3-8"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-307.35528,398.54403)"
- id="g5650-2-0-4-8-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5-6-2"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="275.4668"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(270.88515,105.33602)"
- id="g5650-2-2-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-3"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-310.05718,566.15049)"
- id="g5650-2-0-4-3-8-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-7"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="440.50873"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,-1,1,0,-308.28941,729.66893)"
- id="g5650-2-0-4-8-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="605.5506"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,-1,1,0,-313.39862,891.55835)"
- id="g5650-2-0-4-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="770.83313"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,261.76354,-143.71473)"
- id="g5650-2-2-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-4"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="253.76691"
- y="112.69559"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(530.58261,-183.7816)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.38774"
- y="462.30475"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="213.38774"
- y="462.30475">delete_completed</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="212.93852"
- y="627.56927"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="212.93852"
- y="627.56927">has response body?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="359.14185"
- y="50.482433"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="359.14185"
- y="50.482433"
- id="tspan17171">conneg</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="212.77055"
- y="792.62915"
- id="text5371-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="212.77055"
- y="792.62915">multiple_choices</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="358.52466"
- y="134.49161"
- id="text5371-2-95"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="358.52466"
- y="134.49161">resource_exists</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.08696"
- y="297.26282"
- id="text5371-2-32"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="213.08696"
- y="297.26282">delete_resource</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="251.83722"
- y="175.92931"
- id="text5371-2-391"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="251.83722"
- y="175.92931">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="159.54012"
- y="835.54285"
- id="text5371-2-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="159.54012"
- y="835.54285">false</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="447.26678"
- y="176.39024"
- id="text5371-4-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="447.26678"
- y="176.39024">false</tspan></text>
- <g
- transform="translate(563.72619,-141.76777)"
- id="g5650-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="47.338913"
- y="876.22211"
- id="text5371-4-3-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9"
- x="47.338913"
- y="876.22211">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="545.12921"
- y="257.43518"
- id="text5371-4-4-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6"
- x="545.12921"
- y="257.43518">true</tspan></text>
- <g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,547.47379,-62.310424)"
- id="g5650-9-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355-0"
- transform="translate(384.82851,-20.897068)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.38774"
- y="216.5154"
- id="text5371-4-0-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="213.38774"
- y="216.5154"
- id="tspan17171-6">cond</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-1"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="935.6217"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="208.84938"
- y="957.53229"
- id="text5371-43-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-62"
- x="208.84938"
- y="957.53229">300 multiple choices</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="853.22168"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="208.31422"
- y="876.54242"
- id="text5371-43-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1"
- x="208.31422"
- y="876.54242">200 OK</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,1028.2004,317.70407)"
- id="g5650-2-0-4-3-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-4"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="192.94594"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.77957"
- y="216.51541"
- id="text5371-2-32-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8"
- x="505.77957"
- y="216.51541">has if-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="299.27689"
- id="text5371-2-391-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7"
- x="651.74426"
- y="299.27689">false</tspan></text>
- <g
- transform="translate(563.72619,22.800669)"
- id="g5650-0-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1027.6701,482.30508)"
- id="g5650-2-0-4-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-7"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="357.98779"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.94363"
- y="379.78381"
- id="text5371-2-32-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-1"
- x="505.94363"
- y="379.78381">previously_existed</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="440.37622"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="506.2796"
- y="463.83755"
- id="text5371-43-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9"
- x="506.2796"
- y="463.83755">404 not found</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="528.75421"
- y="422.69736"
- id="text5371-2-8-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4"
- x="528.75421"
- y="422.69736">false</tspan></text>
- <g
- transform="translate(563.72619,187.85116)"
- id="g5650-2-2-17">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-0"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-45"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1027.4933,646.81763)"
- id="g5650-2-0-4-3-8-0-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="523.02966"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.45535"
- y="544.82568"
- id="text5371-2-74-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2"
- x="505.45535"
- y="544.82568">moved_permanently</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,347.00351,567.35686)"
- id="g5650-2-0-4-3-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-3"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="275.81555"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="506.2796"
- y="297.7261"
- id="text5371-43"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="506.2796"
- y="297.7261">412 precondition failed</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="668.11926"
- y="463.37662"
- id="text5371-4-3-9-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9-9"
- x="668.11926"
- y="463.37662">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="549.12921"
- y="587.59863"
- id="text5371-4-4-9-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2"
- x="549.12921"
- y="587.59863">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="628.87946"
- id="text5371-2-391-5-5-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9"
- x="651.74426"
- y="628.87946">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="605.41809"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.57257"
- y="627.32867"
- id="text5371-43-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7"
- x="505.57257"
- y="627.32867">301 moved permanently</tspan></text>
- <g
- transform="translate(563.72619,353.12604)"
- id="g5650-2-2-65">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-5"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1032.2004,811.50699)"
- id="g5650-2-0-4-3-8-0-3-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8-1"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="687.83093"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.45535"
- y="709.62695"
- id="text5371-2-74-0-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8"
- x="505.45535"
- y="709.62695">moved_temporarily</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="549.12921"
- y="752.64056"
- id="text5371-4-4-9-3-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-6"
- x="549.12921"
- y="752.64056">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="794.16199"
- id="text5371-2-391-5-5-1-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-2"
- x="651.74426"
- y="794.16199">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="770.70062"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.57257"
- y="792.61121"
- id="text5371-43-2-9-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8"
- x="505.57257"
- y="792.61121">307 moved temporarily</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-4"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="853.22168"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.97882"
- y="874.99164"
- id="text5371-43-2-9-7-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-7"
- x="505.97882"
- y="874.99164">410 gone</tspan></text>
- <g
- transform="translate(31.619614,4.2328831)"
- id="g5650-2-2-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="178.57137"
- y="505.21829"
- id="text5371-4-6-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0-9"
- x="178.57137"
- y="505.21829">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="522.89716"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="209.20485"
- y="544.80774"
- id="text5371-43-3-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-5"
- x="209.20485"
- y="544.80774">202 accepted</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-5"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="687.69843"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="208.6736"
- y="711.01917"
- id="text5371-43-3-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-8"
- x="208.6736"
- y="711.01917">204 no content</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="47.338913"
- y="711.15979"
- id="text5371-4-6-0-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0-9-4"
- x="47.338913"
- y="711.15979">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="30.901413"
- y="545.89758"
- id="text5371-2-391-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-9"
- x="30.901413"
- y="545.89758">true</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7-1"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="357.85529"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="208.45485"
- y="381.31662"
- id="text5371-43-3-1-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-5-9"
- x="208.45485"
- y="381.31662">500 internal server error</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="159.54012"
- y="340.17645"
- id="text5371-2-8-9-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-4"
- x="159.54012"
- y="340.17645">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="47.338913"
- y="380.85568"
- id="text5371-4-4-9-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-1"
- x="47.338913"
- y="380.85568">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="159.54012"
- y="670.13989"
- id="text5371-2-391-6-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-9-1"
- x="159.54012"
- y="670.13989">false</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/1.0/guide/rest_flowcharts/index.html b/docs/en/cowboy/1.0/guide/rest_flowcharts/index.html
deleted file mode 100644
index 825dcc0a..00000000
--- a/docs/en/cowboy/1.0/guide/rest_flowcharts/index.html
+++ /dev/null
@@ -1,304 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>REST flowcharts</span></h1>
-
-<p>This chapter will explain the REST handler state machine through a number of different diagrams.</p>
-
-<p>There are four main paths that requests may follow. One for the method OPTIONS; one for the methods GET and HEAD; one for the methods PUT, POST and PATCH; and one for the method DELETE.</p>
-
-<p>All paths start with the "Start" diagram, and all paths excluding the OPTIONS path go through the "Content negotiation" diagram and optionally the "Conditional requests" diagram if the resource exists.</p>
-
-<p>The red squares refer to another diagram. The light green squares indicate a response. Other squares may be either a callback or a question answered by Cowboy itself. Green arrows tend to indicate the default behavior if the callback is undefined.</p>
-
-<h2 id="start">Start</h2>
-
-<p>All requests start from here.</p>
-
-<p><img title="REST starting flowchart" src="/docs/en/cowboy/1.0/guide/rest_start.png"/></p>
-
-<p>A series of callbacks are called in succession to perform a general checkup of the service, the request line and request headers.</p>
-
-<p>The request body, if any, is not expected to have been received for any of these steps. It is only processed at the end of the "PUT, POST and PATCH methods" diagram, when all conditions have been met.</p>
-
-<p>The <code>known_methods</code> and <code>allowed_methods</code> callbacks return a list of methods. Cowboy then checks if the request method is in the list, and stops otherwise.</p>
-
-<p>The <code>is_authorized</code> callback may be used to check that access to the resource is authorized. Authentication may also be performed as needed. When authorization is denied, the return value from the callback must include a challenge applicable to the requested resource, which will be sent back to the client in the www-authenticate header.</p>
-
-<p>This diagram is immediately followed by either the "OPTIONS method" diagram when the request method is OPTIONS, or the "Content negotiation" diagram otherwise.</p>
-
-<h2 id="options_method">OPTIONS method</h2>
-
-<p>This diagram only applies to OPTIONS requests.</p>
-
-<p><img title="REST OPTIONS method flowchart" src="/docs/en/cowboy/1.0/guide/rest_options.png"/></p>
-
-<p>The <code>options</code> callback may be used to add information about the resource, such as media types or languages provided; allowed methods; any extra information. A response body may also be set, although clients should not be expected to read it.</p>
-
-<p>If the <code>options</code> callback is not defined, Cowboy will send a response containing the list of allowed methods by default.</p>
-
-<h2 id="content_negotiation">Content negotiation</h2>
-
-<p>This diagram applies to all request methods other than OPTIONS. It is executed right after the "Start" diagram is completed.</p>
-
-<p><img title="REST content negotiation flowchart" src="/docs/en/cowboy/1.0/guide/rest_conneg.png"/></p>
-
-<p>The purpose of these steps is to determine an appropriate representation to be sent back to the client.</p>
-
-<p>The request may contain any of the accept header; the accept-language header; or the accept-charset header. When present, Cowboy will parse the headers and then call the corresponding callback to obtain the list of provided content-type, language or charset for this resource. It then automatically select the best match based on the request.</p>
-
-<p>If a callback is not defined, Cowboy will select the content-type, language or charset that the client prefers.</p>
-
-<p>The <code>content_types_provided</code> also returns the name of a callback for every content-type it accepts. This callback will only be called at the end of the "GET and HEAD methods" diagram, when all conditions have been met.</p>
-
-<p>The selected content-type, language and charset are saved as meta values in the Req object. You <em>should</em> use the appropriate representation if you set a response body manually (alongside an error code, for example).</p>
-
-<p>This diagram is immediately followed by the "GET and HEAD methods" diagram, the "PUT, POST and PATCH methods" diagram, or the "DELETE method" diagram, depending on the method.</p>
-
-<h2 id="get_and_head_methods">GET and HEAD methods</h2>
-
-<p>This diagram only applies to GET and HEAD requests.</p>
-
-<p>For a description of the <code>cond</code> step, please see the "Conditional requests" diagram.</p>
-
-<p><img title="REST GET/HEAD methods flowchart" src="/docs/en/cowboy/1.0/guide/rest_get_head.png"/></p>
-
-<p>When the resource exists, and the conditional steps succeed, the resource can be retrieved.</p>
-
-<p>Cowboy prepares the response by first retrieving metadata about the representation, then by calling the <code>ProvideResource</code> callback. This is the callback you defined for each content-types you returned from <code>content_types_provided</code>. This callback returns the body that will be sent back to the client, or a fun if the body must be streamed.</p>
-
-<p>When the resource does not exist, Cowboy will figure out whether the resource existed previously, and if so whether it was moved elsewhere in order to redirect the client to the new URI.</p>
-
-<p>The <code>moved_permanently</code> and <code>moved_temporarily</code> callbacks must return the new location of the resource if it was in fact moved.</p>
-
-<h2 id="put,_post_and_patch_methods">PUT, POST and PATCH methods</h2>
-
-<p>This diagram only applies to PUT, POST and PATCH requests.</p>
-
-<p>For a description of the <code>cond</code> step, please see the "Conditional requests" diagram.</p>
-
-<p><img title="REST PUT/POST/PATCH methods flowchart" src="/docs/en/cowboy/1.0/guide/rest_put_post_patch.png"/></p>
-
-<p>When the resource exists, first the conditional steps are executed. When that succeeds, and the method is PUT, Cowboy will call the <code>is_conflict</code> callback. This function can be used to prevent potential race conditions, by locking the resource for example.</p>
-
-<p>Then all three methods reach the <code>content_types_accepted</code> step that we will describe in a few paragraphs.</p>
-
-<p>When the resource does not exist, and the method is PUT, Cowboy will check for conflicts and then move on to the <code>content_types_accepted</code> step. For other methods, Cowboy will figure out whether the resource existed previously, and if so whether it was moved elsewhere. If the resource is truly non-existent, the method is POST and the call for <code>allow_missing_post</code> returns <code>true</code>, then Cowboy will move on to the <code>content_types_accepted</code> step. Otherwise the request processing ends there.</p>
-
-<p>The <code>moved_permanently</code> and <code>moved_temporarily</code> callbacks must return the new location of the resource if it was in fact moved.</p>
-
-<p>The <code>content_types_accepted</code> returns a list of content-types it accepts, but also the name of a callback for each of them. Cowboy will select the appropriate callback for processing the request body and call it.</p>
-
-<p>This callback may return one of three different return values.</p>
-
-<p>If an error occurred while processing the request body, it must return <code>false</code> and Cowboy will send an appropriate error response.</p>
-
-<p>If the method is POST, then you may return <code>true</code> with an URI of where the resource has been created. This is especially useful for writing handlers for collections.</p>
-
-<p>Otherwise, return <code>true</code> to indicate success. Cowboy will select the appropriate response to be sent depending on whether a resource has been created, rather than modified, and on the availability of a location header or a body in the response.</p>
-
-<h2 id="delete_method">DELETE method</h2>
-
-<p>This diagram only applies to DELETE requests.</p>
-
-<p>For a description of the <code>cond</code> step, please see the "Conditional requests" diagram.</p>
-
-<p><img title="REST DELETE method flowchart" src="/docs/en/cowboy/1.0/guide/rest_delete.png"/></p>
-
-<p>When the resource exists, and the conditional steps succeed, the resource can be deleted.</p>
-
-<p>Deleting the resource is a two steps process. First the callback <code>delete_resource</code> is executed. Use this callback to delete the resource.</p>
-
-<p>Because the resource may be cached, you must also delete all cached representations of this resource in the system. This operation may take a while though, so you may return before it finished.</p>
-
-<p>Cowboy will then call the <code>delete_completed</code> callback. If you know that the resource has been completely deleted from your system, including from caches, then you can return <code>true</code>. If any doubts persist, return <code>false</code>. Cowboy will assume <code>true</code> by default.</p>
-
-<p>To finish, Cowboy checks if you set a response body, and depending on that, sends the appropriate response.</p>
-
-<p>When the resource does not exist, Cowboy will figure out whether the resource existed previously, and if so whether it was moved elsewhere in order to redirect the client to the new URI.</p>
-
-<p>The <code>moved_permanently</code> and <code>moved_temporarily</code> callbacks must return the new location of the resource if it was in fact moved.</p>
-
-<h2 id="conditional_requests">Conditional requests</h2>
-
-<p>This diagram applies to all request methods other than OPTIONS. It is executed right after the <code>resource_exists</code> callback, when the resource exists.</p>
-
-<p><img title="REST conditional requests flowchart" src="/docs/en/cowboy/1.0/guide/rest_cond.png"/></p>
-
-<p>A request becomes conditional when it includes either of the if-match header; the if-unmodified-since header; the if-none-match header; or the if-modified-since header.</p>
-
-<p>If the condition fails, the request ends immediately without any retrieval or modification of the resource.</p>
-
-<p>The <code>generate_etag</code> and <code>last_modified</code> are called as needed. Cowboy will only call them once and then cache the results for subsequent use.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/rest_get_head.png b/docs/en/cowboy/1.0/guide/rest_get_head.png
deleted file mode 100644
index efee892a..00000000
--- a/docs/en/cowboy/1.0/guide/rest_get_head.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/1.0/guide/rest_get_head.svg b/docs/en/cowboy/1.0/guide/rest_get_head.svg
deleted file mode 100644
index c78e9399..00000000
--- a/docs/en/cowboy/1.0/guide/rest_get_head.svg
+++ /dev/null
@@ -1,1523 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_get_head.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4142136"
- inkscape:cx="122.28875"
- inkscape:cy="777.29526"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(416.63925,-305.0045)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,-59.451492)"
- id="g5650-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,22.975441)"
- id="g5650-94"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-71"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,105.29639)"
- id="g5650-93"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,187.81342)"
- id="g5650-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,270.7128)"
- id="g5650-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,-141.93971)"
- id="g5650-0-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="275.4668"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="357.98779"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="440.50873"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="523.02966"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,-1,1,0,-314.06239,730.23773)"
- id="g5650-2-0-4-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="605.5506"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,261.76354,-143.71473)"
- id="g5650-2-2-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-4"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="253.76691"
- y="112.69559"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(530.58261,-183.7816)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.07524"
- y="379.78381"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="213.07524"
- y="379.78381">last_modified</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="212.74321"
- y="546.59912"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="212.74321"
- y="546.59912">ProvideResource</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="359.14185"
- y="50.482433"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="359.14185"
- y="50.482433"
- id="tspan17171">conneg</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="212.77055"
- y="627.34662"
- id="text5371-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="212.77055"
- y="627.34662">multiple_choices</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="358.52466"
- y="134.49161"
- id="text5371-2-95"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="358.52466"
- y="134.49161">resource_exists</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.38774"
- y="296.80188"
- id="text5371-2-32"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="213.38774"
- y="296.80188">generate_etag</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.05571"
- y="462.5274"
- id="text5371-2-74"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18"
- x="213.05571"
- y="462.5274">expires</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="251.83722"
- y="175.92931"
- id="text5371-2-391"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="251.83722"
- y="175.92931">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="161.54012"
- y="670.38055"
- id="text5371-2-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="161.54012"
- y="670.38055">false</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="447.26678"
- y="176.39024"
- id="text5371-4-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="447.26678"
- y="176.39024">false</tspan></text>
- <g
- transform="translate(563.72619,-141.76777)"
- id="g5650-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="46.409981"
- y="711.18011"
- id="text5371-4-3-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9"
- x="46.409981"
- y="711.18011">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="545.12921"
- y="257.43518"
- id="text5371-4-4-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6"
- x="545.12921"
- y="257.43518">true</tspan></text>
- <g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,547.47379,-62.310424)"
- id="g5650-9-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355-0"
- transform="translate(384.82851,-20.897068)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.38774"
- y="216.5154"
- id="text5371-4-0-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="213.38774"
- y="216.5154"
- id="tspan17171-6">cond</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-1"
- width="218.52127"
- height="34.993004"
- x="103.84195"
- y="770.70062"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="212.88774"
- y="792.61121"
- id="text5371-43-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-62"
- x="212.88774"
- y="792.61121">300 multiple choices</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8"
- width="218.52127"
- height="34.993004"
- x="103.84195"
- y="688.17969"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="212.35258"
- y="711.50043"
- id="text5371-43-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1"
- x="212.35258"
- y="711.50043">200 OK</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,1028.2004,317.70407)"
- id="g5650-2-0-4-3-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-4"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="192.94594"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.77957"
- y="216.51541"
- id="text5371-2-32-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8"
- x="505.77957"
- y="216.51541">has if-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="299.27689"
- id="text5371-2-391-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7"
- x="651.74426"
- y="299.27689">false</tspan></text>
- <g
- transform="translate(563.72619,22.800669)"
- id="g5650-0-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1027.6701,482.30508)"
- id="g5650-2-0-4-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-7"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="357.98779"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.94363"
- y="379.78381"
- id="text5371-2-32-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-1"
- x="505.94363"
- y="379.78381">previously_existed</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="440.37622"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="506.2796"
- y="463.83755"
- id="text5371-43-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9"
- x="506.2796"
- y="463.83755">404 not found</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="528.75421"
- y="422.69736"
- id="text5371-2-8-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4"
- x="528.75421"
- y="422.69736">false</tspan></text>
- <g
- transform="translate(563.72619,187.85116)"
- id="g5650-2-2-17">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-0"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-45"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1027.4933,646.81763)"
- id="g5650-2-0-4-3-8-0-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="523.02966"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.45535"
- y="544.82568"
- id="text5371-2-74-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2"
- x="505.45535"
- y="544.82568">moved_permanently</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,347.00351,567.35686)"
- id="g5650-2-0-4-3-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-3"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="275.81555"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="506.2796"
- y="297.7261"
- id="text5371-43"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="506.2796"
- y="297.7261">412 precondition failed</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="668.11926"
- y="463.37662"
- id="text5371-4-3-9-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9-9"
- x="668.11926"
- y="463.37662">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="549.12921"
- y="587.59863"
- id="text5371-4-4-9-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2"
- x="549.12921"
- y="587.59863">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="628.87946"
- id="text5371-2-391-5-5-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9"
- x="651.74426"
- y="628.87946">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="605.41809"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.57257"
- y="627.32867"
- id="text5371-43-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7"
- x="505.57257"
- y="627.32867">301 moved permanently</tspan></text>
- <g
- transform="translate(563.72619,353.12604)"
- id="g5650-2-2-65">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-5"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1032.2004,811.50699)"
- id="g5650-2-0-4-3-8-0-3-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8-1"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="687.83093"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.45535"
- y="709.62695"
- id="text5371-2-74-0-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8"
- x="505.45535"
- y="709.62695">moved_temporarily</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="549.12921"
- y="752.64056"
- id="text5371-4-4-9-3-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-6"
- x="549.12921"
- y="752.64056">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="794.16199"
- id="text5371-2-391-5-5-1-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-2"
- x="651.74426"
- y="794.16199">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="770.70062"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.57257"
- y="792.61121"
- id="text5371-43-2-9-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8"
- x="505.57257"
- y="792.61121">307 moved temporarily</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-4"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="853.22168"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.97882"
- y="874.99164"
- id="text5371-43-2-9-7-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-7"
- x="505.97882"
- y="874.99164">410 gone</tspan></text>
- <g
- transform="translate(31.619614,4.2328831)"
- id="g5650-2-2-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- </g>
-</svg>
diff --git a/docs/en/cowboy/1.0/guide/rest_handlers/index.html b/docs/en/cowboy/1.0/guide/rest_handlers/index.html
deleted file mode 100644
index 3bdad4fd..00000000
--- a/docs/en/cowboy/1.0/guide/rest_handlers/index.html
+++ /dev/null
@@ -1,289 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>REST handlers</span></h1>
-
-<p>REST is implemented in Cowboy as a protocol upgrade. Once upgraded, the request is handled as a state machine with many optional callbacks describing the resource and modifying the machine's behavior.</p>
-
-<p>The REST handler is the recommended way to handle requests.</p>
-
-<h2 id="initialization">Initialization</h2>
-
-<p>First, the <code>init/3</code> callback is called. This callback is common to all handlers. To use REST for the current request, this function must return an <code>upgrade</code> tuple.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init({tcp, http}, Req, Opts) ->
- {upgrade, protocol, cowboy_rest}.
-]]></script>
-
-<p>Cowboy will then switch to the REST protocol and start executing the state machine, starting from <code>rest_init/2</code> if it's defined, and ending with <code>rest_terminate/2</code> also if defined.</p>
-
-<h2 id="methods">Methods</h2>
-
-<p>The REST component has code for handling the following HTTP methods: HEAD, GET, POST, PATCH, PUT, DELETE and OPTIONS.</p>
-
-<p>Other methods can be accepted, however they have no specific callback defined for them at this time.</p>
-
-<h2 id="callbacks">Callbacks</h2>
-
-<p>All callbacks are optional. Some may become mandatory depending on what other defined callbacks return. The various flowcharts in the next chapter should be a useful to determine which callbacks you need.</p>
-
-<p>When the request starts being processed, Cowboy will call the <code>rest_init/2</code> function if it is defined, with the Req object and the handler options as arguments. This function must return <code>{ok, Req, State}</code> where <code>State</code> is the handler's state that all subsequent callbacks will receive.</p>
-
-<p>At the end of every request, the special callback <code>rest_terminate/2</code> will be called if it is defined. It cannot be used to send a reply, and must always return <code>ok</code>.</p>
-
-<p>All other callbacks are resource callbacks. They all take two arguments, the Req object and the State, and return a three-element tuple of the form <code>{Value, Req, State}</code>.</p>
-
-<p>The following table summarizes the callbacks and their default values. If the callback isn't defined, then the default value will be used. Please look at the flowcharts to find out the result of each return value.</p>
-
-<p>All callbacks can also return <code>{halt, Req, State}</code> to stop execution of the request, at which point <code>rest_terminate/2</code> will be called.</p>
-
-<p>In the following table, "skip" means the callback is entirely skipped if it is undefined, moving directly to the next step. Similarly, "none" means there is no default value for this callback.</p>
-
-<table class="table-bordered table-condensed table-striped">
-<thead>
-<tr><th>Callback name</th><th>Default value</th></tr>
-</thead>
-<tbody>
-<tr><td>allowed_methods</td><td><code>[<<"GET">>, <<"HEAD">>, <<"OPTIONS">>]</code></td></tr>
-<tr><td>allow_missing_post</td><td><code>true</code></td></tr>
-<tr><td>charsets_provided</td><td>skip</td></tr>
-<tr><td>content_types_accepted</td><td>none</td></tr>
-<tr><td>content_types_provided</td><td><code>[{{<<"text">>, <<"html">>, '*'}, to_html}] </code></td></tr>
-<tr><td>delete_completed</td><td><code>true</code></td></tr>
-<tr><td>delete_resource</td><td><code>false</code></td></tr>
-<tr><td>expires</td><td><code>undefined</code></td></tr>
-<tr><td>forbidden</td><td><code>false</code></td></tr>
-<tr><td>generate_etag</td><td><code>undefined</code></td></tr>
-<tr><td>is_authorized</td><td><code>true</code></td></tr>
-<tr><td>is_conflict</td><td><code>false</code></td></tr>
-<tr><td>known_content_type</td><td><code>true</code></td></tr>
-<tr><td>known_methods</td><td><code>[<<"GET">>, <<"HEAD">>, <<"POST">>, <<"PUT">>, <<"PATCH">>, <<"DELETE">>, <<"OPTIONS">>]</code></td></tr>
-<tr><td>languages_provided</td><td>skip</td></tr>
-<tr><td>last_modified</td><td><code>undefined</code></td></tr>
-<tr><td>malformed_request</td><td><code>false</code></td></tr>
-<tr><td>moved_permanently</td><td><code>false</code></td></tr>
-<tr><td>moved_temporarily</td><td><code>false</code></td></tr>
-<tr><td>multiple_choices</td><td><code>false</code></td></tr>
-<tr><td>options</td><td><code>ok</code></td></tr>
-<tr><td>previously_existed</td><td><code>false</code></td></tr>
-<tr><td>resource_exists</td><td><code>true</code></td></tr>
-<tr><td>service_available</td><td><code>true</code></td></tr>
-<tr><td>uri_too_long</td><td><code>false</code></td></tr>
-<tr><td>valid_content_headers</td><td><code>true</code></td></tr>
-<tr><td>valid_entity_length</td><td><code>true</code></td></tr>
-<tr><td>variances</td><td><code>[]</code></td></tr>
-</tbody>
-</table>
-
-<p>As you can see, Cowboy tries to move on with the request whenever possible by using well thought out default values.</p>
-
-<p>In addition to these, there can be any number of user-defined callbacks that are specified through <code>content_types_accepted/2</code> and <code>content_types_provided/2</code>. They can take any name, however it is recommended to use a separate prefix for the callbacks of each function. For example, <code>from_html</code> and <code>to_html</code> indicate in the first case that we're accepting a resource given as HTML, and in the second case that we send one as HTML.</p>
-
-<h2 id="meta_data">Meta data</h2>
-
-<p>Cowboy will set informative meta values at various points of the execution. You can retrieve them using <code>cowboy_req:meta/{2,3}</code>. The values are defined in the following table.</p>
-
-<table class="table-bordered table-condensed table-striped">
-<thead>
-<tr><th>Meta key</th><th>Details</th></tr>
-</thead>
-<tbody>
-<tr><td>media_type</td><td>The content-type negotiated for the response entity.</td></tr>
-<tr><td>language</td><td>The language negotiated for the response entity.</td></tr>
-<tr><td>charset</td><td>The charset negotiated for the response entity.</td></tr>
-</tbody>
-</table>
-
-<p>They can be used to send a proper body with the response to a request that used a method other than HEAD or GET.</p>
-
-<h2 id="response_headers">Response headers</h2>
-
-<p>Cowboy will set response headers automatically over the execution of the REST code. They are listed in the following table.</p>
-
-<table class="table-bordered table-condensed table-striped">
-<thead>
-<tr><th>Header name</th><th>Details</th></tr>
-</thead>
-<tbody>
-<tr><td>content-language</td><td>Language used in the response body</td></tr>
-<tr><td>content-type</td><td>Media type and charset of the response body</td></tr>
-<tr><td>etag</td><td>Etag of the resource</td></tr>
-<tr><td>expires</td><td>Expiration date of the resource</td></tr>
-<tr><td>last-modified</td><td>Last modification date for the resource</td></tr>
-<tr><td>location</td><td>Relative or absolute URI to the requested resource</td></tr>
-<tr><td>vary</td><td>List of headers that may change the representation of the resource</td></tr>
-</tbody>
-</table>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/rest_options.png b/docs/en/cowboy/1.0/guide/rest_options.png
deleted file mode 100644
index 90fd6f06..00000000
--- a/docs/en/cowboy/1.0/guide/rest_options.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/1.0/guide/rest_options.svg b/docs/en/cowboy/1.0/guide/rest_options.svg
deleted file mode 100644
index 496c050c..00000000
--- a/docs/en/cowboy/1.0/guide/rest_options.svg
+++ /dev/null
@@ -1,387 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_options.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.0000001"
- inkscape:cx="166.77748"
- inkscape:cy="548.36436"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(205.92143,-296.03137)"
- id="g5650-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,-212.00698)"
- id="g5650-9">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="204.67757"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="121.0042"
- rx="15" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(319.86479,-176.50006)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.00391"
- y="60.912468"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="147.00391"
- y="60.912468"
- id="tspan17171">start</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.13106"
- y="142.80627"
- id="text5371-2-95"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="148.13106"
- y="142.80627">options</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.80684"
- y="226.4736"
- id="text5371-2-32"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="147.80684"
- y="226.4736">200 OK</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/1.0/guide/rest_principles/index.html b/docs/en/cowboy/1.0/guide/rest_principles/index.html
deleted file mode 100644
index 2dd15113..00000000
--- a/docs/en/cowboy/1.0/guide/rest_principles/index.html
+++ /dev/null
@@ -1,238 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>REST principles</span></h1>
-
-<p>This chapter will attempt to define the concepts behind REST and explain what makes a service RESTful.</p>
-
-<p>REST is often confused with performing a distinct operation depending on the HTTP method, while using more than the GET and POST methods. That's highly misguided at best.</p>
-
-<p>We will first attempt to define REST and will look at what it means in the context of HTTP and the Web. For a more in-depth explanation of REST, you can read <a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm">Roy T. Fielding's dissertation</a> as it does a great job explaining where it comes from and what it achieves.</p>
-
-<h2 id="rest_architecture">REST architecture</h2>
-
-<p>REST is a <em>client-server</em> architecture. The client and the server both have a different set of concerns. The server stores and/or manipulates information and makes it available to the user in an efficient manner. The client takes that information and displays it to the user and/or uses it to perform subsequent requests for information. This separation of concerns allows both the client and the server to evolve independently as it only requires that the interface stays the same.</p>
-
-<p>REST is <em>stateless</em>. That means the communication between the client and the server always contains all the information needed to perform the request. There is no session state in the server, it is kept entirely on the client's side. If access to a resource requires authentication, then the client needs to authenticate itself with every request.</p>
-
-<p>REST is <em>cacheable</em>. The client, the server and any intermediary components can all cache resources in order to improve performance.</p>
-
-<p>REST provides a <em>uniform interface</em> between components. This simplifies the architecture, as all components follow the same rules to speak to one another. It also makes it easier to understand the interactions between the different components of the system. A number of constraints are required to achieve this. They are covered in the rest of the chapter.</p>
-
-<p>REST is a <em>layered system</em>. Individual components cannot see beyond the immediate layer with which they are interacting. This means that a client connecting to an intermediate component, like a proxy, has no knowledge of what lies beyond. This allows components to be independent and thus easily replaceable or extendable.</p>
-
-<p>REST optionally provides <em>code on demand</em>. Code may be downloaded to extend client functionality. This is optional however because the client may not be able to download or run this code, and so a REST component cannot rely on it being executed.</p>
-
-<h2 id="resources_and_resource_identifiers">Resources and resource identifiers</h2>
-
-<p>A resource is an abstract concept. In a REST system, any information that can be named may be a resource. This includes documents, images, a collection of resources and any other information. Any information that can be the target of an hypertext link can be a resource.</p>
-
-<p>A resource is a conceptual mapping to a set of entities. The set of entities evolves over time; a resource doesn't. For example a resource can map to "users who have logged in this past month" and another to "all users". At some point in time they may map to the same set of entities, because all users logged in this past month. But they are still different resources. Similarly, if nobody logged in recently, then the first resource may map to the empty set. This resource exists regardless of the information it maps to.</p>
-
-<p>Resources are identified by uniform resource identifiers, also known as URIs. Sometimes internationalized resource identifiers, or IRIs, may also be used, but these can be directly translated into a URI.</p>
-
-<p>In practice we will identify two kinds of resources. Individual resources map to a set of one element, for example "user Joe". Collection of resources map to a set of 0 to N elements, for example "all users".</p>
-
-<h2 id="resource_representations">Resource representations</h2>
-
-<p>The representation of a resource is a sequence of bytes associated with metadata.</p>
-
-<p>The metadata comes as a list of key-value pairs, where the name corresponds to a standard that defines the value's structure and semantics. With HTTP, the metadata comes in the form of request or response headers. The headers' structure and semantics are well defined in the HTTP standard. Metadata includes representation metadata, resource metadata and control data.</p>
-
-<p>The representation metadata gives information about the representation, such as its media type, the date of last modification, or even a checksum.</p>
-
-<p>Resource metadata could be link to related resources or information about additional representations of the resource.</p>
-
-<p>Control data allows parameterizing the request or response. For example, we may only want the representation returned if it is more recent than the one we have in cache. Similarly, we may want to instruct the client about how it should cache the representation. This isn't restricted to caching. We may for example want to store a new representation of a resource only if it wasn't modified since we first retrieved it.</p>
-
-<p>The data format of a representation is also known as the media type. Some media types are intended for direct rendering to the user, while others are intended for automated processing. The media type is a key component of the REST architecture.</p>
-
-<h2 id="self-descriptive_messages">Self-descriptive messages</h2>
-
-<p>Messages must be self-descriptive. That means that the data format of a representation must always come with its media type (and similarly requesting a resource involves choosing the media type of the representation returned). If you are sending HTML, then you must say it is HTML by sending the media type with the representation. In HTTP this is done using the content-type header.</p>
-
-<p>The media type is often an IANA registered media type, like <code>text/html</code> or <code>image/png</code>, but does not need to be. Exactly two things are important for respecting this constraint: that the media type is well specified, and that the sender and recipient agree about what the media type refers to.</p>
-
-<p>This means that you can create your own media types, like <code>application/x-mine</code>, and that as long as you write the specifications for it and that both endpoints agree about it then the constraint is respected.</p>
-
-<h2 id="hypermedia_as_the_engine_of_application_state">Hypermedia as the engine of application state</h2>
-
-<p>The last constraint is generally where services that claim to be RESTful fail. Interactions with a server must be entirely driven by hypermedia. The client does not need any prior knowledge of the service in order to use it, other than an entry point and of course basic understanding of the media type of the representations, at the very least enough to find and identify hyperlinks and link relations.</p>
-
-<p>To give a simple example, if your service only works with the <code>application/json</code> media type then this constraint cannot be respected (as there are no concept of links in JSON) and thus your service isn't RESTful. This is the case for the majority of self-proclaimed REST services.</p>
-
-<p>On the other hand if you create a JSON based media type that has a concept of links and link relations, then your service might be RESTful.</p>
-
-<p>Respecting this constraint means that the entirety of the service becomes self-discoverable, not only the resources in it, but also the operations you can perform on it. This makes clients very thin as there is no need to implement anything specific to the service to operate on it.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/rest_put_post_patch.png b/docs/en/cowboy/1.0/guide/rest_put_post_patch.png
deleted file mode 100644
index 4afca9e9..00000000
--- a/docs/en/cowboy/1.0/guide/rest_put_post_patch.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/1.0/guide/rest_put_post_patch.svg b/docs/en/cowboy/1.0/guide/rest_put_post_patch.svg
deleted file mode 100644
index 263cc942..00000000
--- a/docs/en/cowboy/1.0/guide/rest_put_post_patch.svg
+++ /dev/null
@@ -1,2856 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448"
- height="1052.3622"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_put_post_patch.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="2"
- inkscape:cx="299.56028"
- inkscape:cy="-395.99137"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1"
- transform="translate(0,1.5472441e-4)">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(370.63925,-305.0045)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,215.76354,-143.71473)"
- id="g5650-2-2-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-4"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="207.76691"
- y="112.69559"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(229.41793,93.569228)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(484.58261,-183.7816)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="313.14185"
- y="50.482433"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="313.14185"
- y="50.482433"
- id="tspan17171">conneg</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="312.52466"
- y="134.49161"
- id="text5371-2-95"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="312.52466"
- y="134.49161">resource_exists</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="205.83722"
- y="175.92931"
- id="text5371-2-391"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="205.83722"
- y="175.92931">true</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-586.85324,629.53436)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="401.26678"
- y="176.39024"
- id="text5371-4-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="401.26678"
- y="176.39024">false</tspan></text>
- <g
- transform="translate(517.41793,-144.94975)"
- id="g5650-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="496.12921"
- y="255.81152"
- id="text5371-4-4-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6"
- x="496.12921"
- y="255.81152">true</tspan></text>
- <g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,501.47379,-62.310424)"
- id="g5650-9-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(-0.08419269,-0.81571201,-1.0857893,-0.07785618,667.56845,424.75412)"
- id="g5650-2-0-4-3-8-9-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g6634">
- <path
- inkscape:connector-curvature="0"
- id="path20172-9-8-9-3-7"
- d="m 18.652036,463.77088 c 0,0 65.81835,-170.39134 345.869384,-106.32083"
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(-0.44664484,-0.38224114,-0.38224114,0.44664484,110.28192,145.11277)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1-5-3-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-443.10758,753.30201)"
- id="g5650-2-0-4-3-8-9-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:1.98598707;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 530.36552,568.78955 c 0,0 -275.73145,-235.65993 -602.761737,-30.40772"
- id="path20172-9-8-9-3-1"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.29887498,0.50623478,-0.50623478,0.29887498,210.13685,523.56774)"
- inkscape:transform-center-y="-0.81224338"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="5.134315" />
- </g>
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355-0"
- transform="translate(343.36129,-20.897068)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="171.92052"
- y="216.5154"
- id="text5371-4-0-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="171.92052"
- y="216.5154"
- id="tspan17171-6">cond</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,983.2611,313.28465)"
- id="g5650-2-0-4-3-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-4"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="192.94588"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.47131"
- y="216.51535"
- id="text5371-2-32-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8"
- x="459.47131"
- y="216.51535">has if-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="609.12769"
- y="296.02957"
- id="text5371-2-391-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7"
- x="609.12769"
- y="296.02957">false</tspan></text>
- <g
- transform="translate(517.41793,13.785058)"
- id="g5650-0-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-7"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="351.97443"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.47131"
- y="374.91498"
- id="text5371-2-32-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-1"
- x="459.47131"
- y="374.91498">method is POST/PATCH?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="479.69171"
- y="414.84009"
- id="text5371-2-8-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4"
- x="479.69171"
- y="414.84009">true</tspan></text>
- <g
- transform="translate(517.41793,490.80719)"
- id="g5650-0-6-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7-76"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3-7"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0.34202014,-0.93969262,-0.93969262,-0.34202014,1086.6042,1290.1092)"
- id="g5650-2-0-4-0-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 152.42141,615.5283 c 0,0 -73.650807,-184.33554 -245.781275,54.61093"
- id="path20172-9-3-4"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,178.4823,610.19901)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-0-2"
- style="opacity:0.80000000000000004;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="translate(517.41793,570.7504)"
- id="g5650-2-2-2-7-5">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-62-7-7"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-9-5-8"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="908.57428"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,1,-1,0,694.44282,904.44724)"
- id="g5650-2-2-6-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6-3"
- d="m -57.78256,339.02801 0,65.70583"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-59"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="829.06006"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.47131"
- y="852.62952"
- id="text5371-2-74-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2"
- x="459.47131"
- y="852.62952">method is POST?</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="272.56824"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.97131"
- y="294.47879"
- id="text5371-43"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="459.97131"
- y="294.47879">412 precondition failed</tspan></text>
- <g
- transform="translate(2.6196148,3.2328831)"
- id="g5650-2-2-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,1,-1,0,694.2803,507.19416)"
- id="g5650-0-6-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7-7"
- d="m -57.78256,340.48769 0,63.05283"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(517.41793,93.25206)"
- id="g5650-2-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-62"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-7-6"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="431.48868"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.63538"
- y="453.2847"
- id="text5371-2-32-8-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-1-2"
- x="459.63538"
- y="453.2847">previously_existed</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-5"
- width="218.52127"
- height="34.993004"
- x="62.374733"
- y="590.76849"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(229.41793,173.2314)"
- id="g5650-2-2-2-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-62-7"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-9-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="171.97131"
- y="614.22986"
- id="text5371-43-2-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-74"
- x="171.97131"
- y="614.22986">404 not found</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="296.84631"
- y="433.29703"
- id="text5371-2-8-9-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-8"
- x="296.84631"
- y="433.29703">false</tspan></text>
- <g
- transform="translate(516.00372,173.10383)"
- id="g5650-2-2-17-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-0-3"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-45-2"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,983.3517,631.45158)"
- id="g5650-2-0-4-3-8-0-3-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="500.12921"
- y="574.2605"
- id="text5371-4-4-9-3-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-8"
- x="500.12921"
- y="574.2605">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="607.7135"
- y="610.86951"
- id="text5371-2-391-5-5-1-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-5"
- x="607.7135"
- y="610.86951">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-29"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="590.76849"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.26428"
- y="612.67908"
- id="text5371-43-2-9-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-5"
- x="459.26428"
- y="612.67908">301 moved permanently</tspan></text>
- <g
- transform="translate(517.41793,332.05687)"
- id="g5650-2-2-65-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-5-9"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-5-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,982.4019,789.6002)"
- id="g5650-2-0-4-3-8-0-3-7-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8-1-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6-3-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-4"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="670.03149"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.14709"
- y="691.82751"
- id="text5371-2-74-0-7-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-9"
- x="459.14709"
- y="691.82751">moved_temporarily</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="500.12921"
- y="733.21747"
- id="text5371-4-4-9-3-2-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-6-6"
- x="500.12921"
- y="733.21747">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="607.7135"
- y="769.89801"
- id="text5371-2-391-5-5-1-0-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-2-8"
- x="607.7135"
- y="769.89801">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-1"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="749.65387"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.26428"
- y="771.56445"
- id="text5371-43-2-9-7-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-9"
- x="459.26428"
- y="771.56445">307 moved temporarily</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-4-1"
- width="218.52127"
- height="34.993004"
- x="495.25732"
- y="1220.3925"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="604.32263"
- y="1242.303"
- id="text5371-43-2-9-7-3-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-7-5"
- x="604.32263"
- y="1242.303">400 bad request</tspan></text>
- <g
- transform="matrix(-0.34202014,-0.93969262,0.93969262,-0.34202014,-311.11659,1246.6148)"
- id="g5650-2-0-4-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 251.64748,501.65559 c 0,0 -132.95279,-198.6035 -335.041098,15.43198"
- id="path20172-9-3"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,190.22636,455.7026)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="120.08566"
- y="891.92566"
- id="text5371-2-8-9-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-5"
- x="120.08566"
- y="891.92566">true</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,699.22962,550.33236)"
- id="g5650-2-0-4-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-1"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-3"
- width="210.17955"
- height="35.209244"
- x="66.545593"
- y="511.00293"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="167.39459"
- y="532.79895"
- id="text5371-2-74-0-7-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-94"
- x="167.39459"
- y="532.79895">allow_missing_post</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-5"
- width="210.17955"
- height="35.209244"
- x="66.545593"
- y="431.80698"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="175.2144"
- y="455.37643"
- id="text5371-2-74-0-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-6"
- x="175.2144"
- y="455.37643">method is POST?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.35022"
- y="930.3703"
- id="text5371-2-74-0-7-1-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-94-5"
- x="459.35022"
- y="930.3703">allow_missing_post</tspan></text>
- <g
- transform="translate(229.41793,490.95885)"
- id="g5650-0-6-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7-2"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3-14"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19"
- width="210.17955"
- height="35.209244"
- x="66.545593"
- y="829.06006"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="166.63885"
- y="852.62952"
- id="text5371-2-74-0-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7"
- x="166.63885"
- y="852.62952">method is PUT?</tspan></text>
- <g
- transform="translate(229.41793,571.07045)"
- id="g5650-2-2-65-9">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-5-1"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-5-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(-0.34202014,-0.93969262,-0.93969262,0.34202014,702.18987,886.11239)"
- id="g5650-2-0-4-05"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2.19573760000000018;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 96.51476,423.00572 c 0,0 -72.55269,-41.6703 -192.585744,26.04761"
- id="path20172-9-9"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.20642765,0.55044303,-0.55044303,0.20642765,176.90073,487.11794)"
- inkscape:transform-center-y="2.5699832"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-6"
- style="opacity:0.80000000000000004;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="6.2547481" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-8"
- width="210.17955"
- height="35.209244"
- x="66.545593"
- y="908.57428"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="166.24431"
- y="930.3703"
- id="text5371-2-74-0-7-15"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-2"
- x="166.24431"
- y="930.3703">is_conflict</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="136.52316"
- y="971.55994"
- id="text5371-4-4-9-3-2-08"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-6-0"
- x="136.52316"
- y="971.55994">true</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-7"
- width="218.52127"
- height="34.993004"
- x="62.374733"
- y="988.43671"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="171.44006"
- y="1011.8981"
- id="text5371-43-2-9-7-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-0"
- x="171.44006"
- y="1011.8981">409 conflict</tspan></text>
- <g
- transform="translate(370.63925,803.79161)"
- id="g5650-93-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3-0"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-40"
- width="210.17955"
- height="35.209244"
- x="207.76691"
- y="1142.3002"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="313.14185"
- y="1164.0962"
- id="text5371-2-74-0-7-41"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-3"
- x="313.14185"
- y="1164.0962">content_types_accepted</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4-9"
- width="210.17955"
- height="35.209244"
- x="207.76691"
- y="1220.5249"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="313.21997"
- y="1242.2975"
- id="text5371-2-3-0-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-1"
- x="313.21997"
- y="1242.2975">AcceptResource</tspan></text>
- <g
- transform="translate(233.45629,961.91953)"
- id="g5650-6-4-8-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5-5-2"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6-6-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-345.93614,1498.2457)"
- id="g5650-2-0-4-8-9-6-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 169.94368,422.8286 c 0,0 -94.23585,-64.78987 -206.003937,-8.35999"
- id="path20172-9-5-2-6-6"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8-7-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19-2"
- width="210.17955"
- height="35.209244"
- x="70.583946"
- y="1300.3734"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="175.50966"
- y="1323.8022"
- id="text5371-2-74-0-1-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7-4"
- x="175.50966"
- y="1323.8022">new resource?</tspan></text>
- <g
- transform="translate(517.41793,962.60627)"
- id="g5650-6-4-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,985.5699,1417.4167)"
- id="g5650-2-0-4-8-9-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5-2-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19-2-1"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="1300.3734"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.47131"
- y="1323.8022"
- id="text5371-2-74-0-1-3-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7-4-8"
- x="459.47131"
- y="1323.8022">new resource?</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="1380.1163"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.776"
- y="1403.5779"
- id="text5371-43-3-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-9"
- x="459.776"
- y="1403.5779">201 created</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7-4"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="1459.7511"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.03381"
- y="1483.2128"
- id="text5371-43-3-2-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-9-2"
- x="459.03381"
- y="1483.2128">303 see other</tspan></text>
- <g
- transform="matrix(0,1,1,0,-67.245042,1455.155)"
- id="g5650-2-2-6-6-7-9-1">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6-3-8-5-9"
- d="m -57.78256,339.02801 0,65.70583"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1-1-7-6-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(233.45629,1121.5376)"
- id="g5650-6-4-8-7-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5-5-2-8"
- d="m -57.78256,294.4515 0,109.76214"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6-6-6-7"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19-2-2"
- width="210.17955"
- height="35.209244"
- x="70.583946"
- y="1379.7678"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="175.50966"
- y="1401.7865"
- id="text5371-2-74-0-1-3-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7-4-9"
- x="175.50966"
- y="1401.7865">has resp location?</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7-4-7"
- width="218.52127"
- height="34.993004"
- x="62.374733"
- y="1619.0205"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(233.45629,1201.4108)"
- id="g5650-6-4-8-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5-5-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6-6-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,1,1,0,-63.162935,1614.665)"
- id="g5650-2-2-6-6-7-9">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6-3-8-5"
- d="m -57.78256,339.02801 0,65.70583"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1-1-7-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19-2-2-4"
- width="210.17955"
- height="35.209244"
- x="70.583946"
- y="1539.2778"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="175.50966"
- y="1561.2965"
- id="text5371-2-74-0-1-3-7-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7-4-9-5"
- x="175.50966"
- y="1561.2965">has resp body?</tspan></text>
- <g
- transform="translate(517.41793,1201.395)"
- id="g5650-6-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,987.64405,1658.4266)"
- id="g5650-2-0-4-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5-2"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87-8"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="1539.2778"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.30334"
- y="1561.0739"
- id="text5371-2-9-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8-6"
- x="459.30334"
- y="1561.0739">multiple_choices</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="479.75421"
- y="1602.6646"
- id="text5371-2-8-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7"
- x="479.75421"
- y="1602.6646">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-1-0"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="1698.6555"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.42053"
- y="1720.566"
- id="text5371-43-5-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-62-9"
- x="459.42053"
- y="1720.566">300 multiple choices</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-3"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="1619.0208"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="458.88538"
- y="1642.3412"
- id="text5371-43-3-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-3"
- x="458.88538"
- y="1642.3412">200 OK</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="171.24475"
- y="1642.3412"
- id="text5371-43-3-2-6-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-9-2-0"
- x="171.24475"
- y="1642.3412">204 no content</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="479.69171"
- y="891.92566"
- id="text5371-2-8-9-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-1"
- x="479.69171"
- y="891.92566">true</tspan></text>
- <g
- id="g5650-4-8"
- transform="matrix(0.5,0.8660254,-0.8660254,0.5,204.7918,279.30499)">
- <path
- inkscape:connector-curvature="0"
- id="path5570-8-7"
- d="m -58.01975,316.62647 0,86.23385"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,72.919441,161.77521)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-3-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="496.12921"
- y="494.3544"
- id="text5371-4-4-9-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8"
- x="496.12921"
- y="494.3544">true</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-3-4-8"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="511.00293"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.14709"
- y="532.79895"
- id="text5371-2-74-0-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-9"
- x="459.14709"
- y="532.79895">moved_permanently</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7-9"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="988.43671"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="459.67053"
- y="1010.2067"
- id="text5371-43-3-2-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-9-5"
- x="459.67053"
- y="1010.2067">410 gone</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="260.04547"
- y="494.97446"
- id="text5371-4-4-9-1-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-2"
- x="260.04547"
- y="494.97446">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="120.08566"
- y="494.51349"
- id="text5371-2-8-9-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-55"
- x="120.08566"
- y="494.51349">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="133.92941"
- y="574.40112"
- id="text5371-4-4-9-1-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0"
- x="133.92941"
- y="574.40112">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.87756"
- y="828.86047"
- id="text5371-4-4-9-1-1-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1"
- x="315.87756"
- y="828.86047">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="498.78546"
- y="972.02087"
- id="text5371-4-4-9-1-1-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-2"
- x="498.78546"
- y="972.02087">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="458.9295"
- y="1217.7582"
- id="text5371-4-4-9-1-1-9-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2"
- x="458.9295"
- y="1217.7582">false</tspan></text>
- <g
- transform="matrix(0,1,1,0,77.85132,1295.6715)"
- id="g5650-2-2-6-6-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6-3-8"
- d="m -57.78256,339.02801 0,65.70583"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="207.75119"
- y="1283.5576"
- id="text5371-2-391-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-4"
- x="207.75119"
- y="1283.5576">true</tspan></text>
- <g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,501.47379,1045.323)"
- id="g5650-9-9-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6-1"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="419.81369"
- y="1283.0615"
- id="text5371-2-391-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="419.81369"
- y="1283.0615"
- id="tspan5794">true, URI*</tspan></text>
- <g
- transform="matrix(-0.70710678,0.70710678,0.70710678,0.70710678,124.04665,1045.323)"
- id="g5650-9-9-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6-8"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5-45"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="479.69171"
- y="1363.2994"
- id="text5371-2-8-4-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7-5"
- x="479.69171"
- y="1363.2994">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="626.74475"
- y="1403.5779"
- id="text5371-4-4-9-1-1-9-1-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-0"
- x="626.74475"
- y="1403.5779">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="624.0885"
- y="1642.0209"
- id="text5371-4-4-9-1-1-9-1-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-3"
- x="624.0885"
- y="1642.0209">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="317.91525"
- y="1538.8624"
- id="text5371-4-4-9-1-1-9-1-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-1"
- x="317.91525"
- y="1538.8624">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="190.83659"
- y="1602.2036"
- id="text5371-2-8-4-3-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7-5-9"
- x="190.83659"
- y="1602.2036">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="190.83659"
- y="1363.1792"
- id="text5371-2-8-4-3-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7-5-0"
- x="190.83659"
- y="1363.1792">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="7.9966321"
- y="1443.395"
- id="text5371-4-4-9-1-1-9-1-4-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-0-6"
- x="7.9966321"
- y="1443.395">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="317.86548"
- y="1379.0562"
- id="text5371-4-4-9-1-1-9-1-2-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-1-5"
- x="317.86548"
- y="1379.0562">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="190.83659"
- y="1482.6313"
- id="text5371-2-8-4-3-8-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7-5-0-8"
- x="190.83659"
- y="1482.6313">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="85.095001"
- y="891.92566"
- id="text5371-4-4-9-1-4-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-2-9"
- x="85.095001"
- y="891.92566">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="232.21094"
- y="971.55994"
- id="text5371-2-391-5-5-1-0-7-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-2-8-8"
- x="232.21094"
- y="971.55994">false</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-359.02432,626.75367)"
- id="g5650-2-0-4-3-8-9-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g6614">
- <g
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- id="g5650-2-0-4-3-8-9"
- transform="matrix(0,-1,-1,0,347.00351,567.35686)">
- <path
- inkscape:transform-center-x="-3.1059024"
- sodipodi:type="star"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="path5576-12-1-7-58-6-1-4"
- sodipodi:sides="3"
- sodipodi:cx="-222.73865"
- sodipodi:cy="415.25897"
- sodipodi:r1="14.849242"
- sodipodi:r2="7.4246211"
- sodipodi:arg1="1.5707963"
- sodipodi:arg2="2.6179939"
- inkscape:flatsided="true"
- inkscape:rounded="0"
- inkscape:randomized="0"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:transform-center-y="6.2755376"
- transform="matrix(0.10770811,0.57792634,-0.57792634,0.10770811,224.52461,390.64831)" />
- </g>
- <path
- transform="translate(0,-1.5472441e-4)"
- inkscape:connector-curvature="0"
- id="path6438"
- d="M 72.831997,543.06854 C 17.500892,616.78442 35.178561,698.8088 35.178561,698.8088"
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="536.26642"
- y="972.02087"
- id="text5371-2-8-9-1-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-1-4"
- x="536.26642"
- y="972.02087">true</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,347.71062,566.6496)"
- id="g5650-2-0-4-3-8-9-2-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-3-7-4"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1-5-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="322.92551"
- y="375.54388"
- id="text5371-4-6-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0-8"
- x="322.92551"
- y="375.54388">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.001251"
- y="574.40112"
- id="text5371-2-8-9-0-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-55-3"
- x="66.001251"
- y="574.40112">true</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/1.0/guide/rest_start.png b/docs/en/cowboy/1.0/guide/rest_start.png
deleted file mode 100644
index 7f264642..00000000
--- a/docs/en/cowboy/1.0/guide/rest_start.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/1.0/guide/rest_start.svg b/docs/en/cowboy/1.0/guide/rest_start.svg
deleted file mode 100644
index d75e1cc6..00000000
--- a/docs/en/cowboy/1.0/guide/rest_start.svg
+++ /dev/null
@@ -1,1468 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_options.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.0000001"
- inkscape:cx="171.11305"
- inkscape:cy="549.52821"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(205.92143,-296.03137)"
- id="g5650-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,-212.00698)"
- id="g5650-9">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,-129.04326)"
- id="g5650-0">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,-44.866334)"
- id="g5650-94">
- <path
- inkscape:connector-curvature="0"
- id="path5570-71"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,38.329623)"
- id="g5650-93">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,122.59665)"
- id="g5650-3">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,206.62103)"
- id="g5650-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,289.59516)"
- id="g5650-34">
- <path
- inkscape:connector-curvature="0"
- id="path5570-30"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,373.37691)"
- id="g5650-5">
- <path
- inkscape:connector-curvature="0"
- id="path5570-90"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,457.4117)"
- id="g5650-1">
- <path
- inkscape:connector-curvature="0"
- id="path5570-33"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,541.19345)"
- id="g5650-10">
- <path
- inkscape:connector-curvature="0"
- id="path5570-8"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-8"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,80.832304)"
- id="g5650-2-0">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-5"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,164.49956)"
- id="g5650-2-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,248.1668)"
- id="g5650-2-4">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-0"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,331.8341)"
- id="g5650-2-04">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,415.50138)"
- id="g5650-2-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-50"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-2"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,499.16862)"
- id="g5650-2-1">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,582.83589)"
- id="g5650-2-3">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-10"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-60"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,666.50315)"
- id="g5650-2-44">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-11"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-73"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,750.17041)"
- id="g5650-2-12">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-6"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-04"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,833.83768)"
- id="g5650-2-34">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-62"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-62"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="204.67757"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="288.40311"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="372.01199"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="455.67929"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="539.34656"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="623.01385"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-7"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="706.68115"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-20"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="790.34839"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-3"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="874.01562"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-54"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="957.68292"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="121.0042"
- rx="15" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(319.86479,-176.50006)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.18575"
- y="310.19913"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="148.18575"
- y="310.19913">uri_too_long</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.60762"
- y="477.47531"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="147.60762"
- y="477.47531">malformed_request</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.00391"
- y="60.912468"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="147.00391"
- y="60.912468"
- id="tspan17171">init</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.11153"
- y="561.14258"
- id="text5371-2-9"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="148.11153"
- y="561.14258">is_authorized</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.64278"
- y="646.58331"
- id="text5371-2-7"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2"
- x="148.64278"
- y="646.58331">forbidden</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.29512"
- y="728.47717"
- id="text5371-2-73"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-5"
- x="148.29512"
- y="728.47717">valid_content_headers</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.83809"
- y="812.14441"
- id="text5371-2-5"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-1"
- x="147.83809"
- y="812.14441">known_content_type</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.58809"
- y="895.81165"
- id="text5371-2-1"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-71"
- x="148.58809"
- y="895.81165">valid_entity_length</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.092"
- y="979.7016"
- id="text5371-2-39"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-6"
- x="148.092"
- y="979.7016">...</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.13106"
- y="142.80627"
- id="text5371-2-95"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="148.13106"
- y="142.80627">service_available</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.80684"
- y="226.4736"
- id="text5371-2-32"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="147.80684"
- y="226.4736">known_methods</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.05293"
- y="393.80801"
- id="text5371-2-74"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18"
- x="148.05293"
- y="393.80801">allowed_methods</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="185.95248"
- id="text5371-2-391"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="164.26562"
- y="185.95248">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="269.61978"
- id="text5371-2-954"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-808"
- x="164.26562"
- y="269.61978">known*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="353.28702"
- id="text5371-2-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-11"
- x="164.26562"
- y="353.28702">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="436.95425"
- id="text5371-2-92"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-4"
- x="164.26562"
- y="436.95425">allowed*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="520.62152"
- id="text5371-2-739"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0"
- x="164.26562"
- y="520.62152">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="604.28876"
- id="text5371-2-8"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="164.26562"
- y="604.28876">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="687.95599"
- id="text5371-2-0"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-01"
- x="164.26562"
- y="687.95599">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="771.62329"
- id="text5371-2-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-33"
- x="164.26562"
- y="771.62329">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="855.29053"
- id="text5371-2-21"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-9"
- x="164.26562"
- y="855.29053">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="938.95776"
- id="text5371-2-22"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-57"
- x="164.26562"
- y="938.95776">true</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="123.86062"
- id="text5371-4-6"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="315.26172"
- y="123.86062">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="207.30568"
- id="text5371-4-7"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-6"
- x="315.26172"
- y="207.30568">unknown*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="290.75076"
- id="text5371-4-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-01"
- x="315.26172"
- y="290.75076">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="374.19577"
- id="text5371-4-3"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62"
- x="315.26172"
- y="374.19577">unallowed*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="457.64084"
- id="text5371-4-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2"
- x="315.26172"
- y="457.64084">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="541.08588"
- id="text5371-4-5"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-09"
- x="315.26172"
- y="541.08588">false*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="624.53094"
- id="text5371-4-61"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-69"
- x="315.26172"
- y="624.53094">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="707.97595"
- id="text5371-4-58"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-5"
- x="315.26172"
- y="707.97595">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="791.42102"
- id="text5371-4-54"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-012"
- x="315.26172"
- y="791.42102">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="874.86609"
- id="text5371-4-38"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-67"
- x="315.26172"
- y="874.86609">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="121.24477"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.53516"
- y="143.02283"
- id="text5371-6"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- x="524.53516"
- y="143.02283"
- id="tspan18994">503 service unavailable</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-9"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="204.93674"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-6"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="288.62869"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="372.32065"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-90"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="456.01254"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-2"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="539.70447"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-3"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="623.39642"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-39"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="707.08838"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-5"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="790.78027"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-29"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="874.47223"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="227.80464"
- id="text5371-7"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-69"
- x="524.26172"
- y="227.80464">501 not implemented</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="311.49661"
- id="text5371-9"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-5"
- x="524.26172"
- y="311.49661">414 request URI too long</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="395.18857"
- id="text5371-43"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="524.26172"
- y="395.18857">405 method not allowed</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="478.88046"
- id="text5371-3"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-67"
- x="524.26172"
- y="478.88046">400 bad request</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="562.57239"
- id="text5371-1"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-53"
- x="524.26172"
- y="562.57239">401 unauthorized</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="646.26434"
- id="text5371-27"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-64"
- x="524.26172"
- y="646.26434">403 forbidden</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="729.9563"
- id="text5371-21"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-58"
- x="524.26172"
- y="729.9563">501 not implemented</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="813.64819"
- id="text5371-5"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-60"
- x="524.26172"
- y="813.64819">415 unsupported media type</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="897.34015"
- id="text5371-0"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-0"
- x="524.26172"
- y="897.34015">413 request entity too large</tspan></text>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/1.0/guide/routing/index.html b/docs/en/cowboy/1.0/guide/routing/index.html
deleted file mode 100644
index 934e6136..00000000
--- a/docs/en/cowboy/1.0/guide/routing/index.html
+++ /dev/null
@@ -1,365 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Routing</span></h1>
-
-<p>Cowboy does nothing by default.</p>
-
-<p>To make Cowboy useful, you need to map URLs to Erlang modules that will handle the requests. This is called routing.</p>
-
-<p>When Cowboy receives a request, it tries to match the requested host and path to the resources given in the dispatch rules. If it matches, then the associated Erlang code will be executed.</p>
-
-<p>Routing rules are given per host. Cowboy will first match on the host, and then try to find a matching path.</p>
-
-<p>Routes need to be compiled before they can be used by Cowboy.</p>
-
-<h2 id="structure">Structure</h2>
-
-<p>The general structure for the routes is defined as follow.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Routes = [Host1, Host2, ... HostN].
-]]></script>
-
-<p>Each host contains matching rules for the host along with optional constraints, and a list of routes for the path component.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Host1 = {HostMatch, PathsList}.
-Host2 = {HostMatch, Constraints, PathsList}.
-]]></script>
-
-<p>The list of routes for the path component is defined similar to the list of hosts.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathsList = [Path1, Path2, ... PathN].
-]]></script>
-
-<p>Finally, each path contains matching rules for the path along with optional constraints, and gives us the handler module to be used along with options that will be given to it on initialization.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Path1 = {PathMatch, Handler, Opts}.
-Path2 = {PathMatch, Constraints, Handler, Opts}.
-]]></script>
-
-<p>Continue reading to learn more about the match syntax and the optional constraints.</p>
-
-<h2 id="match_syntax">Match syntax</h2>
-
-<p>The match syntax is used to associate host names and paths with their respective handlers.</p>
-
-<p>The match syntax is the same for host and path with a few subtleties. Indeed, the segments separator is different, and the host is matched starting from the last segment going to the first. All examples will feature both host and path match rules and explain the differences when encountered.</p>
-
-<p>Excluding special values that we will explain at the end of this section, the simplest match value is a host or a path. It can be given as either a <code>string()</code> or a <code>binary()</code>.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch1 = "/".
-PathMatch2 = "/path/to/resource".
-
-HostMatch1 = "cowboy.example.org".
-]]></script>
-
-<p>As you can see, all paths defined this way must start with a slash character. Note that these two paths are identical as far as routing is concerned.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch2 = "/path/to/resource".
-PathMatch3 = "/path/to/resource/".
-]]></script>
-
-<p>Hosts with and without a trailing dot are equivalent for routing. Similarly, hosts with and without a leading dot are also equivalent.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-HostMatch1 = "cowboy.example.org".
-HostMatch2 = "cowboy.example.org.".
-HostMatch3 = ".cowboy.example.org".
-]]></script>
-
-<p>It is possible to extract segments of the host and path and to store the values in the <code>Req</code> object for later use. We call these kind of values bindings.</p>
-
-<p>The syntax for bindings is very simple. A segment that begins with the <code>:</code> character means that what follows until the end of the segment is the name of the binding in which the segment value will be stored.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch = "/hats/:name/prices".
-HostMatch = ":subdomain.example.org".
-]]></script>
-
-<p>If these two end up matching when routing, you will end up with two bindings defined, <code>subdomain</code> and <code>name</code>, each containing the segment value where they were defined. For example, the URL <code>http://test.example.org/hats/wild_cowboy_legendary/prices</code> will result in having the value <code>test</code> bound to the name <code>subdomain</code> and the value <code>wild_cowboy_legendary</code> bound to the name <code>name</code>. They can later be retrieved using <code>cowboy_req:binding/{2,3}</code>. The binding name must be given as an atom.</p>
-
-<p>There is a special binding name you can use to mimic the underscore variable in Erlang. Any match against the <code>_</code> binding will succeed but the data will be discarded. This is especially useful for matching against many domain names in one go.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-HostMatch = "ninenines.:_".
-]]></script>
-
-<p>Similarly, it is possible to have optional segments. Anything between brackets is optional.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch = "/hats/[page/:number]".
-HostMatch = "[www.]ninenines.eu".
-]]></script>
-
-<p>You can also have imbricated optional segments.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch = "/hats/[page/[:number]]".
-]]></script>
-
-<p>You can retrieve the rest of the host or path using <code>[...]</code>. In the case of hosts it will match anything before, in the case of paths anything after the previously matched segments. It is a special case of optional segments, in that it can have zero, one or many segments. You can then find the segments using <code>cowboy_req:host_info/1</code> and <code>cowboy_req:path_info/1</code> respectively. They will be represented as a list of segments.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch = "/hats/[...]".
-HostMatch = "[...]ninenines.eu".
-]]></script>
-
-<p>If a binding appears twice in the routing rules, then the match will succeed only if they share the same value. This copies the Erlang pattern matching behavior.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch = "/hats/:name/:name".
-]]></script>
-
-<p>This is also true when an optional segment is present. In this case the two values must be identical only if the segment is available.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch = "/hats/:name/[:name]".
-]]></script>
-
-<p>If a binding is defined in both the host and path, then they must also share the same value.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch = "/:user/[...]".
-HostMatch = ":user.github.com".
-]]></script>
-
-<p>Finally, there are two special match values that can be used. The first is the atom <code>'_'</code> which will match any host or path.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-PathMatch = '_'.
-HostMatch = '_'.
-]]></script>
-
-<p>The second is the special host match <code>"*"</code> which will match the wildcard path, generally used alongside the <code>OPTIONS</code> method.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-HostMatch = "*".
-]]></script>
-
-<h2 id="constraints">Constraints</h2>
-
-<p>After the matching has completed, the resulting bindings can be tested against a set of constraints. Constraints are only tested when the binding is defined. They run in the order you defined them. The match will succeed only if they all succeed.</p>
-
-<p>They are always given as a two or three elements tuple, where the first element is the name of the binding, the second element is the constraint's name, and the optional third element is the constraint's arguments.</p>
-
-<p>The following constraints are currently defined:</p>
-
-<ul>
-<li>{Name, int}</li>
-<li>{Name, function, fun ((Value) -> true | {true, NewValue} | false)}</li>
-</ul>
-
-<p>The <code>int</code> constraint will check if the binding is a binary string representing an integer, and if it is, will convert the value to integer.</p>
-
-<p>The <code>function</code> constraint will pass the binding value to a user specified function that receives the binary value as its only argument and must return whether it fulfills the constraint, optionally modifying the value. The value thus returned can be of any type.</p>
-
-<p>Note that constraint functions SHOULD be pure and MUST NOT crash.</p>
-
-<h2 id="compilation">Compilation</h2>
-
-<p>The structure defined in this chapter needs to be compiled before it is passed to Cowboy. This allows Cowboy to efficiently lookup the correct handler to run instead of having to parse the routes repeatedly.</p>
-
-<p>This can be done with a simple call to <code>cowboy_router:compile/1</code>.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-Dispatch = cowboy_router:compile([
- %% {HostMatch, list({PathMatch, Handler, Opts})}
- {'_', [{'_', my_handler, []}]}
-]),
-%% Name, NbAcceptors, TransOpts, ProtoOpts
-cowboy:start_http(my_http_listener, 100,
- [{port, 8080}],
- [{env, [{dispatch, Dispatch}]}]
-).
-]]></script>
-
-<p>Note that this function will return <code>{error, badarg}</code> if the structure given is incorrect.</p>
-
-<h2 id="live_update">Live update</h2>
-
-<p>You can use the <code>cowboy:set_env/3</code> function for updating the dispatch list used by routing. This will apply to all new connections accepted by the listener.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-cowboy:set_env(my_http_listener, dispatch,
- cowboy_router:compile(Dispatch)).
-]]></script>
-
-<p>Note that you need to compile the routes before updating.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/static_handlers/index.html b/docs/en/cowboy/1.0/guide/static_handlers/index.html
deleted file mode 100644
index 20df02fd..00000000
--- a/docs/en/cowboy/1.0/guide/static_handlers/index.html
+++ /dev/null
@@ -1,280 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Static handler</span></h1>
-
-<p>The static handler is a built-in REST handler for serving files. It is available as a convenience and provides a quick solution for serving files during development.</p>
-
-<p>For systems in production, consider using one of the many Content Distribution Network (CDN) available on the market, as they are the best solution for serving files. They are covered in the next chapter. If you decide against using a CDN solution, then please look at the chapter after that, as it explains how to efficiently serve static files on your own.</p>
-
-<p>The static handler can serve either one file or all files from a given directory. It can also send etag headers for client-side caching.</p>
-
-<p>To use the static file handler, simply add routes for it with the appropriate options.</p>
-
-<h2 id="serve_one_file">Serve one file</h2>
-
-<p>You can use the static handler to serve one specific file from an application's private directory. This is particularly useful to serve an <code>index.html</code> file when the client requests the <code>/</code> path, for example. The path configured is relative to the given application's private directory.</p>
-
-<p>The following rule will serve the file <code>static/index.html</code> from the application <code>my_app</code>'s priv directory whenever the path <code>/</code> is accessed.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/", cowboy_static, {priv_file, my_app, "static/index.html"}}
-]]></script>
-
-<p>You can also specify the absolute path to a file, or the path to the file relative to the current directory.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/", cowboy_static, {file, "/var/www/index.html"}}
-]]></script>
-
-<h2 id="serve_all_files_from_a_directory">Serve all files from a directory</h2>
-
-<p>You can also use the static handler to serve all files that can be found in the configured directory. The handler will use the <code>path_info</code> information to resolve the file location, which means that your route must end with a <code>[...]</code> pattern for it to work. All files are served, including the ones that may be found in subfolders.</p>
-
-<p>You can specify the directory relative to an application's private directory.</p>
-
-<p>The following rule will serve any file found in the application <code>my_app</code>'s priv directory inside the <code>static/assets</code> folder whenever the requested path begins with <code>/assets/</code>.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets"}}
-]]></script>
-
-<p>You can also specify the absolute path to the directory or set it relative to the current directory.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/assets/[...]", cowboy_static, {dir, "/var/www/assets"}}
-]]></script>
-
-<h2 id="customize_the_mimetype_detection">Customize the mimetype detection</h2>
-
-<p>By default, Cowboy will attempt to recognize the mimetype of your static files by looking at the extension.</p>
-
-<p>You can override the function that figures out the mimetype of the static files. It can be useful when Cowboy is missing a mimetype you need to handle, or when you want to reduce the list to make lookups faster. You can also give a hard-coded mimetype that will be used unconditionally.</p>
-
-<p>Cowboy comes with two functions built-in. The default function only handles common file types used when building Web applications. The other function is an extensive list of hundreds of mimetypes that should cover almost any need you may have. You can of course create your own function.</p>
-
-<p>To use the default function, you should not have to configure anything, as it is the default. If you insist, though, the following will do the job.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{mimetypes, cow_mimetypes, web}]}}
-]]></script>
-
-<p>As you can see, there is an optional field that may contain a list of less used options, like mimetypes or etag. All option types have this optional field.</p>
-
-<p>To use the function that will detect almost any mimetype, the following configuration will do.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{mimetypes, cow_mimetypes, all}]}}
-]]></script>
-
-<p>You probably noticed the pattern by now. The configuration expects a module and a function name, so you can use any of your own functions instead.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{mimetypes, Module, Function}]}}
-]]></script>
-
-<p>The function that performs the mimetype detection receives a single argument that is the path to the file on disk. It is recommended to return the mimetype in tuple form, although a binary string is also allowed (but will require extra processing). If the function can't figure out the mimetype, then it should return <code>{<<"application">>, <<"octet-stream">>, []}</code>.</p>
-
-<p>When the static handler fails to find the extension in the list, it will send the file as <code>application/octet-stream</code>. A browser receiving such file will attempt to download it directly to disk.</p>
-
-<p>Finally, the mimetype can be hard-coded for all files. This is especially useful in combination with the <code>file</code> and <code>priv_file</code> options as it avoids needless computation.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/", cowboy_static, {priv_file, my_app, "static/index.html",
- [{mimetypes, {<<"text">>, <<"html">>, []}}]}}
-]]></script>
-
-<h2 id="generate_an_etag">Generate an etag</h2>
-
-<p>By default, the static handler will generate an etag header value based on the size and modified time. This solution can not be applied to all systems though. It would perform rather poorly over a cluster of nodes, for example, as the file metadata will vary from server to server, giving a different etag on each server.</p>
-
-<p>You can however change the way the etag is calculated.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{etag, Module, Function}]}}
-]]></script>
-
-<p>This function will receive three arguments: the path to the file on disk, the size of the file and the last modification time. In a distributed setup, you would typically use the file path to retrieve an etag value that is identical across all your servers.</p>
-
-<p>You can also completely disable etag handling.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{etag, false}]}}
-]]></script>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/upgrade_protocol/index.html b/docs/en/cowboy/1.0/guide/upgrade_protocol/index.html
deleted file mode 100644
index f110da9f..00000000
--- a/docs/en/cowboy/1.0/guide/upgrade_protocol/index.html
+++ /dev/null
@@ -1,200 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Protocol upgrades</span></h1>
-
-<p>Cowboy features many different handlers, each for different purposes. All handlers have a common entry point: the <code>init/3</code> function.</p>
-
-<p>The default handler type is the simple HTTP handler.</p>
-
-<p>To switch to a different protocol, you must perform a protocol upgrade. This is what is done for Websocket and REST and is explained in details in the respective chapters.</p>
-
-<p>You can also create your own protocol on top of Cowboy and use the protocol upgrade mechanism to switch to it.</p>
-
-<p>For example, if you create the <code>my_protocol</code> module implementing the <code>cowboy_sub_protocol</code> behavior, then you can upgrade to it by simply returning the module name from <code>init/3</code>.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_, _, _Opts) ->
- {upgrade, protocol, my_protocol}.
-]]></script>
-
-<p>The <code>cowboy_sub_protocol</code> behavior only requires one callback, <code>upgrade/4</code>. It receives the Req object, the middleware environment, and the handler and options for this request. This is the same module as the <code>init/3</code> function and the same options that were passed to it.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-upgrade(Req, Env, Handler, HandlerOpts) ->
- %% ...
-]]></script>
-
-<p>This callback is expected to behave like a middleware. Please see the corresponding chapter for more information.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/ws_handlers/index.html b/docs/en/cowboy/1.0/guide/ws_handlers/index.html
deleted file mode 100644
index fe712da7..00000000
--- a/docs/en/cowboy/1.0/guide/ws_handlers/index.html
+++ /dev/null
@@ -1,327 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Handling Websocket connections</span></h1>
-
-<p>A special handler is required for handling Websocket connections. Websocket handlers allow you to initialize the connection, handle incoming frames from the socket, handle incoming Erlang messages and then clean up on termination.</p>
-
-<p>Websocket handlers essentially act as a bridge between the client and the Erlang system. They will typically do little more than socket communication and decoding/encoding of frames.</p>
-
-<h2 id="initialization">Initialization</h2>
-
-<p>First, the <code>init/3</code> callback is called. This callback is common to all handlers. To establish a Websocket connection, this function must return an <code>upgrade</code> tuple.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_, Req, Opts) ->
- {upgrade, protocol, cowboy_websocket}.
-]]></script>
-
-<p>It is also possible to return an update Req object and options using the longer form of this tuple.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-init(_Type, Req, Opts) ->
- {upgrade, protocol, cowboy_websocket, Req, Opts}.
-]]></script>
-
-<p>Upon receiving this tuple, Cowboy will switch to the code that handles Websocket connections. It does not immediately perform the handshake however. First, it calls the <code>websocket_init/3</code> callback.</p>
-
-<p>This function must be used to initialize the state, and can also be used to register the process, start a timer, etc. As long as the function returns an <code>ok</code> tuple, then Cowboy performs the Websocket handshake.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-websocket_init(_Type, Req, _Opts) ->
- {ok, Req, #state{}}.
-]]></script>
-
-<p>A <code>shutdown</code> tuple can be returned to refuse to perform the handshake. When doing so, Cowboy will send a <code>400 Bad Request</code> response to the client and close the connection.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-websocket_init(_Type, Req, _Opts) ->
- {shutdown, Req}.
-]]></script>
-
-<p>It is also possible to perform a <code>cowboy_req:reply/{2,3,4}</code> before returning a <code>shutdown</code> tuple, allowing you to override the response sent back to the client.</p>
-
-<p>Note that browser support for handling Websocket connection failures may vary.</p>
-
-<p>If the sec-websocket-protocol header was sent with the request for establishing a Websocket connection, then the Websocket handler <em>must</em> select one of these subprotocol and send it back to the client, otherwise the client might decide to close the connection, assuming no correct subprotocol was found.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-websocket_init(_Type, Req, _Opts) ->
- case cowboy_req:parse_header(<<"sec-websocket-protocol">>, Req) of
- {ok, undefined, Req2} ->
- {ok, Req, #state{}};
- {ok, Subprotocols, Req2} ->
- case lists:keymember(<<"mychat2">>, 1, Subprotocols) of
- true ->
- Req3 = cowboy_req:set_resp_header(<<"sec-websocket-protocol">>,
- <<"mychat2">>, Req2),
- {ok, Req3, #state{}};
- false ->
- {shutdown, Req2}
- end
- end.
-]]></script>
-
-<p>It is not recommended to wait too long inside the <code>websocket_init/3</code> function. Any extra initialization may be done after returning by sending yourself a message before doing anything. Any message sent to <code>self()</code> from <code>websocket_init/3</code> is guaranteed to arrive before any frames from the client.</p>
-
-<p>It is also very easy to ensure that this message arrives before any message from other processes by sending it before registering or enabling timers.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-websocket_init(_Type, Req, _Opts) ->
- self() ! post_init,
- %% Register process here...
- {ok, Req, #state{}}.
-
-websocket_info(post_init, Req, State) ->
- %% Perform post_init initialization here...
- {ok, Req, State}.
-]]></script>
-
-<h2 id="handling_frames_from_the_client">Handling frames from the client</h2>
-
-<p>Cowboy will call <code>websocket_handle/3</code> whenever a text, binary, ping or pong frame arrives from the client. Note that in the case of ping and pong frames, no action is expected as Cowboy automatically replies to ping frames.</p>
-
-<p>The handler can decide to send frames to the socket, shutdown or just continue without sending anything.</p>
-
-<p>The following snippet echoes back any text frame received and ignores all others.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-websocket_handle(Frame = {text, _}, Req, State) ->
- {reply, Frame, Req, State};
-websocket_handle(_Frame, Req, State) ->
- {ok, Req, State}.
-]]></script>
-
-<h2 id="handling_erlang_messages">Handling Erlang messages</h2>
-
-<p>Cowboy will call <code>websocket_info/3</code> whenever an Erlang message arrives.</p>
-
-<p>The handler can decide to send frames to the socket, shutdown or just continue without sending anything.</p>
-
-<p>The following snippet forwards any <code>log</code> message to the socket and ignores all others.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-websocket_info({log, Text}, Req, State) ->
- {reply, {text, Text}, Req, State};
-websocket_info(_Info, Req, State) ->
- {ok, Req, State}.
-]]></script>
-
-<h2 id="sending_frames_to_the_socket">Sending frames to the socket</h2>
-
-<p>Cowboy allows sending either a single frame or a list of frames to the socket. Any frame can be sent: text, binary, ping, pong or close frames.</p>
-
-<p>The following example sends three frames using a single <code>reply</code> tuple.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-websocket_info(hello_world, Req, State) ->
- {reply, [
- {text, "Hello"},
- {text, <<"world!">>},
- {binary, <<0:8000>>}
- ], Req, State};
-%% More websocket_info/3 clauses here...
-]]></script>
-
-<p>Note that the payload for text and binary frames is of type <code>iodata()</code>, meaning it can be either a <code>binary()</code> or an <code>iolist()</code>.</p>
-
-<p>Sending a <code>close</code> frame will immediately initiate the closing of the Websocket connection. Be aware that any additional frames sent by the client or any Erlang messages waiting to be received will not be processed. Also note that when replying a list of frames that includes close, any frame found after the close frame will not be sent.</p>
-
-<h2 id="ping_and_timeout">Ping and timeout</h2>
-
-<p>The biggest performance improvement you can do when dealing with a huge number of Websocket connections is to reduce the number of timers that are started on the server. A common use of timers when dealing with connections is for sending a ping every once in a while. This should be done exclusively on the client side. Indeed, a server handling one million Websocket connections will perform a lot better when it doesn't have to handle one million extra timers too!</p>
-
-<p>Cowboy will automatically respond to ping frames sent by the client. It will still forward the frame to the handler for informative purpose, but no further action is required.</p>
-
-<p>Cowboy can be configured to automatically close the Websocket connection when no data arrives on the socket. It is highly recommended to configure a timeout for it, as otherwise you may end up with zombie "half-connected" sockets that may leave the process alive forever.</p>
-
-<p>A good timeout value is 60 seconds.</p>
-
-<script type="syntaxhighlighter" class="brush: erlang"><![CDATA[
-websocket_init(_Type, Req, _Opts) ->
- {ok, Req, #state{}, 60000}.
-]]></script>
-
-<p>This value cannot be changed once it is set. It defaults to <code>infinity</code>.</p>
-
-<h2 id="hibernate">Hibernate</h2>
-
-<p>Most tuples returned from handler callbacks can include an extra value <code>hibernate</code>. After doing any necessary operations following the return of the callback, Cowboy will hibernate the process.</p>
-
-<p>It is highly recommended to hibernate processes that do not handle much traffic. It is a good idea to hibernate all connections by default and investigate only when you start noticing increased CPU usage.</p>
-
-<h2 id="supporting_older_browsers">Supporting older browsers</h2>
-
-<p>Unfortunately Websocket is a relatively recent technology, which means that not all browsers support it. A library like <a href="https://github.com/extend/bullet">Bullet</a> can be used to emulate Websocket connections on older browsers.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/guide/ws_protocol/index.html b/docs/en/cowboy/1.0/guide/ws_protocol/index.html
deleted file mode 100644
index 18dd793e..00000000
--- a/docs/en/cowboy/1.0/guide/ws_protocol/index.html
+++ /dev/null
@@ -1,194 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy User Guide</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>The Websocket protocol</span></h1>
-
-<p>This chapter explains what Websocket is and why it is a vital component of soft realtime Web applications.</p>
-
-<h2 id="description">Description</h2>
-
-<p>Websocket is an extension to HTTP that emulates plain TCP connections between the client, typically a Web browser, and the server. It uses the HTTP Upgrade mechanism to establish the connection.</p>
-
-<p>Websocket connections are asynchronous, unlike HTTP. This means that not only can the client send frames to the server at any time, but the server can also send frames to the client without the client initiating anything other than the Websocket connection itself. This allows the server to push data to the client directly.</p>
-
-<p>Websocket is an IETF standard. Cowboy supports the standard and all drafts that were previously implemented by browsers, excluding the initial flawed draft sometimes known as "version 0".</p>
-
-<h2 id="implementation">Implementation</h2>
-
-<p>Cowboy implements Websocket as a protocol upgrade. Once the upgrade is performed from the <code>init/3</code> callback, Cowboy switches to Websocket. Please consult the next chapter for more information on initiating and handling Websocket connections.</p>
-
-<p>The implementation of Websocket in Cowboy is validated using the Autobahn test suite, which is an extensive suite of tests covering all aspects of the protocol. Cowboy passes the suite with 100% success, including all optional tests.</p>
-
-<p>Cowboy's Websocket implementation also includes the x-webkit-deflate-frame compression draft which is being used by some browsers to reduce the size of data being transmitted. Cowboy will automatically use compression as long as the <code>compress</code> protocol option is set when starting the listener.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/manual/">Function Reference</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/guide/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/guide/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/cowboy/index.html b/docs/en/cowboy/1.0/manual/cowboy/index.html
deleted file mode 100644
index e4ca1e2c..00000000
--- a/docs/en/cowboy/1.0/manual/cowboy/index.html
+++ /dev/null
@@ -1,273 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy</span></h1>
-
-<p>The <code>cowboy</code> module provides convenience functions for manipulating Ranch listeners.</p>
-
-<h2 id="types">Types</h2>
-
-<h3 id="http_headers">http_headers() = [{binary(), iodata()}]</h3>
-
-<p>HTTP headers as a list of key/values.</p>
-
-<h3 id="http_status">http_status() = non_neg_integer() | binary()</h3>
-
-<p>HTTP status.</p>
-
-<p>A binary status can be used to set a custom message.</p>
-
-<h3 id="http_version">http_version() = 'HTTP/1.1' | 'HTTP/1.0'</h3>
-
-<p>HTTP version.</p>
-
-<h3 id="onrequest_fun">onrequest_fun() = fun((cowboy_req:req()) -> cowboy_req:req())</h3>
-
-<p>Fun called immediately after receiving a request.</p>
-
-<p>It can perform any operation on the Req object, including reading the request body or replying. If a reply is sent, the processing of the request ends here, before any middleware is executed.</p>
-
-<h3 id="onresponse_fun">onresponse_fun() = fun((http_status(), http_headers(), iodata(), cowboy_req:req()) -> cowboy_req:req())</h3>
-
-<p>Fun called immediately before sending the response.</p>
-
-<p>It can perform any operation on the Req object, including reading the request body or replying. If a reply is sent, it overrides the reply initially sent. The callback will not be called again for the new reply.</p>
-
-<h2 id="exports">Exports</h2>
-
-<h3 id="start_http">start_http(Ref, NbAcceptors, TransOpts, ProtoOpts) -> {ok, pid()}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Ref = ranch:ref()</li>
-<li>NbAcceptors = non_neg_integer()</li>
-<li>TransOpts = ranch_tcp:opts()</li>
-<li>ProtoOpts = cowboy_protocol:opts()</li>
-</ul>
-
-<p>Start listening for HTTP connections. Returns the pid for this listener's supervisor.</p>
-
-<h3 id="start_https">start_https(Ref, NbAcceptors, TransOpts, ProtoOpts) -> {ok, pid()}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Ref = ranch:ref()</li>
-<li>NbAcceptors = non_neg_integer()</li>
-<li>TransOpts = ranch_ssl:opts()</li>
-<li>ProtoOpts = cowboy_protocol:opts()</li>
-</ul>
-
-<p>Start listening for HTTPS connections. Returns the pid for this listener's supervisor.</p>
-
-<h3 id="start_spdy">start_spdy(Ref, NbAcceptors, TransOpts, ProtoOpts) -> {ok, pid()}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Ref = ranch:ref()</li>
-<li>NbAcceptors = non_neg_integer()</li>
-<li>TransOpts = ranch_ssl:opts()</li>
-<li>ProtoOpts = cowboy_spdy:opts()</li>
-</ul>
-
-<p>Start listening for SPDY connections. Returns the pid for this listener's supervisor.</p>
-
-<h3 id="stop_listener">stop_listener(Ref) -> ok | {error, not_found}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Ref = ranch:ref()</li>
-</ul>
-
-<p>Stop a previously started listener.</p>
-
-<h3 id="set_env">set_env(Ref, Name, Value) -> ok</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Ref = ranch:ref()</li>
-<li>Name = atom()</li>
-<li>Value = any()</li>
-</ul>
-
-<p>Set or update an environment value for an already running listener. This will take effect on all subsequent connections.</p>
-
-<h2 id="see_also">See also</h2>
-
-<p>The <a href="http://ninenines.eu/docs/en/ranch/HEAD/guide">Ranch guide</a> provides detailed information about how listeners work.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/cowboy_app/index.html b/docs/en/cowboy/1.0/manual/cowboy_app/index.html
deleted file mode 100644
index 66b266f5..00000000
--- a/docs/en/cowboy/1.0/manual/cowboy_app/index.html
+++ /dev/null
@@ -1,188 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>The Cowboy Application</span></h1>
-
-<p>Small, fast, modular HTTP server.</p>
-
-<h2 id="dependencies">Dependencies</h2>
-
-<p>The <code>cowboy</code> application uses the Erlang applications <code>ranch</code> for listening and accepting TCP connections, <code>crypto</code> for establishing Websocket connections, and <code>cowlib</code> for parsing and building messages for Web protocols. These dependencies must be loaded for the <code>cowboy</code> application to work. In an embedded environment this means that they need to be started with the <code>application:start/{1,2}</code> function before the <code>cowboy</code> application is started.</p>
-
-<p>The <code>cowboy</code> application also uses the Erlang applications <code>asn1</code>, <code>public_key</code> and <code>ssl</code> when listening for HTTPS connections. These are started automatically if they weren't before.</p>
-
-<h2 id="environment">Environment</h2>
-
-<p>The <code>cowboy</code> application does not define any application environment configuration parameters.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/cowboy_handler/index.html b/docs/en/cowboy/1.0/manual/cowboy_handler/index.html
deleted file mode 100644
index 8806c3cc..00000000
--- a/docs/en/cowboy/1.0/manual/cowboy_handler/index.html
+++ /dev/null
@@ -1,199 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_handler</span></h1>
-
-<p>The <code>cowboy_handler</code> middleware executes the handler passed through the environment values <code>handler</code> and <code>handler_opts</code>, and adds the result of this execution to the environment as the value <code>result</code>, indicating that the request has been handled and received a response.</p>
-
-<p>Environment input:</p>
-
-<ul>
-<li>handler = module()</li>
-<li>handler_opts = any()</li>
-</ul>
-
-<p>Environment output:</p>
-
-<ul>
-<li>result = ok</li>
-</ul>
-
-<h2 id="types">Types</h2>
-
-<p>None.</p>
-
-<h2 id="exports">Exports</h2>
-
-<p>None.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/cowboy_http_handler/index.html b/docs/en/cowboy/1.0/manual/cowboy_http_handler/index.html
deleted file mode 100644
index e257ebc2..00000000
--- a/docs/en/cowboy/1.0/manual/cowboy_http_handler/index.html
+++ /dev/null
@@ -1,229 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_http_handler</span></h1>
-
-<p>The <code>cowboy_http_handler</code> behaviour defines the interface used by plain HTTP handlers.</p>
-
-<p>Unless noted otherwise, the callbacks will be executed sequentially.</p>
-
-<h2 id="types">Types</h2>
-
-<p>None.</p>
-
-<h2 id="callbacks">Callbacks</h2>
-
-<h3 id="init">init({TransportName, ProtocolName}, Req, Opts) -> {ok, Req, State} | {shutdown, Req, State}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>TransportName = tcp | ssl | atom()</li>
-<li>ProtocolName = http | atom()</li>
-<li>Req = cowboy_req:req()</li>
-<li>Opts = any()</li>
-<li>State = any()</li>
-</ul>
-
-<p>Initialize the state for this request.</p>
-
-<p>The <code>shutdown</code> return value can be used to skip the <code>handle/2</code> call entirely.</p>
-
-<h3 id="handle">handle(Req, State) -> {ok, Req, State}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-</ul>
-
-<p>Handle the request.</p>
-
-<p>This callback is where the request is handled and a response should be sent. If a response is not sent, Cowboy will send a <code>204 No Content</code> response automatically.</p>
-
-<h3 id="terminate">terminate(Reason, Req, State) -> ok</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Reason = {normal, shutdown} | {error, atom()}</li>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-</ul>
-
-<p>Perform any necessary cleanup of the state.</p>
-
-<p>This callback should release any resource currently in use, clear any active timer and reset the process to its original state, as it might be reused for future requests sent on the same connection. Typical plain HTTP handlers rarely need to use it.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/cowboy_loop_handler/index.html b/docs/en/cowboy/1.0/manual/cowboy_loop_handler/index.html
deleted file mode 100644
index 88b1c4ff..00000000
--- a/docs/en/cowboy/1.0/manual/cowboy_loop_handler/index.html
+++ /dev/null
@@ -1,245 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_loop_handler</span></h1>
-
-<p>The <code>cowboy_loop_handler</code> behaviour defines the interface used by HTTP handlers that do not send a response directly, instead requiring a receive loop to process Erlang messages.</p>
-
-<p>This interface is best fit for long-polling types of requests.</p>
-
-<p>The <code>init/3</code> callback will always be called, followed by zero or more calls to <code>info/3</code>. The <code>terminate/3</code> callback will always be called last.</p>
-
-<h2 id="types">Types</h2>
-
-<p>None.</p>
-
-<h2 id="callbacks">Callbacks</h2>
-
-<h3 id="init">init({TransportName, ProtocolName}, Req, Opts) -> {loop, Req, State} | {loop, Req, State, hibernate} | {loop, Req, State, Timeout} | {loop, Req, State, Timeout, hibernate} | {shutdown, Req, State}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>TransportName = tcp | ssl | atom()</li>
-<li>ProtocolName = http | atom()</li>
-<li>Req = cowboy_req:req()</li>
-<li>Opts = any()</li>
-<li>State = any()</li>
-<li>Timeout = timeout()</li>
-</ul>
-
-<p>Initialize the state for this request.</p>
-
-<p>This callback will typically be used to register this process to an event manager or a message queue in order to receive the messages the handler wants to process.</p>
-
-<p>The receive loop will run for a duration of up to <code>Timeout</code> milliseconds after it last received data from the socket, at which point it will stop and send a <code>204 No Content</code> reply. By default this value is set to <code>infinity</code>. It is recommended to either set this value or ensure by any other mechanism that the handler will be closed after a certain period of inactivity.</p>
-
-<p>The <code>hibernate</code> option will hibernate the process until it starts receiving messages.</p>
-
-<p>The <code>shutdown</code> return value can be used to skip the receive loop entirely.</p>
-
-<h3 id="info">info(Info, Req, State) -> {ok, Req, State} | {loop, Req, State} | {loop, Req, State, hibernate}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Info = any()</li>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-</ul>
-
-<p>Handle the Erlang message received.</p>
-
-<p>This function will be called every time an Erlang message has been received. The message can be any Erlang term.</p>
-
-<p>The <code>ok</code> return value can be used to stop the receive loop, typically because a response has been sent.</p>
-
-<p>The <code>hibernate</code> option will hibernate the process until it receives another message.</p>
-
-<h3 id="terminate">terminate(Reason, Req, State) -> ok</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Reason = {normal, shutdown} | {normal, timeout} | {error, closed} | {error, overflow} | {error, atom()}</li>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-</ul>
-
-<p>Perform any necessary cleanup of the state.</p>
-
-<p>This callback will typically unregister from any event manager or message queue it registered to in <code>init/3</code>.</p>
-
-<p>This callback should release any resource currently in use, clear any active timer and reset the process to its original state, as it might be reused for future requests sent on the same connection.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/cowboy_middleware/index.html b/docs/en/cowboy/1.0/manual/cowboy_middleware/index.html
deleted file mode 100644
index 6e0f87a3..00000000
--- a/docs/en/cowboy/1.0/manual/cowboy_middleware/index.html
+++ /dev/null
@@ -1,213 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_middleware</span></h1>
-
-<p>The <code>cowboy_middleware</code> behaviour defines the interface used by Cowboy middleware modules.</p>
-
-<p>Middlewares process the request sequentially in the order they are configured.</p>
-
-<h2 id="types">Types</h2>
-
-<h3 id="env">env() = [{atom(), any()}]</h3>
-
-<p>The environment variable.</p>
-
-<p>One is created for every request. It is passed to each middleware module executed and subsequently returned, optionally with its contents modified.</p>
-
-<h2 id="callbacks">Callbacks</h2>
-
-<h3 id="execute">execute(Req, Env) -> {ok, Req, Env} | {suspend, Module, Function, Args} | {halt, Req} | {error, StatusCode, Req}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Req = cowboy_req:req()</li>
-<li>Env = env()</li>
-<li>Module = module()</li>
-<li>Function = atom()</li>
-<li>Args = [any()]</li>
-<li>StatusCode = cowboy:http_status()</li>
-</ul>
-
-<p>Execute the middleware.</p>
-
-<p>The <code>ok</code> return value indicates that everything went well and that Cowboy should continue processing the request. A response may or may not have been sent.</p>
-
-<p>The <code>suspend</code> return value will hibernate the process until an Erlang message is received. Note that when resuming, any previous stacktrace information will be gone.</p>
-
-<p>The <code>halt</code> return value stops Cowboy from doing any further processing of the request, even if there are middlewares that haven't been executed yet. The connection may be left open to receive more requests from the client.</p>
-
-<p>The <code>error</code> return value sends an error response identified by the <code>StatusCode</code> and then proceeds to terminate the connection. Middlewares that haven't been executed yet will not be called.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html b/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html
deleted file mode 100644
index 83622ba3..00000000
--- a/docs/en/cowboy/1.0/manual/cowboy_protocol/index.html
+++ /dev/null
@@ -1,244 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_protocol</span></h1>
-
-<p>The <code>cowboy_protocol</code> module implements HTTP/1.1 and HTTP/1.0 as a Ranch protocol.</p>
-
-<h2 id="types">Types</h2>
-
-<h3 id="opts">opts() = [{compress, boolean()} | {env, cowboy_middleware:env()} | {max_empty_lines, non_neg_integer()} | {max_header_name_length, non_neg_integer()} | {max_header_value_length, non_neg_integer()} | {max_headers, non_neg_integer()} | {max_keepalive, non_neg_integer()} | {max_request_line_length, non_neg_integer()} | {middlewares, [module()]} | {onrequest, cowboy:onrequest_fun()} | {onresponse, cowboy:onresponse_fun()} | {timeout, timeout()}]</h3>
-
-<p>Configuration for the HTTP protocol handler.</p>
-
-<p>This configuration is passed to Cowboy when starting listeners using <code>cowboy:start_http/4</code> or <code>cowboy:start_https/4</code> functions.</p>
-
-<p>It can be updated without restarting listeners using the Ranch functions <code>ranch:get_protocol_options/1</code> and <code>ranch:set_protocol_options/2</code>.</p>
-
-<h2 id="option_descriptions">Option descriptions</h2>
-
-<p>The default value is given next to the option name.</p>
-
-<h3 id="compress ">compress (false)</h3>
-
-<p>When enabled, Cowboy will attempt to compress the response body.</p>
-
-<h3 id="env ">env ([{listener, Ref}])</h3>
-
-<p>Initial middleware environment.</p>
-
-<h3 id="max_empty_lines ">max_empty_lines (5)</h3>
-
-<p>Maximum number of empty lines before a request.</p>
-
-<h3 id="max_header_name_length ">max_header_name_length (64)</h3>
-
-<p>Maximum length of header names.</p>
-
-<h3 id="max_header_value_length ">max_header_value_length (4096)</h3>
-
-<p>Maximum length of header values.</p>
-
-<h3 id="max_headers ">max_headers (100)</h3>
-
-<p>Maximum number of headers allowed per request.</p>
-
-<h3 id="max_keepalive ">max_keepalive (100)</h3>
-
-<p>Maximum number of requests allowed per connection.</p>
-
-<h3 id="max_request_line_length ">max_request_line_length (4096)</h3>
-
-<p>Maximum length of the request line.</p>
-
-<h3 id="middlewares ">middlewares ([cowboy_router, cowboy_handler])</h3>
-
-<p>List of middlewares to execute for every requests.</p>
-
-<h3 id="onrequest ">onrequest (undefined)</h3>
-
-<p>Fun called every time a request is received.</p>
-
-<h3 id="onresponse ">onresponse (undefined)</h3>
-
-<p>Fun called every time a response is sent.</p>
-
-<h3 id="timeout ">timeout (5000)</h3>
-
-<p>Time in ms with no requests before Cowboy closes the connection.</p>
-
-<h2 id="exports">Exports</h2>
-
-<p>None.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/cowboy_req/index.html b/docs/en/cowboy/1.0/manual/cowboy_req/index.html
deleted file mode 100644
index a7cb0708..00000000
--- a/docs/en/cowboy/1.0/manual/cowboy_req/index.html
+++ /dev/null
@@ -1,854 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req</span></h1>
-
-<p>The <code>cowboy_req</code> module provides functions to access, manipulate and respond to requests.</p>
-
-<p>The functions in this module follow patterns for their return types, based on the kind of function.</p>
-
-<ul>
-<li>access: <code>{Value, Req}</code></li>
-<li>action: <code>{Result, Req} | {Result, Value, Req} | {error, atom()}</code></li>
-<li>modification: <code>Req</code></li>
-<li>question: <code>boolean()</code></li>
-</ul>
-
-<p>The only exception is the <code>chunk/2</code> function which may return <code>ok</code>.</p>
-
-<p>Whenever <code>Req</code> is returned, you must use this returned value and ignore any previous you may have had. This value contains various state informations which are necessary for Cowboy to do some lazy evaluation or cache results where appropriate.</p>
-
-<p>All functions which perform an action should only be called once. This includes reading the request body or replying. Cowboy will generally throw an error on the second call.</p>
-
-<p>It is highly discouraged to pass the Req object to another process. Doing so and calling <code>cowboy_req</code> functions from it leads to undefined behavior.</p>
-
-<h2 id="types">Types</h2>
-
-<h3 id="body_opts">body_opts() = [{continue, boolean()} | {length, non_neg_integer()} | {read_length, non_neg_integer()} | {read_timeout, timeout()} | {transfer_decode, transfer_decode_fun(), any()} | {content_decode, content_decode_fun()}]</h3>
-
-<p>Request body reading options.</p>
-
-<h3 id="cookie_opts">cookie_opts() = [{max_age, non_neg_integer()} | {domain, binary()} | {path, binary()} | {secure, boolean()} | {http_only, boolean()}]</h3>
-
-<p>Cookie options.</p>
-
-<h3 id="req">req() - opaque to the user</h3>
-
-<p>The Req object.</p>
-
-<p>All functions in this module receive a <code>Req</code> as argument, and most of them return a new object labelled <code>Req2</code> in the function descriptions below.</p>
-
-<h2 id="request_related_exports">Request related exports</h2>
-
-<h3 id="binding">binding(Name, Req) -> binding(Name, Req, undefined)</h3>
-
-<h3 id="binding">binding(Name, Req, Default) -> {Value, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = atom()</li>
-<li>Default = any()</li>
-<li>Value = any() | Default</li>
-</ul>
-
-<p>Return the value for the given binding.</p>
-
-<p>By default the value is a binary, however constraints may change the type of this value (for example automatically converting numbers to integer).</p>
-
-<h3 id="bindings">bindings(Req) -> {[{Name, Value}], Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = atom()</li>
-<li>Value = any()</li>
-</ul>
-
-<p>Return all bindings.</p>
-
-<p>By default the value is a binary, however constraints may change the type of this value (for example automatically converting numbers to integer).</p>
-
-<h3 id="cookie">cookie(Name, Req) -> cookie(Name, Req, undefined)</h3>
-
-<h3 id="cookie">cookie(Name, Req, Default) -> {Value, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-<li>Default = any()</li>
-<li>Value = binary() | Default</li>
-</ul>
-
-<p>Return the value for the given cookie.</p>
-
-<p>Cookie names are case sensitive.</p>
-
-<h3 id="cookies">cookies(Req) -> {[{Name, Value}], Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-<li>Value = binary()</li>
-</ul>
-
-<p>Return all cookies.</p>
-
-<h3 id="header">header(Name, Req) -> header(Name, Req, undefined)</h3>
-
-<h3 id="header">header(Name, Req, Default) -> {Value, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-<li>Default = any()</li>
-<li>Value = binary() | Default</li>
-</ul>
-
-<p>Return the value for the given header.</p>
-
-<p>While header names are case insensitive, this function expects the name to be a lowercase binary.</p>
-
-<h3 id="headers">headers(Req) -> {Headers, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Headers = cowboy:http_headers()</li>
-</ul>
-
-<p>Return all headers.</p>
-
-<h3 id="host">host(Req) -> {Host, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Host = binary()</li>
-</ul>
-
-<p>Return the requested host.</p>
-
-<h3 id="host_info">host_info(Req) -> {HostInfo, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>HostInfo = cowboy_router:tokens() | undefined</li>
-</ul>
-
-<p>Return the extra tokens from matching against <code>...</code> during routing.</p>
-
-<h3 id="host_url">host_url(Req) -> {HostURL, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>HostURL = binary() | undefined</li>
-</ul>
-
-<p>Return the requested URL excluding the path component.</p>
-
-<p>This function will always return <code>undefined</code> until the <code>cowboy_router</code> middleware has been executed. This includes the <code>onrequest</code> hook.</p>
-
-<h3 id="meta">meta(Name, Req) -> meta(Name, Req, undefined)</h3>
-
-<h3 id="meta">meta(Name, Req, Default) -> {Value, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = atom()</li>
-<li>Default = any()</li>
-<li>Value = any()</li>
-</ul>
-
-<p>Return metadata about the request.</p>
-
-<h3 id="method">method(Req) -> {Method, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Method = binary()</li>
-</ul>
-
-<p>Return the method.</p>
-
-<p>Methods are case sensitive. Standard methods are always uppercase.</p>
-
-<h3 id="parse_header">parse_header(Name, Req) -></h3>
-
-<h3 id="parse_header">parse_header(Name, Req, Default) -> {ok, ParsedValue, Req2} | {undefined, Value, Req2} | {error, badarg}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-<li>Default = any()</li>
-<li>ParsedValue - see below</li>
-<li>Value = any()</li>
-</ul>
-
-<p>Parse the given header.</p>
-
-<p>While header names are case insensitive, this function expects the name to be a lowercase binary.</p>
-
-<p>The <code>parse_header/2</code> function will call <code>parser_header/3</code> with a different default value depending on the header being parsed. The following table summarizes the default values used.</p>
-
-<table class="table-bordered table-condensed table-striped">
-<thead>
-<tr><th>Header name</th><th>Default value</th></tr>
-</thead>
-<tbody>
-<tr><td>transfer-encoding</td><td><code>[<<"identity">>]</code></td></tr>
-<tr><td>Any other header</td><td><code>undefined</code></td></tr>
-</tbody>
-</table>
-
-<p>The parsed value differs depending on the header being parsed. The following table summarizes the different types returned.</p>
-
-<table class="table-bordered table-condensed table-striped">
-<thead>
-<tr><th>Header name</th><th>Type</th></tr>
-</thead>
-<tbody>
-<tr><td>accept</td><td><code>[{{Type, SubType, Params}, Quality, AcceptExt}]</code></td></tr>
-<tr><td>accept-charset</td><td><code>[{Charset, Quality}]</code></td></tr>
-<tr><td>accept-encoding</td><td><code>[{Encoding, Quality}]</code></td></tr>
-<tr><td>accept-language</td><td><code>[{LanguageTag, Quality}]</code></td></tr>
-<tr><td>authorization</td><td><code>{AuthType, Credentials}</code></td></tr>
-<tr><td>content-length</td><td><code>non_neg_integer()</code></td></tr>
-<tr><td>content-type</td><td><code>{Type, SubType, ContentTypeParams}</code></td></tr>
-<tr><td>cookie</td><td><code>[{binary(), binary()}]</code></td></tr>
-<tr><td>expect</td><td><code>[Expect | {Expect, ExpectValue, Params}]</code></td></tr>
-<tr><td>if-match</td><td><code>'*' | [{weak | strong, OpaqueTag}]</code></td></tr>
-<tr><td>if-modified-since</td><td><code>calendar:datetime()</code></td></tr>
-<tr><td>if-none-match</td><td><code>'*' | [{weak | strong, OpaqueTag}]</code></td></tr>
-<tr><td>if-unmodified-since</td><td><code>calendar:datetime()</code></td></tr>
-<tr><td>range</td><td><code>{Unit, [Range]}</code></td></tr>
-<tr><td>sec-websocket-protocol</td><td><code>[binary()]</code></td></tr>
-<tr><td>transfer-encoding</td><td><code>[binary()]</code></td></tr>
-<tr><td>upgrade</td><td><code>[binary()]</code></td></tr>
-<tr><td>x-forwarded-for</td><td><code>[binary()]</code></td></tr>
-</tbody>
-</table>
-
-<p>Types for the above table:</p>
-
-<ul>
-<li>Type = SubType = Charset = Encoding = LanguageTag = binary()</li>
-<li>AuthType = Expect = OpaqueTag = Unit = binary()</li>
-<li>Params = ContentTypeParams = [{binary(), binary()}]</li>
-<li>Quality = 0..1000</li>
-<li>AcceptExt = [{binary(), binary()} | binary()]</li>
-<li>Credentials - see below</li>
-<li>Range = {non_neg_integer(), non_neg_integer() | infinity} | neg_integer()</li>
-</ul>
-
-<p>The cookie names and values, the values of the sec-websocket-protocol and x-forwarded-for headers, the values in <code>AcceptExt</code> and <code>Params</code>, the authorization <code>Credentials</code>, the <code>ExpectValue</code> and <code>OpaqueTag</code> are case sensitive. All values in <code>ContentTypeParams</code> are case sensitive except the value of the charset parameter, which is case insensitive. All other values are case insensitive and will be returned as lowercase.</p>
-
-<p>The headers accept, accept-encoding and cookie headers can return an empty list. Others will return <code>{error, badarg}</code> if the header value is empty.</p>
-
-<p>The authorization header parsing code currently only supports basic HTTP authentication. The <code>Credentials</code> type is thus <code>{Username, Password}</code> with <code>Username</code> and <code>Password</code> being <code>binary()</code>.</p>
-
-<p>The range header value <code>Range</code> can take three forms:</p>
-
-<ul>
-<li><code>{From, To}</code>: from <code>From</code> to <code>To</code> units</li>
-<li><code>{From, infinity}</code>: everything after <code>From</code> units</li>
-<li><code>-Final</code>: the final <code>Final</code> units</li>
-</ul>
-
-<p>An <code>undefined</code> tuple will be returned if Cowboy doesn't know how to parse the requested header.</p>
-
-<h3 id="path">path(Req) -> {Path, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Path = binary()</li>
-</ul>
-
-<p>Return the requested path.</p>
-
-<h3 id="path_info">path_info(Req) -> {PathInfo, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>PathInfo = cowboy_router:tokens() | undefined</li>
-</ul>
-
-<p>Return the extra tokens from matching against <code>...</code> during routing.</p>
-
-<h3 id="peer">peer(Req) -> {Peer, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Peer = {inet:ip_address(), inet:port_number()}</li>
-</ul>
-
-<p>Return the client's IP address and port number.</p>
-
-<h3 id="port">port(Req) -> {Port, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Port = inet:port_number()</li>
-</ul>
-
-<p>Return the request's port.</p>
-
-<p>The port returned by this function is obtained by parsing the host header. It may be different than the actual port the client used to connect to the Cowboy server.</p>
-
-<h3 id="qs">qs(Req) -> {QueryString, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>QueryString = binary()</li>
-</ul>
-
-<p>Return the request's query string.</p>
-
-<h3 id="qs_val">qs_val(Name, Req) -> qs_val(Name, Req, undefined)</h3>
-
-<h3 id="qs_val">qs_val(Name, Req, Default) -> {Value, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-<li>Default = any()</li>
-<li>Value = binary() | true</li>
-</ul>
-
-<p>Return a value from the request's query string.</p>
-
-<p>The value <code>true</code> will be returned when the name was found in the query string without an associated value.</p>
-
-<h3 id="qs_vals">qs_vals(Req) -> {[{Name, Value}], Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-<li>Value = binary() | true</li>
-</ul>
-
-<p>Return the request's query string as a list of tuples.</p>
-
-<p>The value <code>true</code> will be returned when a name was found in the query string without an associated value.</p>
-
-<h3 id="set_meta">set_meta(Name, Value, Req) -> Req2</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = atom()</li>
-<li>Value = any()</li>
-</ul>
-
-<p>Set metadata about the request.</p>
-
-<p>An existing value will be overwritten.</p>
-
-<h3 id="url">url(Req) -> {URL, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>URL = binary() | undefined</li>
-</ul>
-
-<p>Return the requested URL.</p>
-
-<p>This function will always return <code>undefined</code> until the <code>cowboy_router</code> middleware has been executed. This includes the <code>onrequest</code> hook.</p>
-
-<h3 id="version">version(Req) -> {Version, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Version = cowboy:http_version()</li>
-</ul>
-
-<p>Return the HTTP version used for this request.</p>
-
-<h2 id="request_body_related_exports">Request body related exports</h2>
-
-<h3 id="body">body(Req) -> body(Req, [])</h3>
-
-<h3 id="body">body(Req, Opts) -> {ok, Data, Req2} | {more, Data, Req2} | {error, Reason}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Opts = [body_opt()]</li>
-<li>Data = binary()</li>
-<li>Reason = atom()</li>
-</ul>
-
-<p>Read the request body.</p>
-
-<p>This function will read a chunk of the request body. If there is more data to be read after this function call, then a <code>more</code> tuple is returned. Otherwise an <code>ok</code> tuple is returned.</p>
-
-<p>Cowboy will automatically send a <code>100 Continue</code> reply if required. If this behavior is not desirable, it can be disabled by setting the <code>continue</code> option to <code>false</code>.</p>
-
-<p>Cowboy will by default attempt to read up to 8MB of the body, but in chunks of 1MB. It will use a timeout of 15s per chunk. All these values can be changed using the <code>length</code>, <code>read_length</code> and <code>read_timeout</code> options respectively. Note that the size of the data may not be the same as requested as the decoding functions may grow or shrink it, and Cowboy makes not attempt at returning an exact amount.</p>
-
-<p>Cowboy will properly handle chunked transfer-encoding by default. If any other transfer-encoding or content-encoding has been used for the request, custom decoding functions can be used. The <code>content_decode</code> and <code>transfer_decode</code> options allow setting the decode functions manually.</p>
-
-<p>After the body has been streamed fully, Cowboy will remove the transfer-encoding header from the Req object, and add the content-length header if it wasn't already there.</p>
-
-<p>This function can only be called once. Cowboy will not cache the result of this call.</p>
-
-<h3 id="body_length">body_length(Req) -> {Length, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Length = non_neg_integer() | undefined</li>
-</ul>
-
-<p>Return the length of the request body.</p>
-
-<p>The length will only be returned if the request does not use any transfer-encoding and if the content-length header is present.</p>
-
-<h3 id="body_qs">body_qs(Req) -> body_qs(Req, [{length, 64000}, {read_length, 64000}, {read_timeout, 5000}])</h3>
-
-<h3 id="body_qs">body_qs(Req, Opts) -> {ok, [{Name, Value}], Req2} | {badlength, Req2} | {error, Reason}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Opts = [body_opt()]</li>
-<li>Name = binary()</li>
-<li>Value = binary() | true</li>
-<li>Reason = chunked | badlength | atom()</li>
-</ul>
-
-<p>Return the request body as a list of tuples.</p>
-
-<p>This function will parse the body assuming the content-type application/x-www-form-urlencoded, commonly used for the query string.</p>
-
-<p>This function calls <code>body/2</code> for reading the body, with the same options it received. By default it will attempt to read a body of 64KB in one chunk, with a timeout of 5s. If the body is larger then a <code>badlength</code> tuple is returned.</p>
-
-<p>This function can only be called once. Cowboy will not cache the result of this call.</p>
-
-<h3 id="has_body">has_body(Req) -> boolean()</h3>
-
-<p>Return whether the request has a body.</p>
-
-<h3 id="part">part(Req) -> part(Req, [{length, 64000}, {read_length, 64000}, {read_timeout, 5000}])</h3>
-
-<h3 id="part">part(Req, Opts) -> {ok, Headers, Req2} | {done, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Opts = [body_opt()]</li>
-<li>Headers = cow_multipart:headers()</li>
-</ul>
-
-<p>Read the headers for the next part of the multipart message.</p>
-
-<p>Cowboy will skip any data remaining until the beginning of the next part. This includes the preamble to the multipart message but also the body of a previous part if it hasn't been read. Both are skipped automatically when calling this function.</p>
-
-<p>The headers returned are MIME headers, NOT HTTP headers. They can be parsed using the functions from the <code>cow_multipart</code> module. In addition, the <code>cow_multipart:form_data/1</code> function can be used to quickly figure out <code>multipart/form-data</code> messages. It takes the list of headers and returns whether this part is a simple form field or a file being uploaded.</p>
-
-<p>Note that once a part has been read, or skipped, it cannot be read again.</p>
-
-<p>This function calls <code>body/2</code> for reading the body, with the same options it received. By default it will only read chunks of 64KB with a timeout of 5s. This is tailored for reading part headers, not for skipping the previous part's body. You might want to consider skipping large parts manually.</p>
-
-<h3 id="part_body">part_body(Req) -> part_body(Req, [])</h3>
-
-<h3 id="part_body">part_body(Req, Opts) -> {ok, Data, Req2} | {more, Data, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Opts = [body_opt()]</li>
-<li>Data = binary()</li>
-</ul>
-
-<p>Read the body of the current part of the multipart message.</p>
-
-<p>This function calls <code>body/2</code> for reading the body, with the same options it received. It uses the same defaults.</p>
-
-<p>If there are more data to be read from the socket for this part, the function will return what it could read inside a <code>more</code> tuple. Otherwise, it will return an <code>ok</code> tuple.</p>
-
-<p>Calling this function again after receiving a <code>more</code> tuple will return another chunk of body. The last chunk will be returned inside an <code>ok</code> tuple.</p>
-
-<p>Note that once the body has been read, fully or partially, it cannot be read again.</p>
-
-<h2 id="response_related_exports">Response related exports</h2>
-
-<h3 id="chunk">chunk(Data, Req) -> ok | {error, Reason}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Data = iodata()</li>
-<li>Reason = atom()</li>
-</ul>
-
-<p>Send a chunk of data.</p>
-
-<p>This function should be called as many times as needed to send data chunks after calling <code>chunked_reply/{2,3}</code>.</p>
-
-<p>When the method is HEAD, no data will actually be sent.</p>
-
-<p>If the request uses HTTP/1.0, the data is sent directly without wrapping it in an HTTP/1.1 chunk, providing compatibility with older clients.</p>
-
-<h3 id="chunked_reply">chunked_reply(StatusCode, Req) -> chunked_reply(StatusCode, [], Req)</h3>
-
-<h3 id="chunked_reply">chunked_reply(StatusCode, Headers, Req) -> {ok, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>StatusCode = cowboy:http_status()</li>
-<li>Headers = cowboy:http_headers()</li>
-</ul>
-
-<p>Send a response using chunked transfer-encoding.</p>
-
-<p>This function effectively sends the response status line and headers to the client.</p>
-
-<p>This function will not send any body set previously. After this call the handler must use the <code>chunk/2</code> function repeatedly to send the body in as many chunks as needed.</p>
-
-<p>If the request uses HTTP/1.0, the data is sent directly without wrapping it in an HTTP/1.1 chunk, providing compatibility with older clients.</p>
-
-<p>This function can only be called once, with the exception of overriding the response in the <code>onresponse</code> hook.</p>
-
-<h3 id="continue">continue(Req) -> ok | {error, Reason}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Reason = atom()</li>
-</ul>
-
-<p>Send a 100 Continue intermediate reply.</p>
-
-<p>This reply is required before the client starts sending the body when the request contains the <code>expect</code> header with the <code>100-continue</code> value.</p>
-
-<p>Cowboy will send this automatically when required. However you may want to do it manually by disabling this behavior with the <code>continue</code> body option and then calling this function.</p>
-
-<h3 id="delete_resp_header">delete_resp_header(Name, Req) -> Req2</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-</ul>
-
-<p>Delete the given response header.</p>
-
-<p>While header names are case insensitive, this function expects the name to be a lowercase binary.</p>
-
-<h3 id="has_resp_body">has_resp_body(Req) -> boolean()</h3>
-
-<p>Return whether a response body has been set.</p>
-
-<p>This function will return false if a response body has been set with a length of 0.</p>
-
-<h3 id="has_resp_header">has_resp_header(Name, Req) -> boolean()</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-</ul>
-
-<p>Return whether the given response header has been set.</p>
-
-<p>While header names are case insensitive, this function expects the name to be a lowercase binary.</p>
-
-<h3 id="reply">reply(StatusCode, Req) -> reply(StatusCode, [], Req)</h3>
-
-<h3 id="reply">reply(StatusCode, Headers, Req) - see below</h3>
-
-<h3 id="reply">reply(StatusCode, Headers, Body, Req) -> {ok, Req2}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>StatusCode = cowboy:http_status()</li>
-<li>Headers = cowboy:http_headers()</li>
-<li>Body = iodata()</li>
-</ul>
-
-<p>Send a response.</p>
-
-<p>This function effectively sends the response status line, headers and body to the client, in a single send function call.</p>
-
-<p>The <code>reply/2</code> and <code>reply/3</code> functions will send the body set previously, if any. The <code>reply/4</code> function overrides any body set previously and sends <code>Body</code> instead.</p>
-
-<p>If a body function was set, and <code>reply/2</code> or <code>reply/3</code> was used, it will be called before returning.</p>
-
-<p>No more data can be sent to the client after this function returns.</p>
-
-<p>This function can only be called once, with the exception of overriding the response in the <code>onresponse</code> hook.</p>
-
-<h3 id="set_resp_body">set_resp_body(Body, Req) -> Req2</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Body = iodata()</li>
-</ul>
-
-<p>Set a response body.</p>
-
-<p>This body will not be sent if <code>chunked_reply/{2,3}</code> or <code>reply/4</code> is used, as they override it.</p>
-
-<h3 id="set_resp_body_fun">set_resp_body_fun(Fun, Req) -> Req2</h3>
-
-<h3 id="set_resp_body_fun">set_resp_body_fun(Length, Fun, Req) -> Req2</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Fun = fun((Socket, Transport) -> ok)</li>
-<li>Socket = inet:socket()</li>
-<li>Transport = module()</li>
-<li>Length = non_neg_integer()</li>
-</ul>
-
-<p>Set a fun for sending the response body.</p>
-
-<p>If a <code>Length</code> is provided, it will be sent in the content-length header in the response. It is recommended to set the length if it can be known in advance. Otherwise, the transfer-encoding header will be set to identity.</p>
-
-<p>This function will only be called if the response is sent using the <code>reply/2</code> or <code>reply/3</code> function.</p>
-
-<p>The fun will receive the Ranch <code>Socket</code> and <code>Transport</code> as arguments. Only send and sendfile operations are supported.</p>
-
-<h3 id="set_resp_body_fun">set_resp_body_fun(chunked, Fun, Req) -> Req2</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Fun = fun((ChunkFun) -> ok)</li>
-<li>ChunkFun = fun((iodata()) -> ok | {error, atom()})</li>
-</ul>
-
-<p>Set a fun for sending the response body using chunked transfer-encoding.</p>
-
-<p>This function will only be called if the response is sent using the <code>reply/2</code> or <code>reply/3</code> function.</p>
-
-<p>The fun will receive another fun as argument. This fun is to be used to send chunks in a similar way to the <code>chunk/2</code> function, except the fun only takes one argument, the data to be sent in the chunk.</p>
-
-<h3 id="set_resp_cookie">set_resp_cookie(Name, Value, Opts, Req) -> Req2</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = iodata()</li>
-<li>Value = iodata()</li>
-<li>Opts = cookie_opts()</li>
-</ul>
-
-<p>Set a cookie in the response.</p>
-
-<p>Cookie names are case sensitive.</p>
-
-<h3 id="set_resp_header">set_resp_header(Name, Value, Req) -> Req2</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Name = binary()</li>
-<li>Value = iodata()</li>
-</ul>
-
-<p>Set a response header.</p>
-
-<p>You should use <code>set_resp_cookie/4</code> instead of this function to set cookies.</p>
-
-<h2 id="misc._exports">Misc. exports</h2>
-
-<h3 id="compact">compact(Req) -> Req2</h3>
-
-<p>Remove any non-essential data from the Req object.</p>
-
-<p>Long-lived connections usually only need to manipulate the Req object at initialization. Compacting allows saving up memory by discarding extraneous information.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/cowboy_rest/index.html b/docs/en/cowboy/1.0/manual/cowboy_rest/index.html
deleted file mode 100644
index f2a275b3..00000000
--- a/docs/en/cowboy/1.0/manual/cowboy_rest/index.html
+++ /dev/null
@@ -1,698 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_rest</span></h1>
-
-<p>The <code>cowboy_rest</code> module implements REST semantics on top of the HTTP protocol.</p>
-
-<p>This module cannot be described as a behaviour due to most of the callbacks it defines being optional. It has the same semantics as a behaviour otherwise.</p>
-
-<p>The only mandatory callback is <code>init/3</code>, needed to perform the protocol upgrade.</p>
-
-<h2 id="types">Types</h2>
-
-<p>None.</p>
-
-<h2 id="meta_values">Meta values</h2>
-
-<h3 id="charset">charset</h3>
-
-<p>Type: binary()</p>
-
-<p>Negotiated charset.</p>
-
-<p>This value may not be defined if no charset was negotiated.</p>
-
-<h3 id="language">language</h3>
-
-<p>Type: binary()</p>
-
-<p>Negotiated language.</p>
-
-<p>This value may not be defined if no language was negotiated.</p>
-
-<h3 id="media_type">media_type</h3>
-
-<p>Type: {binary(), binary(), '*' | [{binary(), binary()}]}</p>
-
-<p>Negotiated media-type.</p>
-
-<p>The media-type is the content-type, excluding the charset.</p>
-
-<p>This value is always defined after the call to <code>content_types_provided/2</code>.</p>
-
-<h2 id="callbacks">Callbacks</h2>
-
-<h3 id="init">init({TransportName, ProtocolName}, Req, Opts) -> {upgrade, protocol, cowboy_rest} | {upgrade, protocol, cowboy_rest, Req, Opts}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>TransportName = tcp | ssl | atom()</li>
-<li>ProtocolName = http | atom()</li>
-<li>Req = cowboy_req:req()</li>
-<li>Opts = any()</li>
-</ul>
-
-<p>Upgrade the protocol to <code>cowboy_rest</code>.</p>
-
-<p>This is the only mandatory callback.</p>
-
-<h3 id="rest_init">rest_init(Req, Opts) -> {ok, Req, State}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Req = cowboy_req:req()</li>
-<li>Opts = any()</li>
-<li>State = any()</li>
-</ul>
-
-<p>Initialize the state for this request.</p>
-
-<h3 id="rest_terminate">rest_terminate(Req, State) -> ok</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-</ul>
-
-<p>Perform any necessary cleanup of the state.</p>
-
-<p>This callback should release any resource currently in use, clear any active timer and reset the process to its original state, as it might be reused for future requests sent on the same connection.</p>
-
-<h3 id="callback">Callback(Req, State) -> {Value, Req, State} | {halt, Req, State}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Callback - one of the REST callbacks described below</li>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-<li>Value - see the REST callbacks description below</li>
-</ul>
-
-<p>Please see the REST callbacks description below for details on the <code>Value</code> type, the default value if the callback is not defined, and more general information on when the callback is called and what its intended use is.</p>
-
-<p>The <code>halt</code> tuple can be returned to stop REST processing. It is up to the resource code to send a reply before that, otherwise a <code>204 No Content</code> will be sent.</p>
-
-<h2 id="rest_callbacks_description">REST callbacks description</h2>
-
-<h3 id="allowed_methods">allowed_methods</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: [binary()]</li>
-<li>Default value: [<<"GET">>, <<"HEAD">>, <<"OPTIONS">>]</li>
-</ul>
-
-<p>Return the list of allowed methods.</p>
-
-<p>Methods are case sensitive. Standard methods are always uppercase.</p>
-
-<h3 id="allow_missing_post">allow_missing_post</h3>
-
-<ul>
-<li>Methods: POST</li>
-<li>Value type: boolean()</li>
-<li>Default value: true</li>
-</ul>
-
-<p>Return whether POST is allowed when the resource doesn't exist.</p>
-
-<p>Returning <code>true</code> here means that a new resource will be created. The URL to the created resource should also be returned from the <code>AcceptResource</code> callback.</p>
-
-<h3 id="charsets_provided">charsets_provided</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Value type: [binary()]</li>
-<li>Skip to the next step if undefined</li>
-</ul>
-
-<p>Return the list of charsets the resource provides.</p>
-
-<p>The list must be ordered in order of preference.</p>
-
-<p>If the accept-charset header was not sent, the first charset in the list will be selected. Otherwise Cowboy will select the most appropriate charset from the list.</p>
-
-<p>The chosen charset will be set in the <code>Req</code> object as the meta value <code>charset</code>.</p>
-
-<p>While charsets are case insensitive, this callback is expected to return them as lowercase binary.</p>
-
-<h3 id="content_types_accepted">content_types_accepted</h3>
-
-<ul>
-<li>Methods: POST, PUT, PATCH</li>
-<li>No default</li>
-</ul>
-
-<p>Types:</p>
-
-<ul>
-<li>Value = [{binary() | {Type, SubType, Params}, AcceptResource}]</li>
-<li>Type = SubType = binary()</li>
-<li>Params = '*' | [{binary(), binary()}]</li>
-<li>AcceptResource = atom()</li>
-</ul>
-
-<p>Return the list of content-types the resource accepts.</p>
-
-<p>The list must be ordered in order of preference.</p>
-
-<p>Each content-type can be given either as a binary string or as a tuple containing the type, subtype and parameters.</p>
-
-<p>Cowboy will select the most appropriate content-type from the list. If any parameter is acceptable, then the tuple form should be used with parameters set to <code>'*'</code>. If the parameters value is set to <code>[]</code> only content-type values with no parameters will be accepted. All parameter values are treated in a case sensitive manner except the <code>charset</code> parameter, if present, which is case insensitive.</p>
-
-<p>This function will be called for POST, PUT and PATCH requests. It is entirely possible to define different callbacks for different methods if the handling of the request differs. Simply verify what the method is with <code>cowboy_req:method/1</code> and return a different list for each methods.</p>
-
-<p>The <code>AcceptResource</code> value is the name of the callback that will be called if the content-type matches. It is defined as follow.</p>
-
-<ul>
-<li>Value type: true | {true, URL} | false</li>
-<li>No default</li>
-</ul>
-
-<p>Process the request body.</p>
-
-<p>This function should create or update the resource with the information contained in the request body. This information may be full or partial depending on the request method.</p>
-
-<p>If the request body was processed successfully, <code>true</code> must be returned. If the request method is POST, <code>{true, URL}</code> may be returned instead, and Cowboy will redirect the client to the location of the newly created resource.</p>
-
-<p>If a response body must be sent, the appropriate media-type, charset and language can be retrieved using the <code>cowboy_req:meta/{2,3}</code> functions. The respective keys are <code>media_type</code>, <code>charset</code> and <code>language</code>. The body can be set using <code>cowboy_req:set_resp_body/2</code>.</p>
-
-<h3 id="content_types_provided">content_types_provided</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Default value: [{{<<"text">>, <<"html">>, '*'}, to_html}]</li>
-</ul>
-
-<p>Types:</p>
-
-<ul>
-<li>Value = [{binary() | {Type, SubType, Params}, ProvideResource}]</li>
-<li>Type = SubType = binary()</li>
-<li>Params = '*' | [{binary(), binary()}]</li>
-<li>ProvideResource = atom()</li>
-</ul>
-
-<p>Return the list of content-types the resource provides.</p>
-
-<p>The list must be ordered in order of preference.</p>
-
-<p>Each content-type can be given either as a binary string or as a tuple containing the type, subtype and parameters.</p>
-
-<p>Cowboy will select the most appropriate content-type from the list. If any parameter is acceptable, then the tuple form should be used with parameters set to <code>'*'</code>. If the parameters value is set to <code>[]</code> only content-type values with no parameters will be accepted. All parameter values are treated in a case sensitive manner except the <code>charset</code> parameter, if present, which is case insensitive.</p>
-
-<p>The <code>ProvideResource</code> value is the name of the callback that will be called if the content-type matches. It will only be called when a representation of the resource needs to be returned. It is defined as follow.</p>
-
-<ul>
-<li>Methods: GET, HEAD</li>
-<li>Value type: iodata() | {stream, Fun} | {stream, Len, Fun} | {chunked, ChunkedFun}</li>
-<li>No default</li>
-</ul>
-
-<p>Return the response body.</p>
-
-<p>The response body may be provided directly or through a fun. If a fun tuple is returned, the appropriate <code>set_resp_body_fun</code> function will be called. Please refer to the documentation for these functions for more information about the types.</p>
-
-<p>The call to this callback happens a good time after the call to <code>content_types_provided/2</code>, when it is time to start rendering the response body.</p>
-
-<h3 id="delete_completed">delete_completed</h3>
-
-<ul>
-<li>Methods: DELETE</li>
-<li>Value type: boolean()</li>
-<li>Default value: true</li>
-</ul>
-
-<p>Return whether the delete action has been completed.</p>
-
-<p>This function should return <code>false</code> if there is no guarantee that the resource gets deleted immediately from the system, including from any internal cache.</p>
-
-<p>When this function returns <code>false</code>, a <code>202 Accepted</code> response will be sent instead of a <code>200 OK</code> or <code>204 No Content</code>.</p>
-
-<h3 id="delete_resource">delete_resource</h3>
-
-<ul>
-<li>Methods: DELETE</li>
-<li>Value type: boolean()</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Delete the resource.</p>
-
-<p>The value returned indicates if the action was successful, regardless of whether the resource is immediately deleted from the system.</p>
-
-<h3 id="expires">expires</h3>
-
-<ul>
-<li>Methods: GET, HEAD</li>
-<li>Value type: calendar:datetime() | binary() | undefined</li>
-<li>Default value: undefined</li>
-</ul>
-
-<p>Return the date of expiration of the resource.</p>
-
-<p>This date will be sent as the value of the expires header.</p>
-
-<h3 id="forbidden">forbidden</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: boolean()</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Return whether access to the resource is forbidden.</p>
-
-<p>A <code>403 Forbidden</code> response will be sent if this function returns <code>true</code>. This status code means that access is forbidden regardless of authentication, and that the request shouldn't be repeated.</p>
-
-<h3 id="generate_etag">generate_etag</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Value type: binary() | {weak | strong, binary()}</li>
-<li>Default value: undefined</li>
-</ul>
-
-<p>Return the entity tag of the resource.</p>
-
-<p>This value will be sent as the value of the etag header.</p>
-
-<p>If a binary is returned, then the value will be parsed to the tuple form automatically. The value must be in the same format as the etag header, including quotes.</p>
-
-<h3 id="is_authorized">is_authorized</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: true | {false, AuthHeader}</li>
-<li>Default value: true</li>
-</ul>
-
-<p>Return whether the user is authorized to perform the action.</p>
-
-<p>This function should be used to perform any necessary authentication of the user before attempting to perform any action on the resource.</p>
-
-<p>If the authentication fails, the value returned will be sent as the value for the www-authenticate header in the <code>401 Unauthorized</code> response.</p>
-
-<h3 id="is_conflict">is_conflict</h3>
-
-<ul>
-<li>Methods: PUT</li>
-<li>Value type: boolean()</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Return whether the put action results in a conflict.</p>
-
-<p>A <code>409 Conflict</code> response will be sent if this function returns <code>true</code>.</p>
-
-<h3 id="known_content_type">known_content_type</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: boolean()</li>
-<li>Default value: true</li>
-</ul>
-
-<p>Return whether the content-type is known.</p>
-
-<p>This function determines if the server understands the content-type, regardless of its use by the resource.</p>
-
-<h3 id="known_methods">known_methods</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: [binary()]</li>
-<li>Default value: [<<"GET">>, <<"HEAD">>, <<"POST">>, <<"PUT">>, <<"PATCH">>, <<"DELETE">>, <<"OPTIONS">>]</li>
-</ul>
-
-<p>Return the list of known methods.</p>
-
-<p>The full list of methods known by the server should be returned, regardless of their use in the resource.</p>
-
-<p>The default value lists the methods Cowboy knows and implement in <code>cowboy_rest</code>.</p>
-
-<p>Methods are case sensitive. Standard methods are always uppercase.</p>
-
-<h3 id="languages_provided">languages_provided</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Value type: [binary()]</li>
-<li>Skip to the next step if undefined</li>
-</ul>
-
-<p>Return the list of languages the resource provides.</p>
-
-<p>The list must be ordered in order of preference.</p>
-
-<p>If the accept-language header was not sent, the first language in the list will be selected. Otherwise Cowboy will select the most appropriate language from the list.</p>
-
-<p>The chosen language will be set in the <code>Req</code> object as the meta value <code>language</code>.</p>
-
-<p>While languages are case insensitive, this callback is expected to return them as lowercase binary.</p>
-
-<h3 id="last_modified">last_modified</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Value type: calendar:datetime()</li>
-<li>Default value: undefined</li>
-</ul>
-
-<p>Return the date of last modification of the resource.</p>
-
-<p>This date will be used to test against the if-modified-since and if-unmodified-since headers, and sent as the last-modified header in the response of GET and HEAD requests.</p>
-
-<h3 id="malformed_request">malformed_request</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: boolean()</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Return whether the request is malformed.</p>
-
-<p>Cowboy has already performed all the necessary checks by the time this function is called, so few resources are expected to implement it.</p>
-
-<p>The check is to be done on the request itself, not on the request body, which is processed later.</p>
-
-<h3 id="moved_permanently">moved_permanently</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Value type: {true, URL} | false</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Return whether the resource was permanently moved.</p>
-
-<p>If it was, its new URL is also returned and sent in the location header in the response.</p>
-
-<h3 id="moved_temporarily">moved_temporarily</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PATCH, DELETE</li>
-<li>Value type: {true, URL} | false</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Return whether the resource was temporarily moved.</p>
-
-<p>If it was, its new URL is also returned and sent in the location header in the response.</p>
-
-<h3 id="multiple_choices">multiple_choices</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Value type: boolean()</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Return whether there are multiple representations of the resource.</p>
-
-<p>This function should be used to inform the client if there are different representations of the resource, for example different content-type. If this function returns <code>true</code>, the response body should include information about these different representations using <code>cowboy_req:set_resp_body/2</code>. The content-type of the response should be the one previously negociated and that can be obtained by calling <code>cowboy_req:meta(media_type, Req)</code>.</p>
-
-<h3 id="options">options</h3>
-
-<ul>
-<li>Methods: OPTIONS</li>
-<li>Value type: ok</li>
-<li>Default value: ok</li>
-</ul>
-
-<p>Handle a request for information.</p>
-
-<p>The response should inform the client the communication options available for this resource.</p>
-
-<p>By default, Cowboy will send a <code>200 OK</code> response with the allow header set.</p>
-
-<h3 id="previously_existed">previously_existed</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PATCH, DELETE</li>
-<li>Value type: boolean()</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Return whether the resource existed previously.</p>
-
-<h3 id="resource_exists">resource_exists</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Value type: boolean()</li>
-<li>Default value: true</li>
-</ul>
-
-<p>Return whether the resource exists.</p>
-
-<p>If it exists, conditional headers will be tested before attempting to perform the action. Otherwise, Cowboy will check if the resource previously existed first.</p>
-
-<h3 id="service_available">service_available</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: boolean()</li>
-<li>Default value: true</li>
-</ul>
-
-<p>Return whether the service is available.</p>
-
-<p>This function can be used to test that all relevant backend systems are up and able to handle requests.</p>
-
-<p>A <code>503 Service Unavailable</code> response will be sent if this function returns <code>false</code>.</p>
-
-<h3 id="uri_too_long">uri_too_long</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: boolean()</li>
-<li>Default value: false</li>
-</ul>
-
-<p>Return whether the requested URI is too long.</p>
-
-<p>Cowboy has already performed all the necessary checks by the time this function is called, so few resources are expected to implement it.</p>
-
-<p>A <code>414 Request-URI Too Long</code> response will be sent if this function returns <code>true</code>.</p>
-
-<h3 id="valid_content_headers">valid_content_headers</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: boolean()</li>
-<li>Default value: true</li>
-</ul>
-
-<p>Return whether the content-* headers are valid.</p>
-
-<p>This also applies to the transfer-encoding header. This function must return <code>false</code> for any unknown content-* headers, or if the headers can't be understood. The function <code>cowboy_req:parse_header/2</code> can be used to quickly check the headers can be parsed.</p>
-
-<p>A <code>501 Not Implemented</code> response will be sent if this function returns <code>false</code>.</p>
-
-<h3 id="valid_entity_length">valid_entity_length</h3>
-
-<ul>
-<li>Methods: all</li>
-<li>Value type: boolean()</li>
-<li>Default value: true</li>
-</ul>
-
-<p>Return whether the request body length is within acceptable boundaries.</p>
-
-<p>A <code>413 Request Entity Too Large</code> response will be sent if this function returns <code>false</code>.</p>
-
-<h3 id="variances">variances</h3>
-
-<ul>
-<li>Methods: GET, HEAD, POST, PUT, PATCH, DELETE</li>
-<li>Value type: [binary()]</li>
-<li>Default value: []</li>
-</ul>
-
-<p>Return the list of headers that affect the representation of the resource.</p>
-
-<p>These request headers return the same resource but with different parameters, like another language or a different content-type.</p>
-
-<p>Cowboy will automatically add the accept, accept-language and accept-charset headers to the list if the respective functions were defined in the resource.</p>
-
-<p>This operation is performed right before the <code>resource_exists/2</code> callback. All responses past that point will contain the vary header which holds this list.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/cowboy_router/index.html b/docs/en/cowboy/1.0/manual/cowboy_router/index.html
deleted file mode 100644
index 23223ea9..00000000
--- a/docs/en/cowboy/1.0/manual/cowboy_router/index.html
+++ /dev/null
@@ -1,247 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_router</span></h1>
-
-<p>The <code>cowboy_router</code> middleware maps the requested host and path to the handler to be used for processing the request. It uses the dispatch rules compiled from the routes given to the <code>compile/1</code> function for this purpose. It adds the handler name and options to the environment as the values <code>handler</code> and <code>handler_opts</code> respectively.</p>
-
-<p>Environment input:</p>
-
-<ul>
-<li>dispatch = dispatch_rules()</li>
-</ul>
-
-<p>Environment output:</p>
-
-<ul>
-<li>handler = module()</li>
-<li>handler_opts = any()</li>
-</ul>
-
-<h2 id="types">Types</h2>
-
-<h3 id="bindings">bindings() = [{atom(), binary()}]</h3>
-
-<p>List of bindings found during routing.</p>
-
-<h3 id="constraints">constraints() = [IntConstraint | FunConstraint]</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>IntConstraint = {atom(), int}</li>
-<li>FunConstraint = {atom(), function, Fun}</li>
-<li>Fun = fun((binary()) -> true | {true, any()} | false)</li>
-</ul>
-
-<p>List of constraints to apply to the bindings.</p>
-
-<p>The int constraint will convert the binding to an integer. The fun constraint allows writing custom code for checking the bindings. Returning a new value from that fun allows replacing the current binding with a new value.</p>
-
-<h3 id="dispatch_rules">dispatch_rules() - opaque to the user</h3>
-
-<p>Rules for dispatching request used by Cowboy.</p>
-
-<h3 id="routes">routes() = [{Host, Paths} | {Host, constraints(), Paths}]</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Host = Path = '_' | iodata()</li>
-<li>Paths = [{Path, Handler, Opts} | {Path, constraints(), Handler, Opts}]</li>
-<li>Handler = module()</li>
-<li>Opts = any()</li>
-</ul>
-
-<p>Human readable list of routes mapping hosts and paths to handlers.</p>
-
-<p>The syntax for routes is defined in the user guide.</p>
-
-<h3 id="tokens">tokens() = [binary()]</h3>
-
-<p>List of host_info and path_info tokens found during routing.</p>
-
-<h2 id="exports">Exports</h2>
-
-<h3 id="compile">compile(Routes) -> Dispatch</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Routes = routes()</li>
-<li>Dispatch = dispatch_rules()</li>
-</ul>
-
-<p>Compile the routes for use by Cowboy.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html b/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html
deleted file mode 100644
index eb4460be..00000000
--- a/docs/en/cowboy/1.0/manual/cowboy_spdy/index.html
+++ /dev/null
@@ -1,212 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_spdy</span></h1>
-
-<p>The <code>cowboy_spdy</code> module implements SPDY/3 as a Ranch protocol.</p>
-
-<h2 id="types">Types</h2>
-
-<h3 id="opts">opts() = [{env, cowboy_middleware:env()} | {middlewares, [module()]} | {onrequest, cowboy:onrequest_fun()} | {onresponse, cowboy:onresponse_fun()}]</h3>
-
-<p>Configuration for the SPDY protocol handler.</p>
-
-<p>This configuration is passed to Cowboy when starting listeners using the <code>cowboy:start_spdy/4</code> function.</p>
-
-<p>It can be updated without restarting listeners using the Ranch functions <code>ranch:get_protocol_options/1</code> and <code>ranch:set_protocol_options/2</code>.</p>
-
-<h2 id="option_descriptions">Option descriptions</h2>
-
-<p>The default value is given next to the option name.</p>
-
-<h3 id="env ">env ([{listener, Ref}])</h3>
-
-<p>Initial middleware environment.</p>
-
-<h3 id="middlewares ">middlewares ([cowboy_router, cowboy_handler])</h3>
-
-<p>List of middlewares to execute for every requests.</p>
-
-<h3 id="onrequest ">onrequest (undefined)</h3>
-
-<p>Fun called every time a request is received.</p>
-
-<h3 id="onresponse ">onresponse (undefined)</h3>
-
-<p>Fun called every time a response is sent.</p>
-
-<h2 id="exports">Exports</h2>
-
-<p>None.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/cowboy_static/index.html b/docs/en/cowboy/1.0/manual/cowboy_static/index.html
deleted file mode 100644
index 6611a607..00000000
--- a/docs/en/cowboy/1.0/manual/cowboy_static/index.html
+++ /dev/null
@@ -1,194 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_static</span></h1>
-
-<p>The <code>cowboy_static</code> module implements file serving capabilities by using the REST semantics provided by <code>cowboy_rest</code>.</p>
-
-<h2 id="types">Types</h2>
-
-<h3 id="opts">opts() = {priv_file, atom(), string() | binary()} | {priv_file, atom(), string() | binary(), extra()} | {file, string() | binary()} | {file, string() | binary(), extra()} | {priv_dir, atom(), string() | binary()} | {priv_dir, atom(), string() | binary(), extra()} | {dir, string() | binary()} | {dir, string() | binary(), extra()}</h3>
-
-<p>Configuration for the static handler.</p>
-
-<p>The handler can be configured for sending either one file or a directory (including its subdirectories).</p>
-
-<p>Extra options allow you to define how the etag should be calculated and how the mimetype of files should be detected. They are defined as follow, but do note that these types are not exported, only the <code>opts/0</code> type is public.</p>
-
-<h3 id="extra">extra() = [extra_etag() | extra_mimetypes()]</h3>
-
-<h3 id="extra_etag">extra_etag() = {etag, module(), function()} | {etag, false}</h3>
-
-<h3 id="extra_mimetypes">extra_mimetypes() = {mimetypes, module(), function()} | {mimetypes, binary() | {binary(), binary(), [{binary(), binary()}]}}</h3>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/cowboy_sub_protocol/index.html b/docs/en/cowboy/1.0/manual/cowboy_sub_protocol/index.html
deleted file mode 100644
index 9fce2fb3..00000000
--- a/docs/en/cowboy/1.0/manual/cowboy_sub_protocol/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_sub_protocol</span></h1>
-
-<p>The <code>cowboy_sub_protocol</code> behaviour defines the interface used by modules that implement a protocol on top of HTTP.</p>
-
-<h2 id="types">Types</h2>
-
-<p>None.</p>
-
-<h2 id="callbacks">Callbacks</h2>
-
-<h3 id="upgrade">upgrade(Req, Env, Handler, Opts) -> {ok, Req, Env} | {suspend, Module, Function, Args} | {halt, Req} | {error, StatusCode, Req}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Req = cowboy_req:req()</li>
-<li>Env = env()</li>
-<li>Handler = module()</li>
-<li>Opts = any()</li>
-<li>Module = module()</li>
-<li>Function = atom()</li>
-<li>Args = [any()]</li>
-<li>StatusCode = cowboy:http_status()</li>
-</ul>
-
-<p>Upgrade the protocol.</p>
-
-<p>Please refer to the <code>cowboy_middleware</code> manual for a description of the return values.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/cowboy_websocket/index.html b/docs/en/cowboy/1.0/manual/cowboy_websocket/index.html
deleted file mode 100644
index bca70230..00000000
--- a/docs/en/cowboy/1.0/manual/cowboy_websocket/index.html
+++ /dev/null
@@ -1,208 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_websocket</span></h1>
-
-<p>The <code>cowboy_websocket</code> module implements the Websocket protocol.</p>
-
-<p>The callbacks for websocket handlers are defined in the manual for the <code>cowboy_websocket_handler</code> behaviour.</p>
-
-<h2 id="types">Types</h2>
-
-<h3 id="close_code">close_code() = 1000..4999</h3>
-
-<p>Reason for closing the connection.</p>
-
-<h3 id="frame">frame() = close | ping | pong | {text | binary | close | ping | pong, iodata()} | {close, close_code(), iodata()}</h3>
-
-<p>Frames that can be sent to the client.</p>
-
-<h2 id="meta_values">Meta values</h2>
-
-<h3 id="websocket_compress">websocket_compress</h3>
-
-<p>Type: true | false</p>
-
-<p>Whether a websocket compression extension in in use.</p>
-
-<h3 id="websocket_version">websocket_version</h3>
-
-<p>Type: 7 | 8 | 13</p>
-
-<p>The version of the Websocket protocol being used.</p>
-
-<h2 id="exports">Exports</h2>
-
-<p>None.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html b/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html
deleted file mode 100644
index 71ab1e36..00000000
--- a/docs/en/cowboy/1.0/manual/cowboy_websocket_handler/index.html
+++ /dev/null
@@ -1,273 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_websocket_handler</span></h1>
-
-<p>The <code>cowboy_websocket_handler</code> behaviour defines the interface used by Websocket handlers.</p>
-
-<p>The <code>init/3</code> and <code>websocket_init/3</code> callbacks will always be called, followed by zero or more calls to <code>websocket_handle/3</code> and <code>websocket_info/3</code>. The <code>websocket_terminate/3</code> will always be called last.</p>
-
-<h2 id="types">Types</h2>
-
-<p>None.</p>
-
-<h2 id="callbacks">Callbacks</h2>
-
-<h3 id="init">init({TransportName, ProtocolName}, Req, Opts) -> {upgrade, protocol, cowboy_websocket} | {upgrade, protocol, cowboy_websocket, Req, Opts}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>TransportName = tcp | ssl | atom()</li>
-<li>ProtocolName = http | atom()</li>
-<li>Req = cowboy_req:req()</li>
-<li>Opts = any()</li>
-</ul>
-
-<p>Upgrade the protocol to <code>cowboy_websocket</code>.</p>
-
-<h3 id="websocket_init">websocket_init(TransportName, Req, Opts) -> {ok, Req, State} | {ok, Req, State, hibernate} | {ok, Req, State, Timeout} | {ok, Req, State, Timeout, hibernate} | {shutdown, Req}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>TransportName = tcp | ssl | atom()</li>
-<li>Req = cowboy_req:req()</li>
-<li>Opts = any()</li>
-<li>State = any()</li>
-<li>Timeout = timeout()</li>
-</ul>
-
-<p>Initialize the state for this session.</p>
-
-<p>This function is called before the upgrade to Websocket occurs. It can be used to negotiate Websocket protocol extensions with the client. It will typically be used to register this process to an event manager or a message queue in order to receive the messages the handler wants to process.</p>
-
-<p>The connection will stay up for a duration of up to <code>Timeout</code> milliseconds after it last received data from the socket, at which point it will stop and close the connection. By default this value is set to <code>infinity</code>. It is recommended to either set this value or ensure by any other mechanism that the handler will be closed after a certain period of inactivity.</p>
-
-<p>The <code>hibernate</code> option will hibernate the process until it starts receiving either data from the Websocket connection or Erlang messages.</p>
-
-<p>The <code>shutdown</code> return value can be used to close the connection before upgrading to Websocket.</p>
-
-<h3 id="websocket_handle">websocket_handle(InFrame, Req, State) -> {ok, Req, State} | {ok, Req, State, hibernate} | {reply, OutFrame | [OutFrame], Req, State} | {reply, OutFrame | [OutFrame], Req, State, hibernate} | {shutdown, Req, State}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>InFrame = {text | binary | ping | pong, binary()}</li>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-<li>OutFrame = cowboy_websocket:frame()</li>
-</ul>
-
-<p>Handle the data received from the Websocket connection.</p>
-
-<p>This function will be called every time data is received from the Websocket connection.</p>
-
-<p>The <code>shutdown</code> return value can be used to close the connection. A close reply will also result in the connection being closed.</p>
-
-<p>The <code>hibernate</code> option will hibernate the process until it receives new data from the Websocket connection or an Erlang message.</p>
-
-<h3 id="websocket_info">websocket_info(Info, Req, State) -> {ok, Req, State} | {ok, Req, State, hibernate} | {reply, OutFrame | [OutFrame], Req, State} | {reply, OutFrame | [OutFrame], Req, State, hibernate} | {shutdown, Req, State}</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Info = any()</li>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-<li>OutFrame = cowboy_websocket:frame()</li>
-</ul>
-
-<p>Handle the Erlang message received.</p>
-
-<p>This function will be called every time an Erlang message has been received. The message can be any Erlang term.</p>
-
-<p>The <code>shutdown</code> return value can be used to close the connection. A close reply will also result in the connection being closed.</p>
-
-<p>The <code>hibernate</code> option will hibernate the process until it receives another message or new data from the Websocket connection.</p>
-
-<h3 id="websocket_terminate">websocket_terminate(Reason, Req, State) -> ok</h3>
-
-<p>Types:</p>
-
-<ul>
-<li>Reason = {normal, shutdown | timeout} | {remote, closed} | {remote, cowboy_websocket:close_code(), binary()} | {error, badencoding | badframe | closed | atom()}</li>
-<li>Req = cowboy_req:req()</li>
-<li>State = any()</li>
-</ul>
-
-<p>Perform any necessary cleanup of the state.</p>
-
-<p>The connection will be closed and the process stopped right after this call.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/http_status_codes/index.html b/docs/en/cowboy/1.0/manual/http_status_codes/index.html
deleted file mode 100644
index d7dbf7b7..00000000
--- a/docs/en/cowboy/1.0/manual/http_status_codes/index.html
+++ /dev/null
@@ -1,305 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>HTTP status codes</span></h1>
-
-<p>This chapter aims to list all HTTP status codes that Cowboy may return, with details on the reasons why. The list given here only includes the replies that Cowboy sends, not user replies.</p>
-
-<h3 id="100 continue">100 Continue</h3>
-
-<p>When the client sends an <code>expect: 100-continue</code> header, Cowboy automatically sends a this status code before trying to read the request body. This behavior can be disabled using the appropriate body option.</p>
-
-<h3 id="101 switching protocols">101 Switching Protocols</h3>
-
-<p>This is the status code sent when switching to the Websocket protocol.</p>
-
-<h3 id="200 ok">200 OK</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="201 created">201 Created</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="202 accepted">202 Accepted</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="204 no content">204 No Content</h3>
-
-<p>This status code is sent when the processing of a request ends without any reply having been sent. It may also be sent by <code>cowboy_rest</code> under normal conditions.</p>
-
-<h3 id="300 multiple choices">300 Multiple Choices</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="301 moved permanently">301 Moved Permanently</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="303 see other">303 See Other</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="304 not modified">304 Not Modified</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="307 temporary redirect">307 Temporary Redirect</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="400 bad request">400 Bad Request</h3>
-
-<p>Cowboy will send this status code for any of the following reasons:</p>
-
-<ul>
-<li>Too many empty lines were sent before the request.</li>
-<li>The request-line could not be parsed.</li>
-<li>Too many headers were sent.</li>
-<li>A header name was too long.</li>
-<li>A header value was too long.</li>
-<li>The host header was missing from an HTTP/1.1 request.</li>
-<li>The host header could not be parsed.</li>
-<li>The requested host was not found.</li>
-<li>The requested path could not be parsed.</li>
-<li>The accept header could not be parsed when using REST.</li>
-<li>REST under normal conditions.</li>
-<li>A Websocket upgrade failed.</li>
-</ul>
-
-<h3 id="401 unauthorized">401 Unauthorized</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="403 forbidden">403 Forbidden</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="404 not found">404 Not Found</h3>
-
-<p>This status code is sent when the router successfully resolved the host but didn't find a matching path for the request. It may also be sent by <code>cowboy_rest</code> under normal conditions.</p>
-
-<h3 id="405 method not allowed">405 Method Not Allowed</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="406 not acceptable">406 Not Acceptable</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="408 request timeout">408 Request Timeout</h3>
-
-<p>Cowboy will send this status code to the client if the client started to send a request, indicated by the request-line being received fully, but failed to send all headers in a reasonable time.</p>
-
-<h3 id="409 conflict">409 Conflict</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="410 gone">410 Gone</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="412 precondition failed">412 Precondition Failed</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="413 request entity too large">413 Request Entity Too Large</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="414 request-uri too long">414 Request-URI Too Long</h3>
-
-<p>Cowboy will send this status code to the client if the request-line is too long. It may also be sent by <code>cowboy_rest</code> under normal conditions.</p>
-
-<h3 id="415 unsupported media type">415 Unsupported Media Type</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="500 internal server error">500 Internal Server Error</h3>
-
-<p>This status code is sent when a crash occurs in HTTP, loop or REST handlers, or when an invalid return value is returned. It may also be sent by <code>cowboy_rest</code> under normal conditions.</p>
-
-<h3 id="501 not implemented">501 Not Implemented</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="503 service unavailable">503 Service Unavailable</h3>
-
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-
-<h3 id="505 http version not supported">505 HTTP Version Not Supported</h3>
-
-<p>Cowboy only supports the versions 1.0 and 1.1 of HTTP. In all other cases this status code is sent back to the client and the connection is closed.</p>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/1.0/manual/index.html b/docs/en/cowboy/1.0/manual/index.html
deleted file mode 100644
index feaaa5b0..00000000
--- a/docs/en/cowboy/1.0/manual/index.html
+++ /dev/null
@@ -1,197 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Nine Nines Support: Cowboy Function Reference</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Change them or set them up as you like -->
- <meta name="description" content="">
- <meta name="author" content="(Soft10) Pol Cámara">
-
- <!-- Stylesheets -->
- <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/99s.css" rel="stylesheet">
-<!-- <link href="js/google-code-prettify/prettify.css" rel="stylesheet"> -->
- <link href="/css/sh99s.css" rel="stylesheet"/>
-
- <!-- Enables html5 support on older browsers, other js is placed at the end of the page to speed up loading -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
- <link rel="alternate" href="/feeds/atom.xml" type="application/atom+xml" title="Nine Nines Atom Feed">
- </head>
-
- <body class="big_text docs">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
- <!-- Top navigation and social icons-->
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Erlang training" href="/training">Training</a></li>
- <li><a title="Technical publications" href="/articles">Articles</a></li>
- <li><a title="Our talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Our services" href="/support">Pricing &amp; Sponsoring</a></li>
- <li><a title="Community support" href="https://ninenines.eu/archives/extend/">Mailing Lists</a></li>
- <li><a title="Contact us" href="mailto:[email protected]">Contact</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check our Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li class="dropdown" id="twitter-links">
- <a href="#twitter-links" class="dropdown-toggle" data-toggle="dropdown" title="Follow us on Twitter">
- <img src="/img/ico_microblog.png" data-hover="/img/ico_microblog_alt.png" alt="Twitter">
- </a>
- <ul class="dropdown-menu">
- <li><a title="Visit Loïc Hoguin's Twitter Account" href="http://twitter.com/lhoguin">@lhoguin</a></li>
- <!-- <li class="divider"></li>
- <li><a title="Visit our official Twitter account" href="#">@99s</a></li> -->
- </ul>
- </li>
- <!-- <li>
- <a href="/css/" title="Add us on Linkedin"><img src="/img/ico_linkedin.png" data-hover="img/ico_linkedin_alt.png" alt="Linkedin"></a>
- </li> -->
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
- </header>
-
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Cowboy Function Reference</span></h1>
-
-<p>The function reference documents the public interface of Cowboy.</p>
-
-<ul>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_app">The Cowboy Application</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy">cowboy</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_handler">cowboy_handler</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_http_handler">cowboy_http_handler</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_loop_handler">cowboy_loop_handler</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_middleware">cowboy_middleware</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_protocol">cowboy_protocol</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_req">cowboy_req</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_rest">cowboy_rest</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_router">cowboy_router</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_spdy">cowboy_spdy</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_static">cowboy_static</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_sub_protocol">cowboy_sub_protocol</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_websocket">cowboy_websocket</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/cowboy_websocket_handler">cowboy_websocket_handler</a></li>
-<li><a href="/docs/en/cowboy/1.0/manual/http_status_codes">HTTP status codes</a></li>
-</ul>
-
-
-<!-- a.code -->
-</div>
-
-<div class="span3 sidecol">
-<div class="input-append">
-<form id="form-search" class="form-search" action="#">
- <input id="input-search" type="text" placeholder="Function search" autocomplete="off" autofocus class="input-medium search-query span2">
- <button type="submit" class="btn btn-success">Go</button>
-</form>
-</div>
-
-<h3 id="docs-nav">Navigation</h3>
-
-<h3>See also</h3><ul><li><a href="/docs/en/cowboy/1.0/guide/">User Guide</a></li><li><a href="/docs/en/cowboy/1.0/index.html">README</a></li></ul>
-
-<h3>Version select</h3>
-<ul>
-
- <li><a href="/docs/en/cowboy/1.0/manual/"><strong>1.0</strong></a></li>
-
- <li><a href="/docs/en/cowboy/HEAD/manual/"><strong>HEAD</strong></a></li>
-
-</ul>
-
-</div>
-</div>
-</div>
-</div>
-
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Nine Nines 2012-2014</p>
- </div>
- </div>
- </div>
- </footer>
-
- <!-- Javascript -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="/js/bootstrap-carousel.js"></script>
- <script src="/js/bootstrap-dropdown.js"></script>
- <script src="/js/custom.js"></script>
-
-
-<script type="text/javascript" src="/js/shCore.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushBash.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushErlang.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushJScript.js"></script>
-<script type="text/javascript" src="/js/shlang/shBrushPlain.js"></script>
-<script type="text/javascript">SyntaxHighlighter.all();</script>
-
-<script type="text/javascript" src="/js/fuse.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function(){
- var f;
-
- $.getJSON("/docs/db.json", function(data){
- f = new Fuse(data, {keys: ["n"], threshold: 0.3});
- $("<ul id=\"search-results\">").insertAfter("#form-search");
- });
-
- $("#input-search").keyup(function(e){if(f){if (e.which != 13 ){
- var results = f.search($(this).val());
- if (results.length == 0){
- $("#form-search").attr("action", "#");
- }else{
- $("#form-search").attr("action", results[0].l);
- }
-
- $("#search-results").empty();
- for (var i = 0; i < 10 && i < results.length; i++){
- $("<li><a href=\"" + results[i].l + "\">" + results[i].n + "</a></li>")
- .appendTo("#search-results");
- }
- }}});
-});
-</script>
-
- </body>
-</html>
diff --git a/docs/en/cowboy/2.0/guide/constraints.asciidoc b/docs/en/cowboy/2.0/guide/constraints.asciidoc
deleted file mode 100644
index 6cc10752..00000000
--- a/docs/en/cowboy/2.0/guide/constraints.asciidoc
+++ /dev/null
@@ -1,123 +0,0 @@
-[[constraints]]
-== Constraints
-
-Constraints are validation and conversion functions applied
-to user input.
-
-They are used in various places in Cowboy, including the
-router and the `cowboy_req` match functions.
-
-=== Syntax
-
-Constraints are provided as a list of fields. For each field
-in the list, specific constraints can be applied, as well as
-a default value if the field is missing.
-
-A field can take the form of an atom `field`, a tuple with
-constraints `{field, Constraints}` or a tuple with constraints
-and a default value `{field, Constraints, Default}`.
-The `field` form indicates the field is mandatory.
-
-Note that when used with the router, only the second form
-makes sense, as it does not use the default and the field
-is always defined.
-
-Constraints for each field are provided as an ordered list
-of atoms or funs to apply. Built-in constraints are provided
-as atoms, while custom constraints are provided as funs.
-
-When multiple constraints are provided, they are applied in
-the order given. If the value has been modified by a constraint
-then the next one receives the new value.
-
-For example, the following constraints will first validate
-and convert the field `my_value` to an integer, and then
-check that the integer is positive:
-
-[source,erlang]
-----
-PositiveFun = fun
- (_, V) when V > 0 ->
- {ok, V};
- (_, _) ->
- {error, not_positive}
-end,
-{my_value, [int, PositiveFun]}.
-----
-
-We ignore the first fun argument in this snippet. We shouldn't.
-We will simply learn what it is later in this chapter.
-
-When there's only one constraint, it can be provided directly
-without wrapping it into a list:
-
-[source,erlang]
-----
-{my_value, int}
-----
-
-=== Built-in constraints
-
-Built-in constraints are specified as an atom:
-
-[cols="<,<",options="header"]
-|===
-| Constraint | Description
-| int | Converts binary value to integer.
-| nonempty | Ensures the binary value is non-empty.
-|===
-
-=== Custom constraints
-
-Custom constraints are specified as a fun. This fun takes
-two arguments. The first argument indicates the operation
-to be performed, and the second is the value. What the
-value is and what must be returned depends on the operation.
-
-Cowboy currently defines three operations. The operation
-used for validating and converting user input is the `forward`
-operation.
-
-[source,erlang]
-----
-int(forward, Value) ->
- try
- {ok, binary_to_integer(Value)}
- catch _:_ ->
- {error, not_an_integer}
- end;
-----
-
-The value must be returned even if it is not converted
-by the constraint.
-
-The `reverse` operation does the opposite: it
-takes a converted value and changes it back to what the
-user input would have been.
-
-[source,erlang]
-----
-int(reverse, Value) ->
- try
- {ok, integer_to_binary(Value)}
- catch _:_ ->
- {error, not_an_integer}
- end;
-----
-
-Finally, the `format_error` operation takes an error
-returned by any other operation and returns a formatted
-human-readable error message.
-
-[source,erlang]
-----
-int(format_error, {not_an_integer, Value}) ->
- io_lib:format("The value ~p is not an integer.", [Value]).
-----
-
-Notice that for this case you get both the error and
-the value that was given to the constraint that produced
-this error.
-
-Cowboy will not catch exceptions coming from constraint
-functions. They should be written to not emit any exceptions.
diff --git a/docs/en/cowboy/2.0/guide/constraints/index.html b/docs/en/cowboy/2.0/guide/constraints/index.html
deleted file mode 100644
index 13a9e647..00000000
--- a/docs/en/cowboy/2.0/guide/constraints/index.html
+++ /dev/null
@@ -1,264 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Constraints</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Constraints</span></h1>
-
-<p>Constraints are validation and conversion functions applied to user input.</p>
-<p>They are used in various places in Cowboy, including the router and the <code>cowboy_req</code> match functions.</p>
-<h2 id="_syntax">Syntax</h2>
-<p>Constraints are provided as a list of fields. For each field in the list, specific constraints can be applied, as well as a default value if the field is missing.</p>
-<p>A field can take the form of an atom <code>field</code>, a tuple with constraints <code>{field, Constraints}</code> or a tuple with constraints and a default value <code>{field, Constraints, Default}</code>. The <code>field</code> form indicates the field is mandatory.</p>
-<p>Note that when used with the router, only the second form makes sense, as it does not use the default and the field is always defined.</p>
-<p>Constraints for each field are provided as an ordered list of atoms or funs to apply. Built-in constraints are provided as atoms, while custom constraints are provided as funs.</p>
-<p>When multiple constraints are provided, they are applied in the order given. If the value has been modified by a constraint then the next one receives the new value.</p>
-<p>For example, the following constraints will first validate and convert the field <code>my_value</code> to an integer, and then check that the integer is positive:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PositiveFun</font> <font color="#990000">=</font> <b><font color="#0000FF">fun</font></b>
- (<font color="#990000">_</font>, <font color="#009900">V</font>) <b><font color="#0000FF">when</font></b> <font color="#009900">V</font> <font color="#990000">&gt;</font> <font color="#993399">0</font> <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">V</font>};
- (<font color="#990000">_</font>, <font color="#990000">_</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">error</font>, <font color="#FF6600">not_positive</font>}
-<b><font color="#0000FF">end</font></b>,
-{<font color="#FF6600">my_value</font>, [<font color="#FF6600">int</font>, <font color="#009900">PositiveFun</font>]}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>We ignore the first fun argument in this snippet. We shouldn&apos;t. We will simply learn what it is later in this chapter.</p>
-<p>When there&apos;s only one constraint, it can be provided directly without wrapping it into a list:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">my_value</font>, <font color="#FF6600">int</font>}</tt></pre>
-</div></div>
-<h2 id="_built_in_constraints">Built-in constraints</h2>
-<p>Built-in constraints are specified as an atom:</p>
-<table rules="all" width="100%" frame="border"
- cellspacing="0" cellpadding="4">
-<thead><tr><th>Constraint</th>
-<th>Description</th>
-</tr></thead><tbody><tr><td>int</td>
-<td>Converts binary value to integer.</td>
-</tr>
-<tr><td>nonempty</td>
-<td>Ensures the binary value is non-empty.</td>
-</tr>
-</tbody></table>
-<h2 id="_custom_constraints">Custom constraints</h2>
-<p>Custom constraints are specified as a fun. This fun takes two arguments. The first argument indicates the operation to be performed, and the second is the value. What the value is and what must be returned depends on the operation.</p>
-<p>Cowboy currently defines three operations. The operation used for validating and converting user input is the <code>forward</code> operation.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">int</font></b>(<font color="#FF6600">forward</font>, <font color="#009900">Value</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">try</font></b>
- {<font color="#FF6600">ok</font>, <b><font color="#000000">binary_to_integer</font></b>(<font color="#009900">Value</font>)}
- <b><font color="#0000FF">catch</font></b> <font color="#990000">_:_</font> <font color="#990000">-&gt;</font>
- {<font color="#FF6600">error</font>, <font color="#FF6600">not_an_integer</font>}
- <b><font color="#0000FF">end</font></b>;</tt></pre>
-</div></div>
-<p>The value must be returned even if it is not converted by the constraint.</p>
-<p>The <code>reverse</code> operation does the opposite: it takes a converted value and changes it back to what the user input would have been.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">int</font></b>(<font color="#FF6600">reverse</font>, <font color="#009900">Value</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">try</font></b>
- {<font color="#FF6600">ok</font>, <b><font color="#000000">integer_to_binary</font></b>(<font color="#009900">Value</font>)}
- <b><font color="#0000FF">catch</font></b> <font color="#990000">_:_</font> <font color="#990000">-&gt;</font>
- {<font color="#FF6600">error</font>, <font color="#FF6600">not_an_integer</font>}
- <b><font color="#0000FF">end</font></b>;</tt></pre>
-</div></div>
-<p>Finally, the <code>format_error</code> operation takes an error returned by any other operation and returns a formatted human-readable error message.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">int</font></b>(<font color="#FF6600">format_error</font>, {<font color="#FF6600">not_an_integer</font>, <font color="#009900">Value</font>}) <font color="#990000">-&gt;</font>
- <b><font color="#000000">io_lib:format</font></b>(<font color="#FF0000">"The value ~p is not an integer."</font>, [<font color="#009900">Value</font>])<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Notice that for this case you get both the error and the value that was given to the constraint that produced this error.</p>
-<p>Cowboy will not catch exceptions coming from constraint functions. They should be written to not emit any exceptions.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/routing/">
- Routing
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/handlers/">
- Handlers
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/cookies.asciidoc b/docs/en/cowboy/2.0/guide/cookies.asciidoc
deleted file mode 100644
index 4825031b..00000000
--- a/docs/en/cowboy/2.0/guide/cookies.asciidoc
+++ /dev/null
@@ -1,139 +0,0 @@
-[[cookies]]
-== Using cookies
-
-Cookies are a mechanism allowing applications to maintain
-state on top of the stateless HTTP protocol.
-
-Cookies are a name/value store where the names and values are
-stored in plain text. They expire either after a delay
-or when the browser closes. They can be configured on a
-specific domain name or path, and restricted to secure
-resources (sent or downloaded over HTTPS), or restricted
-to the server (disallowing access from client-side scripts).
-
-Cookie names are de facto case sensitive.
-
-Cookies are stored client-side and sent with every subsequent
-request that matches the domain and path for which they were
-stored, until they expire. This can create a non-negligible
-cost.
-
-Cookies should not be considered secure. They are stored on
-the user's computer in plain text, and can be read by any
-program. They can also be read by proxies when using clear
-connections. Always validate the value before using it,
-and never store any sensitive information inside it.
-
-Cookies set by the server are only available in requests
-following the client reception of the response containing
-them.
-
-Cookies may be sent repeatedly. This is often useful to
-update the expiration time and avoid losing a cookie.
-
-=== Setting cookies
-
-By default cookies are defined for the duration of the session:
-
-[source,erlang]
-----
-SessionID = generate_session_id(),
-Req = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, Req0).
-----
-
-They can also be set for a duration in seconds:
-
-[source,erlang]
-----
-SessionID = generate_session_id(),
-Req = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, Req0,
- #{max_age => 3600}).
-----
-
-To delete cookies, set `max_age` to 0:
-
-[source,erlang]
-----
-SessionID = generate_session_id(),
-Req = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, Req0,
- #{max_age => 0}).
-----
-
-To restrict cookies to a specific domain and path, the options
-of the same name can be used:
-
-[source,erlang]
-----
-Req = cowboy_req:set_resp_cookie(<<"inaccount">>, <<"1">>, Req0,
- #{domain => "my.example.org", path => "/account"}).
-----
-
-Cookies will be sent with requests to this domain and all
-its subdomains, and to resources on this path or deeper
-in the path hierarchy.
-
-To restrict cookies to secure channels (typically resources
-available over HTTPS):
-
-[source,erlang]
-----
-SessionID = generate_session_id(),
-Req = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, Req0,
- #{secure => true}).
-----
-
-To prevent client-side scripts from accessing a cookie:
-
-[source,erlang]
-----
-SessionID = generate_session_id(),
-Req = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, Req0,
- #{http_only => true}).
-----
-
-Cookies may also be set client-side, for example using
-Javascript.
-
-=== Reading cookies
-
-The client only ever sends back the cookie name and value.
-All other options that can be set are never sent back.
-
-Cowboy provides two functions for reading cookies. Both
-involve parsing the cookie header(s) and so should not
-be called repeatedly.
-
-You can get all cookies as a key/value list:
-
-[source,erlang]
-Cookies = cowboy_req:parse_cookies(Req),
-{_, Lang} = lists:keyfind(<<"lang">>, 1, Cookies).
-
-Or you can perform a match against cookies and retrieve
-only the ones you need, while at the same time doing
-any required post processing using xref:constraints[constraints].
-This function returns a map:
-
-[source,erlang]
-#{id := ID, lang := Lang} = cowboy_req:match_cookies([id, lang], Req).
-
-You can use constraints to validate the values while matching
-them. The following snippet will crash if the `id` cookie is
-not an integer number or if the `lang` cookie is empty. Additionally
-the `id` cookie value will be converted to an integer term:
-
-[source,erlang]
-CookiesMap = cowboy_req:match_cookies([{id, int}, {lang, nonempty}], Req).
-
-Note that if two cookies share the same name, then the map value
-will be a list of the two cookie values.
-
-A default value can be provided. The default will be used
-if the `lang` cookie is not found. It will not be used if
-the cookie is found but has an empty value:
-
-[source,erlang]
-#{lang := Lang} = cowboy_req:match_cookies([{lang, [], <<"en-US">>}], Req).
-
-If no default is provided and the value is missing, an
-exception is thrown.
diff --git a/docs/en/cowboy/2.0/guide/cookies/index.html b/docs/en/cowboy/2.0/guide/cookies/index.html
deleted file mode 100644
index 539467ca..00000000
--- a/docs/en/cowboy/2.0/guide/cookies/index.html
+++ /dev/null
@@ -1,281 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Using cookies</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Using cookies</span></h1>
-
-<p>Cookies are a mechanism allowing applications to maintain state on top of the stateless HTTP protocol.</p>
-<p>Cookies are a name/value store where the names and values are stored in plain text. They expire either after a delay or when the browser closes. They can be configured on a specific domain name or path, and restricted to secure resources (sent or downloaded over HTTPS), or restricted to the server (disallowing access from client-side scripts).</p>
-<p>Cookie names are de facto case sensitive.</p>
-<p>Cookies are stored client-side and sent with every subsequent request that matches the domain and path for which they were stored, until they expire. This can create a non-negligible cost.</p>
-<p>Cookies should not be considered secure. They are stored on the user&apos;s computer in plain text, and can be read by any program. They can also be read by proxies when using clear connections. Always validate the value before using it, and never store any sensitive information inside it.</p>
-<p>Cookies set by the server are only available in requests following the client reception of the response containing them.</p>
-<p>Cookies may be sent repeatedly. This is often useful to update the expiration time and avoid losing a cookie.</p>
-<h2 id="_setting_cookies">Setting cookies</h2>
-<p>By default cookies are defined for the duration of the session:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SessionID</font> <font color="#990000">=</font> <b><font color="#000000">generate_session_id</font></b>(),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">SessionID</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>They can also be set for a duration in seconds:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SessionID</font> <font color="#990000">=</font> <b><font color="#000000">generate_session_id</font></b>(),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">SessionID</font>, <font color="#009900">Req0</font>,
- #{<font color="#0000FF">max_age</font> <font color="#990000">=&gt;</font> <font color="#993399">3600</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>To delete cookies, set <code>max_age</code> to 0:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SessionID</font> <font color="#990000">=</font> <b><font color="#000000">generate_session_id</font></b>(),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">SessionID</font>, <font color="#009900">Req0</font>,
- #{<font color="#0000FF">max_age</font> <font color="#990000">=&gt;</font> <font color="#993399">0</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>To restrict cookies to a specific domain and path, the options of the same name can be used:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"inaccount"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"1"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>,
- #{<font color="#0000FF">domain</font> <font color="#990000">=&gt;</font> <font color="#FF0000">"my.example.org"</font>, <font color="#0000FF">path</font> <font color="#990000">=&gt;</font> <font color="#FF0000">"/account"</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cookies will be sent with requests to this domain and all its subdomains, and to resources on this path or deeper in the path hierarchy.</p>
-<p>To restrict cookies to secure channels (typically resources available over HTTPS):</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SessionID</font> <font color="#990000">=</font> <b><font color="#000000">generate_session_id</font></b>(),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">SessionID</font>, <font color="#009900">Req0</font>,
- #{<font color="#0000FF">secure</font> <font color="#990000">=&gt;</font> <font color="#000080">true</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>To prevent client-side scripts from accessing a cookie:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SessionID</font> <font color="#990000">=</font> <b><font color="#000000">generate_session_id</font></b>(),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">SessionID</font>, <font color="#009900">Req0</font>,
- #{<font color="#0000FF">http_only</font> <font color="#990000">=&gt;</font> <font color="#000080">true</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cookies may also be set client-side, for example using Javascript.</p>
-<h2 id="_reading_cookies">Reading cookies</h2>
-<p>The client only ever sends back the cookie name and value. All other options that can be set are never sent back.</p>
-<p>Cowboy provides two functions for reading cookies. Both involve parsing the cookie header(s) and so should not be called repeatedly.</p>
-<p>You can get all cookies as a key/value list:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Cookies</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:parse_cookies</font></b>(<font color="#009900">Req</font>),
-{<font color="#990000">_</font>, <font color="#009900">Lang</font>} <font color="#990000">=</font> <b><font color="#000000">lists:keyfind</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"lang"</font><font color="#990000">&gt;&gt;</font>, <font color="#993399">1</font>, <font color="#009900">Cookies</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Or you can perform a match against cookies and retrieve only the ones you need, while at the same time doing any required post processing using <a href="../constraints">constraints</a>. This function returns a map:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">id</font> <font color="#990000">:=</font> <font color="#009900">ID</font>, <font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_cookies</font></b>([<font color="#FF6600">id</font>, <font color="#FF6600">lang</font>], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You can use constraints to validate the values while matching them. The following snippet will crash if the <code>id</code> cookie is not an integer number or if the <code>lang</code> cookie is empty. Additionally the <code>id</code> cookie value will be converted to an integer term:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">CookiesMap</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_cookies</font></b>([{<font color="#FF6600">id</font>, <font color="#FF6600">int</font>}, {<font color="#FF6600">lang</font>, <font color="#FF6600">nonempty</font>}], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Note that if two cookies share the same name, then the map value will be a list of the two cookie values.</p>
-<p>A default value can be provided. The default will be used if the <code>lang</code> cookie is not found. It will not be used if the cookie is found but has an empty value:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_cookies</font></b>([{<font color="#FF6600">lang</font>, [], <font color="#990000">&lt;&lt;</font><font color="#FF0000">"en-US"</font><font color="#990000">&gt;&gt;</font>}], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>If no default is provided and the value is missing, an exception is thrown.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/resp/">
- Sending a response
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/multipart/">
- Multipart requests
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/cowboy.sty b/docs/en/cowboy/2.0/guide/cowboy.sty
deleted file mode 100644
index d5e0d3be..00000000
--- a/docs/en/cowboy/2.0/guide/cowboy.sty
+++ /dev/null
@@ -1,8 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{asciidoc-dblatex}[2012/10/24 AsciiDoc DocBook Style]
-
-%% Just use the original package and pass the options.
-\RequirePackageWithOptions{docbook}
-
-%% Define an alias for make snippets to be compatible with source-highlighter.
-\lstalias{makefile}{make}
diff --git a/docs/en/cowboy/2.0/guide/erlang_web.asciidoc b/docs/en/cowboy/2.0/guide/erlang_web.asciidoc
deleted file mode 100644
index f528adc3..00000000
--- a/docs/en/cowboy/2.0/guide/erlang_web.asciidoc
+++ /dev/null
@@ -1,209 +0,0 @@
-[[erlang_web]]
-== Erlang and the Web
-
-Erlang is the ideal platform for writing Web applications.
-Its features are a perfect match for the requirements of
-modern Web applications.
-
-=== The Web is concurrent
-
-When you access a website there is little concurrency
-involved. A few connections are opened and requests
-are sent through these connections. Then the web page
-is displayed on your screen. Your browser will only
-open up to 4 or 8 connections to the server, depending
-on your settings. This isn't much.
-
-But think about it. You are not the only one accessing
-the server at the same time. There can be hundreds, if
-not thousands, if not millions of connections to the
-same server at the same time.
-
-Even today a lot of systems used in production haven't
-solved the C10K problem (ten thousand concurrent connections).
-And the ones who did are trying hard to get to the next
-step, C100K, and are pretty far from it.
-
-Erlang meanwhile has no problem handling millions of
-connections. At the time of writing there are application
-servers written in Erlang that can handle more than two
-million connections on a single server in a real production
-application, with spare memory and CPU!
-
-The Web is concurrent, and Erlang is a language designed
-for concurrency, so it is a perfect match.
-
-Of course, various platforms need to scale beyond a few
-million connections. This is where Erlang's built-in
-distribution mechanisms come in. If one server isn't
-enough, add more! Erlang allows you to use the same code
-for talking to local processes or to processes in other
-parts of your cluster, which means you can scale very
-quickly if the need arises.
-
-The Web has large userbases, and the Erlang platform was
-designed to work in a distributed setting, so it is a
-perfect match.
-
-Or is it? Surely you can find solutions to handle that many
-concurrent connections with your favorite language... But all
-these solutions will break down in the next few years. Why?
-Firstly because servers don't get any more powerful, they
-instead get a lot more cores and memory. This is only useful
-if your application can use them properly, and Erlang is
-light-years away from anything else in that area. Secondly,
-today your computer and your phone are online, tomorrow your
-watch, goggles, bike, car, fridge and tons of other devices
-will also connect to various applications on the Internet.
-
-Only Erlang is prepared to deal with what's coming.
-
-=== The Web is soft real time
-
-What does soft real time mean, you ask? It means we want the
-operations done as quickly as possible, and in the case of
-web applications, it means we want the data propagated fast.
-
-In comparison, hard real time has a similar meaning, but also
-has a hard time constraint, for example an operation needs to
-be done in under N milliseconds otherwise the system fails
-entirely.
-
-Users aren't that needy yet, they just want to get access
-to their content in a reasonable delay, and they want the
-actions they make to register at most a few seconds after
-they submitted them, otherwise they'll start worrying about
-whether it successfully went through.
-
-The Web is soft real time because taking longer to perform an
-operation would be seen as bad quality of service.
-
-Erlang is a soft real time system. It will always run
-processes fairly, a little at a time, switching to another
-process after a while and preventing a single process to
-steal resources from all others. This means that Erlang
-can guarantee stable low latency of operations.
-
-Erlang provides the guarantees that the soft real time Web
-requires.
-
-=== The Web is asynchronous
-
-Long ago, the Web was synchronous because HTTP was synchronous.
-You fired a request, and then waited for a response. Not anymore.
-It all began when XmlHttpRequest started being used. It allowed
-the client to perform asynchronous calls to the server.
-
-Then Websocket appeared and allowed both the server and the client
-to send data to the other endpoint completely asynchronously. The
-data is contained within frames and no response is necessary.
-
-Erlang processes work the same. They send each other data contained
-within messages and then continue running without needing a response.
-They tend to spend most of their time inactive, waiting for a new
-message, and the Erlang VM happily activate them when one is received.
-
-It is therefore quite easy to imagine Erlang being good at receiving
-Websocket frames, which may come in at unpredictable times, pass the
-data to the responsible processes which are always ready waiting for
-new messages, and perform the operations required by only activating
-the required parts of the system.
-
-The more recent Web technologies, like Websocket of course, but also
-HTTP/2.0, are all fully asynchronous protocols. The concept
-of requests and responses is retained of course, but anything could
-be sent in between, by both the client or the browser, and the
-responses could also be received in a completely different order.
-
-Erlang is by nature asynchronous and really good at it thanks to the
-great engineering that has been done in the VM over the years. It's
-only natural that it's so good at dealing with the asynchronous Web.
-
-=== The Web is omnipresent
-
-The Web has taken a very important part of our lives. We're
-connected at all times, when we're on our phone, using our computer,
-passing time using a tablet while in the bathroom... And this
-isn't going to slow down, every single device at home or on us
-will be connected.
-
-All these devices are always connected. And with the number of
-alternatives to give you access to the content you seek, users
-tend to not stick around when problems arise. Users today want
-their applications to be always available and if it's having
-too many issues they just move on.
-
-Despite this, when developers choose a product to use for building
-web applications, their only concern seems to be "Is it fast?",
-and they look around for synthetic benchmarks showing which one
-is the fastest at sending "Hello world" with only a handful
-concurrent connections. Web benchmarks haven't been representative
-of reality in a long time, and are drifting further away as
-time goes on.
-
-What developers should really ask themselves is "Can I service
-all my users with no interruption?" and they'd find that they have
-two choices. They can either hope for the best, or they can use
-Erlang.
-
-Erlang is built for fault tolerance. When writing code in any other
-language, you have to check all the return values and act accordingly
-to avoid any unforeseen issues. If you're lucky, you won't miss
-anything important. When writing Erlang code, you can just check
-the success condition and ignore all errors. If an error happens,
-the Erlang process crashes and is then restarted by a special
-process called a supervisor.
-
-Erlang developers thus have no need to fear unhandled
-errors, and can focus on handling only the errors that should
-give some feedback to the user and let the system take care of
-the rest. This also has the advantage of allowing them to write
-a lot less code, and let them sleep at night.
-
-Erlang's fault tolerance oriented design is the first piece of
-what makes it the best choice for the omnipresent, always available
-Web.
-
-The second piece is Erlang's built-in distribution. Distribution
-is a key part of building a fault tolerant system, because it
-allows you to handle bigger failures, like a whole server going
-down, or even a data center entirely.
-
-Fault tolerance and distribution are important today, and will be
-vital in the future of the Web. Erlang is ready.
-
-=== Learn Erlang
-
-If you are new to Erlang, you may want to grab a book or
-two to get started. Those are my recommendations as the
-author of Cowboy.
-
-==== The Erlanger Playbook
-
-The Erlanger Playbook is an ebook I am currently writing,
-which covers a number of different topics from code to
-documentation to testing Erlang applications. It also has
-an Erlang section where it covers directly the building
-blocks and patterns, rather than details like the syntax.
-
-You can most likely read it as a complete beginner, but
-you will need a companion book to make the most of it.
-Buy it from the https://ninenines.eu[Nine Nines website].
-
-==== Programming Erlang
-
-This book is from one of the creator of Erlang, Joe
-Armstrong. It provides a very good explanation of what
-Erlang is and why it is so. It serves as a very good
-introduction to the language and platform.
-
-The book is http://pragprog.com/book/jaerlang2/programming-erlang[Programming Erlang],
-and it also features a chapter on Cowboy.
-
-==== Learn You Some Erlang for Great Good!
-
-http://learnyousomeerlang.com[LYSE] is a much more complete
-book covering many aspects of Erlang, while also providing
-stories and humor. Be warned: it's pretty verbose. It comes
-with a free online version and a more refined paper and
-ebook version.
diff --git a/docs/en/cowboy/2.0/guide/erlang_web/index.html b/docs/en/cowboy/2.0/guide/erlang_web/index.html
deleted file mode 100644
index cdc3ce35..00000000
--- a/docs/en/cowboy/2.0/guide/erlang_web/index.html
+++ /dev/null
@@ -1,230 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Erlang and the Web</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Erlang and the Web</span></h1>
-
-<p>Erlang is the ideal platform for writing Web applications. Its features are a perfect match for the requirements of modern Web applications.</p>
-<h2 id="_the_web_is_concurrent">The Web is concurrent</h2>
-<p>When you access a website there is little concurrency involved. A few connections are opened and requests are sent through these connections. Then the web page is displayed on your screen. Your browser will only open up to 4 or 8 connections to the server, depending on your settings. This isn&apos;t much.</p>
-<p>But think about it. You are not the only one accessing the server at the same time. There can be hundreds, if not thousands, if not millions of connections to the same server at the same time.</p>
-<p>Even today a lot of systems used in production haven&apos;t solved the C10K problem (ten thousand concurrent connections). And the ones who did are trying hard to get to the next step, C100K, and are pretty far from it.</p>
-<p>Erlang meanwhile has no problem handling millions of connections. At the time of writing there are application servers written in Erlang that can handle more than two million connections on a single server in a real production application, with spare memory and CPU!</p>
-<p>The Web is concurrent, and Erlang is a language designed for concurrency, so it is a perfect match.</p>
-<p>Of course, various platforms need to scale beyond a few million connections. This is where Erlang&apos;s built-in distribution mechanisms come in. If one server isn&apos;t enough, add more! Erlang allows you to use the same code for talking to local processes or to processes in other parts of your cluster, which means you can scale very quickly if the need arises.</p>
-<p>The Web has large userbases, and the Erlang platform was designed to work in a distributed setting, so it is a perfect match.</p>
-<p>Or is it? Surely you can find solutions to handle that many concurrent connections with your favorite language... But all these solutions will break down in the next few years. Why? Firstly because servers don&apos;t get any more powerful, they instead get a lot more cores and memory. This is only useful if your application can use them properly, and Erlang is light-years away from anything else in that area. Secondly, today your computer and your phone are online, tomorrow your watch, goggles, bike, car, fridge and tons of other devices will also connect to various applications on the Internet.</p>
-<p>Only Erlang is prepared to deal with what&apos;s coming.</p>
-<h2 id="_the_web_is_soft_real_time">The Web is soft real time</h2>
-<p>What does soft real time mean, you ask? It means we want the operations done as quickly as possible, and in the case of web applications, it means we want the data propagated fast.</p>
-<p>In comparison, hard real time has a similar meaning, but also has a hard time constraint, for example an operation needs to be done in under N milliseconds otherwise the system fails entirely.</p>
-<p>Users aren&apos;t that needy yet, they just want to get access to their content in a reasonable delay, and they want the actions they make to register at most a few seconds after they submitted them, otherwise they&apos;ll start worrying about whether it successfully went through.</p>
-<p>The Web is soft real time because taking longer to perform an operation would be seen as bad quality of service.</p>
-<p>Erlang is a soft real time system. It will always run processes fairly, a little at a time, switching to another process after a while and preventing a single process to steal resources from all others. This means that Erlang can guarantee stable low latency of operations.</p>
-<p>Erlang provides the guarantees that the soft real time Web requires.</p>
-<h2 id="_the_web_is_asynchronous">The Web is asynchronous</h2>
-<p>Long ago, the Web was synchronous because HTTP was synchronous. You fired a request, and then waited for a response. Not anymore. It all began when XmlHttpRequest started being used. It allowed the client to perform asynchronous calls to the server.</p>
-<p>Then Websocket appeared and allowed both the server and the client to send data to the other endpoint completely asynchronously. The data is contained within frames and no response is necessary.</p>
-<p>Erlang processes work the same. They send each other data contained within messages and then continue running without needing a response. They tend to spend most of their time inactive, waiting for a new message, and the Erlang VM happily activate them when one is received.</p>
-<p>It is therefore quite easy to imagine Erlang being good at receiving Websocket frames, which may come in at unpredictable times, pass the data to the responsible processes which are always ready waiting for new messages, and perform the operations required by only activating the required parts of the system.</p>
-<p>The more recent Web technologies, like Websocket of course, but also HTTP/2.0, are all fully asynchronous protocols. The concept of requests and responses is retained of course, but anything could be sent in between, by both the client or the browser, and the responses could also be received in a completely different order.</p>
-<p>Erlang is by nature asynchronous and really good at it thanks to the great engineering that has been done in the VM over the years. It&apos;s only natural that it&apos;s so good at dealing with the asynchronous Web.</p>
-<h2 id="_the_web_is_omnipresent">The Web is omnipresent</h2>
-<p>The Web has taken a very important part of our lives. We&apos;re connected at all times, when we&apos;re on our phone, using our computer, passing time using a tablet while in the bathroom... And this isn&apos;t going to slow down, every single device at home or on us will be connected.</p>
-<p>All these devices are always connected. And with the number of alternatives to give you access to the content you seek, users tend to not stick around when problems arise. Users today want their applications to be always available and if it&apos;s having too many issues they just move on.</p>
-<p>Despite this, when developers choose a product to use for building web applications, their only concern seems to be &quot;Is it fast?&quot;, and they look around for synthetic benchmarks showing which one is the fastest at sending &quot;Hello world&quot; with only a handful concurrent connections. Web benchmarks haven&apos;t been representative of reality in a long time, and are drifting further away as time goes on.</p>
-<p>What developers should really ask themselves is &quot;Can I service all my users with no interruption?&quot; and they&apos;d find that they have two choices. They can either hope for the best, or they can use Erlang.</p>
-<p>Erlang is built for fault tolerance. When writing code in any other language, you have to check all the return values and act accordingly to avoid any unforeseen issues. If you&apos;re lucky, you won&apos;t miss anything important. When writing Erlang code, you can just check the success condition and ignore all errors. If an error happens, the Erlang process crashes and is then restarted by a special process called a supervisor.</p>
-<p>Erlang developers thus have no need to fear unhandled errors, and can focus on handling only the errors that should give some feedback to the user and let the system take care of the rest. This also has the advantage of allowing them to write a lot less code, and let them sleep at night.</p>
-<p>Erlang&apos;s fault tolerance oriented design is the first piece of what makes it the best choice for the omnipresent, always available Web.</p>
-<p>The second piece is Erlang&apos;s built-in distribution. Distribution is a key part of building a fault tolerant system, because it allows you to handle bigger failures, like a whole server going down, or even a data center entirely.</p>
-<p>Fault tolerance and distribution are important today, and will be vital in the future of the Web. Erlang is ready.</p>
-<h2 id="_learn_erlang">Learn Erlang</h2>
-<p>If you are new to Erlang, you may want to grab a book or two to get started. Those are my recommendations as the author of Cowboy.</p>
-<h4 id="_the_erlanger_playbook">The Erlanger Playbook</h4>
-<p>The Erlanger Playbook is an ebook I am currently writing, which covers a number of different topics from code to documentation to testing Erlang applications. It also has an Erlang section where it covers directly the building blocks and patterns, rather than details like the syntax.</p>
-<p>You can most likely read it as a complete beginner, but you will need a companion book to make the most of it. Buy it from the <a href="https://ninenines.eu">Nine Nines website</a>.</p>
-<h4 id="_programming_erlang">Programming Erlang</h4>
-<p>This book is from one of the creator of Erlang, Joe Armstrong. It provides a very good explanation of what Erlang is and why it is so. It serves as a very good introduction to the language and platform.</p>
-<p>The book is <a href="http://pragprog.com/book/jaerlang2/programming-erlang">Programming Erlang</a>, and it also features a chapter on Cowboy.</p>
-<h4 id="_learn_you_some_erlang_for_great_good">Learn You Some Erlang for Great Good!</h4>
-<p><a href="http://learnyousomeerlang.com">LYSE</a> is a much more complete book covering many aspects of Erlang, while also providing stories and humor. Be warned: it&apos;s pretty verbose. It comes with a free online version and a more refined paper and ebook version.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/modern_web/">
- The modern Web
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/introduction/">
- Introduction
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/flow_diagram.asciidoc b/docs/en/cowboy/2.0/guide/flow_diagram.asciidoc
deleted file mode 100644
index 2d35d4d6..00000000
--- a/docs/en/cowboy/2.0/guide/flow_diagram.asciidoc
+++ /dev/null
@@ -1,109 +0,0 @@
-[[flow_diagram]]
-== Flow diagram
-
-Cowboy is a lightweight HTTP server with support for HTTP/1.1,
-HTTP/2 and Websocket.
-
-It is built on top of Ranch. Please see the Ranch guide for more
-information about how the network connections are handled.
-
-=== Overview
-
-image::http_req_resp.png[HTTP request/response flowchart]
-
-As you can see on the diagram, the client
-begins by connecting to the server. This step is handled
-by a Ranch acceptor, which is a process dedicated to
-accepting new connections.
-
-After Ranch accepts a new connection, whether it is an
-HTTP/1.1 or HTTP/2 connection, Cowboy starts receiving
-requests and handling them.
-
-In HTTP/1.1 all requests come sequentially. In HTTP/2
-the requests may arrive and be processed concurrently.
-
-When a request comes in, Cowboy creates a stream, which
-is a set of request/response and all the events associated
-with them. The protocol code in Cowboy defers the handling
-of these streams to stream handler modules. When you
-configure Cowboy you may define one or more module that
-will receive all events associated with a stream, including
-the request, response, bodies, Erlang messages and more.
-
-By default Cowboy comes configured with a stream handler
-called `cowboy_stream_h`. This stream handler will create
-a new process for every request coming in, and then
-communicate with this process to read the body or send
-a response back. The request process executes middlewares
-which, by default, including the router and then the
-execution of handlers. Like stream handlers, middlewares
-may also be customized.
-
-A response may be sent at almost any point in this
-diagram. If the response must be sent before the stream
-is initialized (because an error occurred early, for
-example) then stream handlers receive a special event
-indicating this error.
-
-=== Protocol-specific headers
-
-Cowboy takes care of protocol-specific headers and prevents
-you from sending them manually. For HTTP/1.1 this includes
-the `transfer-encoding` and `connection` headers. For HTTP/2
-this includes the colon headers like `:status`.
-
-Cowboy will also remove protocol-specific headers from
-requests before passing them to stream handlers. Cowboy
-tries to hide the implementation details of all protocols
-as well as possible.
-
-=== Number of processes per connection
-
-By default, Cowboy will use one process per connection,
-plus one process per set of request/response (called a
-stream, internally).
-
-The reason it creates a new process for every request is due
-to the requirements of HTTP/2 where requests are executed
-concurrently and independently from the connection. The
-frames from the different requests end up interleaved on
-the single TCP connection.
-
-The request processes are never reused. There is therefore
-no need to perform any cleanup after the response has been
-sent. The process will terminate and Erlang/OTP will reclaim
-all memory at once.
-
-Cowboy ultimately does not require more than one process
-per connection. It is possible to interact with the connection
-directly from a stream handler, a low level interface to Cowboy.
-They are executed from within the connection process, and can
-handle the incoming requests and send responses. This is however
-not recommended in normal circumstances, as a stream handler
-taking too long to execute could have a negative impact on
-concurrent requests or the state of the connection itself.
-
-=== Date header
-
-Because querying for the current date and time can be expensive,
-Cowboy generates one 'Date' header value every second, shares it
-to all other processes, which then simply copy it in the response.
-This allows compliance with HTTP/1.1 with no actual performance loss.
-
-=== Binaries
-
-Cowboy makes extensive use of binaries.
-
-Binaries are more efficient than lists for representing
-strings because they take less memory space. Processing
-performance can vary depending on the operation. Binaries
-are known for generally getting a great boost if the code
-is compiled natively. Please see the HiPE documentation
-for more details.
-
-Binaries may end up being shared between processes. This
-can lead to some large memory usage when one process keeps
-the binary data around forever without freeing it. If you
-see some weird memory usage in your application, this might
-be the cause.
diff --git a/docs/en/cowboy/2.0/guide/flow_diagram/index.html b/docs/en/cowboy/2.0/guide/flow_diagram/index.html
deleted file mode 100644
index 3b691d3b..00000000
--- a/docs/en/cowboy/2.0/guide/flow_diagram/index.html
+++ /dev/null
@@ -1,208 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Flow diagram</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Flow diagram</span></h1>
-
-<p>Cowboy is a lightweight HTTP server with support for HTTP/1.1, HTTP/2 and Websocket.</p>
-<p>It is built on top of Ranch. Please see the Ranch guide for more information about how the network connections are handled.</p>
-<h2 id="_overview">Overview</h2>
-<img src="../http_req_resp.png" alt="HTTP request/response flowchart"/><p>As you can see on the diagram, the client begins by connecting to the server. This step is handled by a Ranch acceptor, which is a process dedicated to accepting new connections.</p>
-<p>After Ranch accepts a new connection, whether it is an HTTP/1.1 or HTTP/2 connection, Cowboy starts receiving requests and handling them.</p>
-<p>In HTTP/1.1 all requests come sequentially. In HTTP/2 the requests may arrive and be processed concurrently.</p>
-<p>When a request comes in, Cowboy creates a stream, which is a set of request/response and all the events associated with them. The protocol code in Cowboy defers the handling of these streams to stream handler modules. When you configure Cowboy you may define one or more module that will receive all events associated with a stream, including the request, response, bodies, Erlang messages and more.</p>
-<p>By default Cowboy comes configured with a stream handler called <code>cowboy_stream_h</code>. This stream handler will create a new process for every request coming in, and then communicate with this process to read the body or send a response back. The request process executes middlewares which, by default, including the router and then the execution of handlers. Like stream handlers, middlewares may also be customized.</p>
-<p>A response may be sent at almost any point in this diagram. If the response must be sent before the stream is initialized (because an error occurred early, for example) then stream handlers receive a special event indicating this error.</p>
-<h2 id="_protocol_specific_headers">Protocol-specific headers</h2>
-<p>Cowboy takes care of protocol-specific headers and prevents you from sending them manually. For HTTP/1.1 this includes the <code>transfer-encoding</code> and <code>connection</code> headers. For HTTP/2 this includes the colon headers like <code>:status</code>.</p>
-<p>Cowboy will also remove protocol-specific headers from requests before passing them to stream handlers. Cowboy tries to hide the implementation details of all protocols as well as possible.</p>
-<h2 id="_number_of_processes_per_connection">Number of processes per connection</h2>
-<p>By default, Cowboy will use one process per connection, plus one process per set of request/response (called a stream, internally).</p>
-<p>The reason it creates a new process for every request is due to the requirements of HTTP/2 where requests are executed concurrently and independently from the connection. The frames from the different requests end up interleaved on the single TCP connection.</p>
-<p>The request processes are never reused. There is therefore no need to perform any cleanup after the response has been sent. The process will terminate and Erlang/OTP will reclaim all memory at once.</p>
-<p>Cowboy ultimately does not require more than one process per connection. It is possible to interact with the connection directly from a stream handler, a low level interface to Cowboy. They are executed from within the connection process, and can handle the incoming requests and send responses. This is however not recommended in normal circumstances, as a stream handler taking too long to execute could have a negative impact on concurrent requests or the state of the connection itself.</p>
-<h2 id="_date_header">Date header</h2>
-<p>Because querying for the current date and time can be expensive, Cowboy generates one <em>Date</em> header value every second, shares it to all other processes, which then simply copy it in the response. This allows compliance with HTTP/1.1 with no actual performance loss.</p>
-<h2 id="_binaries">Binaries</h2>
-<p>Cowboy makes extensive use of binaries.</p>
-<p>Binaries are more efficient than lists for representing strings because they take less memory space. Processing performance can vary depending on the operation. Binaries are known for generally getting a great boost if the code is compiled natively. Please see the HiPE documentation for more details.</p>
-<p>Binaries may end up being shared between processes. This can lead to some large memory usage when one process keeps the binary data around forever without freeing it. If you see some weird memory usage in your application, this might be the cause.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/getting_started/">
- Getting started
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/listeners/">
- Listeners
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/getting_started.asciidoc b/docs/en/cowboy/2.0/guide/getting_started.asciidoc
deleted file mode 100644
index 29a406bd..00000000
--- a/docs/en/cowboy/2.0/guide/getting_started.asciidoc
+++ /dev/null
@@ -1,147 +0,0 @@
-[[getting_started]]
-== Getting started
-
-Erlang is more than a language, it is also an operating system
-for your applications. Erlang developers rarely write standalone
-modules, they write libraries or applications, and then bundle
-those into what is called a release. A release contains the
-Erlang VM plus all applications required to run the node, so
-it can be pushed to production directly.
-
-This chapter walks you through all the steps of setting up
-Cowboy, writing your first application and generating your first
-release. At the end of this chapter you should know everything
-you need to push your first Cowboy application to production.
-
-=== Prerequisites
-
-We are going to use the https://github.com/ninenines/erlang.mk[Erlang.mk]
-build system. If you are using Windows, please check the
-http://erlang.mk/guide/installation.html[Installation instructions]
-to get your environment setup before you continue.
-
-=== Bootstrap
-
-First, let's create the directory for our application.
-
-[source,bash]
-$ mkdir hello_erlang
-$ cd hello_erlang
-
-Then we need to download Erlang.mk. Either use the following
-command or download it manually.
-
-[source,bash]
-$ wget https://erlang.mk/erlang.mk
-
-We can now bootstrap our application. Since we are going to generate
-a release, we will also bootstrap it at the same time.
-
-[source,bash]
-$ make -f erlang.mk bootstrap bootstrap-rel
-
-This creates a Makefile, a base application, and the release files
-necessary for creating the release. We can already build and start
-this release.
-
-[source,bash]
-----
-$ make run
-...
-----
-
-Entering the command `i().` will show the running processes, including
-one called `hello_erlang_sup`. This is the supervisor for our
-application.
-
-The release currently does nothing. In the rest of this chapter we
-will add Cowboy as a dependency and write a simple "Hello world!"
-handler.
-
-=== Cowboy setup
-
-We will modify the 'Makefile' to tell the build system it needs to
-fetch and compile Cowboy:
-
-[source,makefile]
-----
-PROJECT = hello_erlang
-
-DEPS = cowboy
-dep_cowboy_commit = master
-
-DEP_PLUGINS = cowboy
-
-include erlang.mk
-----
-
-We also tell the build system to load the plugins Cowboy provides.
-These include predefined templates that we will use soon.
-
-If you do `make run` now, Cowboy will be included in the release
-and started automatically. This is not enough however, as Cowboy
-doesn't do anything by default. We still need to tell Cowboy to
-listen for connections.
-
-=== Listening for connections
-
-First we define the routes that Cowboy will use to map requests
-to handler modules, and then we start the listener. This is best
-done at application startup.
-
-Open the 'src/hello_erlang_app.erl' file and add the necessary
-code to the `start/2` function to make it look like this:
-
-[source,erlang]
-----
-start(_Type, _Args) ->
- Dispatch = cowboy_router:compile([
- {'_', [{"/", hello_handler, []}]}
- ]),
- {ok, _} = cowboy:start_clear(my_http_listener,
- [{port, 8080}],
- #{env => #{dispatch => Dispatch}}
- ),
- hello_erlang_sup:start_link().
-----
-
-Routes are explained in details in the xref:routing[Routing]
-chapter. For this tutorial we map the path `/` to the handler
-module `hello_handler`. This module doesn't exist yet.
-
-Build and start the release, then open http://localhost:8080
-in your browser. You will get a 500 error because the module is missing.
-Any other URL, like http://localhost:8080/test, will result in a
-404 error.
-
-=== Handling requests
-
-Cowboy features different kinds of handlers, including REST
-and Websocket handlers. For this tutorial we will use a plain
-HTTP handler.
-
-Generate a handler from a template:
-
-[source,bash]
-$ make new t=cowboy.http n=hello_handler
-
-Then, open the 'src/hello_handler.erl' file and modify
-the `init/2` function like this to send a reply.
-
-[source,erlang]
-----
-init(Req0, State) ->
- Req = cowboy_req:reply(200,
- #{<<"content-type">> => <<"text/plain">>},
- <<"Hello Erlang!">>,
- Req0),
- {ok, Req, State}.
-----
-
-What the above code does is send a 200 OK reply, with the
-Content-type header set to `text/plain` and the response
-body set to `Hello Erlang!`.
-
-If you run the release and open http://localhost:8080
-in your browser, you should get a nice `Hello Erlang!` displayed!
diff --git a/docs/en/cowboy/2.0/guide/getting_started/index.html b/docs/en/cowboy/2.0/guide/getting_started/index.html
deleted file mode 100644
index 7ad9ee2d..00000000
--- a/docs/en/cowboy/2.0/guide/getting_started/index.html
+++ /dev/null
@@ -1,282 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Getting started</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Getting started</span></h1>
-
-<p>Erlang is more than a language, it is also an operating system for your applications. Erlang developers rarely write standalone modules, they write libraries or applications, and then bundle those into what is called a release. A release contains the Erlang VM plus all applications required to run the node, so it can be pushed to production directly.</p>
-<p>This chapter walks you through all the steps of setting up Cowboy, writing your first application and generating your first release. At the end of this chapter you should know everything you need to push your first Cowboy application to production.</p>
-<h2 id="_prerequisites">Prerequisites</h2>
-<p>We are going to use the <a href="https://github.com/ninenines/erlang.mk">Erlang.mk</a> build system. If you are using Windows, please check the <a href="http://erlang.mk/guide/installation.html">Installation instructions</a> to get your environment setup before you continue.</p>
-<h2 id="_bootstrap">Bootstrap</h2>
-<p>First, let&apos;s create the directory for our application.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ mkdir hello_erlang
-$ cd hello_erlang</tt></pre>
-</div></div>
-<p>Then we need to download Erlang.mk. Either use the following command or download it manually.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ wget https<font color="#990000">:</font>//erlang<font color="#990000">.</font>mk/erlang<font color="#990000">.</font>mk</tt></pre>
-</div></div>
-<p>We can now bootstrap our application. Since we are going to generate a release, we will also bootstrap it at the same time.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make -f erlang<font color="#990000">.</font>mk bootstrap bootstrap-rel</tt></pre>
-</div></div>
-<p>This creates a Makefile, a base application, and the release files necessary for creating the release. We can already build and start this release.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make run
-<font color="#990000">...</font>
-<font color="#990000">(</font>hello_erlang@<font color="#993399">127.0</font><font color="#990000">.</font><font color="#993399">0.1</font><font color="#990000">)</font><font color="#993399">1</font><font color="#990000">&gt;</font></tt></pre>
-</div></div>
-<p>Entering the command <code>i().</code> will show the running processes, including one called <code>hello_erlang_sup</code>. This is the supervisor for our application.</p>
-<p>The release currently does nothing. In the rest of this chapter we will add Cowboy as a dependency and write a simple &quot;Hello world!&quot; handler.</p>
-<h2 id="_cowboy_setup">Cowboy setup</h2>
-<p>We will modify the <em>Makefile</em> to tell the build system it needs to fetch and compile Cowboy:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PROJECT =</font> hello_erlang
-
-<font color="#009900">DEPS =</font> cowboy
-<font color="#009900">dep_cowboy_commit =</font> master
-
-<font color="#009900">DEP_PLUGINS =</font> cowboy
-
-include erlang.mk</tt></pre>
-</div></div>
-<p>We also tell the build system to load the plugins Cowboy provides. These include predefined templates that we will use soon.</p>
-<p>If you do <code>make run</code> now, Cowboy will be included in the release and started automatically. This is not enough however, as Cowboy doesn&apos;t do anything by default. We still need to tell Cowboy to listen for connections.</p>
-<h2 id="_listening_for_connections">Listening for connections</h2>
-<p>First we define the routes that Cowboy will use to map requests to handler modules, and then we start the listener. This is best done at application startup.</p>
-<p>Open the <em>src/hello_erlang_app.erl</em> file and add the necessary code to the <code>start/2</code> function to make it look like this:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">start</font></b>(<font color="#009900">_Type</font>, <font color="#009900">_Args</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>([
- {<font color="#FF6600">'_'</font>, [{<font color="#FF0000">"/"</font>, <font color="#FF6600">hello_handler</font>, []}]}
- ]),
- {<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_clear</font></b>(<font color="#FF6600">my_http_listener</font>,
- [{<font color="#FF6600">port</font>, <font color="#993399">8080</font>}],
- #{<font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}}
- ),
- <b><font color="#000000">hello_erlang_sup:start_link</font></b>()<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Routes are explained in details in the <a href="../routing">Routing</a> chapter. For this tutorial we map the path <code>/</code> to the handler module <code>hello_handler</code>. This module doesn&apos;t exist yet.</p>
-<p>Build and start the release, then open <a href="http://localhost:8080">http://localhost:8080</a> in your browser. You will get a 500 error because the module is missing. Any other URL, like <a href="http://localhost:8080/test">http://localhost:8080/test</a>, will result in a 404 error.</p>
-<h2 id="_handling_requests">Handling requests</h2>
-<p>Cowboy features different kinds of handlers, including REST and Websocket handlers. For this tutorial we will use a plain HTTP handler.</p>
-<p>Generate a handler from a template:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make new <font color="#009900">t</font><font color="#990000">=</font>cowboy<font color="#990000">.</font>http <font color="#009900">n</font><font color="#990000">=</font>hello_handler</tt></pre>
-</div></div>
-<p>Then, open the <em>src/hello_handler.erl</em> file and modify the <code>init/2</code> function like this to send a reply.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req0</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>,
- #{<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/plain"</font><font color="#990000">&gt;&gt;</font>},
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello Erlang!"</font><font color="#990000">&gt;&gt;</font>,
- <font color="#009900">Req0</font>),
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>What the above code does is send a 200 OK reply, with the Content-type header set to <code>text/plain</code> and the response body set to <code>Hello Erlang!</code>.</p>
-<p>If you run the release and open <a href="http://localhost:8080">http://localhost:8080</a> in your browser, you should get a nice <code>Hello Erlang!</code> displayed!</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/introduction/">
- Introduction
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/flow_diagram/">
- Flow diagram
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/handlers.asciidoc b/docs/en/cowboy/2.0/guide/handlers.asciidoc
deleted file mode 100644
index fe6f4623..00000000
--- a/docs/en/cowboy/2.0/guide/handlers.asciidoc
+++ /dev/null
@@ -1,90 +0,0 @@
-[[handlers]]
-== Handlers
-
-Handlers are Erlang modules that handle HTTP requests.
-
-=== Plain HTTP handlers
-
-The most basic handler in Cowboy implements the mandatory
-`init/2` callback, manipulates the request, optionally
-sends a response and then returns.
-
-This callback receives the xref:req[Req object] and the initial
-state defined in the xref:routing[router configuration].
-
-A handler that does nothing would look like this:
-
-[source,erlang]
-----
-init(Req, State) ->
- {ok, Req, State}.
-----
-
-Despite sending no reply, a `204 No Content` response will be
-sent to the client, as Cowboy makes sure that a response is
-sent for every request.
-
-We need to use the Req object to reply.
-
-[source,erlang]
-----
-init(Req0, State) ->
- Req = cowboy_req:reply(200, #{
- <<"content-type">> => <<"text/plain">>
- }, <<"Hello World!">>, Req0),
- {ok, Req, State}.
-----
-
-Cowboy will immediately send a response when `cowboy:reply/4`
-is called.
-
-We then return a 3-tuple. `ok` means that the handler ran
-successfully. We also give the modified Req back to Cowboy.
-
-The last value of the tuple is a state that will be used
-in every subsequent callbacks to this handler. Plain HTTP
-handlers only have one additional callback, the optional
-and rarely used `terminate/3`.
-
-=== Other handlers
-
-The `init/2` callback can also be used to inform Cowboy
-that this is a different kind of handler and that Cowboy
-should switch to it. To do this you simply need to return
-the module name of the handler type you want to switch to.
-
-Cowboy comes with three handler types you can switch to:
-xref:rest_handlers[cowboy_rest], xref:ws_handlers[cowboy_websocket]
-and xref:loop_handlers[cowboy_loop]. In addition to those you
-can define your own handler types.
-
-Switching is simple. Instead of returning `ok`, you simply
-return the name of the handler type you want to use. The
-following snippet switches to a Websocket handler:
-
-[source,erlang]
-----
-init(Req, State) ->
- {cowboy_websocket, Req, State}.
-----
-
-=== Cleaning up
-
-All handler types provide the optional `terminate/3` callback.
-
-[source,erlang]
-----
-terminate(_Reason, _Req, _State) ->
- ok.
-----
-
-This callback is strictly reserved for any required cleanup.
-You cannot send a response from this function. There is no
-other return value.
-
-This callback is optional because it is rarely necessary.
-Cleanup should be done in separate processes directly (by
-monitoring the handler process to detect when it exits).
-
-Cowboy does not reuse processes for different requests. The
-process will terminate soon after this call returns.
diff --git a/docs/en/cowboy/2.0/guide/handlers/index.html b/docs/en/cowboy/2.0/guide/handlers/index.html
deleted file mode 100644
index 83a01c93..00000000
--- a/docs/en/cowboy/2.0/guide/handlers/index.html
+++ /dev/null
@@ -1,235 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Handlers</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Handlers</span></h1>
-
-<p>Handlers are Erlang modules that handle HTTP requests.</p>
-<h2 id="_plain_http_handlers">Plain HTTP handlers</h2>
-<p>The most basic handler in Cowboy implements the mandatory <code>init/2</code> callback, manipulates the request, optionally sends a response and then returns.</p>
-<p>This callback receives the <a href="../req">Req object</a> and the initial state defined in the <a href="../routing">router configuration</a>.</p>
-<p>A handler that does nothing would look like this:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Despite sending no reply, a <code>204 No Content</code> response will be sent to the client, as Cowboy makes sure that a response is sent for every request.</p>
-<p>We need to use the Req object to reply.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req0</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/plain"</font><font color="#990000">&gt;&gt;</font>
- }, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello World!"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>),
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy will immediately send a response when <code>cowboy:reply/4</code> is called.</p>
-<p>We then return a 3-tuple. <code>ok</code> means that the handler ran successfully. We also give the modified Req back to Cowboy.</p>
-<p>The last value of the tuple is a state that will be used in every subsequent callbacks to this handler. Plain HTTP handlers only have one additional callback, the optional and rarely used <code>terminate/3</code>.</p>
-<h2 id="_other_handlers">Other handlers</h2>
-<p>The <code>init/2</code> callback can also be used to inform Cowboy that this is a different kind of handler and that Cowboy should switch to it. To do this you simply need to return the module name of the handler type you want to switch to.</p>
-<p>Cowboy comes with three handler types you can switch to: <a href="../rest_handlers">cowboy_rest</a>, <a href="../ws_handlers">cowboy_websocket</a> and <a href="../loop_handlers">cowboy_loop</a>. In addition to those you can define your own handler types.</p>
-<p>Switching is simple. Instead of returning <code>ok</code>, you simply return the name of the handler type you want to use. The following snippet switches to a Websocket handler:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">cowboy_websocket</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_cleaning_up">Cleaning up</h2>
-<p>All handler types provide the optional <code>terminate/3</code> callback.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">terminate</font></b>(<font color="#009900">_Reason</font>, <font color="#009900">_Req</font>, <font color="#009900">_State</font>) <font color="#990000">-&gt;</font>
- <font color="#FF6600">ok</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>This callback is strictly reserved for any required cleanup. You cannot send a response from this function. There is no other return value.</p>
-<p>This callback is optional because it is rarely necessary. Cleanup should be done in separate processes directly (by monitoring the handler process to detect when it exits).</p>
-<p>Cowboy does not reuse processes for different requests. The process will terminate soon after this call returns.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/constraints/">
- Constraints
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/loop_handlers/">
- Loop handlers
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/http_req_resp.png b/docs/en/cowboy/2.0/guide/http_req_resp.png
deleted file mode 100644
index 41c17c8a..00000000
--- a/docs/en/cowboy/2.0/guide/http_req_resp.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/2.0/guide/http_req_resp.svg b/docs/en/cowboy/2.0/guide/http_req_resp.svg
deleted file mode 100644
index acedb152..00000000
--- a/docs/en/cowboy/2.0/guide/http_req_resp.svg
+++ /dev/null
@@ -1,543 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.92.1 r"
- sodipodi:docname="http_req_resp.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4142136"
- inkscape:cx="172.08527"
- inkscape:cy="762.31079"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="1920"
- inkscape:window-height="1043"
- inkscape:window-x="0"
- inkscape:window-y="0"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <g
- transform="translate(193.54707,-32.134105)"
- id="g5650-5-0">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3-9"
- d="m -57.78256,351.41962 v 52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- sodipodi:type="star" />
- </g>
- <g
- transform="rotate(180,50.658226,375.46461)"
- id="g5650-6-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-0"
- d="m -57.78256,351.41962 v 52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(193.54707,-119.75468)"
- id="g5650-5">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 v 52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- sodipodi:type="star" />
- </g>
- <g
- transform="rotate(180,50.658226,331.65432)"
- id="g5650-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,351.41962 v 52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="43.721401"
- y="384.1973"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#g5650"
- id="use5654"
- transform="translate(205.03261,76.66371)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="use5660"
- transform="translate(205.03261,-207.5)">
- <path
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m -57.78256,351.41962 0,52.3259"
- id="path3051"
- inkscape:connector-curvature="0" />
- <path
- sodipodi:type="star"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="path3053"
- sodipodi:sides="3"
- sodipodi:cx="-222.73865"
- sodipodi:cy="415.25897"
- sodipodi:r1="14.849242"
- sodipodi:r2="7.4246211"
- sodipodi:arg1="1.5707963"
- sodipodi:arg2="2.6179939"
- inkscape:flatsided="true"
- inkscape:rounded="0"
- inkscape:randomized="0"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:transform-center-y="2.1823437"
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)" />
- </g>
- <use
- x="0"
- y="0"
- xlink:href="#use5660"
- id="use5662"
- transform="translate(0,-86.562562)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;opacity:0.8" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;opacity:0.8"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="114.39204"
- id="text5371"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <g
- id="g3850">
- <use
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- height="1052.3622"
- width="744.09448"
- transform="translate(318.97597,32.837526)"
- id="use5359"
- xlink:href="#rect5273-7"
- y="0"
- x="0" />
- <a
- id="a3826">
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="146.77739"
- y="145.67879"
- id="text5371-7"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="146.77739"
- y="145.67879"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">acceptor</tspan></text>
- </a>
- </g>
- <g
- id="g3860">
- <use
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- height="1052.3622"
- width="744.09448"
- transform="translate(1.630859e-6,86.777953)"
- id="use5361"
- xlink:href="#use5359"
- y="0"
- x="0" />
- <text
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- id="text5371-74"
- y="232.91768"
- x="147.26958"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- xml:space="preserve"><tspan
- id="tspan3770"
- style="font-size:16px;line-height:1.25;font-family:sans-serif"
- y="232.91768"
- x="147.26958"
- sodipodi:role="line">protocol</tspan></text>
- </g>
- <g
- id="g3904">
- <use
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- height="1052.3622"
- width="744.09448"
- transform="translate(0,197.08458)"
- id="use5365"
- xlink:href="#use5361"
- y="0"
- x="0" />
- <text
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- id="text5371-5"
- y="431.0921"
- x="146.53125"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- xml:space="preserve"><tspan
- style="font-size:16px;line-height:1.25;font-family:sans-serif"
- y="431.0921"
- x="146.53125"
- id="tspan5373-0"
- sodipodi:role="line">router</tspan></text>
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <g
- id="g3909">
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- id="use5363"
- width="104.5895"
- height="36.392323"
- x="94.955292"
- y="494.37244"
- rx="15" />
- <text
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- id="text5371-2-3-0"
- y="518.38519"
- x="146.53125"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- xml:space="preserve"><tspan
- style="font-size:16px;line-height:1.25;font-family:sans-serif"
- y="518.38519"
- x="146.53125"
- id="tspan5373-6-7-3"
- sodipodi:role="line">handler</tspan></text>
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="-470.30792"
- y="63.078125"
- id="text5371-2-3-0-7"
- transform="rotate(-90)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-470.30792"
- y="63.078125"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">middlewares</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <g
- id="g3855">
- <use
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- height="1052.3622"
- width="744.09448"
- transform="translate(318.97592,-176.5)"
- id="use5355"
- xlink:href="#rect5273-22"
- y="0"
- x="0" />
- <text
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- id="text5371-4-0"
- y="60.912468"
- x="147.00391"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- xml:space="preserve"><tspan
- style="font-size:16px;line-height:1.25;font-family:sans-serif"
- y="60.912468"
- x="147.00391"
- id="tspan5373-9-2"
- sodipodi:role="line">client</tspan></text>
- </g>
- <g
- id="g3865">
- <rect
- rx="15"
- y="297.08545"
- x="94.955299"
- height="36.392323"
- width="104.5895"
- id="rect5273-3"
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
- <text
- id="text5371-2-6"
- y="320.78552"
- x="147.50005"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- xml:space="preserve"><tspan
- style="font-size:16px;line-height:1.25;font-family:sans-serif"
- y="320.78552"
- x="147.50005"
- id="tspan5373-6-7"
- sodipodi:role="line">stream</tspan></text>
- </g>
- </g>
-</svg>
diff --git a/docs/en/cowboy/2.0/guide/index.html b/docs/en/cowboy/2.0/guide/index.html
deleted file mode 100644
index 7f42765f..00000000
--- a/docs/en/cowboy/2.0/guide/index.html
+++ /dev/null
@@ -1,235 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Cowboy User Guide</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Cowboy User Guide</span></h1>
-
-<!-- REST: where should i handle bindings? init, probably. qs? in media type functions-->
-<!-- REST: explain how a module per media type is good; module may be shared between client/server-->
-<h2 id="_rationale">Rationale</h2>
-<ul><li><a href="modern_web/">The modern Web</a>
-</li>
-<li><a href="erlang_web/">Erlang and the Web</a>
-</li>
-</ul>
-<h2 id="_introduction">Introduction</h2>
-<ul><li><a href="introduction/">Introduction</a>
-</li>
-<li><a href="getting_started/">Getting started</a>
-</li>
-<li><a href="flow_diagram/">Flow diagram</a>
-</li>
-</ul>
-<h2 id="_configuration">Configuration</h2>
-<ul><li><a href="listeners/">Listeners</a>
-</li>
-<li><a href="routing/">Routing</a>
-</li>
-<li><a href="constraints/">Constraints</a>
-</li>
-</ul>
-<h2 id="_handlers">Handlers</h2>
-<ul><li><a href="handlers/">Handlers</a>
-</li>
-<li><a href="loop_handlers/">Loop handlers</a>
-</li>
-<li><a href="static_files/">Static files</a>
-</li>
-</ul>
-<h2 id="_request_and_response">Request and response</h2>
-<ul><li><a href="req/">Request details</a>
-</li>
-<li><a href="req_body/">Reading the request body</a>
-</li>
-<li><a href="resp/">Sending a response</a>
-</li>
-<li><a href="cookies/">Using cookies</a>
-</li>
-<li><a href="multipart/">Multipart</a>
-</li>
-</ul>
-<h2 id="_rest">REST</h2>
-<ul><li><a href="rest_principles/">REST principles</a>
-</li>
-<li><a href="rest_handlers/">Handling REST requests</a>
-</li>
-<li><a href="rest_flowcharts/">REST flowcharts</a>
-</li>
-<li><a href="resource_design/">Designing a resource handler</a>
-</li>
-</ul>
-<h2 id="_websocket">Websocket</h2>
-<ul><li><a href="ws_protocol/">The Websocket protocol</a>
-</li>
-<li><a href="ws_handlers/">Websocket handlers</a>
-</li>
-</ul>
-<h2 id="_advanced">Advanced</h2>
-<ul><li><a href="streams/">Streams</a>
-</li>
-<li><a href="middlewares/">Middlewares</a>
-</li>
-</ul>
-<h2 id="_additional_information">Additional information</h2>
-<ul><li><a href="migrating_from_1.0/">Migrating from Cowboy 1.0 to 2.0</a>
-</li>
-<li><a href="specs/">HTTP and other specifications</a>
-</li>
-</ul>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/introduction.asciidoc b/docs/en/cowboy/2.0/guide/introduction.asciidoc
deleted file mode 100644
index 1f9b52e4..00000000
--- a/docs/en/cowboy/2.0/guide/introduction.asciidoc
+++ /dev/null
@@ -1,75 +0,0 @@
-[[introduction]]
-== Introduction
-
-Cowboy is a small, fast and modern HTTP server for Erlang/OTP.
-
-Cowboy aims to provide a complete xref:modern_web[modern Web stack].
-This includes HTTP/1.1, HTTP/2, Websocket, Server-Sent Events and
-Webmachine-based REST.
-
-Cowboy comes with functions for introspection and tracing, enabling
-developers to know precisely what is happening at any time. Its modular
-design also easily enable developers to add instrumentation.
-
-Cowboy is a high quality project. It has a small code base, is very
-efficient (both in latency and memory use) and can easily be embedded
-in another application.
-
-Cowboy is clean Erlang code. It includes hundreds of tests and its code
-is fully compliant with the Dialyzer. It is also well documented and
-features a Function Reference, a User Guide and numerous Tutorials.
-
-=== Prerequisites
-
-Beginner Erlang knowledge is recommended for reading this guide.
-
-Knowledge of the HTTP protocol is recommended but not required, as it
-will be detailed throughout the guide.
-
-=== Supported platforms
-
-Cowboy is tested and supported on Linux, FreeBSD, Windows and OSX.
-
-Cowboy has been reported to work on other platforms, but we make no
-guarantee that the experience will be safe and smooth. You are advised
-to perform the necessary testing and security audits prior to deploying
-on other platforms.
-
-Cowboy is developed for Erlang/OTP 19.0 and newer.
-
-=== License
-
-Cowboy uses the ISC License.
-
-----
-Copyright (c) 2011-2017, Loïc Hoguin <[email protected]>
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-----
-
-=== Versioning
-
-Cowboy uses http://semver.org/[Semantic Versioning 2.0.0].
-
-=== Conventions
-
-In the HTTP protocol, the method name is case sensitive. All standard
-method names are uppercase.
-
-Header names are case insensitive. When using HTTP/1.1, Cowboy converts
-all the request header names to lowercase. HTTP/2 requires clients to
-send them as lowercase. Any other header name is expected to be provided
-lowercased, including when querying information about the request or
-when sending responses.
-
-The same applies to any other case insensitive value.
diff --git a/docs/en/cowboy/2.0/guide/introduction/index.html b/docs/en/cowboy/2.0/guide/introduction/index.html
deleted file mode 100644
index c577b518..00000000
--- a/docs/en/cowboy/2.0/guide/introduction/index.html
+++ /dev/null
@@ -1,218 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Introduction</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Introduction</span></h1>
-
-<p>Cowboy is a small, fast and modern HTTP server for Erlang/OTP.</p>
-<p>Cowboy aims to provide a complete <a href="../modern_web">modern Web stack</a>. This includes HTTP/1.1, HTTP/2, Websocket, Server-Sent Events and Webmachine-based REST.</p>
-<p>Cowboy comes with functions for introspection and tracing, enabling developers to know precisely what is happening at any time. Its modular design also easily enable developers to add instrumentation.</p>
-<p>Cowboy is a high quality project. It has a small code base, is very efficient (both in latency and memory use) and can easily be embedded in another application.</p>
-<p>Cowboy is clean Erlang code. It includes hundreds of tests and its code is fully compliant with the Dialyzer. It is also well documented and features a Function Reference, a User Guide and numerous Tutorials.</p>
-<h2 id="_prerequisites">Prerequisites</h2>
-<p>Beginner Erlang knowledge is recommended for reading this guide.</p>
-<p>Knowledge of the HTTP protocol is recommended but not required, as it will be detailed throughout the guide.</p>
-<h2 id="_supported_platforms">Supported platforms</h2>
-<p>Cowboy is tested and supported on Linux, FreeBSD, Windows and OSX.</p>
-<p>Cowboy has been reported to work on other platforms, but we make no guarantee that the experience will be safe and smooth. You are advised to perform the necessary testing and security audits prior to deploying on other platforms.</p>
-<p>Cowboy is developed for Erlang/OTP 19.0 and newer.</p>
-<h2 id="_license">License</h2>
-<p>Cowboy uses the ISC License.</p>
-<div class="listingblock"><div class="content"><pre>Copyright (c) 2011-2017, Loïc Hoguin &lt;[email protected]&gt;
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</pre></div></div>
-<h2 id="_versioning">Versioning</h2>
-<p>Cowboy uses <a href="http://semver.org/">Semantic Versioning 2.0.0</a>.</p>
-<h2 id="_conventions">Conventions</h2>
-<p>In the HTTP protocol, the method name is case sensitive. All standard method names are uppercase.</p>
-<p>Header names are case insensitive. When using HTTP/1.1, Cowboy converts all the request header names to lowercase. HTTP/2 requires clients to send them as lowercase. Any other header name is expected to be provided lowercased, including when querying information about the request or when sending responses.</p>
-<p>The same applies to any other case insensitive value.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/erlang_web/">
- Erlang and the Web
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/getting_started/">
- Getting started
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/listeners.asciidoc b/docs/en/cowboy/2.0/guide/listeners.asciidoc
deleted file mode 100644
index 10ac4aad..00000000
--- a/docs/en/cowboy/2.0/guide/listeners.asciidoc
+++ /dev/null
@@ -1,115 +0,0 @@
-[[listeners]]
-== Listeners
-
-A listener is a set of processes that listens on a port for
-new connections. Incoming connections get handled by Cowboy.
-Depending on the connection handshake, one or another protocol
-may be used.
-
-This chapter is specific to Cowboy. Please refer to the
-https://ninenines.eu/docs/en/ranch/1.3/guide/listeners/[Ranch User Guide]
-for more information about listeners.
-
-Cowboy provides two types of listeners: one listening for
-clear TCP connections, and one listening for secure TLS
-connections. Both of them support the HTTP/1.1 and HTTP/2
-protocols.
-
-=== Clear TCP listener
-
-The clear TCP listener will accept connections on the
-given port. A typical HTTP server would listen on port 80.
-Port 80 requires special permissions on most platforms
-however so a common alternative is port 8080.
-
-The following snippet starts listening for connections
-on port 8080:
-
-[source,erlang]
-----
-start(_Type, _Args) ->
- Dispatch = cowboy_router:compile([
- {'_', [{"/", hello_handler, []}]}
- ]),
- {ok, _} = cowboy:start_clear(my_http_listener,
- [{port, 8080}],
- #{env => #{dispatch => Dispatch}}
- ),
- hello_erlang_sup:start_link().
-----
-
-The xref:getting_started[Getting Started] chapter uses a
-clear TCP listener.
-
-Clients connecting to Cowboy on the clear listener port are
-expected to use either HTTP/1.1 or HTTP/2.
-
-Cowboy supports both methods of initiating a clear
-HTTP/2 connection: through the Upgrade mechanism
-(https://tools.ietf.org/html/rfc7540#section-3.2[RFC 7540 3.2])
-or by sending the preface directly
-(https://tools.ietf.org/html/rfc7540#section-3.4[RFC 7540 3.4]).
-
-Compatibility with HTTP/1.0 is provided by Cowboy's HTTP/1.1
-implementation.
-
-=== Secure TLS listener
-
-The secure TLS listener will accept connections on the
-given port. A typical HTTPS server would listen on port 443.
-Port 443 requires special permissions on most platforms
-however so a common alternative is port 8443.
-
-// @todo Make a complete list of restrictions.
-
-The function provided by Cowboy will ensure that the TLS
-options given are following the HTTP/2 RFC with regards
-to security. For example some TLS extensions or ciphers
-may be disabled. This also applies to HTTP/1.1 connections
-on this listener. If this is not desirable, Ranch can be
-used directly to setup a custom listener.
-
-[source,erlang]
-----
-start(_Type, _Args) ->
- Dispatch = cowboy_router:compile([
- {'_', [{"/", hello_handler, []}]}
- ]),
- {ok, _} = cowboy:start_tls(my_http_listener,
- [
- {port, 8443},
- {certfile, "/path/to/certfile"},
- {keyfile, "/path/to/keyfile"}
- ],
- #{env => #{dispatch => Dispatch}}
- ),
- hello_erlang_sup:start_link().
-----
-
-Clients connecting to Cowboy on the secure listener are
-expected to use the ALPN TLS extension to indicate what
-protocols they understand. Cowboy always prefers HTTP/2
-over HTTP/1.1 when both are supported. When neither are
-supported by the client, or when the ALPN extension was
-missing, Cowboy expects HTTP/1.1 to be used.
-
-Cowboy also advertises HTTP/2 support through the older
-NPN TLS extension for compatibility. Note however that
-this support will likely not be enabled by default when
-Cowboy 2.0 gets released.
-
-Compatibility with HTTP/1.0 is provided by Cowboy's HTTP/1.1
-implementation.
-
-=== Protocol configuration
-
-The HTTP/1.1 and HTTP/2 protocols share the same semantics;
-only their framing differs. The first is a text protocol and
-the second a binary protocol.
-
-Cowboy doesn't separate the configuration for HTTP/1.1 and
-HTTP/2. Everything goes into the same map. Many options are
-shared.
-
-// @todo Describe good to know options for both protocols?
-// Maybe do that in separate chapters?
diff --git a/docs/en/cowboy/2.0/guide/listeners/index.html b/docs/en/cowboy/2.0/guide/listeners/index.html
deleted file mode 100644
index 58e6cff3..00000000
--- a/docs/en/cowboy/2.0/guide/listeners/index.html
+++ /dev/null
@@ -1,239 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Listeners</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Listeners</span></h1>
-
-<p>A listener is a set of processes that listens on a port for new connections. Incoming connections get handled by Cowboy. Depending on the connection handshake, one or another protocol may be used.</p>
-<p>This chapter is specific to Cowboy. Please refer to the <a href="https://ninenines.eu/docs/en/ranch/1.3/guide/listeners/">Ranch User Guide</a> for more information about listeners.</p>
-<p>Cowboy provides two types of listeners: one listening for clear TCP connections, and one listening for secure TLS connections. Both of them support the HTTP/1.1 and HTTP/2 protocols.</p>
-<h2 id="_clear_tcp_listener">Clear TCP listener</h2>
-<p>The clear TCP listener will accept connections on the given port. A typical HTTP server would listen on port 80. Port 80 requires special permissions on most platforms however so a common alternative is port 8080.</p>
-<p>The following snippet starts listening for connections on port 8080:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">start</font></b>(<font color="#009900">_Type</font>, <font color="#009900">_Args</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>([
- {<font color="#FF6600">'_'</font>, [{<font color="#FF0000">"/"</font>, <font color="#FF6600">hello_handler</font>, []}]}
- ]),
- {<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_clear</font></b>(<font color="#FF6600">my_http_listener</font>,
- [{<font color="#FF6600">port</font>, <font color="#993399">8080</font>}],
- #{<font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}}
- ),
- <b><font color="#000000">hello_erlang_sup:start_link</font></b>()<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The <a href="../getting_started">Getting Started</a> chapter uses a clear TCP listener.</p>
-<p>Clients connecting to Cowboy on the clear listener port are expected to use either HTTP/1.1 or HTTP/2.</p>
-<p>Cowboy supports both methods of initiating a clear HTTP/2 connection: through the Upgrade mechanism (<a href="https://tools.ietf.org/html/rfc7540#section-3.2">RFC 7540 3.2</a>) or by sending the preface directly (<a href="https://tools.ietf.org/html/rfc7540#section-3.4">RFC 7540 3.4</a>).</p>
-<p>Compatibility with HTTP/1.0 is provided by Cowboy&apos;s HTTP/1.1 implementation.</p>
-<h2 id="_secure_tls_listener">Secure TLS listener</h2>
-<p>The secure TLS listener will accept connections on the given port. A typical HTTPS server would listen on port 443. Port 443 requires special permissions on most platforms however so a common alternative is port 8443.</p>
-<!-- @todo Make a complete list of restrictions.-->
-<p>The function provided by Cowboy will ensure that the TLS options given are following the HTTP/2 RFC with regards to security. For example some TLS extensions or ciphers may be disabled. This also applies to HTTP/1.1 connections on this listener. If this is not desirable, Ranch can be used directly to setup a custom listener.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">start</font></b>(<font color="#009900">_Type</font>, <font color="#009900">_Args</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>([
- {<font color="#FF6600">'_'</font>, [{<font color="#FF0000">"/"</font>, <font color="#FF6600">hello_handler</font>, []}]}
- ]),
- {<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_tls</font></b>(<font color="#FF6600">my_http_listener</font>,
- [
- {<font color="#FF6600">port</font>, <font color="#993399">8443</font>},
- {<font color="#FF6600">certfile</font>, <font color="#FF0000">"/path/to/certfile"</font>},
- {<font color="#FF6600">keyfile</font>, <font color="#FF0000">"/path/to/keyfile"</font>}
- ],
- #{<font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}}
- ),
- <b><font color="#000000">hello_erlang_sup:start_link</font></b>()<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Clients connecting to Cowboy on the secure listener are expected to use the ALPN TLS extension to indicate what protocols they understand. Cowboy always prefers HTTP/2 over HTTP/1.1 when both are supported. When neither are supported by the client, or when the ALPN extension was missing, Cowboy expects HTTP/1.1 to be used.</p>
-<p>Cowboy also advertises HTTP/2 support through the older NPN TLS extension for compatibility. Note however that this support will likely not be enabled by default when Cowboy 2.0 gets released.</p>
-<p>Compatibility with HTTP/1.0 is provided by Cowboy&apos;s HTTP/1.1 implementation.</p>
-<h2 id="_protocol_configuration">Protocol configuration</h2>
-<p>The HTTP/1.1 and HTTP/2 protocols share the same semantics; only their framing differs. The first is a text protocol and the second a binary protocol.</p>
-<p>Cowboy doesn&apos;t separate the configuration for HTTP/1.1 and HTTP/2. Everything goes into the same map. Many options are shared.</p>
-<!-- @todo Describe good to know options for both protocols?-->
-<!-- Maybe do that in separate chapters?-->
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/flow_diagram/">
- Flow diagram
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/routing/">
- Routing
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/loop_handlers.asciidoc b/docs/en/cowboy/2.0/guide/loop_handlers.asciidoc
deleted file mode 100644
index 21bf8424..00000000
--- a/docs/en/cowboy/2.0/guide/loop_handlers.asciidoc
+++ /dev/null
@@ -1,128 +0,0 @@
-[[loop_handlers]]
-== Loop handlers
-
-Loop handlers are a special kind of HTTP handlers used when the
-response can not be sent right away. The handler enters instead
-a receive loop waiting for the right message before it can send
-a response.
-
-Loop handlers are used for requests where a response might not
-be immediately available, but where you would like to keep the
-connection open for a while in case the response arrives. The
-most known example of such practice is known as long polling.
-
-Loop handlers can also be used for requests where a response is
-partially available and you need to stream the response body
-while the connection is open. The most known example of such
-practice is server-sent events.
-
-While the same can be accomplished using plain HTTP handlers,
-it is recommended to use loop handlers because they are well-tested
-and allow using built-in features like hibernation and timeouts.
-
-Loop handlers essentially wait for one or more Erlang messages
-and feed these messages to the `info/3` callback. It also features
-the `init/2` and `terminate/3` callbacks which work the same as
-for plain HTTP handlers.
-
-=== Initialization
-
-The `init/2` function must return a `cowboy_loop` tuple to enable
-loop handler behavior. This tuple may optionally contain
-a timeout value and/or the atom `hibernate` to make the
-process enter hibernation until a message is received.
-
-This snippet enables the loop handler:
-
-[source,erlang]
-----
-init(Req, State) ->
- {cowboy_loop, Req, State}.
-----
-
-This also makes the process hibernate:
-
-[source,erlang]
-----
-init(Req, State) ->
- {cowboy_loop, Req, State, hibernate}.
-----
-
-=== Receive loop
-
-Once initialized, Cowboy will wait for messages to arrive
-in the process' mailbox. When a message arrives, Cowboy
-calls the `info/3` function with the message, the Req object
-and the handler's state.
-
-The following snippet sends a reply when it receives a
-`reply` message from another process, or waits for another
-message otherwise.
-
-[source,erlang]
-----
-info({reply, Body}, Req, State) ->
- cowboy_req:reply(200, #{}, Body, Req),
- {stop, Req, State};
-info(_Msg, Req, State) ->
- {ok, Req, State, hibernate}.
-----
-
-Do note that the `reply` tuple here may be any message
-and is simply an example.
-
-This callback may perform any necessary operation including
-sending all or parts of a reply, and will subsequently
-return a tuple indicating if more messages are to be expected.
-
-The callback may also choose to do nothing at all and just
-skip the message received.
-
-If a reply is sent, then the `stop` tuple should be returned.
-This will instruct Cowboy to end the request.
-
-Otherwise an `ok` tuple should be returned.
-
-=== Streaming loop
-
-Another common case well suited for loop handlers is
-streaming data received in the form of Erlang messages.
-This can be done by initiating a chunked reply in the
-`init/2` callback and then using `cowboy_req:chunk/2`
-every time a message is received.
-
-The following snippet does exactly that. As you can see
-a chunk is sent every time an `event` message is received,
-and the loop is stopped by sending an `eof` message.
-
-[source,erlang]
-----
-init(Req, State) ->
- Req2 = cowboy_req:stream_reply(200, Req),
- {cowboy_loop, Req2, State}.
-
-info(eof, Req, State) ->
- {stop, Req, State};
-info({event, Data}, Req, State) ->
- cowboy_req:stream_body(Data, nofin, Req),
- {ok, Req, State};
-info(_Msg, Req, State) ->
- {ok, Req, State}.
-----
-
-=== Cleaning up
-
-It is recommended that you set the connection header to
-`close` when replying, as this process may be reused for
-a subsequent request.
-
-Please refer to the xref:handlers[Handlers chapter]
-for general instructions about cleaning up.
-
-=== Hibernate
-
-To save memory, you may hibernate the process in between
-messages received. This is done by returning the atom
-`hibernate` as part of the `loop` tuple callbacks normally
-return. Just add the atom at the end and Cowboy will hibernate
-accordingly.
diff --git a/docs/en/cowboy/2.0/guide/loop_handlers/index.html b/docs/en/cowboy/2.0/guide/loop_handlers/index.html
deleted file mode 100644
index 14b44a16..00000000
--- a/docs/en/cowboy/2.0/guide/loop_handlers/index.html
+++ /dev/null
@@ -1,250 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Loop handlers</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Loop handlers</span></h1>
-
-<p>Loop handlers are a special kind of HTTP handlers used when the response can not be sent right away. The handler enters instead a receive loop waiting for the right message before it can send a response.</p>
-<p>Loop handlers are used for requests where a response might not be immediately available, but where you would like to keep the connection open for a while in case the response arrives. The most known example of such practice is known as long polling.</p>
-<p>Loop handlers can also be used for requests where a response is partially available and you need to stream the response body while the connection is open. The most known example of such practice is server-sent events.</p>
-<p>While the same can be accomplished using plain HTTP handlers, it is recommended to use loop handlers because they are well-tested and allow using built-in features like hibernation and timeouts.</p>
-<p>Loop handlers essentially wait for one or more Erlang messages and feed these messages to the <code>info/3</code> callback. It also features the <code>init/2</code> and <code>terminate/3</code> callbacks which work the same as for plain HTTP handlers.</p>
-<h2 id="_initialization">Initialization</h2>
-<p>The <code>init/2</code> function must return a <code>cowboy_loop</code> tuple to enable loop handler behavior. This tuple may optionally contain a timeout value and/or the atom <code>hibernate</code> to make the process enter hibernation until a message is received.</p>
-<p>This snippet enables the loop handler:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">cowboy_loop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>This also makes the process hibernate:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">cowboy_loop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_receive_loop">Receive loop</h2>
-<p>Once initialized, Cowboy will wait for messages to arrive in the process&apos; mailbox. When a message arrives, Cowboy calls the <code>info/3</code> function with the message, the Req object and the handler&apos;s state.</p>
-<p>The following snippet sends a reply when it receives a <code>reply</code> message from another process, or waits for another message otherwise.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">info</font></b>({<font color="#FF6600">reply</font>, <font color="#009900">Body</font>}, <font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{}, <font color="#009900">Body</font>, <font color="#009900">Req</font>),
- {<font color="#FF6600">stop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>};
-<b><font color="#000000">info</font></b>(<font color="#009900">_Msg</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Do note that the <code>reply</code> tuple here may be any message and is simply an example.</p>
-<p>This callback may perform any necessary operation including sending all or parts of a reply, and will subsequently return a tuple indicating if more messages are to be expected.</p>
-<p>The callback may also choose to do nothing at all and just skip the message received.</p>
-<p>If a reply is sent, then the <code>stop</code> tuple should be returned. This will instruct Cowboy to end the request.</p>
-<p>Otherwise an <code>ok</code> tuple should be returned.</p>
-<h2 id="_streaming_loop">Streaming loop</h2>
-<p>Another common case well suited for loop handlers is streaming data received in the form of Erlang messages. This can be done by initiating a chunked reply in the <code>init/2</code> callback and then using <code>cowboy_req:chunk/2</code> every time a message is received.</p>
-<p>The following snippet does exactly that. As you can see a chunk is sent every time an <code>event</code> message is received, and the loop is stopped by sending an <code>eof</code> message.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Req2</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:stream_reply</font></b>(<font color="#993399">200</font>, <font color="#009900">Req</font>),
- {<font color="#FF6600">cowboy_loop</font>, <font color="#009900">Req2</font>, <font color="#009900">State</font>}<font color="#990000">.</font>
-
-<b><font color="#000000">info</font></b>(<font color="#FF6600">eof</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">stop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>};
-<b><font color="#000000">info</font></b>({<font color="#FF6600">event</font>, <font color="#009900">Data</font>}, <font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#009900">Data</font>, <font color="#FF6600">nofin</font>, <font color="#009900">Req</font>),
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>};
-<b><font color="#000000">info</font></b>(<font color="#009900">_Msg</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_cleaning_up">Cleaning up</h2>
-<p>It is recommended that you set the connection header to <code>close</code> when replying, as this process may be reused for a subsequent request.</p>
-<p>Please refer to the <a href="../handlers">Handlers chapter</a> for general instructions about cleaning up.</p>
-<h2 id="_hibernate">Hibernate</h2>
-<p>To save memory, you may hibernate the process in between messages received. This is done by returning the atom <code>hibernate</code> as part of the <code>loop</code> tuple callbacks normally return. Just add the atom at the end and Cowboy will hibernate accordingly.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/handlers/">
- Handlers
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/static_files/">
- Static files
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/middlewares.asciidoc b/docs/en/cowboy/2.0/guide/middlewares.asciidoc
deleted file mode 100644
index e6be30dd..00000000
--- a/docs/en/cowboy/2.0/guide/middlewares.asciidoc
+++ /dev/null
@@ -1,69 +0,0 @@
-[[middlewares]]
-== Middlewares
-
-Cowboy delegates the request processing to middleware components.
-By default, two middlewares are defined, for the routing and handling
-of the request, as is detailed in most of this guide.
-
-Middlewares give you complete control over how requests are to be
-processed. You can add your own middlewares to the mix or completely
-change the chain of middlewares as needed.
-
-Cowboy will execute all middlewares in the given order, unless one
-of them decides to stop processing.
-
-=== Usage
-
-Middlewares only need to implement a single callback: `execute/2`.
-It is defined in the `cowboy_middleware` behavior.
-
-This callback has two arguments. The first is the `Req` object.
-The second is the environment.
-
-Middlewares can return one of three different values:
-
-* `{ok, Req, Env}` to continue the request processing
-* `{suspend, Module, Function, Args}` to hibernate
-* `{stop, Req}` to stop processing and move on to the next request
-
-Of note is that when hibernating, processing will resume on the given
-MFA, discarding all previous stacktrace. Make sure you keep the `Req`
-and `Env` in the arguments of this MFA for later use.
-
-If an error happens during middleware processing, Cowboy will not try
-to send an error back to the socket, the process will just crash. It
-is up to the middleware to make sure that a reply is sent if something
-goes wrong.
-
-=== Configuration
-
-The middleware environment is defined as the `env` protocol option.
-In the previous chapters we saw it briefly when we needed to pass
-the routing information. It is a list of tuples with the first
-element being an atom and the second any Erlang term.
-
-Two values in the environment are reserved:
-
-* `listener` contains the name of the listener
-* `result` contains the result of the processing
-
-The `listener` value is always defined. The `result` value can be
-set by any middleware. If set to anything other than `ok`, Cowboy
-will not process any subsequent requests on this connection.
-
-The middlewares that come with Cowboy may define or require other
-environment values to perform.
-
-You can update the environment by calling the `cowboy:set_env/3`
-convenience function, adding or replacing a value in the environment.
-
-=== Routing middleware
-
-The routing middleware requires the `dispatch` value. If routing
-succeeds, it will put the handler name and options in the `handler`
-and `handler_opts` values of the environment, respectively.
-
-=== Handler middleware
-
-The handler middleware requires the `handler` and `handler_opts`
-values. It puts the result of the request handling into `result`.
diff --git a/docs/en/cowboy/2.0/guide/middlewares/index.html b/docs/en/cowboy/2.0/guide/middlewares/index.html
deleted file mode 100644
index a5e402c4..00000000
--- a/docs/en/cowboy/2.0/guide/middlewares/index.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Middlewares</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Middlewares</span></h1>
-
-<p>Cowboy delegates the request processing to middleware components. By default, two middlewares are defined, for the routing and handling of the request, as is detailed in most of this guide.</p>
-<p>Middlewares give you complete control over how requests are to be processed. You can add your own middlewares to the mix or completely change the chain of middlewares as needed.</p>
-<p>Cowboy will execute all middlewares in the given order, unless one of them decides to stop processing.</p>
-<h2 id="_usage">Usage</h2>
-<p>Middlewares only need to implement a single callback: <code>execute/2</code>. It is defined in the <code>cowboy_middleware</code> behavior.</p>
-<p>This callback has two arguments. The first is the <code>Req</code> object. The second is the environment.</p>
-<p>Middlewares can return one of three different values:</p>
-<ul><li><code>{ok, Req, Env}</code> to continue the request processing
-</li>
-<li><code>{suspend, Module, Function, Args}</code> to hibernate
-</li>
-<li><code>{stop, Req}</code> to stop processing and move on to the next request
-</li>
-</ul>
-<p>Of note is that when hibernating, processing will resume on the given MFA, discarding all previous stacktrace. Make sure you keep the <code>Req</code> and <code>Env</code> in the arguments of this MFA for later use.</p>
-<p>If an error happens during middleware processing, Cowboy will not try to send an error back to the socket, the process will just crash. It is up to the middleware to make sure that a reply is sent if something goes wrong.</p>
-<h2 id="_configuration">Configuration</h2>
-<p>The middleware environment is defined as the <code>env</code> protocol option. In the previous chapters we saw it briefly when we needed to pass the routing information. It is a list of tuples with the first element being an atom and the second any Erlang term.</p>
-<p>Two values in the environment are reserved:</p>
-<ul><li><code>listener</code> contains the name of the listener
-</li>
-<li><code>result</code> contains the result of the processing
-</li>
-</ul>
-<p>The <code>listener</code> value is always defined. The <code>result</code> value can be set by any middleware. If set to anything other than <code>ok</code>, Cowboy will not process any subsequent requests on this connection.</p>
-<p>The middlewares that come with Cowboy may define or require other environment values to perform.</p>
-<p>You can update the environment by calling the <code>cowboy:set_env/3</code> convenience function, adding or replacing a value in the environment.</p>
-<h2 id="_routing_middleware">Routing middleware</h2>
-<p>The routing middleware requires the <code>dispatch</code> value. If routing succeeds, it will put the handler name and options in the <code>handler</code> and <code>handler_opts</code> values of the environment, respectively.</p>
-<h2 id="_handler_middleware">Handler middleware</h2>
-<p>The handler middleware requires the <code>handler</code> and <code>handler_opts</code> values. It puts the result of the request handling into <code>result</code>.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/streams/">
- Streams
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/migrating_from_1.0/">
- Migrating from Cowboy 1.0 to 2.0
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/migrating_from_1.0.asciidoc b/docs/en/cowboy/2.0/guide/migrating_from_1.0.asciidoc
deleted file mode 100644
index 14be1fc4..00000000
--- a/docs/en/cowboy/2.0/guide/migrating_from_1.0.asciidoc
+++ /dev/null
@@ -1,207 +0,0 @@
-[appendix]
-== Migrating from Cowboy 1.0 to 2.0
-
-A lot has changed between Cowboy 1.0 and 2.0. The `cowboy_req`
-interface in particular has seen a massive revamp. Hooks are
-gone, their functionality can now be achieved via stream
-handlers.
-
-The documentation has seen great work, in particular the
-manual. Each module and each function now has its own dedicated
-manual page with full details and examples.
-
-=== Compatibility
-
-Compatibility with Erlang/OTP R16, 17 and 18 has been dropped.
-Erlang/OTP 19.0 or above is required. It is non-trivial to
-make Cowboy 2.0 work with older Erlang/OTP versions.
-
-Cowboy 2.0 is not compatible with Cowlib versions older than
-2.0. It should be compatible with Ranch 1.0 or above, however
-it has not been tested with Ranch versions older than 1.4.
-
-Cowboy 2.0 is tested on Arch Linux, Ubuntu, FreeBSD, Windows
-and OSX. It is tested with every point release (latest patch
-release) and also with HiPE on the most recent release.
-
-Cowboy 2.0 now comes with Erlang.mk templates.
-
-=== Features added
-
-* The HTTP/2 protocol is now supported.
-
-* Cowboy no longer uses only one process per connection.
- It now uses one process per connection plus one process
- per request by default. This is necessary for HTTP/2.
- There might be a slight drop in performance for HTTP/1.1
- connections due to this change.
-
-* Cowboy internals have largely been reworked in order to
- support HTTP/2. This opened the way to stream handlers,
- which are a chain of modules that are called whenever
- something happens relating to a request/response.
-
-* The `cowboy_stream_h` stream handler has been added.
- It provides most of Cowboy's default behavior.
-
-* The `cowboy_compress_h` stream handler has been added.
- It compresses responses when possible. It's worth noting
- that it compresses in more cases than Cowboy 1.0 ever did.
-
-* Because of the many changes in the internals of Cowboy,
- many options have been added or modified. Of note is that
- the Websocket options are now given per handler rather
- than for the entire listener.
-
-* Websocket permessage-deflate compression is now supported
- via the `compress` option.
-
-* Static file handlers will now correctly find files found
- in '.ez' archives.
-
-* Constraints have been generalized and are now used not only
- in the router but also in some `cowboy_req` functions. Their
- interface has also been modified to allow for reverse
- operations and formatting of errors.
-
-=== Features removed
-
-* SPDY support has been removed. Use HTTP/2 instead.
-
-* Hooks have been removed. Use xref:streams[stream handlers] instead.
-
-* The undocumented `waiting_stream` hack has been removed.
- It allowed disabling chunked transfer-encoding for HTTP/1.1.
- It has no equivalent in Cowboy 2.0. Open a ticket if necessary.
-
-* Sub protocols still exist, but their interface has largely changed
- and they are no longer documented for the time being.
-
-=== Changed behaviors
-
-* The handler behaviors have been renamed and are now `cowboy_handler`,
- `cowboy_loop`, `cowboy_rest` and `cowboy_websocket`.
-
-* Plain HTTP, loop, REST and Websocket handlers have had their
- init and terminate callbacks unified. They now all use the
- `init/2` and `terminate/3` callbacks. The latter is now optional.
- The terminate reason has now been documented for all handlers.
-
-* The tuple returned to switch to a different handler type has
- changed. It now takes the form `{Module, Req, State}` or
- `{Module, Req, State, Opts}`, where `Opts` is a map of options
- to configure the handler. The timeout and hibernate options
- must now be specified using this map, where applicable.
-
-* All behaviors that used to accept `halt` or `shutdown` tuples
- as a return value no longer do so. The return value is now
- a `stop` tuple, consistent across Cowboy.
-
-* Middlewares can no longer return an `error` tuple. They have
- to send the response and return a `stop` tuple instead.
-
-* The `known_content_type` REST handler callback has been removed
- as it was found unnecessary.
-
-* Websocket handlers have both the normal `init/2` and
- an optional `websocket_init/1` function. The reason for
- that exception is that the `websocket_*` callbacks execute
- in a separate process from the `init/2` callback, and it
- was therefore not obvious how timers or monitors should
- be setup properly. They are effectively initializing the
- handler before and after the HTTP/1.1 upgrade.
-
-* Websocket handlers can now send frames directly from
- `websocket_init/1`. The frames will be sent immediately
- after the handshake.
-
-* Websocket handler callbacks no longer receive the Req
- argument. The `init/2` callback still receives it and
- can be used to extract relevant information. The `terminate/3`
- callback, if implemented, may still receive the Req
- (see next bullet point).
-
-* Websocket handlers have a new `req_filter` option that
- can be used to customize how much information should be
- discarded from the Req object after the handshake. Note
- that the Req object is only available in `terminate/3`
- past that point.
-
-* Websocket handlers have their timeout default changed
- from infinity to 60 seconds.
-
-=== New functions
-
-* The `cowboy_req:scheme/1` function has been added.
-
-* The `cowboy_req:uri/1,2` function has been added, replacing the
- less powerful functions `cowboy_req:url/1` and `cowboy_req:host_url/1`.
-
-* The functions `cowboy_req:match_qs/2` and `cowboy_req:match_cookies/2`
- allow matching query string and cookies against constraints.
-
-* The function `cowboy_req:set_resp_cookie/3` has been added to
- complement `cowboy_req:set_resp_cookie/4`.
-
-* The functions `cowboy_req:resp_header/2,3` and `cowboy_req:resp_headers/1`
- have been added. They can be used to retrieve response headers
- that were previously set.
-
-* The function `cowboy_req:set_resp_headers/2` has been added. It
- allows setting many response headers at once.
-
-* The functions `cowboy_req:push/3,4` can be used to push resources
- for protocols that support it (by default only HTTP/2).
-
-=== Changed functions
-
-* The `cowboy:start_http/4` function was renamed to `cowboy:start_clear/3`.
-
-* The `cowboy:start_https/4` function was renamed to `cowboy:start_tls/3`.
-
-* Most, if not all, functions in the `cowboy_req` module have been modified.
- Please consult the changelog of each individual functions. The changes
- are mainly about simplifying and clarifying the interface. The Req is no
- longer returned when not necessary, maps are used wherever possible,
- and some functions have been renamed.
-
-* The position of the `Opts` argument for `cowboy_req:set_resp_cookie/4`
- has changed to improve consistency. It is now the last argument.
-
-=== Removed functions
-
-* The functions `cowboy_req:url/1` and `cowboy_req:host_url/1` have been
- removed in favor of the new function `cowboy_req:uri/1,2`.
-
-* The functions `cowboy_req:meta/2,3` and `cowboy_req:set_meta/3` have
- been removed. The Req object is now a public map, therefore they became
- unnecessary.
-
-* The functions `cowboy_req:set_resp_body_fun/2,3` have been removed.
- For sending files, the function `cowboy_req:set_resp_body/2` can now
- take a sendfile tuple.
-
-* Remove many undocumented functions from `cowboy_req`, including the
- functions `cowboy_req:get/2` and `cowboy_req:set/3`.
-
-=== Other changes
-
-* The correct percent-decoding algorithm is now used for path elements
- during routing. It will no longer decode `+` characters.
-
-* The router will now properly handle path segments `.` and `..`.
-
-* Routing behavior has changed for URIs containing latin1 characters.
- They are no longer allowed. URIs are expected to be in UTF-8 once
- they are percent-decoded.
-
-* Etag comparison in REST handlers has been fixed. Some requests may
- now fail when they succeeded in the past.
-
-* The `If-*-Since` headers are now ignored in REST handlers if
- the corresponding `If*-Match` header exist. The former is
- largely a backward compatible header and this shouldn't create
- any issue. The new behavior follows the current RFCs more closely.
-
-* The static file handler has been improved to handle more special
- characters on systems that accept them.
diff --git a/docs/en/cowboy/2.0/guide/migrating_from_1.0/index.html b/docs/en/cowboy/2.0/guide/migrating_from_1.0/index.html
deleted file mode 100644
index 398a9469..00000000
--- a/docs/en/cowboy/2.0/guide/migrating_from_1.0/index.html
+++ /dev/null
@@ -1,296 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Migrating from Cowboy 1.0 to 2.0</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Migrating from Cowboy 1.0 to 2.0</span></h1>
-
-<p>A lot has changed between Cowboy 1.0 and 2.0. The <code>cowboy_req</code> interface in particular has seen a massive revamp. Hooks are gone, their functionality can now be achieved via stream handlers.</p>
-<p>The documentation has seen great work, in particular the manual. Each module and each function now has its own dedicated manual page with full details and examples.</p>
-<h2 id="_compatibility">Compatibility</h2>
-<p>Compatibility with Erlang/OTP R16, 17 and 18 has been dropped. Erlang/OTP 19.0 or above is required. It is non-trivial to make Cowboy 2.0 work with older Erlang/OTP versions.</p>
-<p>Cowboy 2.0 is not compatible with Cowlib versions older than 2.0. It should be compatible with Ranch 1.0 or above, however it has not been tested with Ranch versions older than 1.4.</p>
-<p>Cowboy 2.0 is tested on Arch Linux, Ubuntu, FreeBSD, Windows and OSX. It is tested with every point release (latest patch release) and also with HiPE on the most recent release.</p>
-<p>Cowboy 2.0 now comes with Erlang.mk templates.</p>
-<h2 id="_features_added">Features added</h2>
-<ul><li>The HTTP/2 protocol is now supported.
-</li>
-<li>Cowboy no longer uses only one process per connection. It now uses one process per connection plus one process per request by default. This is necessary for HTTP/2. There might be a slight drop in performance for HTTP/1.1 connections due to this change.
-</li>
-<li>Cowboy internals have largely been reworked in order to support HTTP/2. This opened the way to stream handlers, which are a chain of modules that are called whenever something happens relating to a request/response.
-</li>
-<li>The <code>cowboy_stream_h</code> stream handler has been added. It provides most of Cowboy&apos;s default behavior.
-</li>
-<li>The <code>cowboy_compress_h</code> stream handler has been added. It compresses responses when possible. It&apos;s worth noting that it compresses in more cases than Cowboy 1.0 ever did.
-</li>
-<li>Because of the many changes in the internals of Cowboy, many options have been added or modified. Of note is that the Websocket options are now given per handler rather than for the entire listener.
-</li>
-<li>Websocket permessage-deflate compression is now supported via the <code>compress</code> option.
-</li>
-<li>Static file handlers will now correctly find files found in <em>.ez</em> archives.
-</li>
-<li>Constraints have been generalized and are now used not only in the router but also in some <code>cowboy_req</code> functions. Their interface has also been modified to allow for reverse operations and formatting of errors.
-</li>
-</ul>
-<h2 id="_features_removed">Features removed</h2>
-<ul><li>SPDY support has been removed. Use HTTP/2 instead.
-</li>
-<li>Hooks have been removed. Use <a href="../streams">stream handlers</a> instead.
-</li>
-<li>The undocumented <code>waiting_stream</code> hack has been removed. It allowed disabling chunked transfer-encoding for HTTP/1.1. It has no equivalent in Cowboy 2.0. Open a ticket if necessary.
-</li>
-<li>Sub protocols still exist, but their interface has largely changed and they are no longer documented for the time being.
-</li>
-</ul>
-<h2 id="_changed_behaviors">Changed behaviors</h2>
-<ul><li>The handler behaviors have been renamed and are now <code>cowboy_handler</code>, <code>cowboy_loop</code>, <code>cowboy_rest</code> and <code>cowboy_websocket</code>.
-</li>
-<li>Plain HTTP, loop, REST and Websocket handlers have had their init and terminate callbacks unified. They now all use the <code>init/2</code> and <code>terminate/3</code> callbacks. The latter is now optional. The terminate reason has now been documented for all handlers.
-</li>
-<li>The tuple returned to switch to a different handler type has changed. It now takes the form <code>{Module, Req, State}</code> or <code>{Module, Req, State, Opts}</code>, where <code>Opts</code> is a map of options to configure the handler. The timeout and hibernate options must now be specified using this map, where applicable.
-</li>
-<li>All behaviors that used to accept <code>halt</code> or <code>shutdown</code> tuples as a return value no longer do so. The return value is now a <code>stop</code> tuple, consistent across Cowboy.
-</li>
-<li>Middlewares can no longer return an <code>error</code> tuple. They have to send the response and return a <code>stop</code> tuple instead.
-</li>
-<li>The <code>known_content_type</code> REST handler callback has been removed as it was found unnecessary.
-</li>
-<li>Websocket handlers have both the normal <code>init/2</code> and an optional <code>websocket_init/1</code> function. The reason for that exception is that the <code>websocket_*</code> callbacks execute in a separate process from the <code>init/2</code> callback, and it was therefore not obvious how timers or monitors should be setup properly. They are effectively initializing the handler before and after the HTTP/1.1 upgrade.
-</li>
-<li>Websocket handlers can now send frames directly from <code>websocket_init/1</code>. The frames will be sent immediately after the handshake.
-</li>
-<li>Websocket handler callbacks no longer receive the Req argument. The <code>init/2</code> callback still receives it and can be used to extract relevant information. The <code>terminate/3</code> callback, if implemented, may still receive the Req (see next bullet point).
-</li>
-<li>Websocket handlers have a new <code>req_filter</code> option that can be used to customize how much information should be discarded from the Req object after the handshake. Note that the Req object is only available in <code>terminate/3</code> past that point.
-</li>
-<li>Websocket handlers have their timeout default changed from infinity to 60 seconds.
-</li>
-</ul>
-<h2 id="_new_functions">New functions</h2>
-<ul><li>The <code>cowboy_req:scheme/1</code> function has been added.
-</li>
-<li>The <code>cowboy_req:uri/1,2</code> function has been added, replacing the less powerful functions <code>cowboy_req:url/1</code> and <code>cowboy_req:host_url/1</code>.
-</li>
-<li>The functions <code>cowboy_req:match_qs/2</code> and <code>cowboy_req:match_cookies/2</code> allow matching query string and cookies against constraints.
-</li>
-<li>The function <code>cowboy_req:set_resp_cookie/3</code> has been added to complement <code>cowboy_req:set_resp_cookie/4</code>.
-</li>
-<li>The functions <code>cowboy_req:resp_header/2,3</code> and <code>cowboy_req:resp_headers/1</code> have been added. They can be used to retrieve response headers that were previously set.
-</li>
-<li>The function <code>cowboy_req:set_resp_headers/2</code> has been added. It allows setting many response headers at once.
-</li>
-<li>The functions <code>cowboy_req:push/3,4</code> can be used to push resources for protocols that support it (by default only HTTP/2).
-</li>
-</ul>
-<h2 id="_changed_functions">Changed functions</h2>
-<ul><li>The <code>cowboy:start_http/4</code> function was renamed to <code>cowboy:start_clear/3</code>.
-</li>
-<li>The <code>cowboy:start_https/4</code> function was renamed to <code>cowboy:start_tls/3</code>.
-</li>
-<li>Most, if not all, functions in the <code>cowboy_req</code> module have been modified. Please consult the changelog of each individual functions. The changes are mainly about simplifying and clarifying the interface. The Req is no longer returned when not necessary, maps are used wherever possible, and some functions have been renamed.
-</li>
-<li>The position of the <code>Opts</code> argument for <code>cowboy_req:set_resp_cookie/4</code> has changed to improve consistency. It is now the last argument.
-</li>
-</ul>
-<h2 id="_removed_functions">Removed functions</h2>
-<ul><li>The functions <code>cowboy_req:url/1</code> and <code>cowboy_req:host_url/1</code> have been removed in favor of the new function <code>cowboy_req:uri/1,2</code>.
-</li>
-<li>The functions <code>cowboy_req:meta/2,3</code> and <code>cowboy_req:set_meta/3</code> have been removed. The Req object is now a public map, therefore they became unnecessary.
-</li>
-<li>The functions <code>cowboy_req:set_resp_body_fun/2,3</code> have been removed. For sending files, the function <code>cowboy_req:set_resp_body/2</code> can now take a sendfile tuple.
-</li>
-<li>Remove many undocumented functions from <code>cowboy_req</code>, including the functions <code>cowboy_req:get/2</code> and <code>cowboy_req:set/3</code>.
-</li>
-</ul>
-<h2 id="_other_changes">Other changes</h2>
-<ul><li>The correct percent-decoding algorithm is now used for path elements during routing. It will no longer decode <code>+</code> characters.
-</li>
-<li>The router will now properly handle path segments <code>.</code> and <code>..</code>.
-</li>
-<li>Routing behavior has changed for URIs containing latin1 characters. They are no longer allowed. URIs are expected to be in UTF-8 once they are percent-decoded.
-</li>
-<li>Etag comparison in REST handlers has been fixed. Some requests may now fail when they succeeded in the past.
-</li>
-<li>The <code>If-*-Since</code> headers are now ignored in REST handlers if the corresponding <code>If*-Match</code> header exist. The former is largely a backward compatible header and this shouldn&apos;t create any issue. The new behavior follows the current RFCs more closely.
-</li>
-<li>The static file handler has been improved to handle more special characters on systems that accept them.
-</li>
-</ul>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/middlewares/">
- Middlewares
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/specs/">
- HTTP and other specifications
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/modern_web.asciidoc b/docs/en/cowboy/2.0/guide/modern_web.asciidoc
deleted file mode 100644
index 48525732..00000000
--- a/docs/en/cowboy/2.0/guide/modern_web.asciidoc
+++ /dev/null
@@ -1,122 +0,0 @@
-[[modern_web]]
-== The modern Web
-
-Cowboy is a server for the modern Web. This chapter explains
-what it means and details all the standards involved.
-
-Cowboy supports all the standards listed in this document.
-
-=== HTTP/2
-
-HTTP/2 is the most efficient protocol for consuming Web
-services. It enables clients to keep a connection open
-for long periods of time; to send requests concurrently;
-to reduce the size of requests through HTTP headers
-compression; and more. The protocol is binary, greatly
-reducing the resources needed to parse it.
-
-HTTP/2 also enables the server to push messages to the
-client. This can be used for various purposes, including
-the sending of related resources before the client requests
-them, in an effort to reduce latency. This can also be used
-to enable bidirectional communication.
-
-Cowboy provides transparent support for HTTP/2. Clients
-that know it can use it; others fall back to HTTP/1.1
-automatically.
-
-HTTP/2 is compatible with the HTTP/1.1 semantics.
-
-HTTP/2 is defined by RFC 7540 and RFC 7541.
-
-=== HTTP/1.1
-
-HTTP/1.1 is the previous version of the HTTP protocol.
-The protocol itself is text-based and suffers from numerous
-issues and limitations. In particular it is not possible
-to execute requests concurrently (though pipelining is
-sometimes possible), and it's also sometimes difficult
-to detect that a client disconnected.
-
-HTTP/1.1 does provide very good semantics for interacting
-with Web services. It defines the standard methods, headers
-and status codes used by HTTP/1.1 and HTTP/2 clients and
-servers.
-
-HTTP/1.1 also defines compatibility with an older version
-of the protocol, HTTP/1.0, which was never really standardized
-across implementations.
-
-The core of HTTP/1.1 is defined by RFC 7230, RFC 7231,
-RFC 7232, RFC 7233, RFC 7234 and RFC 7235. Numerous RFCs
-and other specifications exist defining additional HTTP
-methods, status codes, headers or semantics.
-
-=== Websocket
-
-xref:ws_protocol[Websocket] is a protocol built on top of HTTP/1.1
-that provides a two-ways communication channel between the client and
-the server. Communication is asynchronous and can occur concurrently.
-
-It consists of a Javascript object allowing setting up a
-Websocket connection to the server, and a binary based
-protocol for sending data to the server or the client.
-
-Websocket connections can transfer either UTF-8 encoded text
-data or binary data. The protocol also includes support for
-implementing a ping/pong mechanism, allowing the server and
-the client to have more confidence that the connection is still
-alive.
-
-A Websocket connection can be used to transfer any kind of data,
-small or big, text or binary. Because of this Websocket is
-sometimes used for communication between systems.
-
-Websocket messages have no semantics on their own. Websocket
-is closer to TCP in that aspect, and requires you to design
-and implement your own protocol on top of it; or adapt an
-existing protocol to Websocket.
-
-Cowboy provides an interface known as xref:ws_handlers[Websocket handlers]
-that gives complete control over a Websocket connection.
-
-The Websocket protocol is defined by RFC 6455.
-
-=== Long-lived requests
-
-Cowboy provides an interface that can be used to support
-long-polling or to stream large amounts of data reliably,
-including using Server-Sent Events.
-
-Long-polling is a mechanism in which the client performs
-a request which may not be immediately answered by the
-server. It allows clients to request resources that may
-not currently exist, but are expected to be created soon,
-and which will be returned as soon as they are.
-
-Long-polling is essentially a hack, but it is widely used
-to overcome limitations on older clients and servers.
-
-Server-Sent Events is a small protocol defined as a media
-type, `text/event-stream`, along with a new HTTP header,
-`Last-Event-ID`. It is defined in the EventSource W3C
-specification.
-
-Cowboy provides an interface known as xref:loop_handlers[loop handlers]
-that facilitates the implementation of long-polling or stream
-mechanisms. It works regardless of the underlying protocol.
-
-=== REST
-
-xref:rest_principles[REST, or REpresentational State Transfer],
-is a style of architecture for loosely connected distributed
-systems. It can easily be implemented on top of HTTP.
-
-REST is essentially a set of constraints to be followed.
-Many of these constraints are purely architectural and
-solved by simply using HTTP. Some constraints must be
-explicitly followed by the developer.
-
-Cowboy provides an interface known as xref:rest_handlers[REST handlers]
-that simplifies the implementation of a REST API on top of
-the HTTP protocol.
diff --git a/docs/en/cowboy/2.0/guide/modern_web/index.html b/docs/en/cowboy/2.0/guide/modern_web/index.html
deleted file mode 100644
index 9814fa56..00000000
--- a/docs/en/cowboy/2.0/guide/modern_web/index.html
+++ /dev/null
@@ -1,212 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: The modern Web</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>The modern Web</span></h1>
-
-<p>Cowboy is a server for the modern Web. This chapter explains what it means and details all the standards involved.</p>
-<p>Cowboy supports all the standards listed in this document.</p>
-<h2 id="_http_2">HTTP/2</h2>
-<p>HTTP/2 is the most efficient protocol for consuming Web services. It enables clients to keep a connection open for long periods of time; to send requests concurrently; to reduce the size of requests through HTTP headers compression; and more. The protocol is binary, greatly reducing the resources needed to parse it.</p>
-<p>HTTP/2 also enables the server to push messages to the client. This can be used for various purposes, including the sending of related resources before the client requests them, in an effort to reduce latency. This can also be used to enable bidirectional communication.</p>
-<p>Cowboy provides transparent support for HTTP/2. Clients that know it can use it; others fall back to HTTP/1.1 automatically.</p>
-<p>HTTP/2 is compatible with the HTTP/1.1 semantics.</p>
-<p>HTTP/2 is defined by RFC 7540 and RFC 7541.</p>
-<h2 id="_http_1_1">HTTP/1.1</h2>
-<p>HTTP/1.1 is the previous version of the HTTP protocol. The protocol itself is text-based and suffers from numerous issues and limitations. In particular it is not possible to execute requests concurrently (though pipelining is sometimes possible), and it&apos;s also sometimes difficult to detect that a client disconnected.</p>
-<p>HTTP/1.1 does provide very good semantics for interacting with Web services. It defines the standard methods, headers and status codes used by HTTP/1.1 and HTTP/2 clients and servers.</p>
-<p>HTTP/1.1 also defines compatibility with an older version of the protocol, HTTP/1.0, which was never really standardized across implementations.</p>
-<p>The core of HTTP/1.1 is defined by RFC 7230, RFC 7231, RFC 7232, RFC 7233, RFC 7234 and RFC 7235. Numerous RFCs and other specifications exist defining additional HTTP methods, status codes, headers or semantics.</p>
-<h2 id="_websocket">Websocket</h2>
-<p><a href="../ws_protocol">Websocket</a> is a protocol built on top of HTTP/1.1 that provides a two-ways communication channel between the client and the server. Communication is asynchronous and can occur concurrently.</p>
-<p>It consists of a Javascript object allowing setting up a Websocket connection to the server, and a binary based protocol for sending data to the server or the client.</p>
-<p>Websocket connections can transfer either UTF-8 encoded text data or binary data. The protocol also includes support for implementing a ping/pong mechanism, allowing the server and the client to have more confidence that the connection is still alive.</p>
-<p>A Websocket connection can be used to transfer any kind of data, small or big, text or binary. Because of this Websocket is sometimes used for communication between systems.</p>
-<p>Websocket messages have no semantics on their own. Websocket is closer to TCP in that aspect, and requires you to design and implement your own protocol on top of it; or adapt an existing protocol to Websocket.</p>
-<p>Cowboy provides an interface known as <a href="../ws_handlers">Websocket handlers</a> that gives complete control over a Websocket connection.</p>
-<p>The Websocket protocol is defined by RFC 6455.</p>
-<h2 id="_long_lived_requests">Long-lived requests</h2>
-<p>Cowboy provides an interface that can be used to support long-polling or to stream large amounts of data reliably, including using Server-Sent Events.</p>
-<p>Long-polling is a mechanism in which the client performs a request which may not be immediately answered by the server. It allows clients to request resources that may not currently exist, but are expected to be created soon, and which will be returned as soon as they are.</p>
-<p>Long-polling is essentially a hack, but it is widely used to overcome limitations on older clients and servers.</p>
-<p>Server-Sent Events is a small protocol defined as a media type, <code>text/event-stream</code>, along with a new HTTP header, <code>Last-Event-ID</code>. It is defined in the EventSource W3C specification.</p>
-<p>Cowboy provides an interface known as <a href="../loop_handlers">loop handlers</a> that facilitates the implementation of long-polling or stream mechanisms. It works regardless of the underlying protocol.</p>
-<h2 id="_rest">REST</h2>
-<p><a href="../rest_principles">REST, or REpresentational State Transfer</a>, is a style of architecture for loosely connected distributed systems. It can easily be implemented on top of HTTP.</p>
-<p>REST is essentially a set of constraints to be followed. Many of these constraints are purely architectural and solved by simply using HTTP. Some constraints must be explicitly followed by the developer.</p>
-<p>Cowboy provides an interface known as <a href="../rest_handlers">REST handlers</a> that simplifies the implementation of a REST API on top of the HTTP protocol.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/erlang_web/">
- Erlang and the Web
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/multipart.asciidoc b/docs/en/cowboy/2.0/guide/multipart.asciidoc
deleted file mode 100644
index 0825244c..00000000
--- a/docs/en/cowboy/2.0/guide/multipart.asciidoc
+++ /dev/null
@@ -1,169 +0,0 @@
-[[multipart]]
-== Multipart requests
-
-Multipart originates from MIME, an Internet standard that
-extends the format of emails.
-
-A multipart message is a list of parts. A part contains
-headers and a body. The body of the parts may be
-of any media type, and contain text or binary data.
-It is possible for parts to contain a multipart media
-type.
-
-In the context of HTTP, multipart is most often used
-with the `multipart/form-data` media type. It is what
-browsers use to upload files through HTML forms.
-
-The `multipart/byteranges` is also common. It is the
-media type used to send arbitrary bytes from a resource,
-enabling clients to resume downloads.
-
-=== Form-data
-
-In the normal case, when a form is submitted, the
-browser will use the `application/x-www-form-urlencoded`
-content-type. This type is just a list of keys and
-values and is therefore not fit for uploading files.
-
-That's where the `multipart/form-data` content-type
-comes in. When the form is configured to use this
-content-type, the browser will create a multipart
-message where each part corresponds to a field on
-the form. For files, it also adds some metadata in
-the part headers, like the file name.
-
-A form with a text input, a file input and a select
-choice box will result in a multipart message with
-three parts, one for each field.
-
-The browser does its best to determine the media type
-of the files it sends this way, but you should not
-rely on it for determining the contents of the file.
-Proper investigation of the contents is recommended.
-
-=== Checking for multipart messages
-
-The content-type header indicates the presence of
-a multipart message:
-
-[source,erlang]
-----
-{<<"multipart">>, <<"form-data">>, _}
- = cowboy_req:parse_header(<<"content-type">>, Req).
-----
-
-=== Reading a multipart message
-
-Cowboy provides two sets of functions for reading
-request bodies as multipart messages.
-
-The `cowboy_req:read_part/1,2` functions return the
-next part's headers, if any.
-
-The `cowboy_req:read_part_body/1,2` functions return
-the current part's body. For large bodies you may
-need to call the function multiple times.
-
-To read a multipart message you need to iterate over
-all its parts:
-
-[source,erlang]
-----
-multipart(Req0) ->
- case cowboy_req:read_part(Req0) of
- {ok, _Headers, Req1} ->
- {ok, _Body, Req} = cowboy_req:read_part_body(Req1),
- multipart(Req);
- {done, Req} ->
- Req
- end.
-----
-
-When part bodies are too large, Cowboy will return
-a `more` tuple, and allow you to loop until the part
-body has been fully read.
-
-The function `cow_multipart:form_data/1` can be used
-to quickly obtain information about a part from a
-`multipart/form-data` message. The function returns
-a `data` or a `file` tuple depending on whether this
-is a normal field or a file being uploaded.
-
-The following snippet will use this function and
-use different strategies depending on whether the
-part is a file:
-
-[source,erlang]
-----
-multipart(Req0) ->
- case cowboy_req:read_part(Req0) of
- {ok, Headers, Req1} ->
- Req = case cow_multipart:form_data(Headers) of
- {data, _FieldName} ->
- {ok, _Body, Req2} = cowboy_req:read_part_body(Req1),
- Req2;
- {file, _FieldName, _Filename, _CType} ->
- stream_file(Req1)
- end,
- multipart(Req);
- {done, Req} ->
- Req
- end.
-
-stream_file(Req0) ->
- case cowboy_req:read_part_body(Req0) of
- {ok, _LastBodyChunk, Req} ->
- Req;
- {more, _BodyChunk, Req} ->
- stream_file(Req)
- end.
-----
-
-Both the part header and body reading functions can take
-options that will be given to the request body reading
-functions. By default, `cowboy_req:read_part/1` reads
-up to 64KB for up to 5 seconds. `cowboy_req:read_part_body/1`
-has the same defaults as `cowboy_req:read_body/1`.
-
-To change the defaults for part headers:
-
-[source,erlang]
-cowboy_req:read_part(Req, #{length => 128000}).
-
-And for part bodies:
-
-[source,erlang]
-cowboy_req:read_part_body(Req, #{length => 1000000, period => 7000}).
-
-=== Skipping unwanted parts
-
-Part bodies do not have to be read. Cowboy will automatically
-skip it when you request the next part's body.
-
-The following snippet reads all part headers and skips
-all bodies:
-
-[source,erlang]
-----
-multipart(Req0) ->
- case cowboy_req:read_part(Req0) of
- {ok, _Headers, Req} ->
- multipart(Req);
- {done, Req} ->
- Req
- end.
-----
-
-Similarly, if you start reading the body and it ends up
-being too big, you can simply continue with the next part.
-Cowboy will automatically skip what remains.
-
-While Cowboy can skip part bodies automatically, the read
-rate is not configurable. Depending on your application
-you may want to skip manually, in particular if you observe
-poor performance while skipping.
-
-You do not have to read all parts either. You can stop
-reading as soon as you find the data you need.
-
-// @todo Cover the building of multipart messages.
diff --git a/docs/en/cowboy/2.0/guide/multipart/index.html b/docs/en/cowboy/2.0/guide/multipart/index.html
deleted file mode 100644
index bbed5586..00000000
--- a/docs/en/cowboy/2.0/guide/multipart/index.html
+++ /dev/null
@@ -1,285 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Multipart requests</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Multipart requests</span></h1>
-
-<p>Multipart originates from MIME, an Internet standard that extends the format of emails.</p>
-<p>A multipart message is a list of parts. A part contains headers and a body. The body of the parts may be of any media type, and contain text or binary data. It is possible for parts to contain a multipart media type.</p>
-<p>In the context of HTTP, multipart is most often used with the <code>multipart/form-data</code> media type. It is what browsers use to upload files through HTML forms.</p>
-<p>The <code>multipart/byteranges</code> is also common. It is the media type used to send arbitrary bytes from a resource, enabling clients to resume downloads.</p>
-<h2 id="_form_data">Form-data</h2>
-<p>In the normal case, when a form is submitted, the browser will use the <code>application/x-www-form-urlencoded</code> content-type. This type is just a list of keys and values and is therefore not fit for uploading files.</p>
-<p>That&apos;s where the <code>multipart/form-data</code> content-type comes in. When the form is configured to use this content-type, the browser will create a multipart message where each part corresponds to a field on the form. For files, it also adds some metadata in the part headers, like the file name.</p>
-<p>A form with a text input, a file input and a select choice box will result in a multipart message with three parts, one for each field.</p>
-<p>The browser does its best to determine the media type of the files it sends this way, but you should not rely on it for determining the contents of the file. Proper investigation of the contents is recommended.</p>
-<h2 id="_checking_for_multipart_messages">Checking for multipart messages</h2>
-<p>The content-type header indicates the presence of a multipart message:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#990000">&lt;&lt;</font><font color="#FF0000">"multipart"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"form-data"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">_</font>}
- <font color="#990000">=</font> <b><font color="#000000">cowboy_req:parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_reading_a_multipart_message">Reading a multipart message</h2>
-<p>Cowboy provides two sets of functions for reading request bodies as multipart messages.</p>
-<p>The <code>cowboy_req:read_part/1,2</code> functions return the next part&apos;s headers, if any.</p>
-<p>The <code>cowboy_req:read_part_body/1,2</code> functions return the current part&apos;s body. For large bodies you may need to call the function multiple times.</p>
-<p>To read a multipart message you need to iterate over all its parts:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">multipart</font></b>(<font color="#009900">Req0</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_part</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">_Headers</font>, <font color="#009900">Req1</font>} <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">_Body</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_part_body</font></b>(<font color="#009900">Req1</font>),
- <b><font color="#000000">multipart</font></b>(<font color="#009900">Req</font>);
- {<font color="#FF6600">done</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font>
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>When part bodies are too large, Cowboy will return a <code>more</code> tuple, and allow you to loop until the part body has been fully read.</p>
-<p>The function <code>cow_multipart:form_data/1</code> can be used to quickly obtain information about a part from a <code>multipart/form-data</code> message. The function returns a <code>data</code> or a <code>file</code> tuple depending on whether this is a normal field or a file being uploaded.</p>
-<p>The following snippet will use this function and use different strategies depending on whether the part is a file:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">multipart</font></b>(<font color="#009900">Req0</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_part</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">Headers</font>, <font color="#009900">Req1</font>} <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#0000FF">case</font></b> <b><font color="#000000">cow_multipart:form_data</font></b>(<font color="#009900">Headers</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">data</font>, <font color="#009900">_FieldName</font>} <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">_Body</font>, <font color="#009900">Req2</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_part_body</font></b>(<font color="#009900">Req1</font>),
- <font color="#009900">Req2</font>;
- {<font color="#FF6600">file</font>, <font color="#009900">_FieldName</font>, <font color="#009900">_Filename</font>, <font color="#009900">_CType</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">stream_file</font></b>(<font color="#009900">Req1</font>)
- <b><font color="#0000FF">end</font></b>,
- <b><font color="#000000">multipart</font></b>(<font color="#009900">Req</font>);
- {<font color="#FF6600">done</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font>
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font>
-
-<b><font color="#000000">stream_file</font></b>(<font color="#009900">Req0</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_part_body</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">_LastBodyChunk</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font>;
- {<font color="#FF6600">more</font>, <font color="#009900">_BodyChunk</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">stream_file</font></b>(<font color="#009900">Req</font>)
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Both the part header and body reading functions can take options that will be given to the request body reading functions. By default, <code>cowboy_req:read_part/1</code> reads up to 64KB for up to 5 seconds. <code>cowboy_req:read_part_body/1</code> has the same defaults as <code>cowboy_req:read_body/1</code>.</p>
-<p>To change the defaults for part headers:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:read_part</font></b>(<font color="#009900">Req</font>, #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#993399">128000</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>And for part bodies:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:read_part_body</font></b>(<font color="#009900">Req</font>, #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#993399">1000000</font>, <font color="#0000FF">period</font> <font color="#990000">=&gt;</font> <font color="#993399">7000</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_skipping_unwanted_parts">Skipping unwanted parts</h2>
-<p>Part bodies do not have to be read. Cowboy will automatically skip it when you request the next part&apos;s body.</p>
-<p>The following snippet reads all part headers and skips all bodies:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">multipart</font></b>(<font color="#009900">Req0</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_part</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">_Headers</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">multipart</font></b>(<font color="#009900">Req</font>);
- {<font color="#FF6600">done</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font>
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Similarly, if you start reading the body and it ends up being too big, you can simply continue with the next part. Cowboy will automatically skip what remains.</p>
-<p>While Cowboy can skip part bodies automatically, the read rate is not configurable. Depending on your application you may want to skip manually, in particular if you observe poor performance while skipping.</p>
-<p>You do not have to read all parts either. You can stop reading as soon as you find the data you need.</p>
-<!-- @todo Cover the building of multipart messages.-->
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/cookies/">
- Using cookies
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_principles/">
- REST principles
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/req.asciidoc b/docs/en/cowboy/2.0/guide/req.asciidoc
deleted file mode 100644
index b879fa3d..00000000
--- a/docs/en/cowboy/2.0/guide/req.asciidoc
+++ /dev/null
@@ -1,366 +0,0 @@
-[[req]]
-== The Req object
-
-The Req object is a variable used for obtaining information
-about a request, read its body or send a response.
-
-It is not really an object in the object-oriented sense.
-It is a simple map that can be directly accessed or
-used when calling functions from the `cowboy_req` module.
-
-The Req object is the subject of a few different chapters.
-In this chapter we will learn about the Req object and
-look at how to retrieve information about the request.
-
-=== Direct access
-
-The Req map contains a number of fields which are documented
-and can be accessed directly. They are the fields that have
-a direct mapping to HTTP: the request `method`; the HTTP
-`version` used; the effective URI components `scheme`,
-`host`, `port`, `path` and `qs`; the request `headers`;
-and the connection `peer` address and port.
-
-Note that the `version` field can be used to determine
-whether a connection is using HTTP/2.
-
-To access a field, you can simply match in the function
-head. The following example sends a simple "Hello world!"
-response when the `method` is GET, and a 405 error
-otherwise.
-
-[source,erlang]
-----
-init(Req0=#{method := <<"GET">>}, State) ->
- Req = cowboy_req:reply(200, #{
- <<"content-type">> => <<"text/plain">>
- }, <<"Hello world!">>, Req0),
- {ok, Req, State};
-init(Req0, State) ->
- Req = cowboy_req:reply(405, #{
- <<"allow">> => <<"GET">>
- }, Req0),
- {ok, Req, State}.
-----
-
-Any other field is internal and should not be accessed.
-They may change in future releases, including maintenance
-releases, without notice.
-
-Modifying the Req object, while allowed, is not recommended
-unless strictly necessary. If adding new fields, make sure
-to namespace the field names so that no conflict can occur
-with future Cowboy updates or third party projects.
-
-// @todo There are currently no tests for direct access.
-
-=== Introduction to the cowboy_req interface
-
-// @todo Link to cowboy_req manual
-
-Functions in the `cowboy_req` module provide access to
-the request information but also various operations that
-are common when dealing with HTTP requests.
-
-All the functions that begin with a verb indicate an action.
-Other functions simply return the corresponding value
-(sometimes that value does need to be built, but the
-cost of the operation is equivalent to retrieving a value).
-
-Some of the `cowboy_req` functions return an updated Req
-object. They are the read, reply, set and delete functions.
-While ignoring the returned Req will not cause incorrect
-behavior for some of them, it is highly recommended to
-always keep and use the last returned Req object. The
-manual for `cowboy_req` details these functions and what
-modifications are done to the Req object.
-
-Some of the calls to `cowboy_req` have side effects. This
-is the case of the read and reply functions. Cowboy reads
-the request body or replies immediately when the function
-is called.
-
-All functions will crash if something goes wrong. There
-is usually no need to catch these errors, Cowboy will
-send the appropriate 4xx or 5xx response depending on
-where the crash occurred.
-
-=== Request method
-
-The request method can be retrieved directly:
-
-[source, erlang]
-#{method := Method} = Req.
-
-Or using a function:
-
-[source,erlang]
-Method = cowboy_req:method(Req).
-
-The method is a case sensitive binary string. Standard
-methods include GET, HEAD, OPTIONS, PATCH, POST, PUT
-or DELETE.
-
-=== HTTP version
-
-The HTTP version is informational. It does not indicate that
-the client implements the protocol well or fully.
-
-There is typically no need to change behavior based on the
-HTTP version: Cowboy already does it for you.
-
-It can be useful in some cases, though. For example, one may
-want to redirect HTTP/1.1 clients to use Websocket, while HTTP/2
-clients keep using HTTP/2.
-
-The HTTP version can be retrieved directly:
-
-[source,erlang]
-#{version := Version} = Req.
-
-Or using a function:
-
-[source,erlang]
-Version = cowboy_req:version(Req).
-
-Cowboy defines the `'HTTP/1.0'`, `'HTTP/1.1'` and `'HTTP/2'`
-versions. Custom protocols can define their own values as
-atoms.
-
-=== Effective request URI
-
-The scheme, host, port, path and query string components
-of the effective request URI can all be retrieved directly:
-
-[source,erlang]
-----
-#{
- scheme := Scheme,
- host := Host,
- port := Port,
- path := Path,
- qs := Qs
-} = Req.
-----
-
-Or using the related functions:
-
-[source,erlang]
-Scheme = cowboy_req:scheme(Req),
-Host = cowboy_req:host(Req),
-Port = cowboy_req:port(Req),
-Path = cowboy_req:path(Req).
-Qs = cowboy_req:qs(Req).
-
-The scheme and host are lowercased case insensitive binary
-strings. The port is an integer representing the port number.
-The path and query string are case sensitive binary strings.
-
-Cowboy defines only the `<<"http">>` and `<<"https">>` schemes.
-They are chosen so that the scheme will only be `<<"https">>`
-for requests on secure HTTP/1.1 or HTTP/2 connections.
-// @todo Is that tested well?
-
-The effective request URI itself can be reconstructed with
-the `cowboy_req:uri/1,2` function. By default, an absolute
-URI is returned:
-
-[source,erlang]
-%% scheme://host[:port]/path[?qs]
-URI = cowboy_req:uri(Req).
-
-Options are available to either disable or replace some
-or all of the components. Various URIs or URI formats can
-be generated this way, including the origin form:
-
-[source,erlang]
-%% /path[?qs]
-URI = cowboy_req:uri(Req, #{host => undefined}).
-
-The protocol relative form:
-
-[source,erlang]
-%% //host[:port]/path[?qs]
-URI = cowboy_req:uri(Req, #{scheme => undefined}).
-
-The absolute URI without a query string:
-
-[source,erlang]
-URI = cowboy_req:uri(Req, #{qs => undefined}).
-
-A different host:
-
-[source,erlang]
-URI = cowboy_req:uri(Req, #{host => <<"example.org">>}).
-
-And any other combination.
-
-=== Bindings
-
-Bindings are the host and path components that you chose
-to extract when defining the routes of your application.
-They are only available after the routing.
-
-Cowboy provides functions to retrieve one or all bindings.
-
-To retrieve a single value:
-
-[source,erlang]
-Value = cowboy_req:binding(userid, Req).
-
-When attempting to retrieve a value that was not bound,
-`undefined` will be returned. A different default value
-can be provided:
-
-[source,erlang]
-Value = cowboy_req:binding(userid, Req, 42).
-
-To retrieve everything that was bound:
-
-[source,erlang]
-Bindings = cowboy_req:bindings(Req).
-
-They are returned as a map, with keys being atoms.
-
-The Cowboy router also allows you to capture many host
-or path segments at once using the `...` qualifier.
-
-To retrieve the segments captured from the host name:
-
-[source,erlang]
-HostInfo = cowboy_req:host_info(Req).
-
-And the path segments:
-
-[source,erlang]
-PathInfo = cowboy_req:path_info(Req).
-
-Cowboy will return `undefined` if `...` was not used
-in the route.
-
-=== Query parameters
-
-Cowboy provides two functions to access query parameters.
-You can use the first to get the entire list of parameters.
-
-[source,erlang]
-QsVals = cowboy_req:parse_qs(Req),
-{_, Lang} = lists:keyfind(<<"lang">>, 1, QsVals).
-
-Cowboy will only parse the query string, and not do any
-transformation. This function may therefore return duplicates,
-or parameter names without an associated value. The order of
-the list returned is undefined.
-
-When a query string is `key=1&key=2`, the list returned will
-contain two parameters of name `key`.
-
-The same is true when trying to use the PHP-style suffix `[]`.
-When a query string is `key[]=1&key[]=2`, the list returned will
-contain two parameters of name `key[]`.
-
-When a query string is simply `key`, Cowboy will return the
-list `[{<<"key">>, true}]`, using `true` to indicate that the
-parameter `key` was defined, but with no value.
-
-The second function Cowboy provides allows you to match out
-only the parameters you are interested in, and at the same
-time do any post processing you require using xref:constraints[constraints].
-This function returns a map.
-
-[source,erlang]
-#{id := ID, lang := Lang} = cowboy_req:match_qs([id, lang], Req).
-
-Constraints can be applied automatically. The following
-snippet will crash when the `id` parameter is not an integer,
-or when the `lang` parameter is empty. At the same time, the
-value for `id` will be converted to an integer term:
-
-[source,erlang]
-QsMap = cowboy_req:match_qs([{id, int}, {lang, nonempty}], Req).
-
-A default value may also be provided. The default will be used
-if the `lang` key is not found. It will not be used if
-the key is found but has an empty value.
-
-[source,erlang]
-#{lang := Lang} = cowboy_req:match_qs([{lang, [], <<"en-US">>}], Req).
-
-If no default is provided and the value is missing, the
-query string is deemed invalid and the process will crash.
-
-When the query string is `key=1&key=2`, the value for `key`
-will be the list `[1, 2]`. Parameter names do not need to
-include the PHP-style suffix. Constraints may be used to
-ensure that only one value was passed through.
-
-=== Headers
-
-Header values can be retrieved either as a binary string
-or parsed into a more meaningful representation.
-
-The get the raw value:
-
-[source,erlang]
-HeaderVal = cowboy_req:header(<<"content-type">>, Req).
-
-Cowboy expects all header names to be provided as lowercase
-binary strings. This is true for both requests and responses,
-regardless of the underlying protocol.
-
-When the header is missing from the request, `undefined`
-will be returned. A different default can be provided:
-
-[source,erlang]
-HeaderVal = cowboy_req:header(<<"content-type">>, Req, <<"text/plain">>).
-
-All headers can be retrieved at once, either directly:
-
-[source,erlang]
-#{headers := AllHeaders} = Req.
-
-Or using a function:
-
-[source,erlang]
-AllHeaders = cowboy_req:headers(Req).
-
-Cowboy provides equivalent functions to parse individual
-headers. There is no function to parse all headers at once.
-
-To parse a specific header:
-
-[source,erlang]
-ParsedVal = cowboy_req:parse_header(<<"content-type">>, Req).
-
-An exception will be thrown if it doesn't know how to parse the
-given header, or if the value is invalid. The list of known headers
-and default values can be found in the manual.
-
-When the header is missing, `undefined` is returned. You can
-change the default value. Note that it should be the parsed value
-directly:
-
-[source,erlang]
-----
-ParsedVal = cowboy_req:parse_header(<<"content-type">>, Req,
- {<<"text">>, <<"plain">>, []}).
-----
-
-=== Peer
-
-The peer address and port number for the connection can be
-retrieved either directly or using a function.
-
-To retrieve the peer directly:
-
-[source,erlang]
-#{peer := {IP, Port}} = Req.
-
-And using a function:
-
-[source,erlang]
-{IP, Port} = cowboy_req:peer(Req).
-
-Note that the peer corresponds to the remote end of the
-connection to the server, which may or may not be the
-client itself. It may also be a proxy or a gateway.
diff --git a/docs/en/cowboy/2.0/guide/req/index.html b/docs/en/cowboy/2.0/guide/req/index.html
deleted file mode 100644
index 89b23945..00000000
--- a/docs/en/cowboy/2.0/guide/req/index.html
+++ /dev/null
@@ -1,461 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: The Req object</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>The Req object</span></h1>
-
-<p>The Req object is a variable used for obtaining information about a request, read its body or send a response.</p>
-<p>It is not really an object in the object-oriented sense. It is a simple map that can be directly accessed or used when calling functions from the <code>cowboy_req</code> module.</p>
-<p>The Req object is the subject of a few different chapters. In this chapter we will learn about the Req object and look at how to retrieve information about the request.</p>
-<h2 id="_direct_access">Direct access</h2>
-<p>The Req map contains a number of fields which are documented and can be accessed directly. They are the fields that have a direct mapping to HTTP: the request <code>method</code>; the HTTP <code>version</code> used; the effective URI components <code>scheme</code>, <code>host</code>, <code>port</code>, <code>path</code> and <code>qs</code>; the request <code>headers</code>; and the connection <code>peer</code> address and port.</p>
-<p>Note that the <code>version</code> field can be used to determine whether a connection is using HTTP/2.</p>
-<p>To access a field, you can simply match in the function head. The following example sends a simple &quot;Hello world!&quot; response when the <code>method</code> is GET, and a 405 error otherwise.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req0</font><font color="#990000">=</font>#{<font color="#FF6600">method</font> <font color="#990000">:=</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"GET"</font><font color="#990000">&gt;&gt;</font>}, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/plain"</font><font color="#990000">&gt;&gt;</font>
- }, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello world!"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>),
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>};
-<b><font color="#000000">init</font></b>(<font color="#009900">Req0</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">405</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"allow"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"GET"</font><font color="#990000">&gt;&gt;</font>
- }, <font color="#009900">Req0</font>),
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Any other field is internal and should not be accessed. They may change in future releases, including maintenance releases, without notice.</p>
-<p>Modifying the Req object, while allowed, is not recommended unless strictly necessary. If adding new fields, make sure to namespace the field names so that no conflict can occur with future Cowboy updates or third party projects.</p>
-<!-- @todo There are currently no tests for direct access.-->
-<h2 id="_introduction_to_the_cowboy_req_interface">Introduction to the cowboy_req interface</h2>
-<!-- @todo Link to cowboy_req manual-->
-<p>Functions in the <code>cowboy_req</code> module provide access to the request information but also various operations that are common when dealing with HTTP requests.</p>
-<p>All the functions that begin with a verb indicate an action. Other functions simply return the corresponding value (sometimes that value does need to be built, but the cost of the operation is equivalent to retrieving a value).</p>
-<p>Some of the <code>cowboy_req</code> functions return an updated Req object. They are the read, reply, set and delete functions. While ignoring the returned Req will not cause incorrect behavior for some of them, it is highly recommended to always keep and use the last returned Req object. The manual for <code>cowboy_req</code> details these functions and what modifications are done to the Req object.</p>
-<p>Some of the calls to <code>cowboy_req</code> have side effects. This is the case of the read and reply functions. Cowboy reads the request body or replies immediately when the function is called.</p>
-<p>All functions will crash if something goes wrong. There is usually no need to catch these errors, Cowboy will send the appropriate 4xx or 5xx response depending on where the crash occurred.</p>
-<h2 id="_request_method">Request method</h2>
-<p>The request method can be retrieved directly:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">method</font> <font color="#990000">:=</font> <font color="#009900">Method</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Or using a function:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Method</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:method</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The method is a case sensitive binary string. Standard methods include GET, HEAD, OPTIONS, PATCH, POST, PUT or DELETE.</p>
-<h2 id="_http_version">HTTP version</h2>
-<p>The HTTP version is informational. It does not indicate that the client implements the protocol well or fully.</p>
-<p>There is typically no need to change behavior based on the HTTP version: Cowboy already does it for you.</p>
-<p>It can be useful in some cases, though. For example, one may want to redirect HTTP/1.1 clients to use Websocket, while HTTP/2 clients keep using HTTP/2.</p>
-<p>The HTTP version can be retrieved directly:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">version</font> <font color="#990000">:=</font> <font color="#009900">Version</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Or using a function:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Version</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:version</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy defines the <code>&apos;HTTP/1.0&apos;</code>, <code>&apos;HTTP/1.1&apos;</code> and <code>&apos;HTTP/2&apos;</code> versions. Custom protocols can define their own values as atoms.</p>
-<h2 id="_effective_request_uri">Effective request URI</h2>
-<p>The scheme, host, port, path and query string components of the effective request URI can all be retrieved directly:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{
- <font color="#FF6600">scheme</font> <font color="#990000">:=</font> <font color="#009900">Scheme</font>,
- <font color="#FF6600">host</font> <font color="#990000">:=</font> <font color="#009900">Host</font>,
- <font color="#FF6600">port</font> <font color="#990000">:=</font> <font color="#009900">Port</font>,
- <font color="#FF6600">path</font> <font color="#990000">:=</font> <font color="#009900">Path</font>,
- <font color="#FF6600">qs</font> <font color="#990000">:=</font> <font color="#009900">Qs</font>
-} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Or using the related functions:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Scheme</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:scheme</font></b>(<font color="#009900">Req</font>),
-<font color="#009900">Host</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:host</font></b>(<font color="#009900">Req</font>),
-<font color="#009900">Port</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:port</font></b>(<font color="#009900">Req</font>),
-<font color="#009900">Path</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:path</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font>
-<font color="#009900">Qs</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:qs</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The scheme and host are lowercased case insensitive binary strings. The port is an integer representing the port number. The path and query string are case sensitive binary strings.</p>
-<p>Cowboy defines only the <code>&lt;&lt;&quot;http&quot;&gt;&gt;</code> and <code>&lt;&lt;&quot;https&quot;&gt;&gt;</code> schemes. They are chosen so that the scheme will only be <code>&lt;&lt;&quot;https&quot;&gt;&gt;</code> for requests on secure HTTP/1.1 or HTTP/2 connections.</p>
-<!-- @todo Is that tested well?-->
-<p>The effective request URI itself can be reconstructed with the <code>cowboy_req:uri/1,2</code> function. By default, an absolute URI is returned:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% </font></i><u><font color="#0000FF">scheme://host</font></u><i><font color="#9A1900">[:port]/path[?qs]</font></i>
-<font color="#009900">URI</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Options are available to either disable or replace some or all of the components. Various URIs or URI formats can be generated this way, including the origin form:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% /path[?qs]</font></i>
-<font color="#009900">URI</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">host</font> <font color="#990000">=&gt;</font> <font color="#000080">undefined</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The protocol relative form:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% //host[:port]/path[?qs]</font></i>
-<font color="#009900">URI</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">scheme</font> <font color="#990000">=&gt;</font> <font color="#000080">undefined</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The absolute URI without a query string:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">URI</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">qs</font> <font color="#990000">=&gt;</font> <font color="#000080">undefined</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>A different host:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">URI</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">host</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"example.org"</font><font color="#990000">&gt;&gt;</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>And any other combination.</p>
-<h2 id="_bindings">Bindings</h2>
-<p>Bindings are the host and path components that you chose to extract when defining the routes of your application. They are only available after the routing.</p>
-<p>Cowboy provides functions to retrieve one or all bindings.</p>
-<p>To retrieve a single value:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Value</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:binding</font></b>(<font color="#FF6600">userid</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>When attempting to retrieve a value that was not bound, <code>undefined</code> will be returned. A different default value can be provided:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Value</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:binding</font></b>(<font color="#FF6600">userid</font>, <font color="#009900">Req</font>, <font color="#993399">42</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>To retrieve everything that was bound:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Bindings</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:bindings</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>They are returned as a map, with keys being atoms.</p>
-<p>The Cowboy router also allows you to capture many host or path segments at once using the <code>...</code> qualifier.</p>
-<p>To retrieve the segments captured from the host name:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">HostInfo</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:host_info</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>And the path segments:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathInfo</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:path_info</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy will return <code>undefined</code> if <code>...</code> was not used in the route.</p>
-<h2 id="_query_parameters">Query parameters</h2>
-<p>Cowboy provides two functions to access query parameters. You can use the first to get the entire list of parameters.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">QsVals</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:parse_qs</font></b>(<font color="#009900">Req</font>),
-{<font color="#990000">_</font>, <font color="#009900">Lang</font>} <font color="#990000">=</font> <b><font color="#000000">lists:keyfind</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"lang"</font><font color="#990000">&gt;&gt;</font>, <font color="#993399">1</font>, <font color="#009900">QsVals</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy will only parse the query string, and not do any transformation. This function may therefore return duplicates, or parameter names without an associated value. The order of the list returned is undefined.</p>
-<p>When a query string is <code>key=1&amp;key=2</code>, the list returned will contain two parameters of name <code>key</code>.</p>
-<p>The same is true when trying to use the PHP-style suffix <code>[]</code>. When a query string is <code>key[]=1&amp;key[]=2</code>, the list returned will contain two parameters of name <code>key[]</code>.</p>
-<p>When a query string is simply <code>key</code>, Cowboy will return the list <code>[{&lt;&lt;&quot;key&quot;&gt;&gt;, true}]</code>, using <code>true</code> to indicate that the parameter <code>key</code> was defined, but with no value.</p>
-<p>The second function Cowboy provides allows you to match out only the parameters you are interested in, and at the same time do any post processing you require using <a href="../constraints">constraints</a>. This function returns a map.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">id</font> <font color="#990000">:=</font> <font color="#009900">ID</font>, <font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_qs</font></b>([<font color="#FF6600">id</font>, <font color="#FF6600">lang</font>], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Constraints can be applied automatically. The following snippet will crash when the <code>id</code> parameter is not an integer, or when the <code>lang</code> parameter is empty. At the same time, the value for <code>id</code> will be converted to an integer term:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">QsMap</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_qs</font></b>([{<font color="#FF6600">id</font>, <font color="#FF6600">int</font>}, {<font color="#FF6600">lang</font>, <font color="#FF6600">nonempty</font>}], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>A default value may also be provided. The default will be used if the <code>lang</code> key is not found. It will not be used if the key is found but has an empty value.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_qs</font></b>([{<font color="#FF6600">lang</font>, [], <font color="#990000">&lt;&lt;</font><font color="#FF0000">"en-US"</font><font color="#990000">&gt;&gt;</font>}], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>If no default is provided and the value is missing, the query string is deemed invalid and the process will crash.</p>
-<p>When the query string is <code>key=1&amp;key=2</code>, the value for <code>key</code> will be the list <code>[1, 2]</code>. Parameter names do not need to include the PHP-style suffix. Constraints may be used to ensure that only one value was passed through.</p>
-<h2 id="_headers">Headers</h2>
-<p>Header values can be retrieved either as a binary string or parsed into a more meaningful representation.</p>
-<p>The get the raw value:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">HeaderVal</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy expects all header names to be provided as lowercase binary strings. This is true for both requests and responses, regardless of the underlying protocol.</p>
-<p>When the header is missing from the request, <code>undefined</code> will be returned. A different default can be provided:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">HeaderVal</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/plain"</font><font color="#990000">&gt;&gt;</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>All headers can be retrieved at once, either directly:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">headers</font> <font color="#990000">:=</font> <font color="#009900">AllHeaders</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Or using a function:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">AllHeaders</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:headers</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy provides equivalent functions to parse individual headers. There is no function to parse all headers at once.</p>
-<p>To parse a specific header:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">ParsedVal</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>An exception will be thrown if it doesn&apos;t know how to parse the given header, or if the value is invalid. The list of known headers and default values can be found in the manual.</p>
-<p>When the header is missing, <code>undefined</code> is returned. You can change the default value. Note that it should be the parsed value directly:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">ParsedVal</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>,
- {<font color="#990000">&lt;&lt;</font><font color="#FF0000">"text"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"plain"</font><font color="#990000">&gt;&gt;</font>, []})<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_peer">Peer</h2>
-<p>The peer address and port number for the connection can be retrieved either directly or using a function.</p>
-<p>To retrieve the peer directly:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">peer</font> <font color="#990000">:=</font> {<font color="#009900">IP</font>, <font color="#009900">Port</font>}} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>And using a function:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#009900">IP</font>, <font color="#009900">Port</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:peer</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Note that the peer corresponds to the remote end of the connection to the server, which may or may not be the client itself. It may also be a proxy or a gateway.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/static_files/">
- Static files
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/req_body/">
- Reading the request body
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/req_body.asciidoc b/docs/en/cowboy/2.0/guide/req_body.asciidoc
deleted file mode 100644
index 4906811e..00000000
--- a/docs/en/cowboy/2.0/guide/req_body.asciidoc
+++ /dev/null
@@ -1,130 +0,0 @@
-[[req_body]]
-== Reading the request body
-
-The request body can be read using the Req object.
-
-Cowboy will not attempt to read the body until requested.
-You need to call the body reading functions in order to
-retrieve it.
-
-Cowboy will not cache the body, it is therefore only
-possible to read it once.
-
-You are not required to read it, however. If a body is
-present and was not read, Cowboy will either cancel or
-skip its download, depending on the protocol.
-
-Cowboy provides functions for reading the body raw,
-and read and parse form urlencoded or xref:multipart[multipart bodies].
-The latter is covered in its own chapter.
-
-=== Request body presence
-
-Not all requests come with a body. You can check for
-the presence of a request body with this function:
-
-[source,erlang]
-cowboy_req:has_body(Req).
-
-It returns `true` if there is a body; `false` otherwise.
-
-In practice, this function is rarely used. When the
-method is `POST`, `PUT` or `PATCH`, the request body
-is often required by the application, which should
-just attempt to read it directly.
-
-=== Request body length
-
-You can obtain the length of the body:
-
-[source,erlang]
-Length = cowboy_req:body_length(Req).
-
-Note that the length may not be known in advance. In
-that case `undefined` will be returned. This can happen
-with HTTP/1.1's chunked transfer-encoding, or HTTP/2
-when no content-length was provided.
-
-Cowboy will update the body length in the Req object
-once the body has been read completely. A length will
-always be returned when attempting to call this function
-after reading the body completely.
-
-=== Reading the body
-
-You can read the entire body with one function call:
-
-[source,erlang]
-{ok, Data, Req} = cowboy_req:read_body(Req0).
-
-Cowboy returns an `ok` tuple when the body has been
-read fully.
-
-By default, Cowboy will attempt to read up to 8MB
-of data, for up to 15 seconds. The call will return
-once Cowboy has read at least 8MB of data, or at
-the end of the 15 seconds period.
-
-These values can be customized. For example, to read
-only up to 1MB for up to 5 seconds:
-
-[source,erlang]
-----
-{ok, Data, Req} = cowboy_req:read_body(Req0,
- #{length => 1000000, period => 5000}).
-----
-
-You may also disable the length limit:
-
-[source,erlang]
-{ok, Data, Req} = cowboy_req:read_body(Req0, #{length => infinity}).
-
-This makes the function wait 15 seconds and return with
-whatever arrived during that period. This is not
-recommended for public facing applications.
-
-These two options can effectively be used to control
-the rate of transmission of the request body.
-
-=== Streaming the body
-
-When the body is too large, the first call will return
-a `more` tuple instead of `ok`. You can call the
-function again to read more of the body, reading
-it one chunk at a time.
-
-[source,erlang]
-----
-read_body_to_console(Req0) ->
- case cowboy_req:read_body(Req0) of
- {ok, Data, Req} ->
- io:format("~s", [Data]),
- Req;
- {more, Data, Req} ->
- io:format("~s", [Data]),
- read_body_to_console(Req)
- end.
-----
-
-The `length` and `period` options can also be used.
-They need to be passed for every call.
-
-=== Reading a form urlencoded body
-
-Cowboy provides a convenient function for reading and
-parsing bodies sent as application/x-www-form-urlencoded.
-
-[source,erlang]
-{ok, KeyValues, Req} = cowboy_req:read_urlencoded_body(Req0).
-
-This function returns a list of key/values, exactly like
-the function `cowboy_req:parse_qs/1`.
-
-The defaults for this function are different. Cowboy will
-read for up to 64KB and up to 5 seconds. They can be modified:
-
-[source,erlang]
-----
-{ok, KeyValues, Req} = cowboy_req:read_urlencoded_body(Req0,
- #{length => 4096, period => 3000}).
-----
diff --git a/docs/en/cowboy/2.0/guide/req_body/index.html b/docs/en/cowboy/2.0/guide/req_body/index.html
deleted file mode 100644
index e8f2fceb..00000000
--- a/docs/en/cowboy/2.0/guide/req_body/index.html
+++ /dev/null
@@ -1,271 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Reading the request body</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Reading the request body</span></h1>
-
-<p>The request body can be read using the Req object.</p>
-<p>Cowboy will not attempt to read the body until requested. You need to call the body reading functions in order to retrieve it.</p>
-<p>Cowboy will not cache the body, it is therefore only possible to read it once.</p>
-<p>You are not required to read it, however. If a body is present and was not read, Cowboy will either cancel or skip its download, depending on the protocol.</p>
-<p>Cowboy provides functions for reading the body raw, and read and parse form urlencoded or <a href="../multipart">multipart bodies</a>. The latter is covered in its own chapter.</p>
-<h2 id="_request_body_presence">Request body presence</h2>
-<p>Not all requests come with a body. You can check for the presence of a request body with this function:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:has_body</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>It returns <code>true</code> if there is a body; <code>false</code> otherwise.</p>
-<p>In practice, this function is rarely used. When the method is <code>POST</code>, <code>PUT</code> or <code>PATCH</code>, the request body is often required by the application, which should just attempt to read it directly.</p>
-<h2 id="_request_body_length">Request body length</h2>
-<p>You can obtain the length of the body:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Length</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:body_length</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Note that the length may not be known in advance. In that case <code>undefined</code> will be returned. This can happen with HTTP/1.1&apos;s chunked transfer-encoding, or HTTP/2 when no content-length was provided.</p>
-<p>Cowboy will update the body length in the Req object once the body has been read completely. A length will always be returned when attempting to call this function after reading the body completely.</p>
-<h2 id="_reading_the_body">Reading the body</h2>
-<p>You can read the entire body with one function call:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_body</font></b>(<font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy returns an <code>ok</code> tuple when the body has been read fully.</p>
-<p>By default, Cowboy will attempt to read up to 8MB of data, for up to 15 seconds. The call will return once Cowboy has read at least 8MB of data, or at the end of the 15 seconds period.</p>
-<p>These values can be customized. For example, to read only up to 1MB for up to 5 seconds:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_body</font></b>(<font color="#009900">Req0</font>,
- #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#993399">1000000</font>, <font color="#0000FF">period</font> <font color="#990000">=&gt;</font> <font color="#993399">5000</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You may also disable the length limit:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_body</font></b>(<font color="#009900">Req0</font>, #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#FF6600">infinity</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>This makes the function wait 15 seconds and return with whatever arrived during that period. This is not recommended for public facing applications.</p>
-<p>These two options can effectively be used to control the rate of transmission of the request body.</p>
-<h2 id="_streaming_the_body">Streaming the body</h2>
-<p>When the body is too large, the first call will return a <code>more</code> tuple instead of <code>ok</code>. You can call the function again to read more of the body, reading it one chunk at a time.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">read_body_to_console</font></b>(<font color="#009900">Req0</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_body</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">io:format</font></b>(<font color="#FF0000">"~s"</font>, [<font color="#009900">Data</font>]),
- <font color="#009900">Req</font>;
- {<font color="#FF6600">more</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">io:format</font></b>(<font color="#FF0000">"~s"</font>, [<font color="#009900">Data</font>]),
- <b><font color="#000000">read_body_to_console</font></b>(<font color="#009900">Req</font>)
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The <code>length</code> and <code>period</code> options can also be used. They need to be passed for every call.</p>
-<h2 id="_reading_a_form_urlencoded_body">Reading a form urlencoded body</h2>
-<p>Cowboy provides a convenient function for reading and parsing bodies sent as application/x-www-form-urlencoded.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">KeyValues</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_urlencoded_body</font></b>(<font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>This function returns a list of key/values, exactly like the function <code>cowboy_req:parse_qs/1</code>.</p>
-<p>The defaults for this function are different. Cowboy will read for up to 64KB and up to 5 seconds. They can be modified:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">KeyValues</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_urlencoded_body</font></b>(<font color="#009900">Req0</font>,
- #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#993399">4096</font>, <font color="#0000FF">period</font> <font color="#990000">=&gt;</font> <font color="#993399">3000</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/req/">
- The Req object
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/resp/">
- Sending a response
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/resource_design.asciidoc b/docs/en/cowboy/2.0/guide/resource_design.asciidoc
deleted file mode 100644
index 2325b9f2..00000000
--- a/docs/en/cowboy/2.0/guide/resource_design.asciidoc
+++ /dev/null
@@ -1,220 +0,0 @@
-[[resource_design]]
-== Designing a resource handler
-
-This chapter aims to provide you with a list of questions
-you must answer in order to write a good resource handler.
-It is meant to be usable as a step by step guide.
-
-=== The service
-
-Can the service become unavailable, and when it does, can
-we detect it? For example, database connectivity problems
-may be detected early. We may also have planned outages
-of all or parts of the system. Implement the
-`service_available` callback.
-
-What HTTP methods does the service implement? Do we need
-more than the standard OPTIONS, HEAD, GET, PUT, POST,
-PATCH and DELETE? Are we not using one of those at all?
-Implement the `known_methods` callback.
-
-=== Type of resource handler
-
-Am I writing a handler for a collection of resources,
-or for a single resource?
-
-The semantics for each of these are quite different.
-You should not mix collection and single resource in
-the same handler.
-
-=== Collection handler
-
-Skip this section if you are not doing a collection.
-
-Is the collection hardcoded or dynamic? For example,
-if you use the route `/users` for the collection of
-users then the collection is hardcoded; if you use
-`/forums/:category` for the collection of threads
-then it isn't. When the collection is hardcoded you
-can safely assume the resource always exists.
-
-What methods should I implement?
-
-OPTIONS is used to get some information about the
-collection. It is recommended to allow it even if you
-do not implement it, as Cowboy has a default
-implementation built-in.
-
-HEAD and GET are used to retrieve the collection.
-If you allow GET, also allow HEAD as there's no extra
-work required to make it work.
-
-POST is used to create a new resource inside the
-collection. Creating a resource by using POST on
-the collection is useful when resources may be
-created before knowing their URI, usually because
-parts of it are generated dynamically. A common
-case is some kind of auto incremented integer
-identifier.
-
-The next methods are more rarely allowed.
-
-PUT is used to create a new collection (when
-the collection isn't hardcoded), or replace
-the entire collection.
-
-DELETE is used to delete the entire collection.
-
-PATCH is used to modify the collection using
-instructions given in the request body. A PATCH
-operation is atomic. The PATCH operation may
-be used for such things as reordering; adding,
-modifying or deleting parts of the collection.
-
-=== Single resource handler
-
-Skip this section if you are doing a collection.
-
-What methods should I implement?
-
-OPTIONS is used to get some information about the
-resource. It is recommended to allow it even if you
-do not implement it, as Cowboy has a default
-implementation built-in.
-
-HEAD and GET are used to retrieve the resource.
-If you allow GET, also allow HEAD as there's no extra
-work required to make it work.
-
-POST is used to update the resource.
-
-PUT is used to create a new resource (when it doesn't
-already exist) or replace the resource.
-
-DELETE is used to delete the resource.
-
-PATCH is used to modify the resource using
-instructions given in the request body. A PATCH
-operation is atomic. The PATCH operation may
-be used for adding, removing or modifying specific
-values in the resource.
-
-=== The resource
-
-Following the above discussion, implement the
-`allowed_methods` callback.
-
-Does the resource always exist? If it may not, implement
-the `resource_exists` callback.
-
-Do I need to authenticate the client before they can
-access the resource? What authentication mechanisms
-should I provide? This may include form-based, token-based
-(in the URL or a cookie), HTTP basic, HTTP digest,
-SSL certificate or any other form of authentication.
-Implement the `is_authorized` callback.
-
-Do I need fine-grained access control? How do I determine
-that they are authorized access? Handle that in your
-`is_authorized` callback.
-
-Can access to a resource be forbidden regardless of access
-being authorized? A simple example of that is censorship
-of a resource. Implement the `forbidden` callback.
-
-Are there any constraints on the length of the resource URI?
-For example, the URI may be used as a key in storage and may
-have a limit in length. Implement `uri_too_long`.
-
-=== Representations
-
-What media types do I provide? If text based, what charsets
-are provided? What languages do I provide?
-
-Implement the mandatory `content_types_provided`. Prefix
-the callbacks with `to_` for clarity. For example, `to_html`
-or `to_text`.
-
-Implement the `languages_provided` or `charsets_provided`
-callbacks if applicable.
-
-Is there any other header that may make the representation
-of the resource vary? Implement the `variances` callback.
-
-Depending on your choices for caching content, you may
-want to implement one or more of the `generate_etag`,
-`last_modified` and `expires` callbacks.
-
-Do I want the user or user agent to actively choose a
-representation available? Send a list of available
-representations in the response body and implement
-the `multiple_choices` callback.
-
-=== Redirections
-
-Do I need to keep track of what resources were deleted?
-For example, you may have a mechanism where moving a
-resource leaves a redirect link to its new location.
-Implement the `previously_existed` callback.
-
-Was the resource moved, and is the move temporary? If
-it is explicitly temporary, for example due to maintenance,
-implement the `moved_temporarily` callback. Otherwise,
-implement the `moved_permanently` callback.
-
-=== The request
-
-Do you need to read the query string? Individual headers?
-Implement `malformed_request` and do all the parsing and
-validation in this function. Note that the body should not
-be read at this point.
-
-May there be a request body? Will I know its size?
-What's the maximum size of the request body I'm willing
-to accept? Implement `valid_entity_length`.
-
-Finally, take a look at the sections corresponding to the
-methods you are implementing.
-
-=== OPTIONS method
-
-Cowboy by default will send back a list of allowed methods.
-Do I need to add more information to the response? Implement
-the `options` method.
-
-=== GET and HEAD methods
-
-If you implement the methods GET and/or HEAD, you must
-implement one `ProvideResource` callback for each
-content-type returned by the `content_types_provided`
-callback.
-
-=== PUT, POST and PATCH methods
-
-If you implement the methods PUT, POST and/or PATCH,
-you must implement the `content_types_accepted` callback,
-and one `AcceptResource` callback for each content-type
-it returns. Prefix the `AcceptResource` callback names
-with `from_` for clarity. For example, `from_html` or
-`from_json`.
-
-Do we want to allow the POST method to create individual
-resources directly through their URI (like PUT)? Implement
-the `allow_missing_post` callback. It is recommended to
-explicitly use PUT in these cases instead.
-
-May there be conflicts when using PUT to create or replace
-a resource? Do we want to make sure that two updates around
-the same time are not cancelling one another? Implement the
-`is_conflict` callback.
-
-=== DELETE methods
-
-If you implement the method DELETE, you must implement
-the `delete_resource` callback.
-
-When `delete_resource` returns, is the resource completely
-removed from the server, including from any caching service?
-If not, and/or if the deletion is asynchronous and we have
-no way of knowing it has been completed yet, implement the
-`delete_completed` callback.
diff --git a/docs/en/cowboy/2.0/guide/resource_design/index.html b/docs/en/cowboy/2.0/guide/resource_design/index.html
deleted file mode 100644
index dce763d0..00000000
--- a/docs/en/cowboy/2.0/guide/resource_design/index.html
+++ /dev/null
@@ -1,244 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Designing a resource handler</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Designing a resource handler</span></h1>
-
-<p>This chapter aims to provide you with a list of questions you must answer in order to write a good resource handler. It is meant to be usable as a step by step guide.</p>
-<h2 id="_the_service">The service</h2>
-<p>Can the service become unavailable, and when it does, can we detect it? For example, database connectivity problems may be detected early. We may also have planned outages of all or parts of the system. Implement the <code>service_available</code> callback.</p>
-<p>What HTTP methods does the service implement? Do we need more than the standard OPTIONS, HEAD, GET, PUT, POST, PATCH and DELETE? Are we not using one of those at all? Implement the <code>known_methods</code> callback.</p>
-<h2 id="_type_of_resource_handler">Type of resource handler</h2>
-<p>Am I writing a handler for a collection of resources, or for a single resource?</p>
-<p>The semantics for each of these are quite different. You should not mix collection and single resource in the same handler.</p>
-<h2 id="_collection_handler">Collection handler</h2>
-<p>Skip this section if you are not doing a collection.</p>
-<p>Is the collection hardcoded or dynamic? For example, if you use the route <code>/users</code> for the collection of users then the collection is hardcoded; if you use <code>/forums/:category</code> for the collection of threads then it isn&apos;t. When the collection is hardcoded you can safely assume the resource always exists.</p>
-<p>What methods should I implement?</p>
-<p>OPTIONS is used to get some information about the collection. It is recommended to allow it even if you do not implement it, as Cowboy has a default implementation built-in.</p>
-<p>HEAD and GET are used to retrieve the collection. If you allow GET, also allow HEAD as there&apos;s no extra work required to make it work.</p>
-<p>POST is used to create a new resource inside the collection. Creating a resource by using POST on the collection is useful when resources may be created before knowing their URI, usually because parts of it are generated dynamically. A common case is some kind of auto incremented integer identifier.</p>
-<p>The next methods are more rarely allowed.</p>
-<p>PUT is used to create a new collection (when the collection isn&apos;t hardcoded), or replace the entire collection.</p>
-<p>DELETE is used to delete the entire collection.</p>
-<p>PATCH is used to modify the collection using instructions given in the request body. A PATCH operation is atomic. The PATCH operation may be used for such things as reordering; adding, modifying or deleting parts of the collection.</p>
-<h2 id="_single_resource_handler">Single resource handler</h2>
-<p>Skip this section if you are doing a collection.</p>
-<p>What methods should I implement?</p>
-<p>OPTIONS is used to get some information about the resource. It is recommended to allow it even if you do not implement it, as Cowboy has a default implementation built-in.</p>
-<p>HEAD and GET are used to retrieve the resource. If you allow GET, also allow HEAD as there&apos;s no extra work required to make it work.</p>
-<p>POST is used to update the resource.</p>
-<p>PUT is used to create a new resource (when it doesn&apos;t already exist) or replace the resource.</p>
-<p>DELETE is used to delete the resource.</p>
-<p>PATCH is used to modify the resource using instructions given in the request body. A PATCH operation is atomic. The PATCH operation may be used for adding, removing or modifying specific values in the resource.</p>
-<h2 id="_the_resource">The resource</h2>
-<p>Following the above discussion, implement the <code>allowed_methods</code> callback.</p>
-<p>Does the resource always exist? If it may not, implement the <code>resource_exists</code> callback.</p>
-<p>Do I need to authenticate the client before they can access the resource? What authentication mechanisms should I provide? This may include form-based, token-based (in the URL or a cookie), HTTP basic, HTTP digest, SSL certificate or any other form of authentication. Implement the <code>is_authorized</code> callback.</p>
-<p>Do I need fine-grained access control? How do I determine that they are authorized access? Handle that in your <code>is_authorized</code> callback.</p>
-<p>Can access to a resource be forbidden regardless of access being authorized? A simple example of that is censorship of a resource. Implement the <code>forbidden</code> callback.</p>
-<p>Are there any constraints on the length of the resource URI? For example, the URI may be used as a key in storage and may have a limit in length. Implement <code>uri_too_long</code>.</p>
-<h2 id="_representations">Representations</h2>
-<p>What media types do I provide? If text based, what charsets are provided? What languages do I provide?</p>
-<p>Implement the mandatory <code>content_types_provided</code>. Prefix the callbacks with <code>to_</code> for clarity. For example, <code>to_html</code> or <code>to_text</code>.</p>
-<p>Implement the <code>languages_provided</code> or <code>charsets_provided</code> callbacks if applicable.</p>
-<p>Is there any other header that may make the representation of the resource vary? Implement the <code>variances</code> callback.</p>
-<p>Depending on your choices for caching content, you may want to implement one or more of the <code>generate_etag</code>, <code>last_modified</code> and <code>expires</code> callbacks.</p>
-<p>Do I want the user or user agent to actively choose a representation available? Send a list of available representations in the response body and implement the <code>multiple_choices</code> callback.</p>
-<h2 id="_redirections">Redirections</h2>
-<p>Do I need to keep track of what resources were deleted? For example, you may have a mechanism where moving a resource leaves a redirect link to its new location. Implement the <code>previously_existed</code> callback.</p>
-<p>Was the resource moved, and is the move temporary? If it is explicitly temporary, for example due to maintenance, implement the <code>moved_temporarily</code> callback. Otherwise, implement the <code>moved_permanently</code> callback.</p>
-<h2 id="_the_request">The request</h2>
-<p>Do you need to read the query string? Individual headers? Implement <code>malformed_request</code> and do all the parsing and validation in this function. Note that the body should not be read at this point.</p>
-<p>May there be a request body? Will I know its size? What&apos;s the maximum size of the request body I&apos;m willing to accept? Implement <code>valid_entity_length</code>.</p>
-<p>Finally, take a look at the sections corresponding to the methods you are implementing.</p>
-<h2 id="_options_method">OPTIONS method</h2>
-<p>Cowboy by default will send back a list of allowed methods. Do I need to add more information to the response? Implement the <code>options</code> method.</p>
-<h2 id="_get_and_head_methods">GET and HEAD methods</h2>
-<p>If you implement the methods GET and/or HEAD, you must implement one <code>ProvideResource</code> callback for each content-type returned by the <code>content_types_provided</code> callback.</p>
-<h2 id="_put__post_and_patch_methods">PUT, POST and PATCH methods</h2>
-<p>If you implement the methods PUT, POST and/or PATCH, you must implement the <code>content_types_accepted</code> callback, and one <code>AcceptResource</code> callback for each content-type it returns. Prefix the <code>AcceptResource</code> callback names with <code>from_</code> for clarity. For example, <code>from_html</code> or <code>from_json</code>.</p>
-<p>Do we want to allow the POST method to create individual resources directly through their URI (like PUT)? Implement the <code>allow_missing_post</code> callback. It is recommended to explicitly use PUT in these cases instead.</p>
-<p>May there be conflicts when using PUT to create or replace a resource? Do we want to make sure that two updates around the same time are not cancelling one another? Implement the <code>is_conflict</code> callback.</p>
-<h2 id="_delete_methods">DELETE methods</h2>
-<p>If you implement the method DELETE, you must implement the <code>delete_resource</code> callback.</p>
-<p>When <code>delete_resource</code> returns, is the resource completely removed from the server, including from any caching service? If not, and/or if the deletion is asynchronous and we have no way of knowing it has been completed yet, implement the <code>delete_completed</code> callback.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_flowcharts/">
- REST flowcharts
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/ws_protocol/">
- The Websocket protocol
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/resp.asciidoc b/docs/en/cowboy/2.0/guide/resp.asciidoc
deleted file mode 100644
index 2eaa804f..00000000
--- a/docs/en/cowboy/2.0/guide/resp.asciidoc
+++ /dev/null
@@ -1,318 +0,0 @@
-[[resp]]
-== Sending a response
-
-The response must be sent using the Req object.
-
-Cowboy provides two different ways of sending responses:
-either directly or by streaming the body. Response headers
-and body may be set in advance. The response is sent as
-soon as one of the reply or stream reply function is
-called.
-
-Cowboy also provides a simplified interface for sending
-files. It can also send only specific parts of a file.
-
-While only one response is allowed for every request,
-HTTP/2 introduced a mechanism that allows the server
-to push additional resources related to the response.
-This chapter also describes how this feature works in
-Cowboy.
-
-=== Reply
-
-Cowboy provides three functions for sending the entire reply,
-depending on whether you need to set headers and body. In all
-cases, Cowboy will add any headers required by the protocol
-(for example the date header will always be sent).
-
-When you need to set only the status code,
-use `cowboy_req:reply/2`:
-
-[source,erlang]
-Req = cowboy_req:reply(200, Req0).
-
-When you need to set response headers at the same time,
-use `cowboy_req:reply/3`:
-
-[source,erlang]
-----
-Req = cowboy_req:reply(303, #{
- <<"location">> => <<"https://ninenines.eu">>
-}, Req0).
-----
-
-Note that the header name must always be a lowercase
-binary.
-
-When you also need to set the response body,
-use `cowboy_req:reply/4`:
-
-[source,erlang]
-----
-Req = cowboy_req:reply(200, #{
- <<"content-type">> => <<"text/plain">>
-}, "Hello world!", Req0).
-----
-
-You should always set the content-type header when the
-response has a body. There is however no need to set
-the content-length header; Cowboy does it automatically.
-
-The response body and the header values must be either
-a binary or an iolist. An iolist is a list containing
-binaries, characters, strings or other iolists. This
-allows you to build a response from different parts
-without having to do any concatenation:
-
-[source,erlang]
-----
-Title = "Hello world!",
-Body = <<"Hats off!">>,
-Req = cowboy_req:reply(200, #{
- <<"content-type">> => <<"text/html">>
-}, ["<html><head><title>", Title, "</title></head>",
- "<body><p>", Body, "</p></body></html>"], Req0).
-----
-
-This method of building responses is more efficient than
-concatenating. Behind the scenes, each element of the list
-is simply a pointer, and those pointers are used directly
-when writing to the socket.
-
-=== Stream reply
-
-Cowboy provides two functions for initiating a response,
-and an additional function for streaming the response body.
-Cowboy will add any required headers to the response.
-
-// @todo For HTTP/1.1 Cowboy should probably not use chunked transfer-encoding if the content-length is set.
-
-When you need to set only the status code,
-use `cowboy_req:stream_reply/2`:
-
-[source,erlang]
-----
-Req = cowboy_req:stream_reply(200, Req0),
-
-cowboy_req:stream_body("Hello...", nofin, Req),
-cowboy_req:stream_body("chunked...", nofin, Req),
-cowboy_req:stream_body("world!!", fin, Req).
-----
-
-The second argument to `cowboy_req:stream_body/3` indicates
-whether this data terminates the body. Use `fin` for the
-final flag, and `nofin` otherwise.
-
-This snippet does not set a content-type header. This is
-not recommended. All responses with a body should have
-a content-type. The header can be set beforehand, or
-using the `cowboy_req:stream_reply/3`:
-
-[source,erlang]
-----
-Req = cowboy_req:stream_reply(200, #{
- <<"content-type">> => <<"text/html">>
-}, Req0),
-
-cowboy_req:stream_body("<html><head>Hello world!</head>", nofin, Req),
-cowboy_req:stream_body("<body><p>Hats off!</p></body></html>", fin, Req).
-----
-
-HTTP provides a few different ways to stream response bodies.
-Cowboy will select the most appropriate one based on the HTTP
-version and the request and response headers.
-
-While not required by any means, it is recommended that you
-set the content-length header in the response if you know it
-in advance. This will ensure that the best response method
-is selected and help clients understand when the response
-is fully received.
-
-// @todo Document trailers here.
-
-=== Preset response headers
-
-Cowboy provides functions to set response headers without
-immediately sending them. They are stored in the Req object
-and sent as part of the response when a reply function is
-called.
-
-To set response headers:
-
-[source,erlang]
-Req = cowboy_req:set_resp_header(<<"allow">>, "GET", Req0).
-
-Header names must be a lowercase binary.
-
-Do not use this function for setting cookies. Refer to
-the xref:cookies[Cookies] chapter for more information.
-
-To check if a response header has already been set:
-
-[source,erlang]
-cowboy_req:has_resp_header(<<"allow">>, Req).
-
-It returns `true` if the header was set, `false` otherwise.
-
-To delete a response header that was set previously:
-
-[source,erlang]
-Req = cowboy_req:delete_resp_header(<<"allow">>, Req0).
-
-=== Overriding headers
-
-As Cowboy provides different ways of setting response
-headers and body, clashes may occur, so it's important
-to understand what happens when a header is set twice.
-
-Headers come from five different origins:
-
-* Protocol-specific headers (for example HTTP/1.1's connection header)
-* Other required headers (for example the date header)
-* Preset headers
-* Headers given to the reply function
-* Set-cookie headers
-
-Cowboy does not allow overriding protocol-specific headers.
-
-Set-cookie headers will always be appended at the end of
-the list of headers before sending the response.
-
-Headers given to the reply function will always override
-preset headers and required headers. If a header is found
-in two or three of these, then the one in the reply function
-is picked and the others are dropped.
-
-Similarly, preset headers will always override required
-headers.
-
-To illustrate, look at the following snippet. Cowboy by
-default sends the server header with the value "Cowboy".
-We can override it:
-
-[source,erlang]
-----
-Req = cowboy_req:reply(200, #{
- <<"server">> => <<"yaws">>
-}, Req0).
-----
-
-=== Preset response body
-
-Cowboy provides functions to set the response body without
-immediately sending it. It is stored in the Req object and
-sent when the reply function is called.
-
-To set the response body:
-
-[source,erlang]
-Req = cowboy_req:set_resp_body("Hello world!", Req0).
-
-// @todo Yeah we probably should add that function that
-// also sets the content-type at the same time...
-
-To check if a response body has already been set:
-
-[source,erlang]
-cowboy_req:has_resp_body(Req).
-
-It returns `true` if the body was set and is non-empty,
-`false` otherwise.
-
-// @todo We probably should also have a function that
-// properly removes the response body, including any
-// content-* headers.
-
-The preset response body is only sent if the reply function
-used is `cowboy_req:reply/2` or `cowboy_req:reply/3`.
-
-=== Sending files
-
-Cowboy provides a shortcut for sending files. When
-using `cowboy_req:reply/4`, or when presetting the
-response header, you can give a `sendfile` tuple to
-Cowboy:
-
-[source,erlang]
-{sendfile, Offset, Length, Filename}
-
-Depending on the values for `Offset` or `Length`, the
-entire file may be sent, or just a part of it.
-
-The length is required even for sending the entire file.
-Cowboy sends it in the content-length header.
-
-To send a file while replying:
-
-[source,erlang]
-----
-Req = cowboy_req:reply(200, #{
- <<"content-type">> => "image/png"
-}, {sendfile, 0, 12345, "path/to/logo.png"}, Req0).
-----
-
-// @todo An example of presetting a file would be useful,
-// but let's wait for the function that can set the
-// content-type at the same time.
-
-// @todo What about streaming many files? For example
-// it should be possible to build a tar file on the fly
-// while still using sendfile. Another example could be
-// proper support for multipart byte ranges. Yet another
-// example would be automatic concatenation of CSS or JS
-// files.
-
-=== Push
-
-The HTTP/2 protocol introduced the ability to push resources
-related to the one sent in the response. Cowboy provides two
-functions for that purpose: `cowboy_req:push/3,4`.
-
-Push is only available for HTTP/2. Cowboy will automatically
-ignore push requests if the protocol doesn't support it.
-
-The push function must be called before any of the reply
-functions. Doing otherwise will result in a crash.
-
-To push a resource, you need to provide the same information
-as a client performing a request would. This includes the
-HTTP method, the URI and any necessary request headers.
-
-Cowboy by default only requires you to give the path to
-the resource and the request headers. The rest of the URI
-is taken from the current request (excluding the query
-string, set to empty) and the method is GET by default.
-
-The following snippet pushes a CSS file that is linked to
-in the response:
-
-[source,erlang]
-----
-cowboy_req:push("/static/style.css", #{
- <<"accept">> => <<"text/css">>
-}, Req0),
-Req = cowboy_req:reply(200, #{
- <<"content-type">> => <<"text/html">>
-}, ["<html><head><title>My web page</title>",
- "<link rel='stylesheet' type='text/css' href='/static/style.css'>",
- "<body><p>Welcome to Erlang!</p></body></html>"], Req0).
-----
-
-To override the method, scheme, host, port or query string,
-simply pass in a fourth argument. The following snippet
-uses a different host name:
-
-[source,erlang]
-----
-cowboy_req:push("/static/style.css", #{
- <<"accept">> => <<"text/css">>
-}, #{host => <<"cdn.example.org">>}, Req),
-----
-
-Pushed resources don't have to be files. As long as the push
-request is cacheable, safe and does not include a body, the
-resource can be pushed.
-
-Under the hood, Cowboy handles pushed requests the same as
-normal requests: a different process is created which will
-ultimately send a response to the client.
diff --git a/docs/en/cowboy/2.0/guide/resp/index.html b/docs/en/cowboy/2.0/guide/resp/index.html
deleted file mode 100644
index 575db197..00000000
--- a/docs/en/cowboy/2.0/guide/resp/index.html
+++ /dev/null
@@ -1,396 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Sending a response</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Sending a response</span></h1>
-
-<p>The response must be sent using the Req object.</p>
-<p>Cowboy provides two different ways of sending responses: either directly or by streaming the body. Response headers and body may be set in advance. The response is sent as soon as one of the reply or stream reply function is called.</p>
-<p>Cowboy also provides a simplified interface for sending files. It can also send only specific parts of a file.</p>
-<p>While only one response is allowed for every request, HTTP/2 introduced a mechanism that allows the server to push additional resources related to the response. This chapter also describes how this feature works in Cowboy.</p>
-<h2 id="_reply">Reply</h2>
-<p>Cowboy provides three functions for sending the entire reply, depending on whether you need to set headers and body. In all cases, Cowboy will add any headers required by the protocol (for example the date header will always be sent).</p>
-<p>When you need to set only the status code, use <code>cowboy_req:reply/2</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>When you need to set response headers at the same time, use <code>cowboy_req:reply/3</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">303</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"location"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"https://ninenines.eu"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Note that the header name must always be a lowercase binary.</p>
-<p>When you also need to set the response body, use <code>cowboy_req:reply/4</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/plain"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#FF0000">"Hello world!"</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You should always set the content-type header when the response has a body. There is however no need to set the content-length header; Cowboy does it automatically.</p>
-<p>The response body and the header values must be either a binary or an iolist. An iolist is a list containing binaries, characters, strings or other iolists. This allows you to build a response from different parts without having to do any concatenation:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Title</font> <font color="#990000">=</font> <font color="#FF0000">"Hello world!"</font>,
-<font color="#009900">Body</font> <font color="#990000">=</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hats off!"</font><font color="#990000">&gt;&gt;</font>,
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/html"</font><font color="#990000">&gt;&gt;</font>
-}, [<font color="#FF0000">"&lt;html&gt;&lt;head&gt;&lt;title&gt;"</font>, <font color="#009900">Title</font>, <font color="#FF0000">"&lt;/title&gt;&lt;/head&gt;"</font>,
- <font color="#FF0000">"&lt;body&gt;&lt;p&gt;"</font>, <font color="#009900">Body</font>, <font color="#FF0000">"&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;"</font>], <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>This method of building responses is more efficient than concatenating. Behind the scenes, each element of the list is simply a pointer, and those pointers are used directly when writing to the socket.</p>
-<h2 id="_stream_reply">Stream reply</h2>
-<p>Cowboy provides two functions for initiating a response, and an additional function for streaming the response body. Cowboy will add any required headers to the response.</p>
-<!-- @todo For HTTP/1.1 Cowboy should probably not use chunked transfer-encoding if the content-length is set.-->
-<p>When you need to set only the status code, use <code>cowboy_req:stream_reply/2</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:stream_reply</font></b>(<font color="#993399">200</font>, <font color="#009900">Req0</font>),
-
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#FF0000">"Hello..."</font>, <font color="#FF6600">nofin</font>, <font color="#009900">Req</font>),
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#FF0000">"chunked..."</font>, <font color="#FF6600">nofin</font>, <font color="#009900">Req</font>),
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#FF0000">"world!!"</font>, <font color="#FF6600">fin</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The second argument to <code>cowboy_req:stream_body/3</code> indicates whether this data terminates the body. Use <code>fin</code> for the final flag, and <code>nofin</code> otherwise.</p>
-<p>This snippet does not set a content-type header. This is not recommended. All responses with a body should have a content-type. The header can be set beforehand, or using the <code>cowboy_req:stream_reply/3</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:stream_reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/html"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>),
-
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#FF0000">"&lt;html&gt;&lt;head&gt;Hello world!&lt;/head&gt;"</font>, <font color="#FF6600">nofin</font>, <font color="#009900">Req</font>),
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#FF0000">"&lt;body&gt;&lt;p&gt;Hats off!&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;"</font>, <font color="#FF6600">fin</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>HTTP provides a few different ways to stream response bodies. Cowboy will select the most appropriate one based on the HTTP version and the request and response headers.</p>
-<p>While not required by any means, it is recommended that you set the content-length header in the response if you know it in advance. This will ensure that the best response method is selected and help clients understand when the response is fully received.</p>
-<!-- @todo Document trailers here.-->
-<h2 id="_preset_response_headers">Preset response headers</h2>
-<p>Cowboy provides functions to set response headers without immediately sending them. They are stored in the Req object and sent as part of the response when a reply function is called.</p>
-<p>To set response headers:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"allow"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF0000">"GET"</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Header names must be a lowercase binary.</p>
-<p>Do not use this function for setting cookies. Refer to the <a href="../cookies">Cookies</a> chapter for more information.</p>
-<p>To check if a response header has already been set:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:has_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"allow"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>It returns <code>true</code> if the header was set, <code>false</code> otherwise.</p>
-<p>To delete a response header that was set previously:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:delete_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"allow"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_overriding_headers">Overriding headers</h2>
-<p>As Cowboy provides different ways of setting response headers and body, clashes may occur, so it&apos;s important to understand what happens when a header is set twice.</p>
-<p>Headers come from five different origins:</p>
-<ul><li>Protocol-specific headers (for example HTTP/1.1&apos;s connection header)
-</li>
-<li>Other required headers (for example the date header)
-</li>
-<li>Preset headers
-</li>
-<li>Headers given to the reply function
-</li>
-<li>Set-cookie headers
-</li>
-</ul>
-<p>Cowboy does not allow overriding protocol-specific headers.</p>
-<p>Set-cookie headers will always be appended at the end of the list of headers before sending the response.</p>
-<p>Headers given to the reply function will always override preset headers and required headers. If a header is found in two or three of these, then the one in the reply function is picked and the others are dropped.</p>
-<p>Similarly, preset headers will always override required headers.</p>
-<p>To illustrate, look at the following snippet. Cowboy by default sends the server header with the value &quot;Cowboy&quot;. We can override it:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"server"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"yaws"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_preset_response_body">Preset response body</h2>
-<p>Cowboy provides functions to set the response body without immediately sending it. It is stored in the Req object and sent when the reply function is called.</p>
-<p>To set the response body:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_body</font></b>(<font color="#FF0000">"Hello world!"</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<!-- @todo Yeah we probably should add that function that-->
-<!-- also sets the content-type at the same time...-->
-<p>To check if a response body has already been set:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:has_resp_body</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>It returns <code>true</code> if the body was set and is non-empty, <code>false</code> otherwise.</p>
-<!-- @todo We probably should also have a function that-->
-<!-- properly removes the response body, including any-->
-<!-- content-* headers.-->
-<p>The preset response body is only sent if the reply function used is <code>cowboy_req:reply/2</code> or <code>cowboy_req:reply/3</code>.</p>
-<h2 id="_sending_files">Sending files</h2>
-<p>Cowboy provides a shortcut for sending files. When using <code>cowboy_req:reply/4</code>, or when presetting the response header, you can give a <code>sendfile</code> tuple to Cowboy:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">sendfile</font>, <font color="#009900">Offset</font>, <font color="#009900">Length</font>, <font color="#009900">Filename</font>}</tt></pre>
-</div></div>
-<p>Depending on the values for <code>Offset</code> or <code>Length</code>, the entire file may be sent, or just a part of it.</p>
-<p>The length is required even for sending the entire file. Cowboy sends it in the content-length header.</p>
-<p>To send a file while replying:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#FF0000">"image/png"</font>
-}, {<font color="#FF6600">sendfile</font>, <font color="#993399">0</font>, <font color="#993399">12345</font>, <font color="#FF0000">"path/to/logo.png"</font>}, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<!-- @todo An example of presetting a file would be useful,-->
-<!-- but let&apos;s wait for the function that can set the-->
-<!-- content-type at the same time.-->
-<!-- @todo What about streaming many files? For example-->
-<!-- it should be possible to build a tar file on the fly-->
-<!-- while still using sendfile. Another example could be-->
-<!-- proper support for multipart byte ranges. Yet another-->
-<!-- example would be automatic concatenation of CSS or JS-->
-<!-- files.-->
-<h2 id="_push">Push</h2>
-<p>The HTTP/2 protocol introduced the ability to push resources related to the one sent in the response. Cowboy provides two functions for that purpose: <code>cowboy_req:push/3,4</code>.</p>
-<p>Push is only available for HTTP/2. Cowboy will automatically ignore push requests if the protocol doesn&apos;t support it.</p>
-<p>The push function must be called before any of the reply functions. Doing otherwise will result in a crash.</p>
-<p>To push a resource, you need to provide the same information as a client performing a request would. This includes the HTTP method, the URI and any necessary request headers.</p>
-<p>Cowboy by default only requires you to give the path to the resource and the request headers. The rest of the URI is taken from the current request (excluding the query string, set to empty) and the method is GET by default.</p>
-<p>The following snippet pushes a CSS file that is linked to in the response:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:push</font></b>(<font color="#FF0000">"/static/style.css"</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/css"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/html"</font><font color="#990000">&gt;&gt;</font>
-}, [<font color="#FF0000">"&lt;html&gt;&lt;head&gt;&lt;title&gt;My web page&lt;/title&gt;"</font>,
- <font color="#FF0000">"&lt;link rel='stylesheet' type='text/css' href='/static/style.css'&gt;"</font>,
- <font color="#FF0000">"&lt;body&gt;&lt;p&gt;Welcome to Erlang!&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;"</font>], <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>To override the method, scheme, host, port or query string, simply pass in a fourth argument. The following snippet uses a different host name:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:push</font></b>(<font color="#FF0000">"/static/style.css"</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/css"</font><font color="#990000">&gt;&gt;</font>
-}, #{<font color="#0000FF">host</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"cdn.example.org"</font><font color="#990000">&gt;&gt;</font>}, <font color="#009900">Req</font>),</tt></pre>
-</div></div>
-<p>Pushed resources don&apos;t have to be files. As long as the push request is cacheable, safe and does not include a body, the resource can be pushed.</p>
-<p>Under the hood, Cowboy handles pushed requests the same as normal requests: a different process is created which will ultimately send a response to the client.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/req_body/">
- Reading the request body
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/cookies/">
- Using cookies
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/rest_cond.png b/docs/en/cowboy/2.0/guide/rest_cond.png
deleted file mode 100644
index 64cda347..00000000
--- a/docs/en/cowboy/2.0/guide/rest_cond.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/2.0/guide/rest_cond.svg b/docs/en/cowboy/2.0/guide/rest_cond.svg
deleted file mode 100644
index 542ae17d..00000000
--- a/docs/en/cowboy/2.0/guide/rest_cond.svg
+++ /dev/null
@@ -1,1656 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_cond.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="2.0000001"
- inkscape:cx="351.17815"
- inkscape:cy="292.20555"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(303.92143,-296.03137)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-212.00698)"
- id="g5650-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-129.04326)"
- id="g5650-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-44.866334)"
- id="g5650-94"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-71"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,38.329623)"
- id="g5650-93"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,122.59665)"
- id="g5650-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,206.62103)"
- id="g5650-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,248.85545)"
- id="g5650-2-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,72.326854,331.8341)"
- id="g5650-2-04"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9"
- d="m -57.78256,274.83062 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="204.49196"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="288.06644"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="371.6409"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="455.21542"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,-1,1,0,72.019862,498.61197)"
- id="g5650-2-04-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9-6"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="538.78992"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(303.92156,289.38374)"
- id="g5650-6-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-273.77202,830.73267)"
- id="g5650-2-0-4-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.00956,743.77999)"
- id="g5650-2-0-4-9-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 100.30195,432.97597 c 0,0 -104.1879007,-96.82159 -227.75958,-12.49311"
- id="path20172-9-6-0"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,146.48523,357.79168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-5-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41"
- width="210.17955"
- height="35.209244"
- x="140.98338"
- y="622.36444"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="120.91741"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(417.86479,-176.50006)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.18575"
- y="311.63589"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="246.18575"
- y="311.63589">has if-unmodified-since?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.60762"
- y="478.78488"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="245.60762"
- y="478.78488">has if-none-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.15059"
- y="55.939754"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="246.15059"
- y="55.939754"
- id="tspan17171">...</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.11153"
- y="560.125"
- id="text5371-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="246.11153"
- y="560.125">generate_etag</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.64278"
- y="645.9339"
- id="text5371-2-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2"
- x="246.64278"
- y="645.9339">has if-modified-since?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.13106"
- y="144.48688"
- id="text5371-2-95"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="246.13106"
- y="144.48688">has if-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.80684"
- y="225.82706"
- id="text5371-2-32"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="245.80684"
- y="225.82706">generate_etag</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.05293"
- y="393.43692"
- id="text5371-2-74"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18"
- x="246.05293"
- y="393.43692">last_modified</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="185.95248"
- id="text5371-2-391"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="262.26562"
- y="185.95248">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="269.61978"
- id="text5371-2-954"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-808"
- x="262.26562"
- y="269.61978">match*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="353.28702"
- id="text5371-2-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-11"
- x="262.26562"
- y="353.28702">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="436.95425"
- id="text5371-2-92"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-4"
- x="262.26562"
- y="436.95425">not modified*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="520.62152"
- id="text5371-2-739"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0"
- x="262.26562"
- y="520.62152">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="261.24219"
- y="604.14661"
- id="text5371-2-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="261.24219"
- y="604.14661">no match*</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.515488"
- y="227.88033"
- id="text5371-4-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="66.515488"
- y="227.88033">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.097519"
- y="385.50708"
- id="text5371-4-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-01"
- x="66.097519"
- y="385.50708">false, or</tspan><tspan
- sodipodi:role="line"
- x="66.097519"
- y="405.50708"
- id="tspan21678">invalid</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="413.26172"
- y="414.19577"
- id="text5371-4-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62"
- x="413.26172"
- y="414.19577">modified*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.515488"
- y="563.13391"
- id="text5371-4-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2"
- x="66.515488"
- y="563.13391">false</tspan></text>
- <g
- transform="matrix(-1,0,0,-1,541.38289,824.55574)"
- id="g5650-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="489.90482"
- y="372.18814"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="599.20062"
- y="394.09869"
- id="text5371-43"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="599.20062"
- y="394.09869">412 precondition failed</tspan></text>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,416.17722)"
- id="g5650-2-0-4-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,583.49898)"
- id="g5650-2-0-4-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-0"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0.70472302,-0.70948254,0.70948254,0.70472302,241.97558,40.02582)"
- id="g5650-2-1-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-2-8"
- d="m -64.113139,212.68162 6.332851,190.92097"
- style="opacity:0.80000000000000004;fill:none;stroke:#9b3b1c;stroke-width:1.99999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-9-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="511.01306"
- y="-49.514503"
- id="text5371-4-5-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"
- transform="matrix(0.72036037,0.69359998,-0.69359998,0.72036037,0,0)"><tspan
- sodipodi:role="line"
- id="tspan5373-9-09-1"
- x="511.01306"
- y="-49.514503">no match*</tspan></text>
- <g
- transform="translate(303.92156,371.88426)"
- id="g5650-6-2-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4-2"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41-0"
- width="210.17955"
- height="35.209244"
- x="140.98338"
- y="705.93896"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.11142"
- y="729.50842"
- id="text5371-2-7-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1"
- x="246.11142"
- y="729.50842">date is in the future?</tspan></text>
- <g
- transform="translate(303.92156,455.39272)"
- id="g5650-6-2-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4-6"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,72.385532,749.33549)"
- id="g5650-2-04-1-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9-6-9"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0-7-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2-6"
- width="210.17955"
- height="35.209244"
- x="140.98338"
- y="789.51343"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.04581"
- y="811.30945"
- id="text5371-2-7-9-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1-1"
- x="246.04581"
- y="811.30945">last_modified</tspan></text>
- <g
- id="g5650-39"
- transform="translate(656.94774,376.09516)">
- <path
- inkscape:connector-curvature="0"
- id="path5570-0"
- d="m -57.78256,195.3221 0,204.64594"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,159.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-124"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-7"
- width="218.52127"
- height="34.993004"
- x="489.90482"
- y="957.01166"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="599.28265"
- y="980.47302"
- id="text5371-43-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-6"
- x="599.28265"
- y="980.47302">304 not modified</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2-6-4"
- width="210.17955"
- height="35.209244"
- x="140.98338"
- y="873.08795"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.08487"
- y="891.68475"
- id="text5371-2-7-9-0-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1-1-0"
- x="246.08487"
- y="891.68475">...</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.097519"
- y="720.76068"
- id="text5371-4-2-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-01-9"
- x="66.097519"
- y="720.76068">false, or</tspan><tspan
- sodipodi:role="line"
- x="66.097519"
- y="740.76068"
- id="tspan21678-9">invalid</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="412.95471"
- y="580.78271"
- id="text5371-4-3-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9"
- x="412.95471"
- y="580.78271">match*</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3.05435514;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41-0-7"
- width="218.20164"
- height="35.154888"
- x="490.06448"
- y="538.81708"
- rx="15.572517"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="599.00122"
- y="562.35938"
- id="text5371-2-7-9-04"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1-6"
- x="599.00122"
- y="562.35938">method is GET/HEAD?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="621.08008"
- y="607.0827"
- id="text5371-2-739-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0-0"
- x="621.08008"
- y="607.0827">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="640.17383"
- y="518.34009"
- id="text5371-4-4-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6"
- x="640.17383"
- y="518.34009">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="157.927"
- y="770.83472"
- id="text5371-4-4-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-4"
- x="157.927"
- y="770.83472">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.32812"
- y="771.29565"
- id="text5371-2-739-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0-1"
- x="262.32812"
- y="771.29565">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="687.26025"
- id="text5371-2-739-56"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0-8"
- x="262.26562"
- y="687.26025">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="261.24219"
- y="854.87012"
- id="text5371-2-739-5-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0-1-3"
- x="261.24219"
- y="854.87012">modified*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="417.07037"
- y="834.64905"
- id="text5371-4-3-9-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9-4"
- x="417.07037"
- y="834.64905">not modified*</tspan></text>
- <g
- transform="translate(656.94774,455.40497)"
- id="g5650-6-2-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4-1"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-5"
- width="210.17955"
- height="35.209244"
- x="490.03729"
- y="789.51343"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="595.41223"
- y="810.84851"
- id="text5371-2-32-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8"
- x="595.41223"
- y="810.84851">generate_etag</tspan></text>
- <g
- transform="translate(656.94774,539.41312)"
- id="g5650-6-2-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-5-0"
- width="210.17955"
- height="35.209244"
- x="490.03729"
- y="873.08795"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="595.41223"
- y="894.42303"
- id="text5371-2-32-1-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8-6"
- x="595.41223"
- y="894.42303">expires</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/2.0/guide/rest_conneg.png b/docs/en/cowboy/2.0/guide/rest_conneg.png
deleted file mode 100644
index 65ecdcf3..00000000
--- a/docs/en/cowboy/2.0/guide/rest_conneg.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/2.0/guide/rest_conneg.svg b/docs/en/cowboy/2.0/guide/rest_conneg.svg
deleted file mode 100644
index 247567a0..00000000
--- a/docs/en/cowboy/2.0/guide/rest_conneg.svg
+++ /dev/null
@@ -1,1135 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_conneg.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4142136"
- inkscape:cx="222.80947"
- inkscape:cy="634.56615"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(303.92143,-296.03137)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-212.00698)"
- id="g5650-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-129.04326)"
- id="g5650-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-44.866334)"
- id="g5650-94"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-71"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,38.329623)"
- id="g5650-93"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,122.59665)"
- id="g5650-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,206.62103)"
- id="g5650-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,248.85545)"
- id="g5650-2-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,72.326854,331.8341)"
- id="g5650-2-04"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="204.67757"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="288.40311"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="372.01199"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="455.67929"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="539.34656"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(303.92156,289.38374)"
- id="g5650-6-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="623.01385"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="121.0042"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(417.86479,-176.50006)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.18575"
- y="310.19913"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="246.18575"
- y="310.19913">has accept-language?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.60762"
- y="477.47531"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="245.60762"
- y="477.47531">has accept-charset?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.00391"
- y="60.912468"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="245.00391"
- y="60.912468"
- id="tspan17171">start</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.11153"
- y="561.14258"
- id="text5371-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="246.11153"
- y="561.14258">charsets_provided</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.64278"
- y="646.58331"
- id="text5371-2-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2"
- x="246.64278"
- y="646.58331">variances</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.13106"
- y="142.80627"
- id="text5371-2-95"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="246.13106"
- y="142.80627">has accept?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.80684"
- y="226.4736"
- id="text5371-2-32"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="245.80684"
- y="226.4736">content_types_provided</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.05293"
- y="393.80801"
- id="text5371-2-74"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18"
- x="246.05293"
- y="393.80801">languages_provided</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="185.95248"
- id="text5371-2-391"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="262.26562"
- y="185.95248">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="269.61978"
- id="text5371-2-954"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-808"
- x="262.26562"
- y="269.61978">provided*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="353.28702"
- id="text5371-2-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-11"
- x="262.26562"
- y="353.28702">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="436.95425"
- id="text5371-2-92"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-4"
- x="262.26562"
- y="436.95425">provided*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="520.62152"
- id="text5371-2-739"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0"
- x="262.26562"
- y="520.62152">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="604.28876"
- id="text5371-2-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="262.26562"
- y="604.28876">provided*</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="76.761719"
- y="227.88033"
- id="text5371-4-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="76.761719"
- y="227.88033">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="76.761719"
- y="395.20209"
- id="text5371-4-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-01"
- x="76.761719"
- y="395.20209">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="413.26172"
- y="374.19577"
- id="text5371-4-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62"
- x="413.26172"
- y="374.19577">not provided*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="76.761719"
- y="562.52386"
- id="text5371-4-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2"
- x="76.761719"
- y="562.52386">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-8.8034744"
- y="663.24762"
- id="text5371-4-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"
- transform="matrix(0.7410941,-0.67140117,0.67140117,0.7410941,0,0)"><tspan
- sodipodi:role="line"
- id="tspan5373-9-09"
- x="-8.8034744"
- y="663.24762">not provided*</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="489.90482"
- y="372.18814"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(-0.65781496,-0.75317958,0.75317958,-0.65781496,150.24236,637.46542)"
- id="g5650-2-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-2"
- d="m -59.488319,210.57681 1.65844,193.00059"
- style="opacity:0.80000000000000004;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="599.20062"
- y="394.09869"
- id="text5371-43"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="599.20062"
- y="394.09869">406 not acceptable</tspan></text>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,416.17722)"
- id="g5650-2-0-4-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,583.49898)"
- id="g5650-2-0-4-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-0"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0.70472302,-0.70948254,0.70948254,0.70472302,241.97558,40.02582)"
- id="g5650-2-1-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-2-8"
- d="m -64.113139,212.68162 6.332851,190.92097"
- style="opacity:0.80000000000000004;fill:none;stroke:#9b3b1c;stroke-width:1.99999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-9-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="509.41452"
- y="-106.16136"
- id="text5371-4-5-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"
- transform="matrix(0.69480867,0.71919462,-0.71919462,0.69480867,0,0)"><tspan
- sodipodi:role="line"
- id="tspan5373-9-09-1"
- x="509.41452"
- y="-106.16136">not provided*</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41-0"
- width="210.17955"
- height="35.209244"
- x="141.049"
- y="706.68097"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.15048"
- y="725.27777"
- id="text5371-2-7-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1"
- x="246.15048"
- y="725.27777">...</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/2.0/guide/rest_delete.png b/docs/en/cowboy/2.0/guide/rest_delete.png
deleted file mode 100644
index 56a861c0..00000000
--- a/docs/en/cowboy/2.0/guide/rest_delete.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/2.0/guide/rest_delete.svg b/docs/en/cowboy/2.0/guide/rest_delete.svg
deleted file mode 100644
index 2f5513cd..00000000
--- a/docs/en/cowboy/2.0/guide/rest_delete.svg
+++ /dev/null
@@ -1,1718 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_delete.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4142136"
- inkscape:cx="187.51922"
- inkscape:cy="446.38557"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(416.63925,-305.0045)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,270.15614)"
- id="g5650-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,435.68973)"
- id="g5650-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,-141.93971)"
- id="g5650-0-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,-59.713866)"
- id="g5650-0-6-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3-8"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-307.35528,398.54403)"
- id="g5650-2-0-4-8-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5-6-2"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="275.4668"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(270.88515,105.33602)"
- id="g5650-2-2-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-3"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-310.05718,566.15049)"
- id="g5650-2-0-4-3-8-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-7"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="440.50873"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,-1,1,0,-308.28941,729.66893)"
- id="g5650-2-0-4-8-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="605.5506"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,-1,1,0,-313.39862,891.55835)"
- id="g5650-2-0-4-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="770.83313"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,261.76354,-143.71473)"
- id="g5650-2-2-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-4"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="253.76691"
- y="112.69559"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(530.58261,-183.7816)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.38774"
- y="462.30475"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="213.38774"
- y="462.30475">delete_completed</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="212.93852"
- y="627.56927"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="212.93852"
- y="627.56927">has response body?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="359.14185"
- y="50.482433"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="359.14185"
- y="50.482433"
- id="tspan17171">conneg</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="212.77055"
- y="792.62915"
- id="text5371-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="212.77055"
- y="792.62915">multiple_choices</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="358.52466"
- y="134.49161"
- id="text5371-2-95"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="358.52466"
- y="134.49161">resource_exists</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.08696"
- y="297.26282"
- id="text5371-2-32"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="213.08696"
- y="297.26282">delete_resource</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="251.83722"
- y="175.92931"
- id="text5371-2-391"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="251.83722"
- y="175.92931">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="159.54012"
- y="835.54285"
- id="text5371-2-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="159.54012"
- y="835.54285">false</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="447.26678"
- y="176.39024"
- id="text5371-4-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="447.26678"
- y="176.39024">false</tspan></text>
- <g
- transform="translate(563.72619,-141.76777)"
- id="g5650-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="47.338913"
- y="876.22211"
- id="text5371-4-3-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9"
- x="47.338913"
- y="876.22211">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="545.12921"
- y="257.43518"
- id="text5371-4-4-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6"
- x="545.12921"
- y="257.43518">true</tspan></text>
- <g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,547.47379,-62.310424)"
- id="g5650-9-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355-0"
- transform="translate(384.82851,-20.897068)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.38774"
- y="216.5154"
- id="text5371-4-0-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="213.38774"
- y="216.5154"
- id="tspan17171-6">cond</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-1"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="935.6217"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="208.84938"
- y="957.53229"
- id="text5371-43-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-62"
- x="208.84938"
- y="957.53229">300 multiple choices</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="853.22168"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="208.31422"
- y="876.54242"
- id="text5371-43-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1"
- x="208.31422"
- y="876.54242">200 OK</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,1028.2004,317.70407)"
- id="g5650-2-0-4-3-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-4"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="192.94594"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.77957"
- y="216.51541"
- id="text5371-2-32-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8"
- x="505.77957"
- y="216.51541">has if-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="299.27689"
- id="text5371-2-391-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7"
- x="651.74426"
- y="299.27689">false</tspan></text>
- <g
- transform="translate(563.72619,22.800669)"
- id="g5650-0-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1027.6701,482.30508)"
- id="g5650-2-0-4-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-7"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="357.98779"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.94363"
- y="379.78381"
- id="text5371-2-32-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-1"
- x="505.94363"
- y="379.78381">previously_existed</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="440.37622"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="506.2796"
- y="463.83755"
- id="text5371-43-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9"
- x="506.2796"
- y="463.83755">404 not found</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="528.75421"
- y="422.69736"
- id="text5371-2-8-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4"
- x="528.75421"
- y="422.69736">false</tspan></text>
- <g
- transform="translate(563.72619,187.85116)"
- id="g5650-2-2-17">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-0"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-45"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1027.4933,646.81763)"
- id="g5650-2-0-4-3-8-0-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="523.02966"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.45535"
- y="544.82568"
- id="text5371-2-74-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2"
- x="505.45535"
- y="544.82568">moved_permanently</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,347.00351,567.35686)"
- id="g5650-2-0-4-3-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-3"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="275.81555"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="506.2796"
- y="297.7261"
- id="text5371-43"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="506.2796"
- y="297.7261">412 precondition failed</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="668.11926"
- y="463.37662"
- id="text5371-4-3-9-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9-9"
- x="668.11926"
- y="463.37662">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="549.12921"
- y="587.59863"
- id="text5371-4-4-9-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2"
- x="549.12921"
- y="587.59863">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="628.87946"
- id="text5371-2-391-5-5-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9"
- x="651.74426"
- y="628.87946">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="605.41809"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.57257"
- y="627.32867"
- id="text5371-43-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7"
- x="505.57257"
- y="627.32867">301 moved permanently</tspan></text>
- <g
- transform="translate(563.72619,353.12604)"
- id="g5650-2-2-65">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-5"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1032.2004,811.50699)"
- id="g5650-2-0-4-3-8-0-3-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8-1"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="687.83093"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.45535"
- y="709.62695"
- id="text5371-2-74-0-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8"
- x="505.45535"
- y="709.62695">moved_temporarily</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="549.12921"
- y="752.64056"
- id="text5371-4-4-9-3-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-6"
- x="549.12921"
- y="752.64056">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="794.16199"
- id="text5371-2-391-5-5-1-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-2"
- x="651.74426"
- y="794.16199">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="770.70062"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.57257"
- y="792.61121"
- id="text5371-43-2-9-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8"
- x="505.57257"
- y="792.61121">307 moved temporarily</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-4"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="853.22168"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.97882"
- y="874.99164"
- id="text5371-43-2-9-7-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-7"
- x="505.97882"
- y="874.99164">410 gone</tspan></text>
- <g
- transform="translate(31.619614,4.2328831)"
- id="g5650-2-2-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="178.57137"
- y="505.21829"
- id="text5371-4-6-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0-9"
- x="178.57137"
- y="505.21829">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="522.89716"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="209.20485"
- y="544.80774"
- id="text5371-43-3-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-5"
- x="209.20485"
- y="544.80774">202 accepted</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-5"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="687.69843"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="208.6736"
- y="711.01917"
- id="text5371-43-3-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-8"
- x="208.6736"
- y="711.01917">204 no content</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="47.338913"
- y="711.15979"
- id="text5371-4-6-0-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0-9-4"
- x="47.338913"
- y="711.15979">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="30.901413"
- y="545.89758"
- id="text5371-2-391-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-9"
- x="30.901413"
- y="545.89758">true</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7-1"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="357.85529"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="208.45485"
- y="381.31662"
- id="text5371-43-3-1-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-5-9"
- x="208.45485"
- y="381.31662">500 internal server error</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="159.54012"
- y="340.17645"
- id="text5371-2-8-9-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-4"
- x="159.54012"
- y="340.17645">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="47.338913"
- y="380.85568"
- id="text5371-4-4-9-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-1"
- x="47.338913"
- y="380.85568">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="159.54012"
- y="670.13989"
- id="text5371-2-391-6-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-9-1"
- x="159.54012"
- y="670.13989">false</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/2.0/guide/rest_flowcharts.asciidoc b/docs/en/cowboy/2.0/guide/rest_flowcharts.asciidoc
deleted file mode 100644
index b5697825..00000000
--- a/docs/en/cowboy/2.0/guide/rest_flowcharts.asciidoc
+++ /dev/null
@@ -1,248 +0,0 @@
-[[rest_flowcharts]]
-== REST flowcharts
-
-This chapter will explain the REST handler state machine through
-a number of different diagrams.
-
-There are four main paths that requests may follow. One for the
-method OPTIONS; one for the methods GET and HEAD; one for the
-methods PUT, POST and PATCH; and one for the method DELETE.
-
-All paths start with the "Start" diagram, and all paths excluding
-the OPTIONS path go through the "Content negotiation" diagram
-and optionally the "Conditional requests" diagram if the resource
-exists.
-
-The red squares refer to another diagram. The light green squares
-indicate a response. Other squares may be either a callback or a
-question answered by Cowboy itself. Green arrows tend to indicate
-the default behavior if the callback is undefined.
-
-=== Start
-
-All requests start from here.
-
-image::rest_start.png[REST starting flowchart]
-
-A series of callbacks are called in succession to perform
-a general checkup of the service, the request line and
-request headers.
-
-The request body, if any, is not expected to have been
-received for any of these steps. It is only processed
-at the end of the "PUT, POST and PATCH methods" diagram,
-when all conditions have been met.
-
-The `known_methods` and `allowed_methods` callbacks
-return a list of methods. Cowboy then checks if the request
-method is in the list, and stops otherwise.
-
-The `is_authorized` callback may be used to check that
-access to the resource is authorized. Authentication
-may also be performed as needed. When authorization is
-denied, the return value from the callback must include
-a challenge applicable to the requested resource, which
-will be sent back to the client in the www-authenticate
-header.
-
-This diagram is immediately followed by either the
-"OPTIONS method" diagram when the request method is
-OPTIONS, or the "Content negotiation" diagram otherwise.
-
-=== OPTIONS method
-
-This diagram only applies to OPTIONS requests.
-
-image::rest_options.png[REST OPTIONS method flowchart]
-
-The `options` callback may be used to add information
-about the resource, such as media types or languages
-provided; allowed methods; any extra information. A
-response body may also be set, although clients should
-not be expected to read it.
-
-If the `options` callback is not defined, Cowboy will
-send a response containing the list of allowed methods
-by default.
-
-=== Content negotiation
-
-This diagram applies to all request methods other than
-OPTIONS. It is executed right after the "Start" diagram
-is completed.
-
-image::rest_conneg.png[REST content negotiation flowchart]
-
-The purpose of these steps is to determine an appropriate
-representation to be sent back to the client.
-
-The request may contain any of the accept header; the
-accept-language header; or the accept-charset header.
-When present, Cowboy will parse the headers and then
-call the corresponding callback to obtain the list
-of provided content-type, language or charset for this
-resource. It then automatically select the best match
-based on the request.
-
-If a callback is not defined, Cowboy will select the
-content-type, language or charset that the client
-prefers.
-
-The `content_types_provided` also returns the name of
-a callback for every content-type it accepts. This
-callback will only be called at the end of the
-"GET and HEAD methods" diagram, when all conditions
-have been met.
-
-The selected content-type, language and charset are
-saved as meta values in the Req object. You *should*
-use the appropriate representation if you set a
-response body manually (alongside an error code,
-for example).
-
-This diagram is immediately followed by
-the "GET and HEAD methods" diagram,
-the "PUT, POST and PATCH methods" diagram,
-or the "DELETE method" diagram, depending on the
-method.
-
-=== GET and HEAD methods
-
-This diagram only applies to GET and HEAD requests.
-
-For a description of the `cond` step, please see
-the "Conditional requests" diagram.
-
-image::rest_get_head.png[REST GET/HEAD methods flowchart]
-
-When the resource exists, and the conditional steps
-succeed, the resource can be retrieved.
-
-Cowboy prepares the response by first retrieving
-metadata about the representation, then by calling
-the `ProvideResource` callback. This is the callback
-you defined for each content-types you returned from
-`content_types_provided`. This callback returns the body
-that will be sent back to the client, or a fun if the
-body must be streamed.
-
-When the resource does not exist, Cowboy will figure out
-whether the resource existed previously, and if so whether
-it was moved elsewhere in order to redirect the client to
-the new URI.
-
-The `moved_permanently` and `moved_temporarily` callbacks
-must return the new location of the resource if it was in
-fact moved.
-
-=== PUT, POST and PATCH methods
-
-This diagram only applies to PUT, POST and PATCH requests.
-
-For a description of the `cond` step, please see
-the "Conditional requests" diagram.
-
-image::rest_put_post_patch.png[REST PUT/POST/PATCH methods flowchart]
-
-When the resource exists, first the conditional steps
-are executed. When that succeeds, and the method is PUT,
-Cowboy will call the `is_conflict` callback. This function
-can be used to prevent potential race conditions, by locking
-the resource for example.
-
-Then all three methods reach the `content_types_accepted`
-step that we will describe in a few paragraphs.
-
-When the resource does not exist, and the method is PUT,
-Cowboy will check for conflicts and then move on to the
-`content_types_accepted` step. For other methods, Cowboy
-will figure out whether the resource existed previously,
-and if so whether it was moved elsewhere. If the resource
-is truly non-existent, the method is POST and the call
-for `allow_missing_post` returns `true`, then Cowboy will
-move on to the `content_types_accepted` step. Otherwise
-the request processing ends there.
-
-The `moved_permanently` and `moved_temporarily` callbacks
-must return the new location of the resource if it was in
-fact moved.
-
-The `content_types_accepted` returns a list of
-content-types it accepts, but also the name of a callback
-for each of them. Cowboy will select the appropriate
-callback for processing the request body and call it.
-
-This callback may return one of three different return
-values.
-
-If an error occurred while processing the request body,
-it must return `false` and Cowboy will send an
-appropriate error response.
-
-If the method is POST, then you may return `true` with
-an URI of where the resource has been created. This is
-especially useful for writing handlers for collections.
-
-Otherwise, return `true` to indicate success. Cowboy
-will select the appropriate response to be sent depending
-on whether a resource has been created, rather than
-modified, and on the availability of a location header
-or a body in the response.
-
-=== DELETE method
-
-This diagram only applies to DELETE requests.
-
-For a description of the `cond` step, please see
-the "Conditional requests" diagram.
-
-image::rest_delete.png[REST DELETE method flowchart]
-
-When the resource exists, and the conditional steps
-succeed, the resource can be deleted.
-
-Deleting the resource is a two steps process. First
-the callback `delete_resource` is executed. Use this
-callback to delete the resource.
-
-Because the resource may be cached, you must also
-delete all cached representations of this resource
-in the system. This operation may take a while though,
-so you may return before it finished.
-
-Cowboy will then call the `delete_completed` callback.
-If you know that the resource has been completely
-deleted from your system, including from caches, then
-you can return `true`. If any doubts persist, return
-`false`. Cowboy will assume `true` by default.
-
-To finish, Cowboy checks if you set a response body,
-and depending on that, sends the appropriate response.
-
-When the resource does not exist, Cowboy will figure out
-whether the resource existed previously, and if so whether
-it was moved elsewhere in order to redirect the client to
-the new URI.
-
-The `moved_permanently` and `moved_temporarily` callbacks
-must return the new location of the resource if it was in
-fact moved.
-
-=== Conditional requests
-
-This diagram applies to all request methods other than
-OPTIONS. It is executed right after the `resource_exists`
-callback, when the resource exists.
-
-image::rest_cond.png[REST conditional requests flowchart]
-
-A request becomes conditional when it includes either of
-the if-match header; the if-unmodified-since header; the
-if-none-match header; or the if-modified-since header.
-
-If the condition fails, the request ends immediately
-without any retrieval or modification of the resource.
-
-The `generate_etag` and `last_modified` are called as
-needed. Cowboy will only call them once and then cache
-the results for subsequent use.
diff --git a/docs/en/cowboy/2.0/guide/rest_flowcharts/index.html b/docs/en/cowboy/2.0/guide/rest_flowcharts/index.html
deleted file mode 100644
index b446143d..00000000
--- a/docs/en/cowboy/2.0/guide/rest_flowcharts/index.html
+++ /dev/null
@@ -1,242 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: REST flowcharts</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>REST flowcharts</span></h1>
-
-<p>This chapter will explain the REST handler state machine through a number of different diagrams.</p>
-<p>There are four main paths that requests may follow. One for the method OPTIONS; one for the methods GET and HEAD; one for the methods PUT, POST and PATCH; and one for the method DELETE.</p>
-<p>All paths start with the &quot;Start&quot; diagram, and all paths excluding the OPTIONS path go through the &quot;Content negotiation&quot; diagram and optionally the &quot;Conditional requests&quot; diagram if the resource exists.</p>
-<p>The red squares refer to another diagram. The light green squares indicate a response. Other squares may be either a callback or a question answered by Cowboy itself. Green arrows tend to indicate the default behavior if the callback is undefined.</p>
-<h2 id="_start">Start</h2>
-<p>All requests start from here.</p>
-<img src="../rest_start.png" alt="REST starting flowchart"/><p>A series of callbacks are called in succession to perform a general checkup of the service, the request line and request headers.</p>
-<p>The request body, if any, is not expected to have been received for any of these steps. It is only processed at the end of the &quot;PUT, POST and PATCH methods&quot; diagram, when all conditions have been met.</p>
-<p>The <code>known_methods</code> and <code>allowed_methods</code> callbacks return a list of methods. Cowboy then checks if the request method is in the list, and stops otherwise.</p>
-<p>The <code>is_authorized</code> callback may be used to check that access to the resource is authorized. Authentication may also be performed as needed. When authorization is denied, the return value from the callback must include a challenge applicable to the requested resource, which will be sent back to the client in the www-authenticate header.</p>
-<p>This diagram is immediately followed by either the &quot;OPTIONS method&quot; diagram when the request method is OPTIONS, or the &quot;Content negotiation&quot; diagram otherwise.</p>
-<h2 id="_options_method">OPTIONS method</h2>
-<p>This diagram only applies to OPTIONS requests.</p>
-<img src="../rest_options.png" alt="REST OPTIONS method flowchart"/><p>The <code>options</code> callback may be used to add information about the resource, such as media types or languages provided; allowed methods; any extra information. A response body may also be set, although clients should not be expected to read it.</p>
-<p>If the <code>options</code> callback is not defined, Cowboy will send a response containing the list of allowed methods by default.</p>
-<h2 id="_content_negotiation">Content negotiation</h2>
-<p>This diagram applies to all request methods other than OPTIONS. It is executed right after the &quot;Start&quot; diagram is completed.</p>
-<img src="../rest_conneg.png" alt="REST content negotiation flowchart"/><p>The purpose of these steps is to determine an appropriate representation to be sent back to the client.</p>
-<p>The request may contain any of the accept header; the accept-language header; or the accept-charset header. When present, Cowboy will parse the headers and then call the corresponding callback to obtain the list of provided content-type, language or charset for this resource. It then automatically select the best match based on the request.</p>
-<p>If a callback is not defined, Cowboy will select the content-type, language or charset that the client prefers.</p>
-<p>The <code>content_types_provided</code> also returns the name of a callback for every content-type it accepts. This callback will only be called at the end of the &quot;GET and HEAD methods&quot; diagram, when all conditions have been met.</p>
-<p>The selected content-type, language and charset are saved as meta values in the Req object. You <strong>should</strong> use the appropriate representation if you set a response body manually (alongside an error code, for example).</p>
-<p>This diagram is immediately followed by the &quot;GET and HEAD methods&quot; diagram, the &quot;PUT, POST and PATCH methods&quot; diagram, or the &quot;DELETE method&quot; diagram, depending on the method.</p>
-<h2 id="_get_and_head_methods">GET and HEAD methods</h2>
-<p>This diagram only applies to GET and HEAD requests.</p>
-<p>For a description of the <code>cond</code> step, please see the &quot;Conditional requests&quot; diagram.</p>
-<img src="../rest_get_head.png" alt="REST GET/HEAD methods flowchart"/><p>When the resource exists, and the conditional steps succeed, the resource can be retrieved.</p>
-<p>Cowboy prepares the response by first retrieving metadata about the representation, then by calling the <code>ProvideResource</code> callback. This is the callback you defined for each content-types you returned from <code>content_types_provided</code>. This callback returns the body that will be sent back to the client, or a fun if the body must be streamed.</p>
-<p>When the resource does not exist, Cowboy will figure out whether the resource existed previously, and if so whether it was moved elsewhere in order to redirect the client to the new URI.</p>
-<p>The <code>moved_permanently</code> and <code>moved_temporarily</code> callbacks must return the new location of the resource if it was in fact moved.</p>
-<h2 id="_put__post_and_patch_methods">PUT, POST and PATCH methods</h2>
-<p>This diagram only applies to PUT, POST and PATCH requests.</p>
-<p>For a description of the <code>cond</code> step, please see the &quot;Conditional requests&quot; diagram.</p>
-<img src="../rest_put_post_patch.png" alt="REST PUT/POST/PATCH methods flowchart"/><p>When the resource exists, first the conditional steps are executed. When that succeeds, and the method is PUT, Cowboy will call the <code>is_conflict</code> callback. This function can be used to prevent potential race conditions, by locking the resource for example.</p>
-<p>Then all three methods reach the <code>content_types_accepted</code> step that we will describe in a few paragraphs.</p>
-<p>When the resource does not exist, and the method is PUT, Cowboy will check for conflicts and then move on to the <code>content_types_accepted</code> step. For other methods, Cowboy will figure out whether the resource existed previously, and if so whether it was moved elsewhere. If the resource is truly non-existent, the method is POST and the call for <code>allow_missing_post</code> returns <code>true</code>, then Cowboy will move on to the <code>content_types_accepted</code> step. Otherwise the request processing ends there.</p>
-<p>The <code>moved_permanently</code> and <code>moved_temporarily</code> callbacks must return the new location of the resource if it was in fact moved.</p>
-<p>The <code>content_types_accepted</code> returns a list of content-types it accepts, but also the name of a callback for each of them. Cowboy will select the appropriate callback for processing the request body and call it.</p>
-<p>This callback may return one of three different return values.</p>
-<p>If an error occurred while processing the request body, it must return <code>false</code> and Cowboy will send an appropriate error response.</p>
-<p>If the method is POST, then you may return <code>true</code> with an URI of where the resource has been created. This is especially useful for writing handlers for collections.</p>
-<p>Otherwise, return <code>true</code> to indicate success. Cowboy will select the appropriate response to be sent depending on whether a resource has been created, rather than modified, and on the availability of a location header or a body in the response.</p>
-<h2 id="_delete_method">DELETE method</h2>
-<p>This diagram only applies to DELETE requests.</p>
-<p>For a description of the <code>cond</code> step, please see the &quot;Conditional requests&quot; diagram.</p>
-<img src="../rest_delete.png" alt="REST DELETE method flowchart"/><p>When the resource exists, and the conditional steps succeed, the resource can be deleted.</p>
-<p>Deleting the resource is a two steps process. First the callback <code>delete_resource</code> is executed. Use this callback to delete the resource.</p>
-<p>Because the resource may be cached, you must also delete all cached representations of this resource in the system. This operation may take a while though, so you may return before it finished.</p>
-<p>Cowboy will then call the <code>delete_completed</code> callback. If you know that the resource has been completely deleted from your system, including from caches, then you can return <code>true</code>. If any doubts persist, return <code>false</code>. Cowboy will assume <code>true</code> by default.</p>
-<p>To finish, Cowboy checks if you set a response body, and depending on that, sends the appropriate response.</p>
-<p>When the resource does not exist, Cowboy will figure out whether the resource existed previously, and if so whether it was moved elsewhere in order to redirect the client to the new URI.</p>
-<p>The <code>moved_permanently</code> and <code>moved_temporarily</code> callbacks must return the new location of the resource if it was in fact moved.</p>
-<h2 id="_conditional_requests">Conditional requests</h2>
-<p>This diagram applies to all request methods other than OPTIONS. It is executed right after the <code>resource_exists</code> callback, when the resource exists.</p>
-<img src="../rest_cond.png" alt="REST conditional requests flowchart"/><p>A request becomes conditional when it includes either of the if-match header; the if-unmodified-since header; the if-none-match header; or the if-modified-since header.</p>
-<p>If the condition fails, the request ends immediately without any retrieval or modification of the resource.</p>
-<p>The <code>generate_etag</code> and <code>last_modified</code> are called as needed. Cowboy will only call them once and then cache the results for subsequent use.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_handlers/">
- REST handlers
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/resource_design/">
- Designing a resource handler
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/rest_get_head.png b/docs/en/cowboy/2.0/guide/rest_get_head.png
deleted file mode 100644
index 211ab603..00000000
--- a/docs/en/cowboy/2.0/guide/rest_get_head.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/2.0/guide/rest_get_head.svg b/docs/en/cowboy/2.0/guide/rest_get_head.svg
deleted file mode 100644
index 92030cf3..00000000
--- a/docs/en/cowboy/2.0/guide/rest_get_head.svg
+++ /dev/null
@@ -1,1523 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.92.1 r"
- sodipodi:docname="rest_get_head.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4142136"
- inkscape:cx="353.51266"
- inkscape:cy="522.73683"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="1920"
- inkscape:window-height="1043"
- inkscape:window-x="0"
- inkscape:window-y="0"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(416.63925,-305.0045)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,-59.451492)"
- id="g5650-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,22.975441)"
- id="g5650-94"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-71"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,105.29639)"
- id="g5650-93"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,187.81342)"
- id="g5650-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,270.7128)"
- id="g5650-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,-141.93971)"
- id="g5650-0-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="275.4668"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="357.98779"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="440.50873"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="523.02966"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,-1,1,0,-314.06239,730.23773)"
- id="g5650-2-0-4-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="605.5506"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,261.76354,-143.71473)"
- id="g5650-2-2-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-4"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="253.76691"
- y="112.69559"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(530.58261,-183.7816)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="114.39204"
- id="text5371"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="213.07524"
- y="379.78381"
- id="text5371-2-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="213.07524"
- y="379.78381"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">last_modified</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="212.74321"
- y="546.59912"
- id="text5371-2-3-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="212.74321"
- y="546.59912"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">ProvideCallback</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="359.14185"
- y="50.482433"
- id="text5371-4-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="359.14185"
- y="50.482433"
- id="tspan17171"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">conneg</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="212.77055"
- y="627.34662"
- id="text5371-2-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="212.77055"
- y="627.34662"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">multiple_choices</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="358.52466"
- y="134.49161"
- id="text5371-2-95"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="358.52466"
- y="134.49161"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">resource_exists</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="213.38774"
- y="296.80188"
- id="text5371-2-32"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="213.38774"
- y="296.80188"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">generate_etag</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="213.05571"
- y="462.5274"
- id="text5371-2-74"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18"
- x="213.05571"
- y="462.5274"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">expires</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="251.83722"
- y="175.92931"
- id="text5371-2-391"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="251.83722"
- y="175.92931"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="161.54012"
- y="670.38055"
- id="text5371-2-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="161.54012"
- y="670.38055"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="447.26678"
- y="176.39024"
- id="text5371-4-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="447.26678"
- y="176.39024"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="translate(563.72619,-141.76777)"
- id="g5650-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- transform="rotate(-90)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="46.409981"
- y="711.18011"
- id="text5371-4-3-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9"
- x="46.409981"
- y="711.18011"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="545.12921"
- y="257.43518"
- id="text5371-4-4-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6"
- x="545.12921"
- y="257.43518"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,547.47379,-62.310424)"
- id="g5650-9-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355-0"
- transform="translate(384.82851,-20.897068)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="213.38774"
- y="216.5154"
- id="text5371-4-0-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="213.38774"
- y="216.5154"
- id="tspan17171-6"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">cond</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-1"
- width="218.52127"
- height="34.993004"
- x="103.84195"
- y="770.70062"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="212.88774"
- y="792.61121"
- id="text5371-43-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-62"
- x="212.88774"
- y="792.61121"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">300 multiple choices</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8"
- width="218.52127"
- height="34.993004"
- x="103.84195"
- y="688.17969"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="212.35258"
- y="711.50043"
- id="text5371-43-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1"
- x="212.35258"
- y="711.50043"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">200 OK</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,1028.2004,317.70407)"
- id="g5650-2-0-4-3-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-4"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="192.94594"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="505.77957"
- y="216.51541"
- id="text5371-2-32-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8"
- x="505.77957"
- y="216.51541"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">has if-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="651.74426"
- y="299.27689"
- id="text5371-2-391-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7"
- x="651.74426"
- y="299.27689"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="translate(563.72619,22.800669)"
- id="g5650-0-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1027.6701,482.30508)"
- id="g5650-2-0-4-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-7"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="357.98779"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="505.94363"
- y="379.78381"
- id="text5371-2-32-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-1"
- x="505.94363"
- y="379.78381"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">previously_existed</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="440.37622"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="506.2796"
- y="463.83755"
- id="text5371-43-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9"
- x="506.2796"
- y="463.83755"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">404 not found</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="528.75421"
- y="422.69736"
- id="text5371-2-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4"
- x="528.75421"
- y="422.69736"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="translate(563.72619,187.85116)"
- id="g5650-2-2-17">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-0"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-45"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1027.4933,646.81763)"
- id="g5650-2-0-4-3-8-0-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="523.02966"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="505.45535"
- y="544.82568"
- id="text5371-2-74-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2"
- x="505.45535"
- y="544.82568"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">moved_permanently</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,347.00351,567.35686)"
- id="g5650-2-0-4-3-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-3"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="275.81555"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="506.2796"
- y="297.7261"
- id="text5371-43"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="506.2796"
- y="297.7261"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">412 precondition failed</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="668.11926"
- y="463.37662"
- id="text5371-4-3-9-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9-9"
- x="668.11926"
- y="463.37662"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="549.12921"
- y="587.59863"
- id="text5371-4-4-9-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2"
- x="549.12921"
- y="587.59863"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="651.74426"
- y="628.87946"
- id="text5371-2-391-5-5-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9"
- x="651.74426"
- y="628.87946"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="605.41809"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="505.57257"
- y="627.32867"
- id="text5371-43-2-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7"
- x="505.57257"
- y="627.32867"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">301 moved permanently</tspan></text>
- <g
- transform="translate(563.72619,353.12604)"
- id="g5650-2-2-65">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-5"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1032.2004,811.50699)"
- id="g5650-2-0-4-3-8-0-3-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8-1"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="687.83093"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="505.45535"
- y="709.62695"
- id="text5371-2-74-0-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8"
- x="505.45535"
- y="709.62695"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">moved_temporarily</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="549.12921"
- y="752.64056"
- id="text5371-4-4-9-3-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-6"
- x="549.12921"
- y="752.64056"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="651.74426"
- y="794.16199"
- id="text5371-2-391-5-5-1-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-2"
- x="651.74426"
- y="794.16199"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="770.70062"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="505.57257"
- y="792.61121"
- id="text5371-43-2-9-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8"
- x="505.57257"
- y="792.61121"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">307 moved temporarily</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-4"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="853.22168"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="505.97882"
- y="874.99164"
- id="text5371-43-2-9-7-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-7"
- x="505.97882"
- y="874.99164"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">410 gone</tspan></text>
- <g
- transform="translate(31.619614,4.2328831)"
- id="g5650-2-2-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- </g>
-</svg>
diff --git a/docs/en/cowboy/2.0/guide/rest_handlers.asciidoc b/docs/en/cowboy/2.0/guide/rest_handlers.asciidoc
deleted file mode 100644
index c69f02b2..00000000
--- a/docs/en/cowboy/2.0/guide/rest_handlers.asciidoc
+++ /dev/null
@@ -1,134 +0,0 @@
-[[rest_handlers]]
-== REST handlers
-
-REST is implemented in Cowboy as a sub protocol. The request
-is handled as a state machine with many optional callbacks
-describing the resource and modifying the machine's behavior.
-
-The REST handler is the recommended way to handle HTTP requests.
-
-=== Initialization
-
-First, the `init/2` callback is called. This callback is common
-to all handlers. To use REST for the current request, this function
-must return a `cowboy_rest` tuple.
-
-[source,erlang]
-----
-init(Req, State) ->
- {cowboy_rest, Req, State}.
-----
-
-Cowboy will then switch to the REST protocol and start executing
-the state machine.
-
-After reaching the end of the flowchart, the `terminate/3` callback
-will be called if it is defined.
-
-=== Methods
-
-The REST component has code for handling the following HTTP methods:
-HEAD, GET, POST, PATCH, PUT, DELETE and OPTIONS.
-
-Other methods can be accepted, however they have no specific callback
-defined for them at this time.
-
-=== Callbacks
-
-All callbacks are optional. Some may become mandatory depending
-on what other defined callbacks return. The various flowcharts
-in the next chapter should be a useful to determine which callbacks
-you need.
-
-All callbacks take two arguments, the Req object and the State,
-and return a three-element tuple of the form `{Value, Req, State}`.
-
-All callbacks can also return `{stop, Req, State}` to stop execution
-of the request.
-
-The following table summarizes the callbacks and their default values.
-If the callback isn't defined, then the default value will be used.
-Please look at the flowcharts to find out the result of each return
-value.
-
-In the following table, "skip" means the callback is entirely skipped
-if it is undefined, moving directly to the next step. Similarly,
-"none" means there is no default value for this callback.
-
-[cols="<,^",options="header"]
-|===
-| Callback name | Default value
-| allowed_methods | `[<<"GET">>, <<"HEAD">>, <<"OPTIONS">>]`
-| allow_missing_post | `true`
-| charsets_provided | skip
-| content_types_accepted | none
-// @todo Space required for the time being: https://github.com/spf13/hugo/issues/2398
-| content_types_provided | `[{{ <<"text">>, <<"html">>, '*'}, to_html}]`
-| delete_completed | `true`
-| delete_resource | `false`
-| expires | `undefined`
-| forbidden | `false`
-| generate_etag | `undefined`
-| is_authorized | `true`
-| is_conflict | `false`
-| known_methods | `[<<"GET">>, <<"HEAD">>, <<"POST">>, <<"PUT">>, <<"PATCH">>, <<"DELETE">>, <<"OPTIONS">>]`
-| languages_provided | skip
-| last_modified | `undefined`
-| malformed_request | `false`
-| moved_permanently | `false`
-| moved_temporarily | `false`
-| multiple_choices | `false`
-| options | `ok`
-| previously_existed | `false`
-| resource_exists | `true`
-| service_available | `true`
-| uri_too_long | `false`
-| valid_content_headers | `true`
-| valid_entity_length | `true`
-| variances | `[]`
-|===
-
-As you can see, Cowboy tries to move on with the request whenever
-possible by using well thought out default values.
-
-In addition to these, there can be any number of user-defined
-callbacks that are specified through `content_types_accepted/2`
-and `content_types_provided/2`. They can take any name, however
-it is recommended to use a separate prefix for the callbacks of
-each function. For example, `from_html` and `to_html` indicate
-in the first case that we're accepting a resource given as HTML,
-and in the second case that we send one as HTML.
-
-=== Meta data
-
-Cowboy will set informative values to the Req object at various
-points of the execution. You can retrieve them by matching the
-Req object directly. The values are defined in the following table:
-
-[cols="<,<",options="header"]
-|===
-| Key | Details
-| media_type | The content-type negotiated for the response entity.
-| language | The language negotiated for the response entity.
-| charset | The charset negotiated for the response entity.
-|===
-
-They can be used to send a proper body with the response to a
-request that used a method other than HEAD or GET.
-
-=== Response headers
-
-Cowboy will set response headers automatically over the execution
-of the REST code. They are listed in the following table.
-
-[cols="<,<",options="header"]
-|===
-| Header name | Details
-| content-language | Language used in the response body
-| content-type | Media type and charset of the response body
-| etag | Etag of the resource
-| expires | Expiration date of the resource
-| last-modified | Last modification date for the resource
-| location | Relative or absolute URI to the requested resource
-| vary | List of headers that may change the representation of the resource
-|===
diff --git a/docs/en/cowboy/2.0/guide/rest_handlers/index.html b/docs/en/cowboy/2.0/guide/rest_handlers/index.html
deleted file mode 100644
index eb29b2a2..00000000
--- a/docs/en/cowboy/2.0/guide/rest_handlers/index.html
+++ /dev/null
@@ -1,340 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: REST handlers</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>REST handlers</span></h1>
-
-<p>REST is implemented in Cowboy as a sub protocol. The request is handled as a state machine with many optional callbacks describing the resource and modifying the machine&apos;s behavior.</p>
-<p>The REST handler is the recommended way to handle HTTP requests.</p>
-<h2 id="_initialization">Initialization</h2>
-<p>First, the <code>init/2</code> callback is called. This callback is common to all handlers. To use REST for the current request, this function must return a <code>cowboy_rest</code> tuple.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">cowboy_rest</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy will then switch to the REST protocol and start executing the state machine.</p>
-<p>After reaching the end of the flowchart, the <code>terminate/3</code> callback will be called if it is defined.</p>
-<h2 id="_methods">Methods</h2>
-<p>The REST component has code for handling the following HTTP methods: HEAD, GET, POST, PATCH, PUT, DELETE and OPTIONS.</p>
-<p>Other methods can be accepted, however they have no specific callback defined for them at this time.</p>
-<h2 id="_callbacks">Callbacks</h2>
-<p>All callbacks are optional. Some may become mandatory depending on what other defined callbacks return. The various flowcharts in the next chapter should be a useful to determine which callbacks you need.</p>
-<p>All callbacks take two arguments, the Req object and the State, and return a three-element tuple of the form <code>{Value, Req, State}</code>.</p>
-<p>All callbacks can also return <code>{stop, Req, State}</code> to stop execution of the request.</p>
-<p>The following table summarizes the callbacks and their default values. If the callback isn&apos;t defined, then the default value will be used. Please look at the flowcharts to find out the result of each return value.</p>
-<p>In the following table, &quot;skip&quot; means the callback is entirely skipped if it is undefined, moving directly to the next step. Similarly, &quot;none&quot; means there is no default value for this callback.</p>
-<table rules="all" width="100%" frame="border"
- cellspacing="0" cellpadding="4">
-<thead><tr><th>Callback name</th>
-<th>Default value</th>
-</tr></thead><tbody><tr><td>allowed_methods</td>
-<td><code>[&lt;&lt;&quot;GET&quot;&gt;&gt;, &lt;&lt;&quot;HEAD&quot;&gt;&gt;, &lt;&lt;&quot;OPTIONS&quot;&gt;&gt;]</code></td>
-</tr>
-<tr><td>allow_missing_post</td>
-<td><code>true</code></td>
-</tr>
-<tr><td>charsets_provided</td>
-<td>skip</td>
-</tr>
-<tr><td>content_types_accepted</td>
-<td>none</td>
-</tr>
-<tr><td>content_types_provided</td>
-<td><code>[{{ &lt;&lt;&quot;text&quot;&gt;&gt;, &lt;&lt;&quot;html&quot;&gt;&gt;, &apos;*&apos;}, to_html}]</code></td>
-</tr>
-<tr><td>delete_completed</td>
-<td><code>true</code></td>
-</tr>
-<tr><td>delete_resource</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>expires</td>
-<td><code>undefined</code></td>
-</tr>
-<tr><td>forbidden</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>generate_etag</td>
-<td><code>undefined</code></td>
-</tr>
-<tr><td>is_authorized</td>
-<td><code>true</code></td>
-</tr>
-<tr><td>is_conflict</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>known_methods</td>
-<td><code>[&lt;&lt;&quot;GET&quot;&gt;&gt;, &lt;&lt;&quot;HEAD&quot;&gt;&gt;, &lt;&lt;&quot;POST&quot;&gt;&gt;, &lt;&lt;&quot;PUT&quot;&gt;&gt;, &lt;&lt;&quot;PATCH&quot;&gt;&gt;, &lt;&lt;&quot;DELETE&quot;&gt;&gt;, &lt;&lt;&quot;OPTIONS&quot;&gt;&gt;]</code></td>
-</tr>
-<tr><td>languages_provided</td>
-<td>skip</td>
-</tr>
-<tr><td>last_modified</td>
-<td><code>undefined</code></td>
-</tr>
-<tr><td>malformed_request</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>moved_permanently</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>moved_temporarily</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>multiple_choices</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>options</td>
-<td><code>ok</code></td>
-</tr>
-<tr><td>previously_existed</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>resource_exists</td>
-<td><code>true</code></td>
-</tr>
-<tr><td>service_available</td>
-<td><code>true</code></td>
-</tr>
-<tr><td>uri_too_long</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>valid_content_headers</td>
-<td><code>true</code></td>
-</tr>
-<tr><td>valid_entity_length</td>
-<td><code>true</code></td>
-</tr>
-<tr><td>variances</td>
-<td><code>[]</code></td>
-</tr>
-</tbody></table>
-<p>As you can see, Cowboy tries to move on with the request whenever possible by using well thought out default values.</p>
-<p>In addition to these, there can be any number of user-defined callbacks that are specified through <code>content_types_accepted/2</code> and <code>content_types_provided/2</code>. They can take any name, however it is recommended to use a separate prefix for the callbacks of each function. For example, <code>from_html</code> and <code>to_html</code> indicate in the first case that we&apos;re accepting a resource given as HTML, and in the second case that we send one as HTML.</p>
-<h2 id="_meta_data">Meta data</h2>
-<p>Cowboy will set informative values to the Req object at various points of the execution. You can retrieve them by matching the Req object directly. The values are defined in the following table:</p>
-<table rules="all" width="100%" frame="border"
- cellspacing="0" cellpadding="4">
-<thead><tr><th>Key</th>
-<th>Details</th>
-</tr></thead><tbody><tr><td>media_type</td>
-<td>The content-type negotiated for the response entity.</td>
-</tr>
-<tr><td>language</td>
-<td>The language negotiated for the response entity.</td>
-</tr>
-<tr><td>charset</td>
-<td>The charset negotiated for the response entity.</td>
-</tr>
-</tbody></table>
-<p>They can be used to send a proper body with the response to a request that used a method other than HEAD or GET.</p>
-<h2 id="_response_headers">Response headers</h2>
-<p>Cowboy will set response headers automatically over the execution of the REST code. They are listed in the following table.</p>
-<table rules="all" width="100%" frame="border"
- cellspacing="0" cellpadding="4">
-<thead><tr><th>Header name</th>
-<th>Details</th>
-</tr></thead><tbody><tr><td>content-language</td>
-<td>Language used in the response body</td>
-</tr>
-<tr><td>content-type</td>
-<td>Media type and charset of the response body</td>
-</tr>
-<tr><td>etag</td>
-<td>Etag of the resource</td>
-</tr>
-<tr><td>expires</td>
-<td>Expiration date of the resource</td>
-</tr>
-<tr><td>last-modified</td>
-<td>Last modification date for the resource</td>
-</tr>
-<tr><td>location</td>
-<td>Relative or absolute URI to the requested resource</td>
-</tr>
-<tr><td>vary</td>
-<td>List of headers that may change the representation of the resource</td>
-</tr>
-</tbody></table>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_principles/">
- REST principles
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_flowcharts/">
- REST flowcharts
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/rest_options.png b/docs/en/cowboy/2.0/guide/rest_options.png
deleted file mode 100644
index 90fd6f06..00000000
--- a/docs/en/cowboy/2.0/guide/rest_options.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/2.0/guide/rest_options.svg b/docs/en/cowboy/2.0/guide/rest_options.svg
deleted file mode 100644
index 496c050c..00000000
--- a/docs/en/cowboy/2.0/guide/rest_options.svg
+++ /dev/null
@@ -1,387 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_options.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.0000001"
- inkscape:cx="166.77748"
- inkscape:cy="548.36436"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(205.92143,-296.03137)"
- id="g5650-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,-212.00698)"
- id="g5650-9">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="204.67757"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="121.0042"
- rx="15" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(319.86479,-176.50006)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.00391"
- y="60.912468"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="147.00391"
- y="60.912468"
- id="tspan17171">start</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.13106"
- y="142.80627"
- id="text5371-2-95"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="148.13106"
- y="142.80627">options</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.80684"
- y="226.4736"
- id="text5371-2-32"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="147.80684"
- y="226.4736">200 OK</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/2.0/guide/rest_principles.asciidoc b/docs/en/cowboy/2.0/guide/rest_principles.asciidoc
deleted file mode 100644
index 66939cb7..00000000
--- a/docs/en/cowboy/2.0/guide/rest_principles.asciidoc
+++ /dev/null
@@ -1,160 +0,0 @@
-[[rest_principles]]
-== REST principles
-
-This chapter will attempt to define the concepts behind REST
-and explain what makes a service RESTful.
-
-REST is often confused with performing a distinct operation
-depending on the HTTP method, while using more than the GET
-and POST methods. That's highly misguided at best.
-
-We will first attempt to define REST and will look at what
-it means in the context of HTTP and the Web.
-For a more in-depth explanation of REST, you can read
-http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm[Roy T. Fielding's dissertation]
-as it does a great job explaining where it comes from and
-what it achieves.
-
-=== REST architecture
-
-REST is a *client-server* architecture. The client and the server
-both have a different set of concerns. The server stores and/or
-manipulates information and makes it available to the user in
-an efficient manner. The client takes that information and
-displays it to the user and/or uses it to perform subsequent
-requests for information. This separation of concerns allows both
-the client and the server to evolve independently as it only
-requires that the interface stays the same.
-
-REST is *stateless*. That means the communication between the
-client and the server always contains all the information needed
-to perform the request. There is no session state in the server,
-it is kept entirely on the client's side. If access to a resource
-requires authentication, then the client needs to authenticate
-itself with every request.
-
-REST is *cacheable*. The client, the server and any intermediary
-components can all cache resources in order to improve performance.
-
-REST provides a *uniform interface* between components. This
-simplifies the architecture, as all components follow the same
-rules to speak to one another. It also makes it easier to understand
-the interactions between the different components of the system.
-A number of constraints are required to achieve this. They are
-covered in the rest of the chapter.
-
-REST is a *layered system*. Individual components cannot see
-beyond the immediate layer with which they are interacting. This
-means that a client connecting to an intermediate component, like
-a proxy, has no knowledge of what lies beyond. This allows
-components to be independent and thus easily replaceable or
-extendable.
-
-REST optionally provides *code on demand*. Code may be downloaded
-to extend client functionality. This is optional however because
-the client may not be able to download or run this code, and so
-a REST component cannot rely on it being executed.
-
-=== Resources and resource identifiers
-
-A resource is an abstract concept. In a REST system, any information
-that can be named may be a resource. This includes documents, images,
-a collection of resources and any other information. Any information
-that can be the target of an hypertext link can be a resource.
-
-A resource is a conceptual mapping to a set of entities. The set of
-entities evolves over time; a resource doesn't. For example, a resource
-can map to "users who have logged in this past month" and another
-to "all users". At some point in time they may map to the same set of
-entities, because all users logged in this past month. But they are
-still different resources. Similarly, if nobody logged in recently,
-then the first resource may map to the empty set. This resource exists
-regardless of the information it maps to.
-
-Resources are identified by uniform resource identifiers, also known
-as URIs. Sometimes internationalized resource identifiers, or IRIs,
-may also be used, but these can be directly translated into a URI.
-
-In practice we will identify two kinds of resources. Individual
-resources map to a set of one element, for example "user Joe".
-Collection of resources map to a set of 0 to N elements,
-for example "all users".
-
-=== Resource representations
-
-The representation of a resource is a sequence of bytes associated
-with metadata.
-
-The metadata comes as a list of key-value pairs, where the name
-corresponds to a standard that defines the value's structure and
-semantics. With HTTP, the metadata comes in the form of request
-or response headers. The headers' structure and semantics are well
-defined in the HTTP standard. Metadata includes representation
-metadata, resource metadata and control data.
-
-The representation metadata gives information about the
-representation, such as its media type, the date of last
-modification, or even a checksum.
-
-Resource metadata could be link to related resources or
-information about additional representations of the resource.
-
-Control data allows parameterizing the request or response.
-For example, we may only want the representation returned if
-it is more recent than the one we have in cache. Similarly,
-we may want to instruct the client about how it should cache
-the representation. This isn't restricted to caching. We may,
-for example, want to store a new representation of a resource
-only if it wasn't modified since we first retrieved it.
-
-The data format of a representation is also known as the media
-type. Some media types are intended for direct rendering to the
-user, while others are intended for automated processing. The
-media type is a key component of the REST architecture.
-
-=== Self-descriptive messages
-
-Messages must be self-descriptive. That means that the data
-format of a representation must always come with its media
-type (and similarly requesting a resource involves choosing
-the media type of the representation returned). If you are
-sending HTML, then you must say it is HTML by sending the
-media type with the representation. In HTTP this is done
-using the content-type header.
-
-The media type is often an IANA registered media type, like
-`text/html` or `image/png`, but does not need to be. Exactly
-two things are important for respecting this constraint: that
-the media type is well specified, and that the sender and
-recipient agree about what the media type refers to.
-
-This means that you can create your own media types, like
-`application/x-mine`, and that as long as you write the
-specifications for it and that both endpoints agree about
-it then the constraint is respected.
-
-=== Hypermedia as the engine of application state
-
-The last constraint is generally where services that claim
-to be RESTful fail. Interactions with a server must be
-entirely driven by hypermedia. The client does not need
-any prior knowledge of the service in order to use it,
-other than an entry point and of course basic understanding
-of the media type of the representations, at the very least
-enough to find and identify hyperlinks and link relations.
-
-To give a simple example, if your service only works with
-the `application/json` media type then this constraint
-cannot be respected (as there are no concept of links in
-JSON) and thus your service isn't RESTful. This is the case
-for the majority of self-proclaimed REST services.
-
-On the other hand if you create a JSON based media type
-that has a concept of links and link relations, then
-your service might be RESTful.
-
-Respecting this constraint means that the entirety of the
-service becomes self-discoverable, not only the resources
-in it, but also the operations you can perform on it. This
-makes clients very thin as there is no need to implement
-anything specific to the service to operate on it.
diff --git a/docs/en/cowboy/2.0/guide/rest_principles/index.html b/docs/en/cowboy/2.0/guide/rest_principles/index.html
deleted file mode 100644
index f29d4033..00000000
--- a/docs/en/cowboy/2.0/guide/rest_principles/index.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: REST principles</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>REST principles</span></h1>
-
-<p>This chapter will attempt to define the concepts behind REST and explain what makes a service RESTful.</p>
-<p>REST is often confused with performing a distinct operation depending on the HTTP method, while using more than the GET and POST methods. That&apos;s highly misguided at best.</p>
-<p>We will first attempt to define REST and will look at what it means in the context of HTTP and the Web. For a more in-depth explanation of REST, you can read <a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm">Roy T. Fielding&apos;s dissertation</a> as it does a great job explaining where it comes from and what it achieves.</p>
-<h2 id="_rest_architecture">REST architecture</h2>
-<p>REST is a <strong>client-server</strong> architecture. The client and the server both have a different set of concerns. The server stores and/or manipulates information and makes it available to the user in an efficient manner. The client takes that information and displays it to the user and/or uses it to perform subsequent requests for information. This separation of concerns allows both the client and the server to evolve independently as it only requires that the interface stays the same.</p>
-<p>REST is <strong>stateless</strong>. That means the communication between the client and the server always contains all the information needed to perform the request. There is no session state in the server, it is kept entirely on the client&apos;s side. If access to a resource requires authentication, then the client needs to authenticate itself with every request.</p>
-<p>REST is <strong>cacheable</strong>. The client, the server and any intermediary components can all cache resources in order to improve performance.</p>
-<p>REST provides a <strong>uniform interface</strong> between components. This simplifies the architecture, as all components follow the same rules to speak to one another. It also makes it easier to understand the interactions between the different components of the system. A number of constraints are required to achieve this. They are covered in the rest of the chapter.</p>
-<p>REST is a <strong>layered system</strong>. Individual components cannot see beyond the immediate layer with which they are interacting. This means that a client connecting to an intermediate component, like a proxy, has no knowledge of what lies beyond. This allows components to be independent and thus easily replaceable or extendable.</p>
-<p>REST optionally provides <strong>code on demand</strong>. Code may be downloaded to extend client functionality. This is optional however because the client may not be able to download or run this code, and so a REST component cannot rely on it being executed.</p>
-<h2 id="_resources_and_resource_identifiers">Resources and resource identifiers</h2>
-<p>A resource is an abstract concept. In a REST system, any information that can be named may be a resource. This includes documents, images, a collection of resources and any other information. Any information that can be the target of an hypertext link can be a resource.</p>
-<p>A resource is a conceptual mapping to a set of entities. The set of entities evolves over time; a resource doesn&apos;t. For example, a resource can map to &quot;users who have logged in this past month&quot; and another to &quot;all users&quot;. At some point in time they may map to the same set of entities, because all users logged in this past month. But they are still different resources. Similarly, if nobody logged in recently, then the first resource may map to the empty set. This resource exists regardless of the information it maps to.</p>
-<p>Resources are identified by uniform resource identifiers, also known as URIs. Sometimes internationalized resource identifiers, or IRIs, may also be used, but these can be directly translated into a URI.</p>
-<p>In practice we will identify two kinds of resources. Individual resources map to a set of one element, for example &quot;user Joe&quot;. Collection of resources map to a set of 0 to N elements, for example &quot;all users&quot;.</p>
-<h2 id="_resource_representations">Resource representations</h2>
-<p>The representation of a resource is a sequence of bytes associated with metadata.</p>
-<p>The metadata comes as a list of key-value pairs, where the name corresponds to a standard that defines the value&apos;s structure and semantics. With HTTP, the metadata comes in the form of request or response headers. The headers&apos; structure and semantics are well defined in the HTTP standard. Metadata includes representation metadata, resource metadata and control data.</p>
-<p>The representation metadata gives information about the representation, such as its media type, the date of last modification, or even a checksum.</p>
-<p>Resource metadata could be link to related resources or information about additional representations of the resource.</p>
-<p>Control data allows parameterizing the request or response. For example, we may only want the representation returned if it is more recent than the one we have in cache. Similarly, we may want to instruct the client about how it should cache the representation. This isn&apos;t restricted to caching. We may, for example, want to store a new representation of a resource only if it wasn&apos;t modified since we first retrieved it.</p>
-<p>The data format of a representation is also known as the media type. Some media types are intended for direct rendering to the user, while others are intended for automated processing. The media type is a key component of the REST architecture.</p>
-<h2 id="_self_descriptive_messages">Self-descriptive messages</h2>
-<p>Messages must be self-descriptive. That means that the data format of a representation must always come with its media type (and similarly requesting a resource involves choosing the media type of the representation returned). If you are sending HTML, then you must say it is HTML by sending the media type with the representation. In HTTP this is done using the content-type header.</p>
-<p>The media type is often an IANA registered media type, like <code>text/html</code> or <code>image/png</code>, but does not need to be. Exactly two things are important for respecting this constraint: that the media type is well specified, and that the sender and recipient agree about what the media type refers to.</p>
-<p>This means that you can create your own media types, like <code>application/x-mine</code>, and that as long as you write the specifications for it and that both endpoints agree about it then the constraint is respected.</p>
-<h2 id="_hypermedia_as_the_engine_of_application_state">Hypermedia as the engine of application state</h2>
-<p>The last constraint is generally where services that claim to be RESTful fail. Interactions with a server must be entirely driven by hypermedia. The client does not need any prior knowledge of the service in order to use it, other than an entry point and of course basic understanding of the media type of the representations, at the very least enough to find and identify hyperlinks and link relations.</p>
-<p>To give a simple example, if your service only works with the <code>application/json</code> media type then this constraint cannot be respected (as there are no concept of links in JSON) and thus your service isn&apos;t RESTful. This is the case for the majority of self-proclaimed REST services.</p>
-<p>On the other hand if you create a JSON based media type that has a concept of links and link relations, then your service might be RESTful.</p>
-<p>Respecting this constraint means that the entirety of the service becomes self-discoverable, not only the resources in it, but also the operations you can perform on it. This makes clients very thin as there is no need to implement anything specific to the service to operate on it.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/multipart/">
- Multipart requests
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_handlers/">
- REST handlers
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/rest_put_post_patch.png b/docs/en/cowboy/2.0/guide/rest_put_post_patch.png
deleted file mode 100644
index 176650e9..00000000
--- a/docs/en/cowboy/2.0/guide/rest_put_post_patch.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/2.0/guide/rest_put_post_patch.svg b/docs/en/cowboy/2.0/guide/rest_put_post_patch.svg
deleted file mode 100644
index 06d55052..00000000
--- a/docs/en/cowboy/2.0/guide/rest_put_post_patch.svg
+++ /dev/null
@@ -1,2856 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448"
- height="1052.3622"
- id="svg2"
- version="1.1"
- inkscape:version="0.92.1 r"
- sodipodi:docname="rest_put_post_patch.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="0.70710678"
- inkscape:cx="201.51415"
- inkscape:cy="-214.71801"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="1920"
- inkscape:window-height="1043"
- inkscape:window-x="0"
- inkscape:window-y="0"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1"
- transform="translate(0,1.5472441e-4)">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(370.63925,-305.0045)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,215.76354,-143.71473)"
- id="g5650-2-2-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-4"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="207.76691"
- y="112.69559"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(229.41793,93.569228)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(484.58261,-183.7816)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="114.39204"
- id="text5371"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="313.14185"
- y="50.482433"
- id="text5371-4-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="313.14185"
- y="50.482433"
- id="tspan17171"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">conneg</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="312.52466"
- y="134.49161"
- id="text5371-2-95"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="312.52466"
- y="134.49161"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">resource_exists</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="205.83722"
- y="175.92931"
- id="text5371-2-391"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="205.83722"
- y="175.92931"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-586.85324,629.53436)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="401.26678"
- y="176.39024"
- id="text5371-4-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="401.26678"
- y="176.39024"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="translate(517.41793,-144.94975)"
- id="g5650-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- transform="rotate(-90)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="496.12921"
- y="255.81152"
- id="text5371-4-4-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6"
- x="496.12921"
- y="255.81152"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,501.47379,-62.310424)"
- id="g5650-9-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(-0.08419269,-0.81571201,-1.0857893,-0.07785618,667.56845,424.75412)"
- id="g5650-2-0-4-3-8-9-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g6634">
- <path
- inkscape:connector-curvature="0"
- id="path20172-9-8-9-3-7"
- d="m 18.652036,463.77088 c 0,0 65.81835,-170.39134 345.869384,-106.32083"
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(-0.44664484,-0.38224114,-0.38224114,0.44664484,110.28192,145.11277)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1-5-3-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-443.10758,753.30201)"
- id="g5650-2-0-4-3-8-9-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:1.98598707;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 530.36552,568.78955 c 0,0 -275.73145,-235.65993 -602.761737,-30.40772"
- id="path20172-9-8-9-3-1"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.29887498,0.50623478,-0.50623478,0.29887498,210.13685,523.56774)"
- inkscape:transform-center-y="-0.81224338"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="5.134315" />
- </g>
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355-0"
- transform="translate(343.36129,-20.897068)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="171.92052"
- y="216.5154"
- id="text5371-4-0-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="171.92052"
- y="216.5154"
- id="tspan17171-6"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">cond</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,983.2611,313.28465)"
- id="g5650-2-0-4-3-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-4"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="192.94588"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.47131"
- y="216.51535"
- id="text5371-2-32-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8"
- x="459.47131"
- y="216.51535"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">has if-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="609.12769"
- y="296.02957"
- id="text5371-2-391-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7"
- x="609.12769"
- y="296.02957"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="translate(517.41793,13.785058)"
- id="g5650-0-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-7"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="351.97443"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.47131"
- y="374.91498"
- id="text5371-2-32-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-1"
- x="459.47131"
- y="374.91498"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">method is POST/PATCH?</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="479.69171"
- y="414.84009"
- id="text5371-2-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4"
- x="479.69171"
- y="414.84009"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <g
- transform="translate(517.41793,490.80719)"
- id="g5650-0-6-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7-76"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3-7"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0.34202014,-0.93969262,-0.93969262,-0.34202014,1086.6042,1290.1092)"
- id="g5650-2-0-4-0-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 152.42141,615.5283 c 0,0 -73.650807,-184.33554 -245.781275,54.61093"
- id="path20172-9-3-4"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,178.4823,610.19901)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-0-2"
- style="opacity:0.80000000000000004;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="translate(517.41793,570.7504)"
- id="g5650-2-2-2-7-5">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-62-7-7"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-9-5-8"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="908.57428"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,1,-1,0,694.44282,904.44724)"
- id="g5650-2-2-6-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6-3"
- d="m -57.78256,339.02801 0,65.70583"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-59"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="829.06006"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.47131"
- y="852.62952"
- id="text5371-2-74-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2"
- x="459.47131"
- y="852.62952"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">method is POST?</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="272.56824"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="459.97131"
- y="294.47879"
- id="text5371-43"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="459.97131"
- y="294.47879"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">412 precondition failed</tspan></text>
- <g
- transform="translate(2.6196148,3.2328831)"
- id="g5650-2-2-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,1,-1,0,694.2803,507.19416)"
- id="g5650-0-6-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7-7"
- d="m -57.78256,340.48769 0,63.05283"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(517.41793,93.25206)"
- id="g5650-2-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-62"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-7-6"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="431.48868"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.63538"
- y="453.2847"
- id="text5371-2-32-8-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-1-2"
- x="459.63538"
- y="453.2847"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">previously_existed</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-5"
- width="218.52127"
- height="34.993004"
- x="62.374733"
- y="590.76849"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(229.41793,173.2314)"
- id="g5650-2-2-2-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-62-7"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-9-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="171.97131"
- y="614.22986"
- id="text5371-43-2-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-74"
- x="171.97131"
- y="614.22986"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">404 not found</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="296.84631"
- y="433.29703"
- id="text5371-2-8-9-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-8"
- x="296.84631"
- y="433.29703"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="translate(516.00372,173.10383)"
- id="g5650-2-2-17-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-0-3"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-45-2"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,983.3517,631.45158)"
- id="g5650-2-0-4-3-8-0-3-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="500.12921"
- y="574.2605"
- id="text5371-4-4-9-3-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-8"
- x="500.12921"
- y="574.2605"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="607.7135"
- y="610.86951"
- id="text5371-2-391-5-5-1-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-5"
- x="607.7135"
- y="610.86951"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-29"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="590.76849"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="459.26428"
- y="612.67908"
- id="text5371-43-2-9-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-5"
- x="459.26428"
- y="612.67908"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">301 moved permanently</tspan></text>
- <g
- transform="translate(517.41793,332.05687)"
- id="g5650-2-2-65-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-5-9"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-5-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,982.4019,789.6002)"
- id="g5650-2-0-4-3-8-0-3-7-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8-1-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6-3-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-4"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="670.03149"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.14709"
- y="691.82751"
- id="text5371-2-74-0-7-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-9"
- x="459.14709"
- y="691.82751"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">moved_temporarily</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="500.12921"
- y="733.21747"
- id="text5371-4-4-9-3-2-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-6-6"
- x="500.12921"
- y="733.21747"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="607.7135"
- y="769.89801"
- id="text5371-2-391-5-5-1-0-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-2-8"
- x="607.7135"
- y="769.89801"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-1"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="749.65387"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="459.26428"
- y="771.56445"
- id="text5371-43-2-9-7-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-9"
- x="459.26428"
- y="771.56445"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">307 moved temporarily</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-4-1"
- width="218.52127"
- height="34.993004"
- x="495.25732"
- y="1220.3925"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="604.32263"
- y="1242.303"
- id="text5371-43-2-9-7-3-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-7-5"
- x="604.32263"
- y="1242.303"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">400 bad request</tspan></text>
- <g
- transform="matrix(-0.34202014,-0.93969262,0.93969262,-0.34202014,-311.11659,1246.6148)"
- id="g5650-2-0-4-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 251.64748,501.65559 c 0,0 -132.95279,-198.6035 -335.041098,15.43198"
- id="path20172-9-3"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,190.22636,455.7026)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="120.08566"
- y="891.92566"
- id="text5371-2-8-9-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-5"
- x="120.08566"
- y="891.92566"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,699.22962,550.33236)"
- id="g5650-2-0-4-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-1"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-3"
- width="210.17955"
- height="35.209244"
- x="66.545593"
- y="511.00293"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="167.39459"
- y="532.79895"
- id="text5371-2-74-0-7-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-94"
- x="167.39459"
- y="532.79895"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">allow_missing_post</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-5"
- width="210.17955"
- height="35.209244"
- x="66.545593"
- y="431.80698"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="175.2144"
- y="455.37643"
- id="text5371-2-74-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-6"
- x="175.2144"
- y="455.37643"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">method is POST?</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.35022"
- y="930.3703"
- id="text5371-2-74-0-7-1-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-94-5"
- x="459.35022"
- y="930.3703"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">allow_missing_post</tspan></text>
- <g
- transform="translate(229.41793,490.95885)"
- id="g5650-0-6-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7-2"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3-14"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19"
- width="210.17955"
- height="35.209244"
- x="66.545593"
- y="829.06006"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="166.63885"
- y="852.62952"
- id="text5371-2-74-0-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7"
- x="166.63885"
- y="852.62952"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">method is PUT?</tspan></text>
- <g
- transform="translate(229.41793,571.07045)"
- id="g5650-2-2-65-9">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-5-1"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-5-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(-0.34202014,-0.93969262,-0.93969262,0.34202014,702.18987,886.11239)"
- id="g5650-2-0-4-05"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2.19573760000000018;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 96.51476,423.00572 c 0,0 -72.55269,-41.6703 -192.585744,26.04761"
- id="path20172-9-9"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.20642765,0.55044303,-0.55044303,0.20642765,176.90073,487.11794)"
- inkscape:transform-center-y="2.5699832"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-6"
- style="opacity:0.80000000000000004;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="6.2547481" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-8"
- width="210.17955"
- height="35.209244"
- x="66.545593"
- y="908.57428"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="166.24431"
- y="930.3703"
- id="text5371-2-74-0-7-15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-2"
- x="166.24431"
- y="930.3703"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">is_conflict</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="136.52316"
- y="971.55994"
- id="text5371-4-4-9-3-2-08"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-6-0"
- x="136.52316"
- y="971.55994"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-7"
- width="218.52127"
- height="34.993004"
- x="62.374733"
- y="988.43671"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="171.44006"
- y="1011.8981"
- id="text5371-43-2-9-7-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-0"
- x="171.44006"
- y="1011.8981"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">409 conflict</tspan></text>
- <g
- transform="translate(370.63925,803.79161)"
- id="g5650-93-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3-0"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-40"
- width="210.17955"
- height="35.209244"
- x="207.76691"
- y="1142.3002"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="313.14185"
- y="1164.0962"
- id="text5371-2-74-0-7-41"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-3"
- x="313.14185"
- y="1164.0962"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">content_types_accepted</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4-9"
- width="210.17955"
- height="35.209244"
- x="207.76691"
- y="1220.5249"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="313.21997"
- y="1242.2975"
- id="text5371-2-3-0-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-1"
- x="313.21997"
- y="1242.2975"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">AcceptCallback</tspan></text>
- <g
- transform="translate(233.45629,961.91953)"
- id="g5650-6-4-8-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5-5-2"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6-6-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-345.93614,1498.2457)"
- id="g5650-2-0-4-8-9-6-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 169.94368,422.8286 c 0,0 -94.23585,-64.78987 -206.003937,-8.35999"
- id="path20172-9-5-2-6-6"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8-7-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19-2"
- width="210.17955"
- height="35.209244"
- x="70.583946"
- y="1300.3734"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="175.50966"
- y="1323.8022"
- id="text5371-2-74-0-1-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7-4"
- x="175.50966"
- y="1323.8022"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">new resource?</tspan></text>
- <g
- transform="translate(517.41793,962.60627)"
- id="g5650-6-4-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,985.5699,1417.4167)"
- id="g5650-2-0-4-8-9-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5-2-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19-2-1"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="1300.3734"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.47131"
- y="1323.8022"
- id="text5371-2-74-0-1-3-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7-4-8"
- x="459.47131"
- y="1323.8022"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">new resource?</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="1380.1163"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="459.776"
- y="1403.5779"
- id="text5371-43-3-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-9"
- x="459.776"
- y="1403.5779"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">201 created</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7-4"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="1459.7511"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="459.03381"
- y="1483.2128"
- id="text5371-43-3-2-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-9-2"
- x="459.03381"
- y="1483.2128"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">303 see other</tspan></text>
- <g
- transform="matrix(0,1,1,0,-67.245042,1455.155)"
- id="g5650-2-2-6-6-7-9-1">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6-3-8-5-9"
- d="m -57.78256,339.02801 0,65.70583"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1-1-7-6-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(233.45629,1121.5376)"
- id="g5650-6-4-8-7-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5-5-2-8"
- d="m -57.78256,294.4515 0,109.76214"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6-6-6-7"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19-2-2"
- width="210.17955"
- height="35.209244"
- x="70.583946"
- y="1379.7678"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="175.50966"
- y="1401.7865"
- id="text5371-2-74-0-1-3-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7-4-9"
- x="175.50966"
- y="1401.7865"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">has resp location?</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7-4-7"
- width="218.52127"
- height="34.993004"
- x="62.374733"
- y="1619.0205"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(233.45629,1201.4108)"
- id="g5650-6-4-8-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5-5-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6-6-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,1,1,0,-63.162935,1614.665)"
- id="g5650-2-2-6-6-7-9">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6-3-8-5"
- d="m -57.78256,339.02801 0,65.70583"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1-1-7-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19-2-2-4"
- width="210.17955"
- height="35.209244"
- x="70.583946"
- y="1539.2778"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="175.50966"
- y="1561.2965"
- id="text5371-2-74-0-1-3-7-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7-4-9-5"
- x="175.50966"
- y="1561.2965"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">has resp body?</tspan></text>
- <g
- transform="translate(517.41793,1201.395)"
- id="g5650-6-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,987.64405,1658.4266)"
- id="g5650-2-0-4-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5-2"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87-8"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="1539.2778"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.30334"
- y="1561.0739"
- id="text5371-2-9-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8-6"
- x="459.30334"
- y="1561.0739"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">multiple_choices</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="479.75421"
- y="1602.6646"
- id="text5371-2-8-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7"
- x="479.75421"
- y="1602.6646"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-1-0"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="1698.6555"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="459.42053"
- y="1720.566"
- id="text5371-43-5-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-62-9"
- x="459.42053"
- y="1720.566"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">300 multiple choices</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-3"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="1619.0208"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="458.88538"
- y="1642.3412"
- id="text5371-43-3-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-3"
- x="458.88538"
- y="1642.3412"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">200 OK</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="171.24475"
- y="1642.3412"
- id="text5371-43-3-2-6-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-9-2-0"
- x="171.24475"
- y="1642.3412"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">204 no content</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="479.69171"
- y="891.92566"
- id="text5371-2-8-9-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-1"
- x="479.69171"
- y="891.92566"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <g
- id="g5650-4-8"
- transform="matrix(0.5,0.8660254,-0.8660254,0.5,204.7918,279.30499)">
- <path
- inkscape:connector-curvature="0"
- id="path5570-8-7"
- d="m -58.01975,316.62647 0,86.23385"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,72.919441,161.77521)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-3-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="496.12921"
- y="494.3544"
- id="text5371-4-4-9-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8"
- x="496.12921"
- y="494.3544"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-3-4-8"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="511.00293"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.14709"
- y="532.79895"
- id="text5371-2-74-0-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-9"
- x="459.14709"
- y="532.79895"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">moved_permanently</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7-9"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="988.43671"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="459.67053"
- y="1010.2067"
- id="text5371-43-3-2-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-9-5"
- x="459.67053"
- y="1010.2067"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">410 gone</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="260.04547"
- y="494.97446"
- id="text5371-4-4-9-1-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-2"
- x="260.04547"
- y="494.97446"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="120.08566"
- y="494.51349"
- id="text5371-2-8-9-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-55"
- x="120.08566"
- y="494.51349"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="133.92941"
- y="574.40112"
- id="text5371-4-4-9-1-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0"
- x="133.92941"
- y="574.40112"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="315.87756"
- y="828.86047"
- id="text5371-4-4-9-1-1-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1"
- x="315.87756"
- y="828.86047"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="498.78546"
- y="972.02087"
- id="text5371-4-4-9-1-1-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-2"
- x="498.78546"
- y="972.02087"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="458.9295"
- y="1217.7582"
- id="text5371-4-4-9-1-1-9-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2"
- x="458.9295"
- y="1217.7582"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="matrix(0,1,1,0,77.85132,1295.6715)"
- id="g5650-2-2-6-6-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6-3-8"
- d="m -57.78256,339.02801 0,65.70583"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="207.75119"
- y="1283.5576"
- id="text5371-2-391-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-4"
- x="207.75119"
- y="1283.5576"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,501.47379,1045.323)"
- id="g5650-9-9-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6-1"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="419.81369"
- y="1283.0615"
- id="text5371-2-391-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="419.81369"
- y="1283.0615"
- id="tspan5794"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true, URI*</tspan></text>
- <g
- transform="matrix(-0.70710678,0.70710678,0.70710678,0.70710678,124.04665,1045.323)"
- id="g5650-9-9-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6-8"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5-45"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="479.69171"
- y="1363.2994"
- id="text5371-2-8-4-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7-5"
- x="479.69171"
- y="1363.2994"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="626.74475"
- y="1403.5779"
- id="text5371-4-4-9-1-1-9-1-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-0"
- x="626.74475"
- y="1403.5779"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="624.0885"
- y="1642.0209"
- id="text5371-4-4-9-1-1-9-1-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-3"
- x="624.0885"
- y="1642.0209"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="317.91525"
- y="1538.8624"
- id="text5371-4-4-9-1-1-9-1-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-1"
- x="317.91525"
- y="1538.8624"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="190.83659"
- y="1602.2036"
- id="text5371-2-8-4-3-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7-5-9"
- x="190.83659"
- y="1602.2036"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="190.83659"
- y="1363.1792"
- id="text5371-2-8-4-3-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7-5-0"
- x="190.83659"
- y="1363.1792"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="7.9966321"
- y="1443.395"
- id="text5371-4-4-9-1-1-9-1-4-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-0-6"
- x="7.9966321"
- y="1443.395"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="317.86548"
- y="1379.0562"
- id="text5371-4-4-9-1-1-9-1-2-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-1-5"
- x="317.86548"
- y="1379.0562"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="190.83659"
- y="1482.6313"
- id="text5371-2-8-4-3-8-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7-5-0-8"
- x="190.83659"
- y="1482.6313"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="85.095001"
- y="891.92566"
- id="text5371-4-4-9-1-4-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-2-9"
- x="85.095001"
- y="891.92566"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="232.21094"
- y="971.55994"
- id="text5371-2-391-5-5-1-0-7-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-2-8-8"
- x="232.21094"
- y="971.55994"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-359.02432,626.75367)"
- id="g5650-2-0-4-3-8-9-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g6614">
- <g
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- id="g5650-2-0-4-3-8-9"
- transform="matrix(0,-1,-1,0,347.00351,567.35686)">
- <path
- inkscape:transform-center-x="-3.1059024"
- sodipodi:type="star"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="path5576-12-1-7-58-6-1-4"
- sodipodi:sides="3"
- sodipodi:cx="-222.73865"
- sodipodi:cy="415.25897"
- sodipodi:r1="14.849242"
- sodipodi:r2="7.4246211"
- sodipodi:arg1="1.5707963"
- sodipodi:arg2="2.6179939"
- inkscape:flatsided="true"
- inkscape:rounded="0"
- inkscape:randomized="0"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:transform-center-y="6.2755376"
- transform="matrix(0.10770811,0.57792634,-0.57792634,0.10770811,224.52461,390.64831)" />
- </g>
- <path
- transform="translate(0,-1.5472441e-4)"
- inkscape:connector-curvature="0"
- id="path6438"
- d="M 72.831997,543.06854 C 17.500892,616.78442 35.178561,698.8088 35.178561,698.8088"
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="536.26642"
- y="972.02087"
- id="text5371-2-8-9-1-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-1-4"
- x="536.26642"
- y="972.02087"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,347.71062,566.6496)"
- id="g5650-2-0-4-3-8-9-2-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-3-7-4"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1-5-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="322.92551"
- y="375.54388"
- id="text5371-4-6-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0-8"
- x="322.92551"
- y="375.54388"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="66.001251"
- y="574.40112"
- id="text5371-2-8-9-0-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-55-3"
- x="66.001251"
- y="574.40112"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/2.0/guide/rest_start.png b/docs/en/cowboy/2.0/guide/rest_start.png
deleted file mode 100644
index 1f1e312e..00000000
--- a/docs/en/cowboy/2.0/guide/rest_start.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/2.0/guide/rest_start.svg b/docs/en/cowboy/2.0/guide/rest_start.svg
deleted file mode 100644
index 076c6195..00000000
--- a/docs/en/cowboy/2.0/guide/rest_start.svg
+++ /dev/null
@@ -1,1356 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_start.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.0000001"
- inkscape:cx="171.11305"
- inkscape:cy="549.52821"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(205.92143,-296.03137)"
- id="g5650-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,-212.00698)"
- id="g5650-9">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,-129.04326)"
- id="g5650-0">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,-44.866334)"
- id="g5650-94">
- <path
- inkscape:connector-curvature="0"
- id="path5570-71"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,38.329623)"
- id="g5650-93">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,122.59665)"
- id="g5650-3">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,206.62103)"
- id="g5650-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,289.59516)"
- id="g5650-34">
- <path
- inkscape:connector-curvature="0"
- id="path5570-30"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,373.37691)"
- id="g5650-5">
- <path
- inkscape:connector-curvature="0"
- id="path5570-90"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,457.4117)"
- id="g5650-1">
- <path
- inkscape:connector-curvature="0"
- id="path5570-33"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,80.832304)"
- id="g5650-2-0">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-5"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,164.49956)"
- id="g5650-2-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,248.1668)"
- id="g5650-2-4">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-0"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,331.8341)"
- id="g5650-2-04">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,415.50138)"
- id="g5650-2-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-50"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-2"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,499.16862)"
- id="g5650-2-1">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,582.83589)"
- id="g5650-2-3">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-10"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-60"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,666.50315)"
- id="g5650-2-44">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-11"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-73"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,750.17041)"
- id="g5650-2-12">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-6"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-04"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="204.67757"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="288.40311"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="372.01199"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="455.67929"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="539.34656"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="623.01385"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-7"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="706.68115"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-20"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="790.34839"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-3"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="874.01562"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="121.0042"
- rx="15" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(319.86479,-176.50006)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.18575"
- y="310.19913"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="148.18575"
- y="310.19913">uri_too_long</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.60762"
- y="477.47531"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="147.60762"
- y="477.47531">malformed_request</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.00391"
- y="60.912468"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="147.00391"
- y="60.912468"
- id="tspan17171">init</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.11153"
- y="561.14258"
- id="text5371-2-9"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="148.11153"
- y="561.14258">is_authorized</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.64278"
- y="646.58331"
- id="text5371-2-7"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2"
- x="148.64278"
- y="646.58331">forbidden</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.29512"
- y="728.47717"
- id="text5371-2-73"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-5"
- x="148.29512"
- y="728.47717">valid_content_headers</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.83809"
- y="812.14441"
- id="text5371-2-5"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-1"
- x="147.83809"
- y="812.14441">valid_entity_length</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.58809"
- y="895.81165"
- id="text5371-2-1"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-71"
- x="148.58809"
- y="895.81165">...</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.13106"
- y="142.80627"
- id="text5371-2-95"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="148.13106"
- y="142.80627">service_available</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.80684"
- y="226.4736"
- id="text5371-2-32"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="147.80684"
- y="226.4736">known_methods</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.05293"
- y="393.80801"
- id="text5371-2-74"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18"
- x="148.05293"
- y="393.80801">allowed_methods</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="185.95248"
- id="text5371-2-391"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="164.26562"
- y="185.95248">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="269.61978"
- id="text5371-2-954"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-808"
- x="164.26562"
- y="269.61978">known*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="353.28702"
- id="text5371-2-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-11"
- x="164.26562"
- y="353.28702">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="436.95425"
- id="text5371-2-92"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-4"
- x="164.26562"
- y="436.95425">allowed*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="520.62152"
- id="text5371-2-739"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0"
- x="164.26562"
- y="520.62152">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="604.28876"
- id="text5371-2-8"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="164.26562"
- y="604.28876">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="687.95599"
- id="text5371-2-0"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-01"
- x="164.26562"
- y="687.95599">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="771.62329"
- id="text5371-2-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-33"
- x="164.26562"
- y="771.62329">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="855.29053"
- id="text5371-2-21"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-9"
- x="164.26562"
- y="855.29053">true</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="123.86062"
- id="text5371-4-6"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="315.26172"
- y="123.86062">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="207.30568"
- id="text5371-4-7"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-6"
- x="315.26172"
- y="207.30568">unknown*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="290.75076"
- id="text5371-4-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-01"
- x="315.26172"
- y="290.75076">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="374.19577"
- id="text5371-4-3"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62"
- x="315.26172"
- y="374.19577">unallowed*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="457.64084"
- id="text5371-4-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2"
- x="315.26172"
- y="457.64084">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="541.08588"
- id="text5371-4-5"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-09"
- x="315.26172"
- y="541.08588">false*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="624.53094"
- id="text5371-4-61"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-69"
- x="315.26172"
- y="624.53094">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="707.97595"
- id="text5371-4-58"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-5"
- x="315.26172"
- y="707.97595">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="791.42102"
- id="text5371-4-54"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-012"
- x="315.26172"
- y="791.42102">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="121.24477"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.53516"
- y="143.02283"
- id="text5371-6"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- x="524.53516"
- y="143.02283"
- id="tspan18994">503 service unavailable</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-9"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="204.93674"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-6"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="288.62869"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="372.32065"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-90"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="456.01254"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-2"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="539.70447"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-3"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="623.39642"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-39"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="707.08838"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-5"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="790.78027"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="227.80464"
- id="text5371-7"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-69"
- x="524.26172"
- y="227.80464">501 not implemented</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="311.49661"
- id="text5371-9"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-5"
- x="524.26172"
- y="311.49661">414 request URI too long</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="395.18857"
- id="text5371-43"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="524.26172"
- y="395.18857">405 method not allowed</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="478.88046"
- id="text5371-3"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-67"
- x="524.26172"
- y="478.88046">400 bad request</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="562.57239"
- id="text5371-1"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-53"
- x="524.26172"
- y="562.57239">401 unauthorized</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="646.26434"
- id="text5371-27"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-64"
- x="524.26172"
- y="646.26434">403 forbidden</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="729.9563"
- id="text5371-21"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-58"
- x="524.26172"
- y="729.9563">501 not implemented</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="813.64819"
- id="text5371-5"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-60"
- x="524.26172"
- y="813.64819">413 request entity too large</tspan></text>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/2.0/guide/routing.asciidoc b/docs/en/cowboy/2.0/guide/routing.asciidoc
deleted file mode 100644
index 47ef3c57..00000000
--- a/docs/en/cowboy/2.0/guide/routing.asciidoc
+++ /dev/null
@@ -1,222 +0,0 @@
-[[routing]]
-== Routing
-
-Cowboy does nothing by default.
-
-To make Cowboy useful, you need to map URIs to Erlang modules that will
-handle the requests. This is called routing.
-
-When Cowboy receives a request, it tries to match the requested host and
-path to the configured routes. When there's a match, the route's
-associated handler is executed.
-
-Routes need to be compiled before they can be used by Cowboy.
-The result of the compilation is the dispatch rules.
-
-=== Syntax
-
-The general structure for the routes is defined as follow.
-
-[source,erlang]
-Routes = [Host1, Host2, ... HostN].
-
-Each host contains matching rules for the host along with optional
-constraints, and a list of routes for the path component.
-
-[source,erlang]
-Host1 = {HostMatch, PathsList}.
-Host2 = {HostMatch, Constraints, PathsList}.
-
-The list of routes for the path component is defined similar to the
-list of hosts.
-
-[source,erlang]
-PathsList = [Path1, Path2, ... PathN].
-
-Finally, each path contains matching rules for the path along with
-optional constraints, and gives us the handler module to be used
-along with its initial state.
-
-[source,erlang]
-Path1 = {PathMatch, Handler, InitialState}.
-Path2 = {PathMatch, Constraints, Handler, InitialState}.
-
-Continue reading to learn more about the match syntax and the optional
-constraints.
-
-=== Match syntax
-
-The match syntax is used to associate host names and paths with their
-respective handlers.
-
-The match syntax is the same for host and path with a few subtleties.
-Indeed, the segments separator is different, and the host is matched
-starting from the last segment going to the first. All examples will
-feature both host and path match rules and explain the differences
-when encountered.
-
-Excluding special values that we will explain at the end of this section,
-the simplest match value is a host or a path. It can be given as either
-a `string()` or a `binary()`.
-
-[source,erlang]
-----
-PathMatch1 = "/".
-PathMatch2 = "/path/to/resource".
-
-HostMatch1 = "cowboy.example.org".
-----
-
-As you can see, all paths defined this way must start with a slash
-character. Note that these two paths are identical as far as routing
-is concerned.
-
-[source,erlang]
-PathMatch2 = "/path/to/resource".
-PathMatch3 = "/path/to/resource/".
-
-Hosts with and without a trailing dot are equivalent for routing.
-Similarly, hosts with and without a leading dot are also equivalent.
-
-[source,erlang]
-HostMatch1 = "cowboy.example.org".
-HostMatch2 = "cowboy.example.org.".
-HostMatch3 = ".cowboy.example.org".
-
-It is possible to extract segments of the host and path and to store
-the values in the `Req` object for later use. We call these kind of
-values bindings.
-
-The syntax for bindings is very simple. A segment that begins with
-the `:` character means that what follows until the end of the segment
-is the name of the binding in which the segment value will be stored.
-
-[source,erlang]
-PathMatch = "/hats/:name/prices".
-HostMatch = ":subdomain.example.org".
-
-If these two end up matching when routing, you will end up with two
-bindings defined, `subdomain` and `name`, each containing the
-segment value where they were defined. For example, the URL
-`http://test.example.org/hats/wild_cowboy_legendary/prices` will
-result in having the value `test` bound to the name `subdomain`
-and the value `wild_cowboy_legendary` bound to the name `name`.
-They can later be retrieved using `cowboy_req:binding/{2,3}`. The
-binding name must be given as an atom.
-
-There is a special binding name you can use to mimic the underscore
-variable in Erlang. Any match against the `_` binding will succeed
-but the data will be discarded. This is especially useful for
-matching against many domain names in one go.
-
-[source,erlang]
-HostMatch = "ninenines.:_".
-
-Similarly, it is possible to have optional segments. Anything
-between brackets is optional.
-
-[source,erlang]
-PathMatch = "/hats/[page/:number]".
-HostMatch = "[www.]ninenines.eu".
-
-You can also have imbricated optional segments.
-
-[source,erlang]
-PathMatch = "/hats/[page/[:number]]".
-
-You can retrieve the rest of the host or path using `[...]`.
-In the case of hosts it will match anything before, in the case
-of paths anything after the previously matched segments. It is
-a special case of optional segments, in that it can have
-zero, one or many segments. You can then find the segments using
-`cowboy_req:host_info/1` and `cowboy_req:path_info/1` respectively.
-They will be represented as a list of segments.
-
-[source,erlang]
-PathMatch = "/hats/[...]".
-HostMatch = "[...]ninenines.eu".
-
-If a binding appears twice in the routing rules, then the match
-will succeed only if they share the same value. This copies the
-Erlang pattern matching behavior.
-
-[source,erlang]
-PathMatch = "/hats/:name/:name".
-
-This is also true when an optional segment is present. In this
-case the two values must be identical only if the segment is
-available.
-
-[source,erlang]
-PathMatch = "/hats/:name/[:name]".
-
-If a binding is defined in both the host and path, then they must
-also share the same value.
-
-[source,erlang]
-PathMatch = "/:user/[...]".
-HostMatch = ":user.github.com".
-
-Finally, there are two special match values that can be used. The
-first is the atom `'_'` which will match any host or path.
-
-[source,erlang]
-PathMatch = '_'.
-HostMatch = '_'.
-
-The second is the special host match `"*"` which will match the
-wildcard path, generally used alongside the `OPTIONS` method.
-
-[source,erlang]
-HostMatch = "*".
-
-=== Constraints
-
-After the matching has completed, the resulting bindings can be tested
-against a set of constraints. Constraints are only tested when the
-binding is defined. They run in the order you defined them. The match
-will succeed only if they all succeed. If the match fails, then Cowboy
-tries the next route in the list.
-
-The format used for constraints is the same as match functions in
-`cowboy_req`: they are provided as a list of fields which may have
-one or more constraints. While the router accepts the same format,
-it will skip fields with no constraints and will also ignore default
-values, if any.
-
-Read more about xref:constraints[constraints].
-
-=== Compilation
-
-The routes must be compiled before Cowboy can use them. The compilation
-step normalizes the routes to simplify the code and speed up the
-execution, but the routes are still looked up one by one in the end.
-Faster compilation strategies could be to compile the routes directly
-to Erlang code, but would require heavier dependencies.
-
-To compile routes, just call the appropriate function:
-
-[source,erlang]
-----
-Dispatch = cowboy_router:compile([
- %% {HostMatch, list({PathMatch, Handler, InitialState})}
- {'_', [{'_', my_handler, #{}}]}
-]),
-%% Name, NbAcceptors, TransOpts, ProtoOpts
-cowboy:start_clear(my_http_listener,
- [{port, 8080}],
- #{env => #{dispatch => Dispatch}}
-).
-----
-
-=== Live update
-
-You can use the `cowboy:set_env/3` function for updating the dispatch
-list used by routing. This will apply to all new connections accepted
-by the listener:
-
-[source,erlang]
-Dispatch = cowboy_router:compile(Routes),
-cowboy:set_env(my_http_listener, dispatch, Dispatch).
-
-Note that you need to compile the routes again before updating.
diff --git a/docs/en/cowboy/2.0/guide/routing/index.html b/docs/en/cowboy/2.0/guide/routing/index.html
deleted file mode 100644
index 69b94201..00000000
--- a/docs/en/cowboy/2.0/guide/routing/index.html
+++ /dev/null
@@ -1,359 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Routing</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Routing</span></h1>
-
-<p>Cowboy does nothing by default.</p>
-<p>To make Cowboy useful, you need to map URIs to Erlang modules that will handle the requests. This is called routing.</p>
-<p>When Cowboy receives a request, it tries to match the requested host and path to the configured routes. When there&apos;s a match, the route&apos;s associated handler is executed.</p>
-<p>Routes need to be compiled before they can be used by Cowboy. The result of the compilation is the dispatch rules.</p>
-<h2 id="_syntax">Syntax</h2>
-<p>The general structure for the routes is defined as follow.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Routes</font> <font color="#990000">=</font> [<font color="#009900">Host1</font>, <font color="#009900">Host2</font>, <font color="#990000">...</font> <font color="#009900">HostN</font>]<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Each host contains matching rules for the host along with optional constraints, and a list of routes for the path component.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Host1</font> <font color="#990000">=</font> {<font color="#009900">HostMatch</font>, <font color="#009900">PathsList</font>}<font color="#990000">.</font>
-<font color="#009900">Host2</font> <font color="#990000">=</font> {<font color="#009900">HostMatch</font>, <font color="#009900">Constraints</font>, <font color="#009900">PathsList</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The list of routes for the path component is defined similar to the list of hosts.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathsList</font> <font color="#990000">=</font> [<font color="#009900">Path1</font>, <font color="#009900">Path2</font>, <font color="#990000">...</font> <font color="#009900">PathN</font>]<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Finally, each path contains matching rules for the path along with optional constraints, and gives us the handler module to be used along with its initial state.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Path1</font> <font color="#990000">=</font> {<font color="#009900">PathMatch</font>, <font color="#009900">Handler</font>, <font color="#009900">InitialState</font>}<font color="#990000">.</font>
-<font color="#009900">Path2</font> <font color="#990000">=</font> {<font color="#009900">PathMatch</font>, <font color="#009900">Constraints</font>, <font color="#009900">Handler</font>, <font color="#009900">InitialState</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Continue reading to learn more about the match syntax and the optional constraints.</p>
-<h2 id="_match_syntax">Match syntax</h2>
-<p>The match syntax is used to associate host names and paths with their respective handlers.</p>
-<p>The match syntax is the same for host and path with a few subtleties. Indeed, the segments separator is different, and the host is matched starting from the last segment going to the first. All examples will feature both host and path match rules and explain the differences when encountered.</p>
-<p>Excluding special values that we will explain at the end of this section, the simplest match value is a host or a path. It can be given as either a <code>string()</code> or a <code>binary()</code>.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch1</font> <font color="#990000">=</font> <font color="#FF0000">"/"</font><font color="#990000">.</font>
-<font color="#009900">PathMatch2</font> <font color="#990000">=</font> <font color="#FF0000">"/path/to/resource"</font><font color="#990000">.</font>
-
-<font color="#009900">HostMatch1</font> <font color="#990000">=</font> <font color="#FF0000">"cowboy.example.org"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>As you can see, all paths defined this way must start with a slash character. Note that these two paths are identical as far as routing is concerned.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch2</font> <font color="#990000">=</font> <font color="#FF0000">"/path/to/resource"</font><font color="#990000">.</font>
-<font color="#009900">PathMatch3</font> <font color="#990000">=</font> <font color="#FF0000">"/path/to/resource/"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Hosts with and without a trailing dot are equivalent for routing. Similarly, hosts with and without a leading dot are also equivalent.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">HostMatch1</font> <font color="#990000">=</font> <font color="#FF0000">"cowboy.example.org"</font><font color="#990000">.</font>
-<font color="#009900">HostMatch2</font> <font color="#990000">=</font> <font color="#FF0000">"cowboy.example.org."</font><font color="#990000">.</font>
-<font color="#009900">HostMatch3</font> <font color="#990000">=</font> <font color="#FF0000">".cowboy.example.org"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>It is possible to extract segments of the host and path and to store the values in the <code>Req</code> object for later use. We call these kind of values bindings.</p>
-<p>The syntax for bindings is very simple. A segment that begins with the <code>:</code> character means that what follows until the end of the segment is the name of the binding in which the segment value will be stored.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch</font> <font color="#990000">=</font> <font color="#FF0000">"/hats/:name/prices"</font><font color="#990000">.</font>
-<font color="#009900">HostMatch</font> <font color="#990000">=</font> <font color="#FF0000">":subdomain.example.org"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>If these two end up matching when routing, you will end up with two bindings defined, <code>subdomain</code> and <code>name</code>, each containing the segment value where they were defined. For example, the URL <code>http://test.example.org/hats/wild_cowboy_legendary/prices</code> will result in having the value <code>test</code> bound to the name <code>subdomain</code> and the value <code>wild_cowboy_legendary</code> bound to the name <code>name</code>. They can later be retrieved using <code>cowboy_req:binding/{2,3}</code>. The binding name must be given as an atom.</p>
-<p>There is a special binding name you can use to mimic the underscore variable in Erlang. Any match against the <code>_</code> binding will succeed but the data will be discarded. This is especially useful for matching against many domain names in one go.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">HostMatch</font> <font color="#990000">=</font> <font color="#FF0000">"ninenines.:_"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Similarly, it is possible to have optional segments. Anything between brackets is optional.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch</font> <font color="#990000">=</font> <font color="#FF0000">"/hats/[page/:number]"</font><font color="#990000">.</font>
-<font color="#009900">HostMatch</font> <font color="#990000">=</font> <font color="#FF0000">"[www.]ninenines.eu"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You can also have imbricated optional segments.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch</font> <font color="#990000">=</font> <font color="#FF0000">"/hats/[page/[:number]]"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You can retrieve the rest of the host or path using <code>[...]</code>. In the case of hosts it will match anything before, in the case of paths anything after the previously matched segments. It is a special case of optional segments, in that it can have zero, one or many segments. You can then find the segments using <code>cowboy_req:host_info/1</code> and <code>cowboy_req:path_info/1</code> respectively. They will be represented as a list of segments.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch</font> <font color="#990000">=</font> <font color="#FF0000">"/hats/[...]"</font><font color="#990000">.</font>
-<font color="#009900">HostMatch</font> <font color="#990000">=</font> <font color="#FF0000">"[...]ninenines.eu"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>If a binding appears twice in the routing rules, then the match will succeed only if they share the same value. This copies the Erlang pattern matching behavior.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch</font> <font color="#990000">=</font> <font color="#FF0000">"/hats/:name/:name"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>This is also true when an optional segment is present. In this case the two values must be identical only if the segment is available.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch</font> <font color="#990000">=</font> <font color="#FF0000">"/hats/:name/[:name]"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>If a binding is defined in both the host and path, then they must also share the same value.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch</font> <font color="#990000">=</font> <font color="#FF0000">"/:user/[...]"</font><font color="#990000">.</font>
-<font color="#009900">HostMatch</font> <font color="#990000">=</font> <font color="#FF0000">":user.github.com"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Finally, there are two special match values that can be used. The first is the atom <code>&apos;_&apos;</code> which will match any host or path.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch</font> <font color="#990000">=</font> <font color="#FF6600">'_'</font><font color="#990000">.</font>
-<font color="#009900">HostMatch</font> <font color="#990000">=</font> <font color="#FF6600">'_'</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The second is the special host match <code>&quot;*&quot;</code> which will match the wildcard path, generally used alongside the <code>OPTIONS</code> method.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">HostMatch</font> <font color="#990000">=</font> <font color="#FF0000">"*"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_constraints">Constraints</h2>
-<p>After the matching has completed, the resulting bindings can be tested against a set of constraints. Constraints are only tested when the binding is defined. They run in the order you defined them. The match will succeed only if they all succeed. If the match fails, then Cowboy tries the next route in the list.</p>
-<p>The format used for constraints is the same as match functions in <code>cowboy_req</code>: they are provided as a list of fields which may have one or more constraints. While the router accepts the same format, it will skip fields with no constraints and will also ignore default values, if any.</p>
-<p>Read more about <a href="../constraints">constraints</a>.</p>
-<h2 id="_compilation">Compilation</h2>
-<p>The routes must be compiled before Cowboy can use them. The compilation step normalizes the routes to simplify the code and speed up the execution, but the routes are still looked up one by one in the end. Faster compilation strategies could be to compile the routes directly to Erlang code, but would require heavier dependencies.</p>
-<p>To compile routes, just call the appropriate function:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>([
- <i><font color="#9A1900">%% {HostMatch, list({PathMatch, Handler, InitialState})}</font></i>
- {<font color="#FF6600">'_'</font>, [{<font color="#FF6600">'_'</font>, <font color="#FF6600">my_handler</font>, #{}}]}
-]),
-<i><font color="#9A1900">%% Name, NbAcceptors, TransOpts, ProtoOpts</font></i>
-<b><font color="#000000">cowboy:start_clear</font></b>(<font color="#FF6600">my_http_listener</font>,
- [{<font color="#FF6600">port</font>, <font color="#993399">8080</font>}],
- #{<font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}}
-)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_live_update">Live update</h2>
-<p>You can use the <code>cowboy:set_env/3</code> function for updating the dispatch list used by routing. This will apply to all new connections accepted by the listener:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>(<font color="#009900">Routes</font>),
-<b><font color="#000000">cowboy:set_env</font></b>(<font color="#FF6600">my_http_listener</font>, <font color="#FF6600">dispatch</font>, <font color="#009900">Dispatch</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Note that you need to compile the routes again before updating.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/listeners/">
- Listeners
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/constraints/">
- Constraints
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/specs.asciidoc b/docs/en/cowboy/2.0/guide/specs.asciidoc
deleted file mode 100644
index ec101fbd..00000000
--- a/docs/en/cowboy/2.0/guide/specs.asciidoc
+++ /dev/null
@@ -1,189 +0,0 @@
-[appendix]
-== HTTP and other specifications
-
-This chapter intends to list all the specification documents
-for or related to HTTP.
-
-=== HTTP
-
-==== IANA Registries
-
-* https://www.iana.org/assignments/http-methods/http-methods.xhtml[HTTP Method Registry]
-* https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml[HTTP Status Code Registry]
-* https://www.iana.org/assignments/message-headers/message-headers.xhtml[Message Headers]
-* https://www.iana.org/assignments/http-parameters/http-parameters.xhtml[HTTP Parameters]
-* https://www.iana.org/assignments/http-alt-svc-parameters/http-alt-svc-parameters.xhtml[HTTP Alt-Svc Parameter Registry]
-* https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml[HTTP Authentication Scheme Registry]
-* https://www.iana.org/assignments/http-cache-directives/http-cache-directives.xhtml[HTTP Cache Directive Registry]
-* https://www.iana.org/assignments/http-dig-alg/http-dig-alg.xhtml[HTTP Digest Algorithm Values]
-* https://www.iana.org/assignments/hoba-device-identifiers/hoba-device-identifiers.xhtml[HTTP Origin-Bound Authentication Device Identifier Types]
-* https://www.iana.org/assignments/http-upgrade-tokens/http-upgrade-tokens.xhtml[HTTP Upgrade Token Registry]
-* https://www.iana.org/assignments/http-warn-codes/http-warn-codes.xhtml[HTTP Warn Codes]
-* https://www.iana.org/assignments/http2-parameters/http2-parameters.xhtml[HTTP/2 Parameters]
-* https://www.ietf.org/assignments/websocket/websocket.xml[WebSocket Protocol Registries]
-
-==== Current
-
-* http://www.w3.org/TR/cors/[CORS]: Cross-Origin Resource Sharing
-* http://www.w3.org/TR/CSP2/[CSP2]: Content Security Policy Level 2
-* http://www.w3.org/TR/tracking-dnt/[DNT]: Tracking Preference Expression (DNT)
-* http://www.w3.org/TR/eventsource/[eventsource]: Server-Sent Events
-* https://www.w3.org/TR/html4/interact/forms.html#h-17.13.4[Form content types]: Form content types
-* https://www.w3.org/TR/preload/[Preload]: Preload
-* http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm[REST]: Fielding's Dissertation
-* https://tools.ietf.org/html/rfc1945[RFC 1945]: HTTP/1.0
-* https://tools.ietf.org/html/rfc1951[RFC 1951]: DEFLATE Compressed Data Format Specification version 1.3
-* https://tools.ietf.org/html/rfc1952[RFC 1952]: GZIP file format specification version 4.3
-* https://tools.ietf.org/html/rfc2046#section-5.1[RFC 2046]: Multipart media type (in MIME Part Two: Media Types)
-* https://tools.ietf.org/html/rfc2295[RFC 2295]: Transparent Content Negotiation in HTTP
-* https://tools.ietf.org/html/rfc2296[RFC 2296]: HTTP Remote Variant Selection Algorithm: RVSA/1.0
-* https://tools.ietf.org/html/rfc2817[RFC 2817]: Upgrading to TLS Within HTTP/1.1
-* https://tools.ietf.org/html/rfc2818[RFC 2818]: HTTP Over TLS
-* https://tools.ietf.org/html/rfc3230[RFC 3230]: Instance Digests in HTTP
-* https://tools.ietf.org/html/rfc4559[RFC 4559]: SPNEGO-based Kerberos and NTLM HTTP Authentication in Microsoft Windows
-* https://tools.ietf.org/html/rfc5789[RFC 5789]: PATCH Method for HTTP
-* https://tools.ietf.org/html/rfc5843[RFC 5843]: Additional Hash Algorithms for HTTP Instance Digests
-* https://tools.ietf.org/html/rfc5861[RFC 5861]: HTTP Cache-Control Extensions for Stale Content
-* https://tools.ietf.org/html/rfc5988[RFC 5988]: Web Linking
-* https://tools.ietf.org/html/rfc6265[RFC 6265]: HTTP State Management Mechanism
-* https://tools.ietf.org/html/rfc6266[RFC 6266]: Use of the Content-Disposition Header Field
-* https://tools.ietf.org/html/rfc6454[RFC 6454]: The Web Origin Concept
-* https://tools.ietf.org/html/rfc6455[RFC 6455]: The WebSocket Protocol
-* https://tools.ietf.org/html/rfc6585[RFC 6585]: Additional HTTP Status Codes
-* https://tools.ietf.org/html/rfc6750[RFC 6750]: The OAuth 2.0 Authorization Framework: Bearer Token Usage
-* https://tools.ietf.org/html/rfc6797[RFC 6797]: HTTP Strict Transport Security (HSTS)
-* https://tools.ietf.org/html/rfc6903[RFC 6903]: Additional Link Relation Types
-* https://tools.ietf.org/html/rfc7034[RFC 7034]: HTTP Header Field X-Frame-Options
-* https://tools.ietf.org/html/rfc7089[RFC 7089]: Time-Based Access to Resource States: Memento
-* https://tools.ietf.org/html/rfc7230[RFC 7230]: HTTP/1.1 Message Syntax and Routing
-* https://tools.ietf.org/html/rfc7231[RFC 7231]: HTTP/1.1 Semantics and Content
-* https://tools.ietf.org/html/rfc7232[RFC 7232]: HTTP/1.1 Conditional Requests
-* https://tools.ietf.org/html/rfc7233[RFC 7233]: HTTP/1.1 Range Requests
-* https://tools.ietf.org/html/rfc7234[RFC 7234]: HTTP/1.1 Caching
-* https://tools.ietf.org/html/rfc7235[RFC 7235]: HTTP/1.1 Authentication
-* https://tools.ietf.org/html/rfc7239[RFC 7239]: Forwarded HTTP Extension
-* https://tools.ietf.org/html/rfc7240[RFC 7240]: Prefer Header for HTTP
-* https://tools.ietf.org/html/rfc7469[RFC 7469]: Public Key Pinning Extension for HTTP
-* https://tools.ietf.org/html/rfc7486[RFC 7486]: HTTP Origin-Bound Authentication (HOBA)
-* https://tools.ietf.org/html/rfc7538[RFC 7538]: HTTP Status Code 308 (Permanent Redirect)
-* https://tools.ietf.org/html/rfc7540[RFC 7540]: Hypertext Transfer Protocol Version 2 (HTTP/2)
-* https://tools.ietf.org/html/rfc7541[RFC 7541]: HPACK: Header Compression for HTTP/2
-* https://tools.ietf.org/html/rfc7578[RFC 7578]: Returning Values from Forms: multipart/form-data
-* https://tools.ietf.org/html/rfc7615[RFC 7615]: HTTP Authentication-Info and Proxy-Authentication-Info Response Header Fields
-* https://tools.ietf.org/html/rfc7616[RFC 7616]: HTTP Digest Access Authentication
-* https://tools.ietf.org/html/rfc7617[RFC 7617]: The 'Basic' HTTP Authentication Scheme
-* https://tools.ietf.org/html/rfc7639[RFC 7639]: The ALPN HTTP Header Field
-* https://tools.ietf.org/html/rfc7692[RFC 7692]: Compression Extensions for WebSocket
-* https://tools.ietf.org/html/rfc7694[RFC 7694]: HTTP Client-Initiated Content-Encoding
-* https://tools.ietf.org/html/rfc7725[RFC 7725]: An HTTP Status Code to Report Legal Obstacles
-* https://tools.ietf.org/html/rfc7804[RFC 7804]: Salted Challenge Response HTTP Authentication Mechanism
-* https://tools.ietf.org/html/rfc7838[RFC 7838]: HTTP Alternative Services
-* https://tools.ietf.org/html/rfc7932[RFC 7932]: Brotli Compressed Data Format
-* https://tools.ietf.org/html/rfc7936[RFC 7936]: Clarifying Registry Procedures for the WebSocket Subprotocol Name Registry
-* https://tools.ietf.org/html/rfc8053[RFC 8053]: HTTP Authentication Extensions for Interactive Clients
-* https://tools.ietf.org/html/rfc8164[RFC 8164]: Opportunistic Security for HTTP/2
-* https://tools.ietf.org/html/rfc8187[RFC 8187]: Indicating Character Encoding and Language for HTTP Header Field Parameters
-* https://tools.ietf.org/html/rfc8188[RFC 8188]: Encrypted Content-Encoding for HTTP
-* https://tools.ietf.org/html/rfc8246[RFC 8246]: HTTP Immutable Responses
-* https://www.w3.org/TR/webmention/[Webmention]: Webmention
-
-==== Upcoming
-
-* https://www.w3.org/TR/csp-cookies/[Content Security Policy: Cookie Controls]
-* https://www.w3.org/TR/csp-embedded-enforcement/[Content Security Policy: Embedded Enforcement]
-* https://www.w3.org/TR/CSP3/[Content Security Policy Level 3]
-* https://www.w3.org/TR/csp-pinning/[Content Security Policy Pinning]
-* http://www.w3.org/TR/referrer-policy/[Referrer Policy]
-* http://www.w3.org/TR/UISecurity/[User Interface Security Directives for Content Security Policy]
-
-==== Informative
-
-* http://www.w3.org/TR/webarch/[Architecture of the World Wide Web]
-* https://tools.ietf.org/html/rfc2936[RFC 2936]: HTTP MIME Type Handler Detection
-* https://tools.ietf.org/html/rfc2964[RFC 2964]: Use of HTTP State Management
-* https://tools.ietf.org/html/rfc3143[RFC 3143]: Known HTTP Proxy/Caching Problems
-* https://tools.ietf.org/html/rfc6202[RFC 6202]: Known Issues and Best Practices for the Use of Long Polling and Streaming in Bidirectional HTTP
-* https://tools.ietf.org/html/rfc6838[RFC 6838]: Media Type Specifications and Registration Procedures
-* https://tools.ietf.org/html/rfc7478[RFC 7478]: Web Real-Time Communication Use Cases and Requirements
-
-==== Related
-
-* http://www.w3.org/TR/app-uri/[app: URL Scheme]
-* http://www.w3.org/TR/beacon/[Beacon]
-* http://www.w3.org/TR/FileAPI/[File API]
-* https://tools.ietf.org/html/rfc8030[Generic Event Delivery Using HTTP Push]
-* http://www.w3.org/TR/capability-urls/[Good Practices for Capability URLs]
-* https://html.spec.whatwg.org/multipage/[HTML Living Standard]
-* https://developers.whatwg.org/[HTML Living Standard for Web developers]
-* http://www.w3.org/TR/html401/[HTML4.01]
-* http://www.w3.org/TR/html5/[HTML5]
-* http://www.w3.org/TR/html51/[HTML5.1]
-* https://www.w3.org/TR/html52/[HTML5.2]
-* http://www.w3.org/TR/media-frags/[Media Fragments URI 1.0]
-* https://tools.ietf.org/html/rfc6690[RFC 6690]: Constrained RESTful Environments (CoRE) Link Format
-* https://tools.ietf.org/html/rfc7807[RFC 7807]: Problem Details for HTTP APIs
-* https://tools.ietf.org/html/rfc6906[RFC 6906]: The 'profile' Link Relation Type
-* http://www.w3.org/TR/SRI/[Subresource Integrity]
-* http://www.w3.org/TR/tracking-compliance/[Tracking Compliance and Scope]
-* http://www.w3.org/TR/media-frags-reqs/[Use cases and requirements for Media Fragments]
-* http://www.w3.org/TR/webrtc/[WebRTC 1.0: Real-time Communication Between Browsers]
-* http://www.w3.org/TR/websockets/[Websocket API]
-* http://www.w3.org/TR/XMLHttpRequest/[XMLHttpRequest Level 1]
-* https://xhr.spec.whatwg.org/[XMLHttpRequest Living Standard]
-
-==== Seemingly obsolete
-
-* https://tools.ietf.org/html/rfc2227[RFC 2227]: Simple Hit-Metering and Usage-Limiting for HTTP
-* https://tools.ietf.org/html/rfc2310[RFC 2310]: The Safe Response Header Field
-* https://tools.ietf.org/html/rfc2324[RFC 2324]: Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0)
-* https://tools.ietf.org/html/rfc2660[RFC 2660]: The Secure HyperText Transfer Protocol
-* https://tools.ietf.org/html/rfc2774[RFC 2774]: An HTTP Extension Framework
-* https://tools.ietf.org/html/rfc2965[RFC 2965]: HTTP State Management Mechanism (Cookie2)
-* https://tools.ietf.org/html/rfc3229[RFC 3229]: Delta encoding in HTTP
-* https://tools.ietf.org/html/rfc7168[RFC 7168]: The Hyper Text Coffee Pot Control Protocol for Tea Efflux Appliances (HTCPCP-TEA)
-* http://dev.chromium.org/spdy/spdy-protocol[SPDY]: SPDY Protocol
-* https://tools.ietf.org/html/draft-tyoshino-hybi-websocket-perframe-deflate-06[x-webkit-deflate-frame]: Deprecated Websocket compression
-
-=== URL
-
-* https://tools.ietf.org/html/rfc3986[RFC 3986]: URI Generic Syntax
-* https://tools.ietf.org/html/rfc6570[RFC 6570]: URI Template
-* https://tools.ietf.org/html/rfc6874[RFC 6874]: Representing IPv6 Zone Identifiers in Address Literals and URIs
-* https://tools.ietf.org/html/rfc7320[RFC 7320]: URI Design and Ownership
-* http://www.w3.org/TR/url-1/[URL]
-* https://url.spec.whatwg.org/[URL Living Standard]
-
-=== WebDAV
-
-* https://tools.ietf.org/html/rfc3253[RFC 3253]: Versioning Extensions to WebDAV
-* https://tools.ietf.org/html/rfc3648[RFC 3648]: WebDAV Ordered Collections Protocol
-* https://tools.ietf.org/html/rfc3744[RFC 3744]: WebDAV Access Control Protocol
-* https://tools.ietf.org/html/rfc4316[RFC 4316]: Datatypes for WebDAV Properties
-* https://tools.ietf.org/html/rfc4331[RFC 4331]: Quota and Size Properties for DAV Collections
-* https://tools.ietf.org/html/rfc4437[RFC 4437]: WebDAV Redirect Reference Resources
-* https://tools.ietf.org/html/rfc4709[RFC 4709]: Mounting WebDAV Servers
-* https://tools.ietf.org/html/rfc4791[RFC 4791]: Calendaring Extensions to WebDAV (CalDAV)
-* https://tools.ietf.org/html/rfc4918[RFC 4918]: HTTP Extensions for WebDAV
-* https://tools.ietf.org/html/rfc5323[RFC 5323]: WebDAV SEARCH
-* https://tools.ietf.org/html/rfc5397[RFC 5397]: WebDAV Current Principal Extension
-* https://tools.ietf.org/html/rfc5689[RFC 5689]: Extended MKCOL for WebDAV
-* https://tools.ietf.org/html/rfc5842[RFC 5842]: Binding Extensions to WebDAV
-* https://tools.ietf.org/html/rfc5995[RFC 5995]: Using POST to Add Members to WebDAV Collections
-* https://tools.ietf.org/html/rfc6352[RFC 6352]: CardDAV: vCard Extensions to WebDAV
-* https://tools.ietf.org/html/rfc6578[RFC 6578]: Collection Synchronization for WebDAV
-* https://tools.ietf.org/html/rfc6638[RFC 6638]: Scheduling Extensions to CalDAV
-* https://tools.ietf.org/html/rfc6764[RFC 6764]: Locating Services for Calendaring Extensions to WebDAV (CalDAV) and vCard Extensions to WebDAV (CardDAV)
-* https://tools.ietf.org/html/rfc7809[RFC 7809]: Calendaring Extensions to WebDAV (CalDAV): Time Zones by Reference
-* https://tools.ietf.org/html/rfc7953[RFC 7953]: Calendar Availability
-* https://tools.ietf.org/html/rfc8144[RFC 8144]: Use of the Prefer Header Field in WebDAV
-
-=== CoAP
-
-* https://tools.ietf.org/html/rfc7252[RFC 7252]: The Constrained Application Protocol (CoAP)
-* https://tools.ietf.org/html/rfc7390[RFC 7390]: Group Communication for CoAP
-* https://tools.ietf.org/html/rfc7641[RFC 7641]: Observing Resources in CoAP
-* https://tools.ietf.org/html/rfc7650[RFC 7650]: A CoAP Usage for REsource LOcation And Discovery (RELOAD)
-* https://tools.ietf.org/html/rfc7959[RFC 7959]: Block-Wise Transfers in CoAP
-* https://tools.ietf.org/html/rfc7967[RFC 7967]: CoAP Option for No Server Response
-* https://tools.ietf.org/html/rfc8075[RFC 8075]: Guidelines for Mapping Implementations: HTTP to CoAP
-* https://tools.ietf.org/html/rfc8132[RFC 8132]: PATCH and FETCH Methods for CoAP
diff --git a/docs/en/cowboy/2.0/guide/specs/index.html b/docs/en/cowboy/2.0/guide/specs/index.html
deleted file mode 100644
index dd7b8b79..00000000
--- a/docs/en/cowboy/2.0/guide/specs/index.html
+++ /dev/null
@@ -1,511 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: HTTP and other specifications</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>HTTP and other specifications</span></h1>
-
-<p>This chapter intends to list all the specification documents for or related to HTTP.</p>
-<h2 id="_http">HTTP</h2>
-<h4 id="_iana_registries">IANA Registries</h4>
-<ul><li><a href="https://www.iana.org/assignments/http-methods/http-methods.xhtml">HTTP Method Registry</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml">HTTP Status Code Registry</a>
-</li>
-<li><a href="https://www.iana.org/assignments/message-headers/message-headers.xhtml">Message Headers</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http-parameters/http-parameters.xhtml">HTTP Parameters</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http-alt-svc-parameters/http-alt-svc-parameters.xhtml">HTTP Alt-Svc Parameter Registry</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml">HTTP Authentication Scheme Registry</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http-cache-directives/http-cache-directives.xhtml">HTTP Cache Directive Registry</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http-dig-alg/http-dig-alg.xhtml">HTTP Digest Algorithm Values</a>
-</li>
-<li><a href="https://www.iana.org/assignments/hoba-device-identifiers/hoba-device-identifiers.xhtml">HTTP Origin-Bound Authentication Device Identifier Types</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http-upgrade-tokens/http-upgrade-tokens.xhtml">HTTP Upgrade Token Registry</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http-warn-codes/http-warn-codes.xhtml">HTTP Warn Codes</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http2-parameters/http2-parameters.xhtml">HTTP/2 Parameters</a>
-</li>
-<li><a href="https://www.ietf.org/assignments/websocket/websocket.xml">WebSocket Protocol Registries</a>
-</li>
-</ul>
-<h4 id="_current">Current</h4>
-<ul><li><a href="http://www.w3.org/TR/cors/">CORS</a>: Cross-Origin Resource Sharing
-</li>
-<li><a href="http://www.w3.org/TR/CSP2/">CSP2</a>: Content Security Policy Level 2
-</li>
-<li><a href="http://www.w3.org/TR/tracking-dnt/">DNT</a>: Tracking Preference Expression (DNT)
-</li>
-<li><a href="http://www.w3.org/TR/eventsource/">eventsource</a>: Server-Sent Events
-</li>
-<li><a href="https://www.w3.org/TR/html4/interact/forms.html#h-17.13.4">Form content types</a>: Form content types
-</li>
-<li><a href="https://www.w3.org/TR/preload/">Preload</a>: Preload
-</li>
-<li><a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm">REST</a>: Fielding&apos;s Dissertation
-</li>
-<li><a href="https://tools.ietf.org/html/rfc1945">RFC 1945</a>: HTTP/1.0
-</li>
-<li><a href="https://tools.ietf.org/html/rfc1951">RFC 1951</a>: DEFLATE Compressed Data Format Specification version 1.3
-</li>
-<li><a href="https://tools.ietf.org/html/rfc1952">RFC 1952</a>: GZIP file format specification version 4.3
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2046#section-5.1">RFC 2046</a>: Multipart media type (in MIME Part Two: Media Types)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2295">RFC 2295</a>: Transparent Content Negotiation in HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2296">RFC 2296</a>: HTTP Remote Variant Selection Algorithm: RVSA/1.0
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2817">RFC 2817</a>: Upgrading to TLS Within HTTP/1.1
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2818">RFC 2818</a>: HTTP Over TLS
-</li>
-<li><a href="https://tools.ietf.org/html/rfc3230">RFC 3230</a>: Instance Digests in HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc4559">RFC 4559</a>: SPNEGO-based Kerberos and NTLM HTTP Authentication in Microsoft Windows
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5789">RFC 5789</a>: PATCH Method for HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5843">RFC 5843</a>: Additional Hash Algorithms for HTTP Instance Digests
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5861">RFC 5861</a>: HTTP Cache-Control Extensions for Stale Content
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5988">RFC 5988</a>: Web Linking
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6265">RFC 6265</a>: HTTP State Management Mechanism
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6266">RFC 6266</a>: Use of the Content-Disposition Header Field
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6454">RFC 6454</a>: The Web Origin Concept
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6455">RFC 6455</a>: The WebSocket Protocol
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6585">RFC 6585</a>: Additional HTTP Status Codes
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6750">RFC 6750</a>: The OAuth 2.0 Authorization Framework: Bearer Token Usage
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6797">RFC 6797</a>: HTTP Strict Transport Security (HSTS)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6903">RFC 6903</a>: Additional Link Relation Types
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7034">RFC 7034</a>: HTTP Header Field X-Frame-Options
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7089">RFC 7089</a>: Time-Based Access to Resource States: Memento
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7230">RFC 7230</a>: HTTP/1.1 Message Syntax and Routing
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7231">RFC 7231</a>: HTTP/1.1 Semantics and Content
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7232">RFC 7232</a>: HTTP/1.1 Conditional Requests
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7233">RFC 7233</a>: HTTP/1.1 Range Requests
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7234">RFC 7234</a>: HTTP/1.1 Caching
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7235">RFC 7235</a>: HTTP/1.1 Authentication
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7239">RFC 7239</a>: Forwarded HTTP Extension
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7240">RFC 7240</a>: Prefer Header for HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7469">RFC 7469</a>: Public Key Pinning Extension for HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7486">RFC 7486</a>: HTTP Origin-Bound Authentication (HOBA)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7538">RFC 7538</a>: HTTP Status Code 308 (Permanent Redirect)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7540">RFC 7540</a>: Hypertext Transfer Protocol Version 2 (HTTP/2)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7541">RFC 7541</a>: HPACK: Header Compression for HTTP/2
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7578">RFC 7578</a>: Returning Values from Forms: multipart/form-data
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7615">RFC 7615</a>: HTTP Authentication-Info and Proxy-Authentication-Info Response Header Fields
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7616">RFC 7616</a>: HTTP Digest Access Authentication
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7617">RFC 7617</a>: The <em>Basic</em> HTTP Authentication Scheme
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7639">RFC 7639</a>: The ALPN HTTP Header Field
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7692">RFC 7692</a>: Compression Extensions for WebSocket
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7694">RFC 7694</a>: HTTP Client-Initiated Content-Encoding
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7725">RFC 7725</a>: An HTTP Status Code to Report Legal Obstacles
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7804">RFC 7804</a>: Salted Challenge Response HTTP Authentication Mechanism
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7838">RFC 7838</a>: HTTP Alternative Services
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7932">RFC 7932</a>: Brotli Compressed Data Format
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7936">RFC 7936</a>: Clarifying Registry Procedures for the WebSocket Subprotocol Name Registry
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8053">RFC 8053</a>: HTTP Authentication Extensions for Interactive Clients
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8164">RFC 8164</a>: Opportunistic Security for HTTP/2
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8187">RFC 8187</a>: Indicating Character Encoding and Language for HTTP Header Field Parameters
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8188">RFC 8188</a>: Encrypted Content-Encoding for HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8246">RFC 8246</a>: HTTP Immutable Responses
-</li>
-<li><a href="https://www.w3.org/TR/webmention/">Webmention</a>: Webmention
-</li>
-</ul>
-<h4 id="_upcoming">Upcoming</h4>
-<ul><li><a href="https://www.w3.org/TR/csp-cookies/">Content Security Policy: Cookie Controls</a>
-</li>
-<li><a href="https://www.w3.org/TR/csp-embedded-enforcement/">Content Security Policy: Embedded Enforcement</a>
-</li>
-<li><a href="https://www.w3.org/TR/CSP3/">Content Security Policy Level 3</a>
-</li>
-<li><a href="https://www.w3.org/TR/csp-pinning/">Content Security Policy Pinning</a>
-</li>
-<li><a href="http://www.w3.org/TR/referrer-policy/">Referrer Policy</a>
-</li>
-<li><a href="http://www.w3.org/TR/UISecurity/">User Interface Security Directives for Content Security Policy</a>
-</li>
-</ul>
-<h4 id="_informative">Informative</h4>
-<ul><li><a href="http://www.w3.org/TR/webarch/">Architecture of the World Wide Web</a>
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2936">RFC 2936</a>: HTTP MIME Type Handler Detection
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2964">RFC 2964</a>: Use of HTTP State Management
-</li>
-<li><a href="https://tools.ietf.org/html/rfc3143">RFC 3143</a>: Known HTTP Proxy/Caching Problems
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6202">RFC 6202</a>: Known Issues and Best Practices for the Use of Long Polling and Streaming in Bidirectional HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6838">RFC 6838</a>: Media Type Specifications and Registration Procedures
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7478">RFC 7478</a>: Web Real-Time Communication Use Cases and Requirements
-</li>
-</ul>
-<h4 id="_related">Related</h4>
-<ul><li><a href="http://www.w3.org/TR/app-uri/">app: URL Scheme</a>
-</li>
-<li><a href="http://www.w3.org/TR/beacon/">Beacon</a>
-</li>
-<li><a href="http://www.w3.org/TR/FileAPI/">File API</a>
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8030">Generic Event Delivery Using HTTP Push</a>
-</li>
-<li><a href="http://www.w3.org/TR/capability-urls/">Good Practices for Capability URLs</a>
-</li>
-<li><a href="https://html.spec.whatwg.org/multipage/">HTML Living Standard</a>
-</li>
-<li><a href="https://developers.whatwg.org/">HTML Living Standard for Web developers</a>
-</li>
-<li><a href="http://www.w3.org/TR/html401/">HTML4.01</a>
-</li>
-<li><a href="http://www.w3.org/TR/html5/">HTML5</a>
-</li>
-<li><a href="http://www.w3.org/TR/html51/">HTML5.1</a>
-</li>
-<li><a href="https://www.w3.org/TR/html52/">HTML5.2</a>
-</li>
-<li><a href="http://www.w3.org/TR/media-frags/">Media Fragments URI 1.0</a>
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6690">RFC 6690</a>: Constrained RESTful Environments (CoRE) Link Format
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7807">RFC 7807</a>: Problem Details for HTTP APIs
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6906">RFC 6906</a>: The <em>profile</em> Link Relation Type
-</li>
-<li><a href="http://www.w3.org/TR/SRI/">Subresource Integrity</a>
-</li>
-<li><a href="http://www.w3.org/TR/tracking-compliance/">Tracking Compliance and Scope</a>
-</li>
-<li><a href="http://www.w3.org/TR/media-frags-reqs/">Use cases and requirements for Media Fragments</a>
-</li>
-<li><a href="http://www.w3.org/TR/webrtc/">WebRTC 1.0: Real-time Communication Between Browsers</a>
-</li>
-<li><a href="http://www.w3.org/TR/websockets/">Websocket API</a>
-</li>
-<li><a href="http://www.w3.org/TR/XMLHttpRequest/">XMLHttpRequest Level 1</a>
-</li>
-<li><a href="https://xhr.spec.whatwg.org/">XMLHttpRequest Living Standard</a>
-</li>
-</ul>
-<h4 id="_seemingly_obsolete">Seemingly obsolete</h4>
-<ul><li><a href="https://tools.ietf.org/html/rfc2227">RFC 2227</a>: Simple Hit-Metering and Usage-Limiting for HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2310">RFC 2310</a>: The Safe Response Header Field
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2324">RFC 2324</a>: Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2660">RFC 2660</a>: The Secure HyperText Transfer Protocol
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2774">RFC 2774</a>: An HTTP Extension Framework
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2965">RFC 2965</a>: HTTP State Management Mechanism (Cookie2)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc3229">RFC 3229</a>: Delta encoding in HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7168">RFC 7168</a>: The Hyper Text Coffee Pot Control Protocol for Tea Efflux Appliances (HTCPCP-TEA)
-</li>
-<li><a href="http://dev.chromium.org/spdy/spdy-protocol">SPDY</a>: SPDY Protocol
-</li>
-<li><a href="https://tools.ietf.org/html/draft-tyoshino-hybi-websocket-perframe-deflate-06">x-webkit-deflate-frame</a>: Deprecated Websocket compression
-</li>
-</ul>
-<h2 id="_url">URL</h2>
-<ul><li><a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>: URI Generic Syntax
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6570">RFC 6570</a>: URI Template
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6874">RFC 6874</a>: Representing IPv6 Zone Identifiers in Address Literals and URIs
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7320">RFC 7320</a>: URI Design and Ownership
-</li>
-<li><a href="http://www.w3.org/TR/url-1/">URL</a>
-</li>
-<li><a href="https://url.spec.whatwg.org/">URL Living Standard</a>
-</li>
-</ul>
-<h2 id="_webdav">WebDAV</h2>
-<ul><li><a href="https://tools.ietf.org/html/rfc3253">RFC 3253</a>: Versioning Extensions to WebDAV
-</li>
-<li><a href="https://tools.ietf.org/html/rfc3648">RFC 3648</a>: WebDAV Ordered Collections Protocol
-</li>
-<li><a href="https://tools.ietf.org/html/rfc3744">RFC 3744</a>: WebDAV Access Control Protocol
-</li>
-<li><a href="https://tools.ietf.org/html/rfc4316">RFC 4316</a>: Datatypes for WebDAV Properties
-</li>
-<li><a href="https://tools.ietf.org/html/rfc4331">RFC 4331</a>: Quota and Size Properties for DAV Collections
-</li>
-<li><a href="https://tools.ietf.org/html/rfc4437">RFC 4437</a>: WebDAV Redirect Reference Resources
-</li>
-<li><a href="https://tools.ietf.org/html/rfc4709">RFC 4709</a>: Mounting WebDAV Servers
-</li>
-<li><a href="https://tools.ietf.org/html/rfc4791">RFC 4791</a>: Calendaring Extensions to WebDAV (CalDAV)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc4918">RFC 4918</a>: HTTP Extensions for WebDAV
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5323">RFC 5323</a>: WebDAV SEARCH
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5397">RFC 5397</a>: WebDAV Current Principal Extension
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5689">RFC 5689</a>: Extended MKCOL for WebDAV
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5842">RFC 5842</a>: Binding Extensions to WebDAV
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5995">RFC 5995</a>: Using POST to Add Members to WebDAV Collections
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6352">RFC 6352</a>: CardDAV: vCard Extensions to WebDAV
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6578">RFC 6578</a>: Collection Synchronization for WebDAV
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6638">RFC 6638</a>: Scheduling Extensions to CalDAV
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6764">RFC 6764</a>: Locating Services for Calendaring Extensions to WebDAV (CalDAV) and vCard Extensions to WebDAV (CardDAV)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7809">RFC 7809</a>: Calendaring Extensions to WebDAV (CalDAV): Time Zones by Reference
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7953">RFC 7953</a>: Calendar Availability
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8144">RFC 8144</a>: Use of the Prefer Header Field in WebDAV
-</li>
-</ul>
-<h2 id="_coap">CoAP</h2>
-<ul><li><a href="https://tools.ietf.org/html/rfc7252">RFC 7252</a>: The Constrained Application Protocol (CoAP)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7390">RFC 7390</a>: Group Communication for CoAP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7641">RFC 7641</a>: Observing Resources in CoAP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7650">RFC 7650</a>: A CoAP Usage for REsource LOcation And Discovery (RELOAD)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7959">RFC 7959</a>: Block-Wise Transfers in CoAP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7967">RFC 7967</a>: CoAP Option for No Server Response
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8075">RFC 8075</a>: Guidelines for Mapping Implementations: HTTP to CoAP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8132">RFC 8132</a>: PATCH and FETCH Methods for CoAP
-</li>
-</ul>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/migrating_from_1.0/">
- Migrating from Cowboy 1.0 to 2.0
- </a>
-
-
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/static_files.asciidoc b/docs/en/cowboy/2.0/guide/static_files.asciidoc
deleted file mode 100644
index 9d9b8cc2..00000000
--- a/docs/en/cowboy/2.0/guide/static_files.asciidoc
+++ /dev/null
@@ -1,163 +0,0 @@
-[[static_files]]
-== Static files
-
-Cowboy comes with a ready to use handler for serving static
-files. It is provided as a convenience for serving files
-during development.
-
-For systems in production, consider using one of the many
-Content Distribution Network (CDN) available on the market,
-as they are the best solution for serving files.
-
-The static handler can serve either one file or all files
-from a given directory. The etag generation and mime types
-can be configured.
-
-=== Serve one file
-
-You can use the static handler to serve one specific file
-from an application's private directory. This is particularly
-useful to serve an 'index.html' file when the client requests
-the `/` path, for example. The path configured is relative
-to the given application's private directory.
-
-The following rule will serve the file 'static/index.html'
-from the application `my_app`'s priv directory whenever the
-path `/` is accessed:
-
-[source,erlang]
-{"/", cowboy_static, {priv_file, my_app, "static/index.html"}}
-
-You can also specify the absolute path to a file, or the
-path to the file relative to the current directory:
-
-[source,erlang]
-{"/", cowboy_static, {file, "/var/www/index.html"}}
-
-=== Serve all files from a directory
-
-You can also use the static handler to serve all files that
-can be found in the configured directory. The handler will
-use the `path_info` information to resolve the file location,
-which means that your route must end with a `[...]` pattern
-for it to work. All files are served, including the ones that
-may be found in subfolders.
-
-You can specify the directory relative to an application's
-private directory.
-
-The following rule will serve any file found in the application
-`my_app`'s priv directory inside the `static/assets` folder
-whenever the requested path begins with `/assets/`:
-
-[source,erlang]
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets"}}
-
-You can also specify the absolute path to the directory or
-set it relative to the current directory:
-
-[source,erlang]
-{"/assets/[...]", cowboy_static, {dir, "/var/www/assets"}}
-
-=== Customize the mimetype detection
-
-By default, Cowboy will attempt to recognize the mimetype
-of your static files by looking at the extension.
-
-You can override the function that figures out the mimetype
-of the static files. It can be useful when Cowboy is missing
-a mimetype you need to handle, or when you want to reduce
-the list to make lookups faster. You can also give a
-hard-coded mimetype that will be used unconditionally.
-
-Cowboy comes with two functions built-in. The default
-function only handles common file types used when building
-Web applications. The other function is an extensive list
-of hundreds of mimetypes that should cover almost any need
-you may have. You can of course create your own function.
-
-To use the default function, you should not have to configure
-anything, as it is the default. If you insist, though, the
-following will do the job:
-
-[source,erlang]
-----
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{mimetypes, cow_mimetypes, web}]}}
-----
-
-As you can see, there is an optional field that may contain
-a list of less used options, like mimetypes or etag. All option
-types have this optional field.
-
-To use the function that will detect almost any mimetype,
-the following configuration will do:
-
-[source,erlang]
-----
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{mimetypes, cow_mimetypes, all}]}}
-----
-
-You probably noticed the pattern by now. The configuration
-expects a module and a function name, so you can use any
-of your own functions instead:
-
-[source,erlang]
-----
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{mimetypes, Module, Function}]}}
-----
-
-The function that performs the mimetype detection receives
-a single argument that is the path to the file on disk. It
-is recommended to return the mimetype in tuple form, although
-a binary string is also allowed (but will require extra
-processing). If the function can't figure out the mimetype,
-then it should return `{<<"application">>, <<"octet-stream">>, []}`.
-
-When the static handler fails to find the extension,
-it will send the file as `application/octet-stream`.
-A browser receiving such file will attempt to download it
-directly to disk.
-
-Finally, the mimetype can be hard-coded for all files.
-This is especially useful in combination with the `file`
-and `priv_file` options as it avoids needless computation:
-
-[source,erlang]
-----
-{"/", cowboy_static, {priv_file, my_app, "static/index.html",
- [{mimetypes, {<<"text">>, <<"html">>, []}}]}}
-----
-
-=== Generate an etag
-
-By default, the static handler will generate an etag header
-value based on the size and modified time. This solution
-can not be applied to all systems though. It would perform
-rather poorly over a cluster of nodes, for example, as the
-file metadata will vary from server to server, giving a
-different etag on each server.
-
-You can however change the way the etag is calculated:
-
-[source,erlang]
-----
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{etag, Module, Function}]}}
-----
-
-This function will receive three arguments: the path to the
-file on disk, the size of the file and the last modification
-time. In a distributed setup, you would typically use the
-file path to retrieve an etag value that is identical across
-all your servers.
-
-You can also completely disable etag handling:
-
-[source,erlang]
-----
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{etag, false}]}}
-----
diff --git a/docs/en/cowboy/2.0/guide/static_files/index.html b/docs/en/cowboy/2.0/guide/static_files/index.html
deleted file mode 100644
index 9c627e3b..00000000
--- a/docs/en/cowboy/2.0/guide/static_files/index.html
+++ /dev/null
@@ -1,279 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Static files</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Static files</span></h1>
-
-<p>Cowboy comes with a ready to use handler for serving static files. It is provided as a convenience for serving files during development.</p>
-<p>For systems in production, consider using one of the many Content Distribution Network (CDN) available on the market, as they are the best solution for serving files.</p>
-<p>The static handler can serve either one file or all files from a given directory. The etag generation and mime types can be configured.</p>
-<h2 id="_serve_one_file">Serve one file</h2>
-<p>You can use the static handler to serve one specific file from an application&apos;s private directory. This is particularly useful to serve an <em>index.html</em> file when the client requests the <code>/</code> path, for example. The path configured is relative to the given application&apos;s private directory.</p>
-<p>The following rule will serve the file <em>static/index.html</em> from the application <code>my_app</code>&apos;s priv directory whenever the path <code>/</code> is accessed:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">priv_file</font>, <font color="#FF6600">my_app</font>, <font color="#FF0000">"static/index.html"</font>}}</tt></pre>
-</div></div>
-<p>You can also specify the absolute path to a file, or the path to the file relative to the current directory:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">file</font>, <font color="#FF0000">"/var/www/index.html"</font>}}</tt></pre>
-</div></div>
-<h2 id="_serve_all_files_from_a_directory">Serve all files from a directory</h2>
-<p>You can also use the static handler to serve all files that can be found in the configured directory. The handler will use the <code>path_info</code> information to resolve the file location, which means that your route must end with a <code>[...]</code> pattern for it to work. All files are served, including the ones that may be found in subfolders.</p>
-<p>You can specify the directory relative to an application&apos;s private directory.</p>
-<p>The following rule will serve any file found in the application <code>my_app</code>&apos;s priv directory inside the <code>static/assets</code> folder whenever the requested path begins with <code>/assets/</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/assets/[...]"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">priv_dir</font>, <font color="#FF6600">my_app</font>, <font color="#FF0000">"static/assets"</font>}}</tt></pre>
-</div></div>
-<p>You can also specify the absolute path to the directory or set it relative to the current directory:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/assets/[...]"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">dir</font>, <font color="#FF0000">"/var/www/assets"</font>}}</tt></pre>
-</div></div>
-<h2 id="_customize_the_mimetype_detection">Customize the mimetype detection</h2>
-<p>By default, Cowboy will attempt to recognize the mimetype of your static files by looking at the extension.</p>
-<p>You can override the function that figures out the mimetype of the static files. It can be useful when Cowboy is missing a mimetype you need to handle, or when you want to reduce the list to make lookups faster. You can also give a hard-coded mimetype that will be used unconditionally.</p>
-<p>Cowboy comes with two functions built-in. The default function only handles common file types used when building Web applications. The other function is an extensive list of hundreds of mimetypes that should cover almost any need you may have. You can of course create your own function.</p>
-<p>To use the default function, you should not have to configure anything, as it is the default. If you insist, though, the following will do the job:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/assets/[...]"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">priv_dir</font>, <font color="#FF6600">my_app</font>, <font color="#FF0000">"static/assets"</font>,
- [{<font color="#FF6600">mimetypes</font>, <font color="#FF6600">cow_mimetypes</font>, <font color="#FF6600">web</font>}]}}</tt></pre>
-</div></div>
-<p>As you can see, there is an optional field that may contain a list of less used options, like mimetypes or etag. All option types have this optional field.</p>
-<p>To use the function that will detect almost any mimetype, the following configuration will do:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/assets/[...]"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">priv_dir</font>, <font color="#FF6600">my_app</font>, <font color="#FF0000">"static/assets"</font>,
- [{<font color="#FF6600">mimetypes</font>, <font color="#FF6600">cow_mimetypes</font>, <font color="#FF6600">all</font>}]}}</tt></pre>
-</div></div>
-<p>You probably noticed the pattern by now. The configuration expects a module and a function name, so you can use any of your own functions instead:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/assets/[...]"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">priv_dir</font>, <font color="#FF6600">my_app</font>, <font color="#FF0000">"static/assets"</font>,
- [{<font color="#FF6600">mimetypes</font>, <font color="#009900">Module</font>, <font color="#009900">Function</font>}]}}</tt></pre>
-</div></div>
-<p>The function that performs the mimetype detection receives a single argument that is the path to the file on disk. It is recommended to return the mimetype in tuple form, although a binary string is also allowed (but will require extra processing). If the function can&apos;t figure out the mimetype, then it should return <code>{&lt;&lt;&quot;application&quot;&gt;&gt;, &lt;&lt;&quot;octet-stream&quot;&gt;&gt;, []}</code>.</p>
-<p>When the static handler fails to find the extension, it will send the file as <code>application/octet-stream</code>. A browser receiving such file will attempt to download it directly to disk.</p>
-<p>Finally, the mimetype can be hard-coded for all files. This is especially useful in combination with the <code>file</code> and <code>priv_file</code> options as it avoids needless computation:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">priv_file</font>, <font color="#FF6600">my_app</font>, <font color="#FF0000">"static/index.html"</font>,
- [{<font color="#FF6600">mimetypes</font>, {<font color="#990000">&lt;&lt;</font><font color="#FF0000">"text"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"html"</font><font color="#990000">&gt;&gt;</font>, []}}]}}</tt></pre>
-</div></div>
-<h2 id="_generate_an_etag">Generate an etag</h2>
-<p>By default, the static handler will generate an etag header value based on the size and modified time. This solution can not be applied to all systems though. It would perform rather poorly over a cluster of nodes, for example, as the file metadata will vary from server to server, giving a different etag on each server.</p>
-<p>You can however change the way the etag is calculated:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/assets/[...]"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">priv_dir</font>, <font color="#FF6600">my_app</font>, <font color="#FF0000">"static/assets"</font>,
- [{<font color="#FF6600">etag</font>, <font color="#009900">Module</font>, <font color="#009900">Function</font>}]}}</tt></pre>
-</div></div>
-<p>This function will receive three arguments: the path to the file on disk, the size of the file and the last modification time. In a distributed setup, you would typically use the file path to retrieve an etag value that is identical across all your servers.</p>
-<p>You can also completely disable etag handling:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/assets/[...]"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">priv_dir</font>, <font color="#FF6600">my_app</font>, <font color="#FF0000">"static/assets"</font>,
- [{<font color="#FF6600">etag</font>, <font color="#000080">false</font>}]}}</tt></pre>
-</div></div>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/loop_handlers/">
- Loop handlers
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/req/">
- The Req object
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/streams.asciidoc b/docs/en/cowboy/2.0/guide/streams.asciidoc
deleted file mode 100644
index 841a9712..00000000
--- a/docs/en/cowboy/2.0/guide/streams.asciidoc
+++ /dev/null
@@ -1,65 +0,0 @@
-[[streams]]
-== Streams
-
-A stream is the set of messages that form an HTTP
-request/response pair.
-
-The term stream comes from HTTP/2. In Cowboy, it is
-also used when talking about HTTP/1.1 or HTTP/1.0.
-It should not be confused with streaming the request
-or response body.
-
-All versions of HTTP allow clients to initiate
-streams. HTTP/2 is the only one also allowing servers,
-through its server push feature. Both client and
-server-initiated streams go through the same process
-in Cowboy.
-
-=== Stream handlers
-
-Stream handlers must implement five different callbacks.
-Four of them are directly related; one is special.
-
-All callbacks receives the stream ID as first argument.
-
-Most of them can return a list of commands to be executed
-by Cowboy. When callbacks are chained, it is possible to
-intercept and modify these commands. This can be useful
-for modifying responses for example.
-
-The `init/3` callback is invoked when a new request
-comes in. It receives the Req object and the protocol options
-for this listener.
-
-The `data/4` callback is invoked when data from the request
-body is received. It receives both this data and a flag
-indicating whether more is to be expected.
-
-The `info/3` callback is invoked when an Erlang message is
-received for this stream. They will typically be messages
-sent by the request process.
-
-Finally the `terminate/3` callback is invoked with the
-terminate reason for the stream. The return value is ignored.
-Note that as with all terminate callbacks in Erlang, there
-is no strong guarantee that it will be called.
-
-The special callback `early_error/5` is called when an error
-occurs before the request headers were fully received and
-Cowboy is sending a response. It receives the partial Req
-object, the error reason, the protocol options and the response
-Cowboy will send. This response must be returned, possibly
-modified.
-
-=== Built-in handlers
-
-Cowboy comes with two handlers.
-
-`cowboy_stream_h` is the default stream handler.
-It is the core of much of the functionality of Cowboy.
-All chains of stream handlers should call it last.
-
-`cowboy_compress_h` will automatically compress
-responses when possible. It is not enabled by default.
-It is a good example for writing your own handlers
-that will modify responses.
diff --git a/docs/en/cowboy/2.0/guide/streams/index.html b/docs/en/cowboy/2.0/guide/streams/index.html
deleted file mode 100644
index 0082ee5b..00000000
--- a/docs/en/cowboy/2.0/guide/streams/index.html
+++ /dev/null
@@ -1,201 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Streams</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Streams</span></h1>
-
-<p>A stream is the set of messages that form an HTTP request/response pair.</p>
-<p>The term stream comes from HTTP/2. In Cowboy, it is also used when talking about HTTP/1.1 or HTTP/1.0. It should not be confused with streaming the request or response body.</p>
-<p>All versions of HTTP allow clients to initiate streams. HTTP/2 is the only one also allowing servers, through its server push feature. Both client and server-initiated streams go through the same process in Cowboy.</p>
-<h2 id="_stream_handlers">Stream handlers</h2>
-<p>Stream handlers must implement five different callbacks. Four of them are directly related; one is special.</p>
-<p>All callbacks receives the stream ID as first argument.</p>
-<p>Most of them can return a list of commands to be executed by Cowboy. When callbacks are chained, it is possible to intercept and modify these commands. This can be useful for modifying responses for example.</p>
-<p>The <code>init/3</code> callback is invoked when a new request comes in. It receives the Req object and the protocol options for this listener.</p>
-<p>The <code>data/4</code> callback is invoked when data from the request body is received. It receives both this data and a flag indicating whether more is to be expected.</p>
-<p>The <code>info/3</code> callback is invoked when an Erlang message is received for this stream. They will typically be messages sent by the request process.</p>
-<p>Finally the <code>terminate/3</code> callback is invoked with the terminate reason for the stream. The return value is ignored. Note that as with all terminate callbacks in Erlang, there is no strong guarantee that it will be called.</p>
-<p>The special callback <code>early_error/5</code> is called when an error occurs before the request headers were fully received and Cowboy is sending a response. It receives the partial Req object, the error reason, the protocol options and the response Cowboy will send. This response must be returned, possibly modified.</p>
-<h2 id="_built_in_handlers">Built-in handlers</h2>
-<p>Cowboy comes with two handlers.</p>
-<p><code>cowboy_stream_h</code> is the default stream handler. It is the core of much of the functionality of Cowboy. All chains of stream handlers should call it last.</p>
-<p><code>cowboy_compress_h</code> will automatically compress responses when possible. It is not enabled by default. It is a good example for writing your own handlers that will modify responses.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/ws_handlers/">
- Websocket handlers
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/middlewares/">
- Middlewares
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/ws_handlers.asciidoc b/docs/en/cowboy/2.0/guide/ws_handlers.asciidoc
deleted file mode 100644
index 84dfb9bc..00000000
--- a/docs/en/cowboy/2.0/guide/ws_handlers.asciidoc
+++ /dev/null
@@ -1,268 +0,0 @@
-[[ws_handlers]]
-== Websocket handlers
-
-Websocket handlers provide an interface for upgrading HTTP/1.1
-connections to Websocket and sending or receiving frames on
-the Websocket connection.
-
-As Websocket connections are established through the HTTP/1.1
-upgrade mechanism, Websocket handlers need to be able to first
-receive the HTTP request for the upgrade, before switching to
-Websocket and taking over the connection. They can then receive
-or send Websocket frames, handle incoming Erlang messages or
-close the connection.
-
-=== Upgrade
-
-The `init/2` callback is called when the request is received.
-To establish a Websocket connection, you must switch to the
-`cowboy_websocket` module:
-
-[source,erlang]
-----
-init(Req, State) ->
- {cowboy_websocket, Req, State}.
-----
-
-Cowboy will perform the Websocket handshake immediately. Note
-that the handshake will fail if the client did not request an
-upgrade to Websocket.
-
-The Req object becomes unavailable after this function returns.
-Any information required for proper execution of the Websocket
-handler must be saved in the state.
-
-=== Subprotocol
-
-The client may provide a list of Websocket subprotocols it
-supports in the sec-websocket-protocol header. The server *must*
-select one of them and send it back to the client or the
-handshake will fail.
-
-For example, a client could understand both STOMP and MQTT over
-Websocket, and provide the header:
-
-----
-sec-websocket-protocol: v12.stomp, mqtt
-----
-
-If the server only understands MQTT it can return:
-
-----
-sec-websocket-protocol: mqtt
-----
-
-This selection must be done in `init/2`. An example usage could
-be:
-
-[source,erlang]
-----
-init(Req, State) ->
- case cowboy_req:parse_header(<<"sec-websocket-protocol">>, Req) of
- undefined ->
- {cowboy_websocket, Req, State};
- Subprotocols ->
- case lists:keymember(<<"mqtt">>, 1, Subprotocols) of
- true ->
- Req2 = cowboy_req:set_resp_header(<<"sec-websocket-protocol">>,
- <<"mqtt">>, Req),
- {cowboy_websocket, Req2, State};
- false ->
- {stop, Req, State}
- end
- end.
-----
-
-=== Post-upgrade initialization
-
-Cowboy has separate processes for handling the connection
-and requests. Because Websocket takes over the connection,
-the Websocket protocol handling occurs in a different
-process than the request handling.
-
-This is reflected in the different callbacks Websocket
-handlers have. The `init/2` callback is called from the
-temporary request process and the `websocket_` callbacks
-from the connection process.
-
-This means that some initialization cannot be done from
-`init/2`. Anything that would require the current pid,
-or be tied to the current pid, will not work as intended.
-The optional `websocket_init/1` can be used instead:
-
-[source,erlang]
-----
-websocket_init(State) ->
- erlang:start_timer(1000, self(), <<"Hello!">>),
- {ok, State}.
-----
-
-All Websocket callbacks share the same return values. This
-means that we can send frames to the client right after
-the upgrade:
-
-[source,erlang]
-----
-websocket_init(State) ->
- {reply, {text, <<"Hello!">>}, State}.
-----
-
-=== Receiving frames
-
-Cowboy will call `websocket_handle/2` whenever a text, binary,
-ping or pong frame arrives from the client.
-
-The handler can handle or ignore the frames. It can also
-send frames back to the client or stop the connection.
-
-The following snippet echoes back any text frame received and
-ignores all others:
-
-[source,erlang]
-----
-websocket_handle(Frame = {text, _}, State) ->
- {reply, Frame, State};
-websocket_handle(_Frame, State) ->
- {ok, State}.
-----
-
-Note that ping and pong frames require no action from the
-handler as Cowboy will automatically reply to ping frames.
-They are provided for informative purposes only.
-
-=== Receiving Erlang messages
-
-Cowboy will call `websocket_info/2` whenever an Erlang message
-arrives.
-
-The handler can handle or ignore the messages. It can also
-send frames to the client or stop the connection.
-
-The following snippet forwards log messages to the client
-and ignores all others:
-
-[source,erlang]
-----
-websocket_info({log, Text}, State) ->
- {reply, {text, Text}, State};
-websocket_info(_Info, State) ->
- {ok, State}.
-----
-
-=== Sending frames
-
-// @todo This will be deprecated and eventually replaced with a
-// {Commands, State} interface that allows providing more
-// functionality easily.
-
-All `websocket_` callbacks share return values. They may
-send zero, one or many frames to the client.
-
-To send nothing, just return an ok tuple:
-
-[source,erlang]
-----
-websocket_info(_Info, State) ->
- {ok, State}.
-----
-
-To send one frame, return a reply tuple with the frame to send:
-
-[source,erlang]
-----
-websocket_info(_Info, State) ->
- {reply, {text, <<"Hello!">>}, State}.
-----
-
-You can send frames of any type: text, binary, ping, pong
-or close frames.
-
-To send many frames at once, return a reply tuple with the
-list of frames to send:
-
-[source,erlang]
-----
-websocket_info(_Info, State) ->
- {reply, [
- {text, "Hello"},
- {text, <<"world!">>},
- {binary, <<0:8000>>}
- ], State}.
-----
-
-They are sent in the given order.
-
-=== Keeping the connection alive
-
-Cowboy will automatically respond to ping frames sent by
-the client. They are still forwarded to the handler for
-informative purposes, but no further action is required.
-
-Cowboy does not send ping frames itself. The handler can
-do it if required. A better solution in most cases is to
-let the client handle pings. Doing it from the handler
-would imply having an additional timer per connection and
-this can be a considerable cost for servers that need to
-handle large numbers of connections.
-
-Cowboy can be configured to close idle connections
-automatically. It is highly recommended to configure
-a timeout here, to avoid having processes linger longer
-than needed.
-
-The `init/2` callback can set the timeout to be used
-for the connection. For example, this would make Cowboy
-close connections idle for more than 30 seconds:
-
-[source,erlang]
-----
-init(Req, State) ->
- {cowboy_websocket, Req, State, #{
- idle_timeout => 30000}}.
-----
-
-This value cannot be changed once it is set. It defaults to
-`60000`.
-
-=== Saving memory
-
-The Websocket connection process can be set to hibernate
-after the callback returns.
-
-Simply add an `hibernate` field to the ok or reply tuples:
-
-[source,erlang]
-----
-websocket_init(State) ->
- {ok, State, hibernate}.
-
-websocket_handle(_Frame, State) ->
- {ok, State, hibernate}.
-
-websocket_info(_Info, State) ->
- {reply, {text, <<"Hello!">>}, State, hibernate}.
-----
-
-It is highly recommended to write your handlers with
-hibernate enabled, as this allows to greatly reduce the
-memory usage. Do note however that an increase in the
-CPU usage or latency can be observed instead, in particular
-for the more busy connections.
-
-=== Closing the connection
-
-The connection can be closed at any time, either by telling
-Cowboy to stop it or by sending a close frame.
-
-To tell Cowboy to close the connection, use a stop tuple:
-
-[source,erlang]
-----
-websocket_info(_Info, State) ->
- {stop, State}.
-----
-
-Sending a `close` frame will immediately initiate the closing
-of the Websocket connection. Note that when sending a list of
-frames that include a close frame, any frame found after the
-close frame will not be sent.
diff --git a/docs/en/cowboy/2.0/guide/ws_handlers/index.html b/docs/en/cowboy/2.0/guide/ws_handlers/index.html
deleted file mode 100644
index ee62da35..00000000
--- a/docs/en/cowboy/2.0/guide/ws_handlers/index.html
+++ /dev/null
@@ -1,348 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Websocket handlers</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Websocket handlers</span></h1>
-
-<p>Websocket handlers provide an interface for upgrading HTTP/1.1 connections to Websocket and sending or receiving frames on the Websocket connection.</p>
-<p>As Websocket connections are established through the HTTP/1.1 upgrade mechanism, Websocket handlers need to be able to first receive the HTTP request for the upgrade, before switching to Websocket and taking over the connection. They can then receive or send Websocket frames, handle incoming Erlang messages or close the connection.</p>
-<h2 id="_upgrade">Upgrade</h2>
-<p>The <code>init/2</code> callback is called when the request is received. To establish a Websocket connection, you must switch to the <code>cowboy_websocket</code> module:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">cowboy_websocket</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy will perform the Websocket handshake immediately. Note that the handshake will fail if the client did not request an upgrade to Websocket.</p>
-<p>The Req object becomes unavailable after this function returns. Any information required for proper execution of the Websocket handler must be saved in the state.</p>
-<h2 id="_subprotocol">Subprotocol</h2>
-<p>The client may provide a list of Websocket subprotocols it supports in the sec-websocket-protocol header. The server <strong>must</strong> select one of them and send it back to the client or the handshake will fail.</p>
-<p>For example, a client could understand both STOMP and MQTT over Websocket, and provide the header:</p>
-<div class="listingblock"><div class="content"><pre>sec-websocket-protocol: v12.stomp, mqtt</pre></div></div>
-<p>If the server only understands MQTT it can return:</p>
-<div class="listingblock"><div class="content"><pre>sec-websocket-protocol: mqtt</pre></div></div>
-<p>This selection must be done in <code>init/2</code>. An example usage could be:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sec-websocket-protocol"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>) <b><font color="#0000FF">of</font></b>
- <font color="#000080">undefined</font> <font color="#990000">-&gt;</font>
- {<font color="#FF6600">cowboy_websocket</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>};
- <font color="#009900">Subprotocols</font> <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">lists:keymember</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"mqtt"</font><font color="#990000">&gt;&gt;</font>, <font color="#993399">1</font>, <font color="#009900">Subprotocols</font>) <b><font color="#0000FF">of</font></b>
- <font color="#000080">true</font> <font color="#990000">-&gt;</font>
- <font color="#009900">Req2</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sec-websocket-protocol"</font><font color="#990000">&gt;&gt;</font>,
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"mqtt"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>),
- {<font color="#FF6600">cowboy_websocket</font>, <font color="#009900">Req2</font>, <font color="#009900">State</font>};
- <font color="#000080">false</font> <font color="#990000">-&gt;</font>
- {<font color="#FF6600">stop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
- <b><font color="#0000FF">end</font></b>
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_post_upgrade_initialization">Post-upgrade initialization</h2>
-<p>Cowboy has separate processes for handling the connection and requests. Because Websocket takes over the connection, the Websocket protocol handling occurs in a different process than the request handling.</p>
-<p>This is reflected in the different callbacks Websocket handlers have. The <code>init/2</code> callback is called from the temporary request process and the <code>websocket_</code> callbacks from the connection process.</p>
-<p>This means that some initialization cannot be done from <code>init/2</code>. Anything that would require the current pid, or be tied to the current pid, will not work as intended. The optional <code>websocket_init/1</code> can be used instead:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_init</font></b>(<font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <b><font color="#000000">erlang:start_timer</font></b>(<font color="#993399">1000</font>, <b><font color="#000080">self</font></b>(), <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello!"</font><font color="#990000">&gt;&gt;</font>),
- {<font color="#FF6600">ok</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>All Websocket callbacks share the same return values. This means that we can send frames to the client right after the upgrade:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_init</font></b>(<font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">reply</font>, {<font color="#FF6600">text</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello!"</font><font color="#990000">&gt;&gt;</font>}, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_receiving_frames">Receiving frames</h2>
-<p>Cowboy will call <code>websocket_handle/2</code> whenever a text, binary, ping or pong frame arrives from the client.</p>
-<p>The handler can handle or ignore the frames. It can also send frames back to the client or stop the connection.</p>
-<p>The following snippet echoes back any text frame received and ignores all others:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_handle</font></b>(<font color="#009900">Frame</font> <font color="#990000">=</font> {<font color="#FF6600">text</font>, <font color="#990000">_</font>}, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">reply</font>, <font color="#009900">Frame</font>, <font color="#009900">State</font>};
-<b><font color="#000000">websocket_handle</font></b>(<font color="#009900">_Frame</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Note that ping and pong frames require no action from the handler as Cowboy will automatically reply to ping frames. They are provided for informative purposes only.</p>
-<h2 id="_receiving_erlang_messages">Receiving Erlang messages</h2>
-<p>Cowboy will call <code>websocket_info/2</code> whenever an Erlang message arrives.</p>
-<p>The handler can handle or ignore the messages. It can also send frames to the client or stop the connection.</p>
-<p>The following snippet forwards log messages to the client and ignores all others:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_info</font></b>({<b><font color="#000080">log</font></b>, <font color="#009900">Text</font>}, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">reply</font>, {<font color="#FF6600">text</font>, <font color="#009900">Text</font>}, <font color="#009900">State</font>};
-<b><font color="#000000">websocket_info</font></b>(<font color="#009900">_Info</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_sending_frames">Sending frames</h2>
-<!-- @todo This will be deprecated and eventually replaced with a-->
-<!-- {Commands, State} interface that allows providing more-->
-<!-- functionality easily.-->
-<p>All <code>websocket_</code> callbacks share return values. They may send zero, one or many frames to the client.</p>
-<p>To send nothing, just return an ok tuple:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_info</font></b>(<font color="#009900">_Info</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>To send one frame, return a reply tuple with the frame to send:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_info</font></b>(<font color="#009900">_Info</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">reply</font>, {<font color="#FF6600">text</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello!"</font><font color="#990000">&gt;&gt;</font>}, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You can send frames of any type: text, binary, ping, pong or close frames.</p>
-<p>To send many frames at once, return a reply tuple with the list of frames to send:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_info</font></b>(<font color="#009900">_Info</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">reply</font>, [
- {<font color="#FF6600">text</font>, <font color="#FF0000">"Hello"</font>},
- {<font color="#FF6600">text</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"world!"</font><font color="#990000">&gt;&gt;</font>},
- {<b><font color="#000080">binary</font></b>, <font color="#990000">&lt;&lt;</font><font color="#993399">0</font><font color="#990000">:</font><font color="#993399">8000</font><font color="#990000">&gt;&gt;</font>}
- ], <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>They are sent in the given order.</p>
-<h2 id="_keeping_the_connection_alive">Keeping the connection alive</h2>
-<p>Cowboy will automatically respond to ping frames sent by the client. They are still forwarded to the handler for informative purposes, but no further action is required.</p>
-<p>Cowboy does not send ping frames itself. The handler can do it if required. A better solution in most cases is to let the client handle pings. Doing it from the handler would imply having an additional timer per connection and this can be a considerable cost for servers that need to handle large numbers of connections.</p>
-<p>Cowboy can be configured to close idle connections automatically. It is highly recommended to configure a timeout here, to avoid having processes linger longer than needed.</p>
-<p>The <code>init/2</code> callback can set the timeout to be used for the connection. For example, this would make Cowboy close connections idle for more than 30 seconds:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">cowboy_websocket</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>, #{
- <font color="#0000FF">idle_timeout</font> <font color="#990000">=&gt;</font> <font color="#993399">30000</font>}}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>This value cannot be changed once it is set. It defaults to <code>60000</code>.</p>
-<h2 id="_saving_memory">Saving memory</h2>
-<p>The Websocket connection process can be set to hibernate after the callback returns.</p>
-<p>Simply add an <code>hibernate</code> field to the ok or reply tuples:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_init</font></b>(<font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}<font color="#990000">.</font>
-
-<b><font color="#000000">websocket_handle</font></b>(<font color="#009900">_Frame</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}<font color="#990000">.</font>
-
-<b><font color="#000000">websocket_info</font></b>(<font color="#009900">_Info</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">reply</font>, {<font color="#FF6600">text</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello!"</font><font color="#990000">&gt;&gt;</font>}, <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>It is highly recommended to write your handlers with hibernate enabled, as this allows to greatly reduce the memory usage. Do note however that an increase in the CPU usage or latency can be observed instead, in particular for the more busy connections.</p>
-<h2 id="_closing_the_connection">Closing the connection</h2>
-<p>The connection can be closed at any time, either by telling Cowboy to stop it or by sending a close frame.</p>
-<p>To tell Cowboy to close the connection, use a stop tuple:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_info</font></b>(<font color="#009900">_Info</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">stop</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Sending a <code>close</code> frame will immediately initiate the closing of the Websocket connection. Note that when sending a list of frames that include a close frame, any frame found after the close frame will not be sent.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/ws_protocol/">
- The Websocket protocol
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/streams/">
- Streams
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/guide/ws_protocol.asciidoc b/docs/en/cowboy/2.0/guide/ws_protocol.asciidoc
deleted file mode 100644
index 8fa0673d..00000000
--- a/docs/en/cowboy/2.0/guide/ws_protocol.asciidoc
+++ /dev/null
@@ -1,69 +0,0 @@
-[[ws_protocol]]
-== The Websocket protocol
-
-This chapter explains what Websocket is and why it is
-a vital component of soft realtime Web applications.
-
-=== Description
-
-Websocket is an extension to HTTP that emulates plain TCP
-connections between the client, typically a Web browser,
-and the server. It uses the HTTP Upgrade mechanism to
-establish the connection.
-
-Websocket connections are fully asynchronous, unlike
-HTTP/1.1 (synchronous) and HTTP/2 (asynchronous, but the
-server can only initiate streams in response to requests).
-With Websocket, the client and the server can both send
-frames at any time without any restriction. It is closer
-to TCP than any of the HTTP protocols.
-
-Websocket is an IETF standard. Cowboy supports the standard
-and all drafts that were previously implemented by browsers,
-excluding the initial flawed draft sometimes known as
-"version 0".
-
-=== Websocket vs HTTP/2
-
-For a few years Websocket was the only way to have a
-bidirectional asynchronous connection with the server.
-This changed when HTTP/2 was introduced. While HTTP/2
-requires the client to first perform a request before
-the server can push data, this is only a minor restriction
-as the client can do so just as it connects.
-
-Websocket was designed as a kind-of-TCP channel to a
-server. It only defines the framing and connection
-management and lets the developer implement a protocol
-on top of it. For example you could implement IRC over
-Websocket and use a Javascript IRC client to speak to
-the server.
-
-HTTP/2 on the other hand is just an improvement over
-the HTTP/1.1 connection and request/response mechanism.
-It has the same semantics as HTTP/1.1.
-
-If all you need is to access an HTTP API, then HTTP/2
-should be your first choice. On the other hand, if what
-you need is a different protocol, then you can use
-Websocket to implement it.
-
-=== Implementation
-
-Cowboy implements Websocket as a protocol upgrade. Once the
-upgrade is performed from the `init/2` callback, Cowboy
-switches to Websocket. Please consult the next chapter for
-more information on initiating and handling Websocket
-connections.
-
-The implementation of Websocket in Cowboy is validated using
-the Autobahn test suite, which is an extensive suite of tests
-covering all aspects of the protocol. Cowboy passes the
-suite with 100% success, including all optional tests.
-
-Cowboy's Websocket implementation also includes the
-permessage-deflate and x-webkit-deflate-frame compression
-extensions.
-
-Cowboy will automatically use compression when the
-`compress` option is returned from the `init/2` function.
diff --git a/docs/en/cowboy/2.0/guide/ws_protocol/index.html b/docs/en/cowboy/2.0/guide/ws_protocol/index.html
deleted file mode 100644
index 7437130f..00000000
--- a/docs/en/cowboy/2.0/guide/ws_protocol/index.html
+++ /dev/null
@@ -1,200 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: The Websocket protocol</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>The Websocket protocol</span></h1>
-
-<p>This chapter explains what Websocket is and why it is a vital component of soft realtime Web applications.</p>
-<h2 id="_description">Description</h2>
-<p>Websocket is an extension to HTTP that emulates plain TCP connections between the client, typically a Web browser, and the server. It uses the HTTP Upgrade mechanism to establish the connection.</p>
-<p>Websocket connections are fully asynchronous, unlike HTTP/1.1 (synchronous) and HTTP/2 (asynchronous, but the server can only initiate streams in response to requests). With Websocket, the client and the server can both send frames at any time without any restriction. It is closer to TCP than any of the HTTP protocols.</p>
-<p>Websocket is an IETF standard. Cowboy supports the standard and all drafts that were previously implemented by browsers, excluding the initial flawed draft sometimes known as &quot;version 0&quot;.</p>
-<h2 id="_websocket_vs_http_2">Websocket vs HTTP/2</h2>
-<p>For a few years Websocket was the only way to have a bidirectional asynchronous connection with the server. This changed when HTTP/2 was introduced. While HTTP/2 requires the client to first perform a request before the server can push data, this is only a minor restriction as the client can do so just as it connects.</p>
-<p>Websocket was designed as a kind-of-TCP channel to a server. It only defines the framing and connection management and lets the developer implement a protocol on top of it. For example you could implement IRC over Websocket and use a Javascript IRC client to speak to the server.</p>
-<p>HTTP/2 on the other hand is just an improvement over the HTTP/1.1 connection and request/response mechanism. It has the same semantics as HTTP/1.1.</p>
-<p>If all you need is to access an HTTP API, then HTTP/2 should be your first choice. On the other hand, if what you need is a different protocol, then you can use Websocket to implement it.</p>
-<h2 id="_implementation">Implementation</h2>
-<p>Cowboy implements Websocket as a protocol upgrade. Once the upgrade is performed from the <code>init/2</code> callback, Cowboy switches to Websocket. Please consult the next chapter for more information on initiating and handling Websocket connections.</p>
-<p>The implementation of Websocket in Cowboy is validated using the Autobahn test suite, which is an extensive suite of tests covering all aspects of the protocol. Cowboy passes the suite with 100% success, including all optional tests.</p>
-<p>Cowboy&apos;s Websocket implementation also includes the permessage-deflate and x-webkit-deflate-frame compression extensions.</p>
-<p>Cowboy will automatically use compression when the <code>compress</code> option is returned from the <code>init/2</code> function.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/resource_design/">
- Designing a resource handler
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.0/guide/ws_handlers/">
- Websocket handlers
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy.start_clear/index.html b/docs/en/cowboy/2.0/manual/cowboy.start_clear/index.html
deleted file mode 100644
index 1ff885c3..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy.start_clear/index.html
+++ /dev/null
@@ -1,233 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy:start_clear(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy:start_clear(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy:start_clear - Listen for connections using plain TCP</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">start_clear</font></b>(<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>(),
- <font color="#009900">TransportOpts</font> <font color="#990000">::</font> <b><font color="#000000">ranch_tcp:opts</font></b>(),
- <font color="#009900">ProtocolOpts</font> <font color="#990000">::</font> <b><font color="#000000">opts</font></b>())
- <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">ListenerPid</font> <font color="#990000">::</font> <b><font color="#000080">pid</font></b>()}
- | {<font color="#FF6600">error</font>, <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>Start listening for connections over a clear TCP channel.</p>
-<p>Both HTTP/1.1 and HTTP/2 are supported on this listener. HTTP/2 has two methods of establishing a connection over a clear TCP channel. Both the upgrade and the prior knowledge methods are supported.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>The listener name is used to refer to this listener in future calls, for example when stopping it or when updating the routes defined.</p>
-<p>It can be any Erlang term. An atom is generally good enough, for example <code>api</code>, <code>my_app_clear</code> or <code>my_app_tls</code>.</p>
-</dd>
-<dt>TransportOpts</dt>
-<dd><p>The transport options are where the TCP options, including the listener&apos;s port number, are defined. Transport options are provided as a list of keys and values, for example <code>[{port, 8080}]</code>.</p>
-<p>The available options are documented in the <a href="../ranch_tcp">ranch_tcp(3)</a> manual.</p>
-</dd>
-<dt>ProtocolOpts</dt>
-<dd><p>The protocol options are in a map containing all the options for the different protocols that may be involved when connecting to the listener, including HTTP/1.1 and HTTP/2.</p>
-<p>The HTTP/1.1 options are documented in the <a href="../cowboy_http">cowboy_http(3)</a> manual; and the HTTP/2 options in <a href="../cowboy_http2">cowboy_http2(3)</a>.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>An ok tuple is returned on success. It contains the pid of the top-level supervisor for the listener.</p>
-<p>An error tuple is returned on error. The error reason may be any Erlang term.</p>
-<p>A common error is <code>eaddrinuse</code>. It indicates that the port configured for Cowboy is already in use.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: HTTP/2 support added.
-</li>
-<li><strong>2.0</strong>: Function introduced. Replaces <code>cowboy:start_http/4</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Start a listener</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>([
- {<font color="#FF6600">'_'</font>, [
- {<font color="#FF0000">"/"</font>, <font color="#FF6600">toppage_h</font>, []}
- ]}
-]),
-
-{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_clear</font></b>(<font color="#FF6600">example</font>, [{<font color="#FF6600">port</font>, <font color="#993399">8080</font>}], #{
- <font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}
-})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Start a listener on a random port</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Name</font> <font color="#990000">=</font> <font color="#FF6600">example</font>,
-
-{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_clear</font></b>(<font color="#009900">Name</font>, [], #{
- <font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}
-}),
-
-<font color="#009900">Port</font> <font color="#990000">=</font> <b><font color="#000000">ranch:get_port</font></b>(<font color="#009900">Name</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy">cowboy(3)</a>, <a href="../cowboy.start_tls">cowboy:start_tls(3)</a>, <a href="../cowboy.stop_listener">cowboy:stop_listener(3)</a>, <a href="../ranch">ranch(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy/index.html b/docs/en/cowboy/2.0/manual/cowboy/index.html
deleted file mode 100644
index b55d1df3..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy/index.html
+++ /dev/null
@@ -1,232 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy - HTTP server</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy</code> provides convenience functions for manipulating Ranch listeners.</p>
-<h2 id="_exports">Exports</h2>
-<ul><li><a href="../cowboy.start_clear">cowboy:start_clear(3)</a> - Listen for connections using plain TCP
-</li>
-<li><a href="../cowboy.start_tls">cowboy:start_tls(3)</a> - Listen for connections using TLS
-</li>
-<li><a href="../cowboy.stop_listener">cowboy:stop_listener(3)</a> - Stop the given listener
-</li>
-<li><a href="../cowboy.set_env">cowboy:set_env(3)</a> - Update a listener&apos;s environment value
-</li>
-</ul>
-<h2 id="_types">Types</h2>
-<h3 id="_fields">fields()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">fields</font></b>() <font color="#990000">::</font> [<font color="#009900">Name</font>
- | {<font color="#009900">Name</font>, <font color="#009900">Constraints</font>}
- | {<font color="#009900">Name</font>, <font color="#009900">Constraints</font>, <font color="#009900">Default</font>}]
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>()
-<font color="#009900">Constraints</font> <font color="#990000">::</font> <font color="#009900">Constraint</font> | [<font color="#009900">Constraint</font>]
-<font color="#009900">Constraint</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_constraints:constraint</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
-</div></div>
-<p>Fields description for match operations.</p>
-<p>This type is used in <a href="../cowboy_router">cowboy_router(3)</a> for matching bindings and in the match functions found in <a href="../cowboy_req">cowboy_req(3)</a>.</p>
-<h3 id="_http_headers">http_headers()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">http_headers</font></b>() <font color="#990000">::</font> #{<b><font color="#000080">binary</font></b>() <font color="#990000">=&gt;</font> <b><font color="#000000">iodata</font></b>()}</tt></pre>
-</div></div>
-<p>HTTP headers.</p>
-<h3 id="_http_status">http_status()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">http_status</font></b>() <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>() | <b><font color="#000080">binary</font></b>()</tt></pre>
-</div></div>
-<p>HTTP response status.</p>
-<p>A binary status can be used to set a reason phrase. Note however that HTTP/2 only sends the status code and drops the reason phrase entirely.</p>
-<h3 id="_http_version">http_version()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">http_version</font></b>() <font color="#990000">::</font> <font color="#FF6600">'HTTP/2'</font> | <font color="#FF6600">'HTTP/1.1'</font> | <font color="#FF6600">'HTTP/1.0'</font></tt></pre>
-</div></div>
-<p>HTTP version.</p>
-<p>Note that semantically, HTTP/1.1 and HTTP/2 are equivalent.</p>
-<h3 id="_opts">opts()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">opts</font></b>() <font color="#990000">::</font> <b><font color="#000000">map</font></b>()</tt></pre>
-</div></div>
-<p>Options for the HTTP/1.1, HTTP/2 and Websocket protocols.</p>
-<p>The protocol options are in a map containing all the options for the different protocols that may be involved when connecting to the listener, including HTTP/1.1 and HTTP/2.</p>
-<p>The HTTP/1.1 options are documented in the <a href="../cowboy_http">cowboy_http(3)</a> manual and the HTTP/2 options in <a href="../cowboy_http2">cowboy_http2(3)</a>.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../ranch">ranch(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_app/index.html b/docs/en/cowboy/2.0/manual/cowboy_app/index.html
deleted file mode 100644
index e5cc45e3..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_app/index.html
+++ /dev/null
@@ -1,233 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy(7)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy(7)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy - Small, fast, modern HTTP server for Erlang/OTP</p>
-<h2 id="_description">Description</h2>
-<p>Cowboy is an HTTP server for Erlang/OTP with support for the HTTP/1.1, HTTP/2 and Websocket protocols.</p>
-<p>Cowboy aims to provide a complete HTTP stack. This includes the implementation of the HTTP RFCs but also any directly related standards, like Websocket or Server-Sent Events.</p>
-<h2 id="_modules">Modules</h2>
-<p>Functions:</p>
-<ul><li><a href="../cowboy">cowboy(3)</a> - Listener management
-</li>
-<li><a href="../cowboy_req">cowboy_req(3)</a> - Request and response
-</li>
-<li><a href="../cowboy_router">cowboy_router(3)</a> - Router
-</li>
-<li><a href="../cowboy_constraints">cowboy_constraints(3)</a> - Constraints
-</li>
-</ul>
-<p>Protocols:</p>
-<ul><li><a href="../cowboy_http">cowboy_http(3)</a> - HTTP/1.1
-</li>
-<li><a href="../cowboy_http2">cowboy_http2(3)</a> - HTTP/2
-</li>
-<li><a href="../cowboy_websocket">cowboy_websocket(3)</a> - Websocket
-</li>
-</ul>
-<p>Handlers:</p>
-<ul><li><a href="../cowboy_static">cowboy_static(3)</a> - Static file handler
-</li>
-</ul>
-<p>Behaviors:</p>
-<ul><li><a href="../cowboy_handler">cowboy_handler(3)</a> - Plain HTTP handlers
-</li>
-<li><a href="../cowboy_loop">cowboy_loop(3)</a> - Loop handlers
-</li>
-<li><a href="../cowboy_middleware">cowboy_middleware(3)</a> - Middlewares
-</li>
-<li><a href="../cowboy_rest">cowboy_rest(3)</a> - REST handlers
-</li>
-<li><a href="../cowboy_stream">cowboy_stream(3)</a> - Stream handlers
-</li>
-<li><a href="../cowboy_websocket">cowboy_websocket(3)</a> - Websocket handlers
-</li>
-</ul>
-<p>Middlewares:</p>
-<ul><li><a href="../cowboy_router">cowboy_router(3)</a> - Router middleware
-</li>
-<li><a href="../cowboy_handler">cowboy_handler(3)</a> - Handler middleware
-</li>
-</ul>
-<!-- @todo http_status_codes is not linked to; what to do with it?-->
-<h2 id="_dependencies">Dependencies</h2>
-<ul><li><a href="../ranch">ranch(7)</a> - Socket acceptor pool for TCP protocols
-</li>
-<li><a href="../cowlib">cowlib(7)</a> - Support library for manipulating Web protocols
-</li>
-<li>ssl - Secure communication over sockets
-</li>
-<li>crypto - Crypto functions
-</li>
-</ul>
-<p>All these applications must be started before the <code>cowboy</code> application. To start Cowboy and all dependencies at once:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">application:ensure_all_started</font></b>(<font color="#FF6600">cowboy</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_environment">Environment</h2>
-<p>The <code>cowboy</code> application does not define any application environment configuration parameters.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="../ranch">ranch(7)</a>, <a href="../cowlib">cowlib(7)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_constraints.int/index.html b/docs/en/cowboy/2.0/manual/cowboy_constraints.int/index.html
deleted file mode 100644
index 4c48a98c..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_constraints.int/index.html
+++ /dev/null
@@ -1,208 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_constraints:int(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_constraints:int(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_constraints:int - Integer constraint</p>
-<h2 id="_description">Description</h2>
-<p>Constraint functions implement a number of different operations.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">int</font></b>(<font color="#FF6600">forward</font>, <font color="#009900">Bin</font>) <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Int</font>} | {<font color="#FF6600">error</font>, <font color="#FF6600">not_an_integer</font>}
-
-<font color="#009900">Bin</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()
-<font color="#009900">Int</font> <font color="#990000">::</font> <b><font color="#000080">integer</font></b>()</tt></pre>
-</div></div>
-<p>Validate and convert the text representation of an integer.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">int</font></b>(<font color="#FF6600">reverse</font>, <font color="#009900">Int</font>) <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Bin</font>} | {<font color="#FF6600">error</font>, <font color="#FF6600">not_an_integer</font>}</tt></pre>
-</div></div>
-<p>Convert an integer back to its text representation.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">int</font></b>(<font color="#FF6600">format_error</font>, <font color="#009900">Error</font>) <font color="#990000">-&gt;</font> <font color="#009900">HumanReadable</font>
-
-<font color="#009900">Error</font> <font color="#990000">::</font> {<font color="#FF6600">not_an_integer</font>, <font color="#009900">Bin</font> | <font color="#009900">Int</font>}
-<font color="#009900">HumanReadable</font> <font color="#990000">::</font> <b><font color="#000000">iolist</font></b>()</tt></pre>
-</div></div>
-<p>Generate a human-readable error message.</p>
-<h2 id="_arguments">Arguments</h2>
-<p>Arguments vary depending on the operation. Constraint functions always take the operation type as first argument, and the value as second argument.</p>
-<h2 id="_return_value">Return value</h2>
-<p>The return value varies depending on the operation.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Interface modified to allow for a variety of operations.
-</li>
-<li><strong>1.0</strong>: Constraint introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<p>This function is not meant to be called directly.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_constraints">cowboy_constraints(3)</a>, <a href="../cowboy_constraints.nonempty">cowboy_constraints:nonempty(3)</a>, <a href="../cowboy_router">cowboy_router(3)</a>, <a href="../cowboy_req.match_cookies">cowboy_req:match_cookies(3)</a>, <a href="../cowboy_req.match_qs">cowboy_req:match_qs(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_constraints.nonempty/index.html b/docs/en/cowboy/2.0/manual/cowboy_constraints.nonempty/index.html
deleted file mode 100644
index 522d386c..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_constraints.nonempty/index.html
+++ /dev/null
@@ -1,207 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_constraints:nonempty(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_constraints:nonempty(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_constraints:nonempty - Non-empty constraint</p>
-<h2 id="_description">Description</h2>
-<p>Constraint functions implement a number of different operations.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">nonempty</font></b>(<font color="#FF6600">forward</font> | <font color="#FF6600">reverse</font>, <font color="#990000">&lt;&lt;&gt;&gt;</font>) <font color="#990000">-&gt;</font> {<font color="#FF6600">error</font>, <font color="#FF6600">empty</font>}</tt></pre>
-</div></div>
-<p>Reject empty values.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">nonempty</font></b>(<font color="#FF6600">forward</font> | <font color="#FF6600">reverse</font>, <font color="#009900">Bin</font>) <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Bin</font>}
-
-<font color="#009900">Bin</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()</tt></pre>
-</div></div>
-<p>Accept any other binary values.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">nonempty</font></b>(<font color="#FF6600">format_error</font>, <font color="#009900">Error</font>) <font color="#990000">-&gt;</font> <font color="#009900">HumanReadable</font>
-
-<font color="#009900">Error</font> <font color="#990000">::</font> {<font color="#FF6600">empty</font>, <font color="#009900">Bin</font>}
-<font color="#009900">HumanReadable</font> <font color="#990000">::</font> <b><font color="#000000">iolist</font></b>()</tt></pre>
-</div></div>
-<p>Generate a human-readable error message.</p>
-<h2 id="_arguments">Arguments</h2>
-<p>Arguments vary depending on the operation. Constraint functions always take the operation type as first argument, and the value as second argument.</p>
-<h2 id="_return_value">Return value</h2>
-<p>The return value varies depending on the operation.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Interface modified to allow for a variety of operations.
-</li>
-<li><strong>1.0</strong>: Constraint introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<p>This function is not meant to be called directly.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_constraints">cowboy_constraints(3)</a>, <a href="../cowboy_constraints.int">cowboy_constraints:int(3)</a>, <a href="../cowboy_router">cowboy_router(3)</a>, <a href="../cowboy_req.match_cookies">cowboy_req:match_cookies(3)</a>, <a href="../cowboy_req.match_qs">cowboy_req:match_qs(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_constraints/index.html b/docs/en/cowboy/2.0/manual/cowboy_constraints/index.html
deleted file mode 100644
index 5b32edbc..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_constraints/index.html
+++ /dev/null
@@ -1,199 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_constraints(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_constraints(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_constraints - Constraints</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_constraints</code> defines the built-in constraints in Cowboy and provides an interface for manipulating these constraints.</p>
-<p>Constraints are functions that define what type of input is allowed. They are used throughout Cowboy, from the router to query strings to cookies.</p>
-<h2 id="_exports">Exports</h2>
-<p>Built-in constraints:</p>
-<ul><li><a href="../cowboy_constraints.int">cowboy_constraints:int(3)</a> - Integer constraint
-</li>
-<li><a href="../cowboy_constraints.nonempty">cowboy_constraints:nonempty(3)</a> - Non-empty constraint
-</li>
-</ul>
-<h2 id="_types">Types</h2>
-<h3 id="_constraint">constraint()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">constraint</font></b>() <font color="#990000">::</font> <font color="#FF6600">int</font> | <font color="#FF6600">nonempty</font> | <b><font color="#0000FF">fun</font></b>()</tt></pre>
-</div></div>
-<p>A constraint function.</p>
-<p>The atom constraints are built-in, see the corresponding function in the exports list above.</p>
-<h3 id="_reason">reason()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">reason</font></b>() <font color="#990000">::</font> {<b><font color="#000000">constraint</font></b>(), <font color="#009900">Reason</font>, <font color="#009900">Value</font>}
-
-<font color="#009900">Reason</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
-</div></div>
-<p>Reason for the constraint failure.</p>
-<p>It includes the constraint function in question, a machine-readable error reason and the value that made the constraint fail.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy">cowboy(3)</a>, <a href="../cowboy_router">cowboy_router(3)</a>, <a href="../cowboy_req.match_cookies">cowboy_req:match_cookies(3)</a>, <a href="../cowboy_req.match_qs">cowboy_req:match_qs(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_handler/index.html b/docs/en/cowboy/2.0/manual/cowboy_handler/index.html
deleted file mode 100644
index 9cc1816a..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_handler/index.html
+++ /dev/null
@@ -1,202 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_handler(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_handler(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_handler - Plain HTTP handlers</p>
-<h2 id="_description">Description</h2>
-<p>The <code>cowboy_handler</code> middleware executes the handler selected by the router or any other preceding middleware.</p>
-<p>This middleware takes the handler module and initial state from the <code>handler</code> and <code>handler_opts</code> environment values, respectively. On completion, it adds a <code>result</code> value to the middleware environment, containing the return value of the <code>terminate/3</code> callback (if defined) and <code>ok</code> otherwise.</p>
-<p>This module also defines a callback interface for handling HTTP requests.</p>
-<h2 id="_callbacks">Callbacks</h2>
-<p>Plain HTTP handlers implement the following interface:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<b><font color="#000000">terminate</font></b>(<font color="#009900">Reason</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> <i><font color="#9A1900">%% optional</font></i>
-
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">State</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Reason</font> <font color="#990000">::</font> <b><font color="#000080">normal</font></b>
- | {<font color="#FF6600">crash</font>, <font color="#FF6600">error</font> | <b><font color="#000080">exit</font></b> | <b><font color="#000080">throw</font></b>, <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>These two callbacks are common to all handlers.</p>
-<p>Plain HTTP handlers do all their work in the <code>init/2</code> callback. Returning <code>ok</code> terminates the handler. If no response is sent, Cowboy will send a <code>204 No Content</code>.</p>
-<p>The optional <code>terminate/3</code> callback will ultimately be called with the reason for the termination of the handler. Cowboy will terminate the process right after this. There is no need to perform any cleanup in this callback.</p>
-<p>The following terminate reasons are defined for plain HTTP handlers:</p>
-<dl><dt>normal</dt>
-<dd><p>The connection was closed normally.</p>
-</dd>
-<dt>{crash, Class, Reason}</dt>
-<dd><p>A crash occurred in the handler. <code>Class</code> and <code>Reason</code> can be used to obtain more information about the crash. The function <code>erlang:get_stacktrace/0</code> can also be called to obtain the stacktrace of the process when the crash occurred.</p>
-</dd>
-</dl>
-<h2 id="_exports">Exports</h2>
-<p>The following function should be called by modules implementing custom handlers to execute the optional terminate callback:</p>
-<ul><li><a href="../cowboy_handler.terminate">cowboy_handler:terminate(3)</a> - Terminate the handler
-</li>
-</ul>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_http/index.html b/docs/en/cowboy/2.0/manual/cowboy_http/index.html
deleted file mode 100644
index 2c077dda..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_http/index.html
+++ /dev/null
@@ -1,266 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_http(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_http(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_http - HTTP/1.1</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_http</code> implements HTTP/1.1 and HTTP/1.0 as a Ranch protocol.</p>
-<h2 id="_options">Options</h2>
-<!-- @todo Might be worth moving cowboy_clear/tls/stream_h options-->
-<!-- to their respective manual, when they are added.-->
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">opts</font></b>() <font color="#990000">::</font> #{
- <font color="#0000FF">connection_type</font> <font color="#990000">=&gt;</font> <font color="#FF6600">worker</font> | <font color="#FF6600">supervisor</font>,
- <font color="#0000FF">env</font> <font color="#990000">=&gt;</font> <b><font color="#000000">cowboy_middleware:env</font></b>(),
- <font color="#0000FF">idle_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
- <font color="#0000FF">inactivity_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
- <font color="#0000FF">max_empty_lines</font> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">max_header_name_length</font> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">max_header_value_length</font> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">max_headers</font> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">max_keepalive</font> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">max_method_length</font> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">max_request_line_length</font> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">middlewares</font> <font color="#990000">=&gt;</font> [<b><font color="#000000">module</font></b>()],
- <font color="#0000FF">request_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
- <font color="#000080">shutdown</font><font color="#009900">_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
- <font color="#0000FF">stream_handlers</font> <font color="#990000">=&gt;</font> [<b><font color="#000000">module</font></b>()]
-}</tt></pre>
-</div></div>
-<p>Configuration for the HTTP/1.1 protocol.</p>
-<p>This configuration is passed to Cowboy when starting listeners using <code>cowboy:start_clear/3</code> or <code>cowboy:start_tls/3</code> functions.</p>
-<p>It can be updated without restarting listeners using the Ranch functions <code>ranch:get_protocol_options/1</code> and <code>ranch:set_protocol_options/2</code>.</p>
-<p>The default value is given next to the option name:</p>
-<dl><dt>connection_type (supervisor)</dt>
-<dd><p>Whether the connection process also acts as a supervisor.</p>
-</dd>
-<dt>env (#{})</dt>
-<dd><p>Middleware environment.</p>
-</dd>
-<dt>idle_timeout (60000)</dt>
-<dd><p>Time in ms with no data received before Cowboy closes the connection.</p>
-</dd>
-<dt>inactivity_timeout (300000)</dt>
-<dd><p>Time in ms with nothing received at all before Cowboy closes the connection.</p>
-</dd>
-<dt>max_empty_lines (5)</dt>
-<dd><p>Maximum number of empty lines before a request.</p>
-</dd>
-<dt>max_header_name_length (64)</dt>
-<dd><p>Maximum length of header names.</p>
-</dd>
-<dt>max_header_value_length (4096)</dt>
-<dd><p>Maximum length of header values.</p>
-</dd>
-<dt>max_headers (100)</dt>
-<dd><p>Maximum number of headers allowed per request.</p>
-</dd>
-<dt>max_keepalive (100)</dt>
-<dd><p>Maximum number of requests allowed per connection.</p>
-</dd>
-<dt>max_method_length (32)</dt>
-<dd><p>Maximum length of the method.</p>
-</dd>
-<dt>max_request_line_length (8000)</dt>
-<dd><p>Maximum length of the request line.</p>
-</dd>
-<dt>middlewares ([cowboy_router, cowboy_handler])</dt>
-<dd><p>Middlewares to run for every request.</p>
-</dd>
-<dt>request_timeout (5000)</dt>
-<dd><p>Time in ms with no requests before Cowboy closes the connection.</p>
-</dd>
-<dt>shutdown_timeout (5000)</dt>
-<dd><p>Time in ms Cowboy will wait for child processes to shut down before killing them.</p>
-</dd>
-<dt>stream_handlers ([cowboy_stream_h])</dt>
-<dd><p>Ordered list of stream handlers that will handle all stream events.</p>
-</dd>
-</dl>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: The <code>timeout</code> option was renamed <code>request_timeout</code>.
-</li>
-<li><strong>2.0</strong>: The <code>idle_timeout</code>, <code>inactivity_timeout</code> and <code>shutdown_timeout</code> options were added.
-</li>
-<li><strong>2.0</strong>: The <code>max_method_length</code> option was added.
-</li>
-<li><strong>2.0</strong>: The <code>max_request_line_length</code> default was increased from 4096 to 8000.
-</li>
-<li><strong>2.0</strong>: The <code>connection_type</code> option was added.
-</li>
-<li><strong>2.0</strong>: The <code>env</code> option is now a map instead of a proplist.
-</li>
-<li><strong>2.0</strong>: The <code>stream_handlers</code> option was added.
-</li>
-<li><strong>2.0</strong>: The <code>compress</code> option was removed in favor of the <code>cowboy_compress_h</code> stream handler.
-</li>
-<li><strong>2.0</strong>: Options are now a map instead of a proplist.
-</li>
-<li><strong>2.0</strong>: Protocol introduced. Replaces <code>cowboy_protocol</code>.
-</li>
-</ul>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy_http2">cowboy_http2(3)</a>, <a href="../cowboy_websocket">cowboy_websocket(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_http2/index.html b/docs/en/cowboy/2.0/manual/cowboy_http2/index.html
deleted file mode 100644
index 130d2ea4..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_http2/index.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_http2(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_http2(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_http2 - HTTP/2</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_http2</code> implements HTTP/2 as a Ranch protocol.</p>
-<h2 id="_options">Options</h2>
-<!-- @todo Might be worth moving cowboy_clear/tls/stream_h options-->
-<!-- to their respective manual, when they are added.-->
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">opts</font></b>() <font color="#990000">::</font> #{
- <font color="#0000FF">connection_type</font> <font color="#990000">=&gt;</font> <font color="#FF6600">worker</font> | <font color="#FF6600">supervisor</font>,
- <font color="#0000FF">env</font> <font color="#990000">=&gt;</font> <b><font color="#000000">cowboy_middleware:env</font></b>(),
- <font color="#0000FF">inactivity_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
- <font color="#0000FF">middlewares</font> <font color="#990000">=&gt;</font> [<b><font color="#000000">module</font></b>()],
- <font color="#0000FF">preface_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
- <font color="#000080">shutdown</font><font color="#009900">_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
- <font color="#0000FF">stream_handlers</font> <font color="#990000">=&gt;</font> [<b><font color="#000000">module</font></b>()]
-}</tt></pre>
-</div></div>
-<p>Configuration for the HTTP/2 protocol.</p>
-<p>This configuration is passed to Cowboy when starting listeners using <code>cowboy:start_clear/3</code> or <code>cowboy:start_tls/3</code> functions.</p>
-<p>It can be updated without restarting listeners using the Ranch functions <code>ranch:get_protocol_options/1</code> and <code>ranch:set_protocol_options/2</code>.</p>
-<p>The default value is given next to the option name:</p>
-<dl><dt>connection_type (supervisor)</dt>
-<dd><p>Whether the connection process also acts as a supervisor.</p>
-</dd>
-<dt>env (#{})</dt>
-<dd><p>Middleware environment.</p>
-</dd>
-<dt>inactivity_timeout (300000)</dt>
-<dd><p>Time in ms with nothing received at all before Cowboy closes the connection.</p>
-</dd>
-<dt>middlewares ([cowboy_router, cowboy_handler])</dt>
-<dd><p>Middlewares to run for every request.</p>
-</dd>
-<dt>preface_timeout (5000)</dt>
-<dd><p>Time in ms Cowboy is willing to wait for the connection preface.</p>
-</dd>
-<dt>shutdown_timeout (5000)</dt>
-<dd><p>Time in ms Cowboy will wait for child processes to shut down before killing them.</p>
-</dd>
-<dt>stream_handlers ([cowboy_stream_h])</dt>
-<dd><p>Ordered list of stream handlers that will handle all stream events.</p>
-</dd>
-</dl>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Protocol introduced.
-</li>
-</ul>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy_http">cowboy_http(3)</a>, <a href="../cowboy_websocket">cowboy_websocket(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_loop/index.html b/docs/en/cowboy/2.0/manual/cowboy_loop/index.html
deleted file mode 100644
index c03f6390..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_loop/index.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_loop(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_loop(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_loop - Loop handlers</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_loop</code> defines a callback interface for long running HTTP connections.</p>
-<p>You should switch to this behavior for long polling, server-sent events and similar long-running requests.</p>
-<p>There are generally two usage patterns:</p>
-<ul><li>Loop until receiving a specific message, then send a response and stop execution (for example long polling);
-</li>
-<li>Or initiate a response in <code>init/2</code> and stream the body in <code>info/3</code> as necessary (for example server-sent events).
-</li>
-</ul>
-<h2 id="_callbacks">Callbacks</h2>
-<p>Loop handlers implement the following interface:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">cowboy_loop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
- | {<font color="#FF6600">cowboy_loop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}
-
-<b><font color="#000000">info</font></b>(<font color="#009900">Info</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
- | {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}
- | {<font color="#FF6600">stop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<b><font color="#000000">terminate</font></b>(<font color="#009900">Reason</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> <i><font color="#9A1900">%% optional</font></i>
-
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">State</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Info</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Reason</font> <font color="#990000">::</font> <font color="#FF6600">stop</font>
- | {<font color="#FF6600">crash</font>, <font color="#FF6600">error</font> | <b><font color="#000080">exit</font></b> | <b><font color="#000080">throw</font></b>, <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>The <code>init/2</code> callback is common to all handlers. To switch to the loop behavior, it must return <code>cowboy_loop</code> as the first element of the tuple.</p>
-<p>The <code>info/3</code> callback will be called for every Erlang message received. It may choose to continue the receive loop or stop it.</p>
-<p>The optional <code>terminate/3</code> callback will ultimately be called with the reason for the termination of the handler. Cowboy will terminate the process right after this. There is no need to perform any cleanup in this callback.</p>
-<p>The following terminate reasons are defined for loop handlers:</p>
-<dl><dt>stop</dt>
-<dd><p>The handler requested to close the connection by returning a <code>stop</code> tuple.</p>
-</dd>
-<dt>{crash, Class, Reason}</dt>
-<dd><p>A crash occurred in the handler. <code>Class</code> and <code>Reason</code> can be used to obtain more information about the crash. The function <code>erlang:get_stacktrace/0</code> can also be called to obtain the stacktrace of the process when the crash occurred.</p>
-</dd>
-</dl>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Loop handlers no longer need to handle overflow/timeouts.
-</li>
-<li><strong>1.0</strong>: Behavior introduced.
-</li>
-</ul>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy_handler">cowboy_handler(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_middleware/index.html b/docs/en/cowboy/2.0/manual/cowboy_middleware/index.html
deleted file mode 100644
index 72636aa5..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_middleware/index.html
+++ /dev/null
@@ -1,212 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_middleware(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_middleware(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_middleware - Middlewares</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_middleware</code> defines a callback interface for Cowboy middlewares.</p>
-<p>Middlewares process the request sequentially in the order they are configured.</p>
-<h2 id="_callbacks">Callbacks</h2>
-<p>Middlewares implement the following interface:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">execute</font></b>(<font color="#009900">Req</font>, <font color="#009900">Env</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">Env</font>}
- | {<font color="#FF6600">suspend</font>, <b><font color="#000000">module</font></b>(), <b><font color="#000080">atom</font></b>(), [<b><font color="#000000">any</font></b>()]}
- | {<font color="#FF6600">stop</font>, <font color="#009900">Req</font>}
-
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">Env</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_middleware:env</font></b>()</tt></pre>
-</div></div>
-<p>The <code>execute/2</code> is the only callback that needs to be implemented. It must execute the middleware and return with instructions for Cowboy.</p>
-<dl><dt>ok</dt>
-<dd><p>Cowboy should continue processing the request using the returned Req object and environment.</p>
-</dd>
-<dt>suspend</dt>
-<dd><p>Cowboy will hibernate the process. When resuming, Cowboy will apply the returned module, function and arguments.</p>
-</dd>
-<dt>stop</dt>
-<dd><p>Cowboy will stop middleware execution. No other middleware will be executed. This effectively ends the processing of the request.</p>
-</dd>
-</dl>
-<h2 id="_types">Types</h2>
-<h3 id="_env">env()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">env</font></b>() <font color="#990000">::</font> #{<b><font color="#000080">atom</font></b>() <font color="#990000">=&gt;</font> <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>Middleware environment.</p>
-<p>A new environment is created for every request. The initial environment contained the user configured environment values (like <code>dispatch</code> for example) plus the <code>listener</code> value which contains the name of the listener for this connection.</p>
-<p>Middlewares may modify the environment as necessary.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: The <code>env</code> type is now a map instead of a proplist.
-</li>
-<li><strong>1.0</strong>: Behavior introduced.
-</li>
-</ul>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.bindings/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.bindings/index.html
deleted file mode 100644
index 7c14cb92..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.bindings/index.html
+++ /dev/null
@@ -1,196 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:bindings(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:bindings(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:bindings - Access all values bound from the route</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">bindings</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">cowboy_router:bindings</font></b>()</tt></pre>
-</div></div>
-<p>Return a map containing all bindings.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>By default values are case sensitive binary strings, however constraints may change the type of this value (for example automatically converting numbers to integer).</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the values are returned, they are no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get all bindings</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Bindings</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:bindings</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.binding">cowboy_req:binding(3)</a>, <a href="../cowboy_req.host_info">cowboy_req:host_info(3)</a>, <a href="../cowboy_req.path_info">cowboy_req:path_info(3)</a>, <a href="../cowboy_router">cowboy_router(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.delete_resp_header/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.delete_resp_header/index.html
deleted file mode 100644
index a70fef09..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.delete_resp_header/index.html
+++ /dev/null
@@ -1,201 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:delete_resp_header(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:delete_resp_header(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:delete_resp_header - Delete a response header</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">delete_resp_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Req</font>
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% lowercase; case insensitive</font></i></tt></pre>
-</div></div>
-<p>Delete the given response header.</p>
-<p>The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>Header name as a lowercase binary string.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A new Req object is returned.</p>
-<p>The returned Req object must be used from that point onward, otherwise the header will still be sent in the response.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Remove the content-type header from the response</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:delete_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>),</tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a>, <a href="../cowboy_req.has_resp_header">cowboy_req:has_resp_header(3)</a>, <a href="../cowboy_req.resp_header">cowboy_req:resp_header(3)</a>, <a href="../cowboy_req.resp_headers">cowboy_req:resp_headers(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.has_resp_body/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.has_resp_body/index.html
deleted file mode 100644
index b857da93..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.has_resp_body/index.html
+++ /dev/null
@@ -1,199 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:has_resp_body(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:has_resp_body(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:has_resp_body - Is there a response body?</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">has_resp_body</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">boolean</font></b>()</tt></pre>
-</div></div>
-<p>Return whether a response body has been set.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A boolean indicating whether a response body has been set.</p>
-<p>This function will return <code>false</code> when an empty response body has been set.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Check whether a body has been set</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#000080">false</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:has_resp_body</font></b>(<font color="#009900">Req0</font>),
-<font color="#009900">Req1</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_body</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello!"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>),
-<font color="#000080">true</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:has_resp_body</font></b>(<font color="#009900">Req1</font>),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_body</font></b>(<font color="#990000">&lt;&lt;&gt;&gt;</font>, <font color="#009900">Req1</font>),
-<font color="#000080">false</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:has_resp_body</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_body">cowboy_req:set_resp_body(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.has_resp_header/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.has_resp_header/index.html
deleted file mode 100644
index 4b423957..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.has_resp_header/index.html
+++ /dev/null
@@ -1,202 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:has_resp_header(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:has_resp_header(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:has_resp_header - Is the given response header set?</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">has_resp_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">boolean</font></b>()
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% lowercase; case insensitive</font></i></tt></pre>
-</div></div>
-<p>Return whether the given response header has been set.</p>
-<p>The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>Header name as a lowercase binary string.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A boolean indicating whether the given response header has been set.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Check whether the content-type header has been set</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#000080">false</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:has_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/html"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>),
-<font color="#000080">true</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:has_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a>, <a href="../cowboy_req.resp_header">cowboy_req:resp_header(3)</a>, <a href="../cowboy_req.resp_headers">cowboy_req:resp_headers(3)</a>, <a href="../cowboy_req.delete_resp_header">cowboy_req:delete_resp_header(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.headers/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.headers/index.html
deleted file mode 100644
index 460a397a..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.headers/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:headers(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:headers(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:headers - HTTP headers</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">headers</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">cowboy:http_headers</font></b>()</tt></pre>
-</div></div>
-<p>Return all request headers.</p>
-<p>Request headers can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">headers</font> <font color="#990000">:=</font> <font color="#009900">Headers</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>Headers are returned as a map with keys being lowercase binary strings, and values as binary strings.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the headers are returned, they are no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get all headers</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Headers</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:headers</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.header">cowboy_req:header(3)</a>, <a href="../cowboy_req.parse_header">cowboy_req:parse_header(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.host/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.host/index.html
deleted file mode 100644
index f4426209..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.host/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:host(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:host(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:host - URI host name</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">host</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Host</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()</tt></pre>
-</div></div>
-<p>Return the host name of the effective request URI.</p>
-<p>The host name can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">host</font> <font color="#990000">:=</font> <font color="#009900">Host</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The host name is returned as a lowercase binary string. It is case insensitive.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the host name is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the effective request URI&apos;s host name</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Host</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:host</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.binding">cowboy_req:binding(3)</a>, <a href="../cowboy_req.bindings">cowboy_req:bindings(3)</a>, <a href="../cowboy_req.host_info">cowboy_req:host_info(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.match_cookies/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.match_cookies/index.html
deleted file mode 100644
index 840beb44..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.match_cookies/index.html
+++ /dev/null
@@ -1,223 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:match_cookies(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:match_cookies(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:match_cookies - Match cookies against constraints</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">match_cookies</font></b>(<font color="#009900">Fields</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:fields</font></b>(), <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> #{<b><font color="#000080">atom</font></b>() <font color="#990000">=&gt;</font> <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>Parse the cookies and match specific values against constraints.</p>
-<p>Cowboy will only return the cookie values specified in the fields list, and ignore all others. Fields can be either the name of the cookie requested; the name along with a list of constraints; or the name, a list of constraints and a default value in case the cookie is missing.</p>
-<p>This function will crash if the cookie is missing and no default value is provided. This function will also crash if a constraint fails.</p>
-<p>The name of the cookie must be provided as an atom. The key of the returned map will be that atom. The value may be converted through the use of constraints, making this function able to extract, validate and convert values all in one step.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Fields</dt>
-<dd><p>Cookies to retrieve.</p>
-<p>See <a href="../cowboy">cowboy(3)</a> for a complete description.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>Desired values are returned as a map. The key is the atom that was given in the list of fields, and the value is the optionally converted value after applying constraints.</p>
-<p>The map contains the same keys that were given in the fields.</p>
-<p>An exception is triggered when the match fails.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Match fields</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% ID and Lang are binaries.</font></i>
-#{<font color="#FF6600">id</font> <font color="#990000">:=</font> <font color="#009900">ID</font>, <font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>}
- <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_cookies</font></b>([<font color="#FF6600">id</font>, <font color="#FF6600">lang</font>], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Match fields and apply constraints</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% ID is an integer and Lang a non-empty binary.</font></i>
-#{<font color="#FF6600">id</font> <font color="#990000">:=</font> <font color="#009900">ID</font>, <font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>}
- <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_cookies</font></b>([{<font color="#FF6600">id</font>, <font color="#FF6600">int</font>}, {<font color="#FF6600">lang</font>, <font color="#FF6600">nonempty</font>}], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Match fields with default values</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>}
- <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_cookies</font></b>([{<font color="#FF6600">lang</font>, [], <font color="#990000">&lt;&lt;</font><font color="#FF0000">"en-US"</font><font color="#990000">&gt;&gt;</font>}], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.parse_cookies">cowboy_req:parse_cookies(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.match_qs/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.match_qs/index.html
deleted file mode 100644
index 8ef2d77d..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.match_qs/index.html
+++ /dev/null
@@ -1,223 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:match_qs(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:match_qs(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:match_qs - Match the query string against constraints</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">match_qs</font></b>(<font color="#009900">Fields</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:fields</font></b>(), <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> #{<b><font color="#000080">atom</font></b>() <font color="#990000">=&gt;</font> <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>Parse the query string and match specific values against constraints.</p>
-<p>Cowboy will only return the query string values specified in the fields list, and ignore all others. Fields can be either the key requested; the key along with a list of constraints; or the key, a list of constraints and a default value in case the key is missing.</p>
-<p>This function will crash if the key is missing and no default value is provided. This function will also crash if a constraint fails.</p>
-<p>The key must be provided as an atom. The key of the returned map will be that atom. The value may be converted through the use of constraints, making this function able to extract, validate and convert values all in one step.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Fields</dt>
-<dd><p>Fields to retrieve from the query string.</p>
-<p>See <a href="../cowboy">cowboy(3)</a> for a complete description.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>Desired values are returned as a map. The key is the atom that was given in the list of fields, and the value is the optionally converted value after applying constraints.</p>
-<p>The map contains the same keys that were given in the fields.</p>
-<p>An exception is triggered when the match fails.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Match fields</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% ID and Lang are binaries.</font></i>
-#{<font color="#FF6600">id</font> <font color="#990000">:=</font> <font color="#009900">ID</font>, <font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>}
- <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_qs</font></b>([<font color="#FF6600">id</font>, <font color="#FF6600">lang</font>], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Match fields and apply constraints</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% ID is an integer and Lang a non-empty binary.</font></i>
-#{<font color="#FF6600">id</font> <font color="#990000">:=</font> <font color="#009900">ID</font>, <font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>}
- <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_qs</font></b>([{<font color="#FF6600">id</font>, <font color="#FF6600">int</font>}, {<font color="#FF6600">lang</font>, <font color="#FF6600">nonempty</font>}], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Match fields with default values</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>}
- <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_qs</font></b>([{<font color="#FF6600">lang</font>, [], <font color="#990000">&lt;&lt;</font><font color="#FF0000">"en-US"</font><font color="#990000">&gt;&gt;</font>}], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.qs">cowboy_req:qs(3)</a>, <a href="../cowboy_req.parse_qs">cowboy_req:parse_qs(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.method/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.method/index.html
deleted file mode 100644
index 7cf3a01e..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.method/index.html
+++ /dev/null
@@ -1,214 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:method(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:method(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:method - HTTP method</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">method</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Method</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()</tt></pre>
-</div></div>
-<p>Return the request&apos;s HTTP method.</p>
-<p>The method can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">method</font> <font color="#990000">:=</font> <font color="#009900">Method</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The request&apos;s HTTP method is returned as a binary string. While methods are case sensitive, standard methods are always uppercase.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the method is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Ensure the request&apos;s method is GET</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#990000">&lt;&lt;</font><font color="#FF0000">"GET"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:method</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Allow methods from list</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">lists:member</font></b>(<b><font color="#000000">cowboy_req:method</font></b>(<font color="#009900">Req</font>), [<font color="#990000">&lt;&lt;</font><font color="#FF0000">"GET"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"POST"</font><font color="#990000">&gt;&gt;</font>]) <b><font color="#0000FF">of</font></b>
- <font color="#000080">true</font> <font color="#990000">-&gt;</font> <b><font color="#000000">handle</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>);
- <font color="#000080">false</font> <font color="#990000">-&gt;</font> <b><font color="#000000">method_not_allowed</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>)
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.parse_cookies/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.parse_cookies/index.html
deleted file mode 100644
index 62c6796a..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.parse_cookies/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:parse_cookies(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:parse_cookies(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:parse_cookies - Parse cookie headers</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_cookies</font></b>(<font color="#009900">Req</font>) <font color="#990000">-&gt;</font> [{<font color="#009900">Name</font>, <font color="#009900">Value</font>}]
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i></tt></pre>
-</div></div>
-<p>Parse cookie headers.</p>
-<p>Alias for <a href="../cowboy_req.parse_header">cowboy_req:parse_header(&lt;&lt;&quot;cookie&quot;&gt;&gt;, Req)</a>.</p>
-<p>When the cookie header is missing, <code>[]</code> is returned.</p>
-<p>While an empty cookie header is not valid, some clients do send it. Cowboy will in this case also return <code>[]</code>.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The cookies are returned as a list of key/values. Keys and values are case sensitive binary strings.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the parsed header value is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>2.0</strong>: Function introduced. Replaces <code>cookie/2,3</code> and <code>cookies/1</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Look for a specific cookie</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Cookies</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:parse_cookies</font></b>(<font color="#009900">Req</font>),
-{<font color="#990000">_</font>, <font color="#009900">Token</font>} <font color="#990000">=</font> <b><font color="#000000">lists:keyfind</font></b>(<font color="#FF6600">token</font>, <font color="#993399">1</font>, <font color="#009900">Cookies</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.parse_header">cowboy_req:parse_header(3)</a>, <a href="../cowboy_req.match_cookies">cowboy_req:match_cookies(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.parse_header/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.parse_header/index.html
deleted file mode 100644
index 9f234f75..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.parse_header/index.html
+++ /dev/null
@@ -1,374 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:parse_header(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:parse_header(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:parse_header - Parse the given HTTP header</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> <font color="#009900">ParsedValue</font> | <font color="#009900">Default</font>
-<b><font color="#000000">parse_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>, <font color="#009900">Default</font>) <font color="#990000">-&gt;</font> <font color="#009900">ParsedValue</font> | <font color="#009900">Default</font>
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">ParsedValue</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
-</div></div>
-<p>Parse the given HTTP header.</p>
-<p>The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<p>The type of the parsed value varies depending on the header. Similarly, the default value when calling <code>cowboy_req:parse_header/2</code> differs depending on the header.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>Desired HTTP header name as a lowercase binary string.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Default</dt>
-<dd><p>Default value returned when the header is missing.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The parsed header value varies depending on the header. When the header is missing, the default argument is returned.</p>
-<h2 id="_headers">Headers</h2>
-<p>The following snippets detail the types returned by the different headers. Unless mentioned otherwise, the default value when the header is missing will be <code>undefined</code>:</p>
-<div class="listingblock"><div class="title">accept</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)
- <font color="#990000">-&gt;</font> [{{<font color="#009900">Type</font>, <font color="#009900">SubType</font>, <font color="#009900">Params</font>}, <font color="#009900">Quality</font>, <font color="#009900">AcceptExt</font>}]
-
-<font color="#009900">Type</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case insensitive</font></i>
-<font color="#009900">SubType</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case insensitive</font></i>
-<font color="#009900">Params</font> <font color="#990000">::</font> [{<font color="#009900">Key</font>, <font color="#009900">Value</font>}]
-<font color="#009900">Quality</font> <font color="#990000">::</font> <font color="#993399">0</font><font color="#990000">..</font><font color="#993399">1000</font>
-<font color="#009900">AcceptExt</font> <font color="#990000">::</font> [<font color="#009900">Key</font> | {<font color="#009900">Key</font>, <font color="#009900">Value</font>}]
-<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case insensitive</font></i>
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">accept-charset, accept-encoding and accept-language</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> [{<font color="#009900">Value</font>, <font color="#009900">Quality</font>}]
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept-charset"</font><font color="#990000">&gt;&gt;</font>
- | <font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept-encoding"</font><font color="#990000">&gt;&gt;</font>
- | <font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept-language"</font><font color="#990000">&gt;&gt;</font>
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case insensitive</font></i>
-<font color="#009900">Quality</font> <font color="#990000">::</font> <font color="#993399">0</font><font color="#990000">..</font><font color="#993399">1000</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">authorization</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"authorization"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">basic</font>, <font color="#009900">Username</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Password</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()}
- | {<font color="#FF6600">bearer</font>, <font color="#009900">Token</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()}
- | {<font color="#FF6600">digest</font>, [{<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()}]}</tt></pre>
-</div></div>
-<!-- @todo Currently also parses connection. Do we want this? Should it be documented? Use case?-->
-<div class="listingblock"><div class="title">content-length</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-length"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">non_neg_integer</font></b>()</tt></pre>
-</div></div>
-<p>When the content-length header is missing, <code>0</code> is returned.</p>
-<div class="listingblock"><div class="title">content-type</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)
- <font color="#990000">-&gt;</font> {<font color="#009900">Type</font>, <font color="#009900">SubType</font>, <font color="#009900">Params</font>}
-
-<font color="#009900">Type</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case insensitive</font></i>
-<font color="#009900">SubType</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case insensitive</font></i>
-<font color="#009900">Params</font> <font color="#990000">::</font> [{<font color="#009900">Key</font>, <font color="#009900">Value</font>}]
-<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case insensitive</font></i>
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive;</font></i></tt></pre>
-</div></div>
-<p>Note that the value for the charset parameter is case insensitive and returned as a lowercase binary string.</p>
-<div class="listingblock"><div class="title">cookie</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"cookie"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> [{<font color="#009900">Name</font>, <font color="#009900">Value</font>}]
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i></tt></pre>
-</div></div>
-<p>When the cookie header is missing, <code>[]</code> is returned.</p>
-<p>While an empty cookie header is not valid, some clients do send it. Cowboy will in this case also return <code>[]</code>.</p>
-<div class="listingblock"><div class="title">expect</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"expect"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> <font color="#FF6600">continue</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">if-match and if-none-match</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>)
- <font color="#990000">-&gt;</font> <font color="#FF6600">'*'</font> | [{<font color="#FF6600">weak</font> | <font color="#FF6600">strong</font>, <font color="#009900">OpaqueTag</font>}]
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"if-match"</font><font color="#990000">&gt;&gt;</font>
- | <font color="#990000">&lt;&lt;</font><font color="#FF0000">"if-none-match"</font><font color="#990000">&gt;&gt;</font>
-<font color="#009900">OpaqueTag</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">if-modified-since and if-unmodified-since</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">calendar:datetime</font></b>()</tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">range</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"range"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> {<font color="#009900">From</font>, <font color="#009900">To</font>} | <font color="#009900">Final</font>
-
-<font color="#009900">From</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>()
-<font color="#009900">To</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>() | <font color="#FF6600">infinity</font>
-<font color="#009900">Final</font> <font color="#990000">::</font> <b><font color="#000000">neg_integer</font></b>()</tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">sec-websocket-extensions</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sec-websocket-extensions"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)
- <font color="#990000">-&gt;</font> [{<font color="#009900">Extension</font>, <font color="#009900">Params</font>}]
-
-<font color="#009900">Extension</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Params</font> <font color="#990000">::</font> [<font color="#009900">Key</font> | {<font color="#009900">Key</font>, <font color="#009900">Value</font>}]
-<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">sec-websocket-protocol and upgrade</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> [<font color="#009900">Token</font>]
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"sec-websocket-protocol"</font><font color="#990000">&gt;&gt;</font>
- | <font color="#990000">&lt;&lt;</font><font color="#FF0000">"upgrade"</font><font color="#990000">&gt;&gt;</font>
-<font color="#009900">Token</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case insensitive</font></i></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">x-forwarded-for</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"x-forwarded-for"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> [<font color="#009900">Token</font>]
-
-<font color="#009900">Token</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Unknown headers</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">_</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> {<font color="#000080">undefined</font>, <font color="#009900">RawValue</font>}</tt></pre>
-</div></div>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the parsed header value is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Parse the accept header with a custom default value</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% Accept everything when header is missing.</font></i>
-<font color="#009900">Accept</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>,
- [{{ <font color="#990000">&lt;&lt;</font><font color="#FF0000">"*"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"*"</font><font color="#990000">&gt;&gt;</font>, []}, <font color="#993399">1000</font>, []}])<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Parse the content-length header</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% Default content-length is 0.</font></i>
-<font color="#009900">Length</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-length"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.header">cowboy_req:header(3)</a>, <a href="../cowboy_req.headers">cowboy_req:headers(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.parse_qs/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.parse_qs/index.html
deleted file mode 100644
index 2ceb4f47..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.parse_qs/index.html
+++ /dev/null
@@ -1,211 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:parse_qs(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:parse_qs(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:parse_qs - Parse the query string</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_qs</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> [{<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() | <font color="#000080">true</font>}]</tt></pre>
-</div></div>
-<p>Parse the query string as a list of key/value pairs.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The parsed query string is returned as a list of key/value pairs. The key is a binary string. The value is either a binary string, or the atom <code>true</code>. Both key and value are case sensitive.</p>
-<p>The atom <code>true</code> is returned when a key is present in the query string without a value. For example, in the following URIs the key <code>&lt;&lt;&quot;edit&quot;&gt;&gt;</code> will always have the value <code>true</code>:</p>
-<ul><li><code>/posts/42?edit</code>
-</li>
-<li><code>/posts/42?edit&amp;exclusive=1</code>
-</li>
-<li><code>/posts/42?exclusive=1&amp;edit</code>
-</li>
-<li><code>/posts/42?exclusive=1&amp;edit&amp;from=web</code>
-</li>
-</ul>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: The parsed value is not longer cached in the Req object.
-</li>
-<li><strong>2.0</strong>: Only the parsed query string is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>2.0</strong>: Function introduced. Replaces <code>qs_val/1</code> and <code>qs_vals/1</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Parse the query string and convert the keys to atoms</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">ParsedQs</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:parse_qs</font></b>(<font color="#009900">Req</font>),
-<font color="#009900">AtomsQs</font> <font color="#990000">=</font> [{<b><font color="#000000">binary_to_existing_atom</font></b>(<font color="#009900">K</font>, <font color="#FF6600">latin1</font>), <font color="#009900">V</font>}
- || {<font color="#009900">K</font>, <font color="#009900">V</font>} <font color="#990000">&lt;-</font> <font color="#009900">ParsedQs</font>]<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.qs">cowboy_req:qs(3)</a>, <a href="../cowboy_req.match_qs">cowboy_req:match_qs(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.path/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.path/index.html
deleted file mode 100644
index d18df8c4..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.path/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:path(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:path(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:path - URI path</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">path</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Path</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()</tt></pre>
-</div></div>
-<p>Return the path of the effective request URI.</p>
-<p>The path can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">path</font> <font color="#990000">:=</font> <font color="#009900">Path</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The path is returned as a binary string. It is case sensitive.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the path is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the effective request URI&apos;s path</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Path</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:path</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.binding">cowboy_req:binding(3)</a>, <a href="../cowboy_req.bindings">cowboy_req:bindings(3)</a>, <a href="../cowboy_req.path_info">cowboy_req:path_info(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.port/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.port/index.html
deleted file mode 100644
index 8152c10e..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.port/index.html
+++ /dev/null
@@ -1,204 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:port(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:port(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:port - URI port number</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">port</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Port</font> <font color="#990000">::</font> <b><font color="#000000">inet:port_number</font></b>()</tt></pre>
-</div></div>
-<p>Return the port number of the effective request URI.</p>
-<p>Note that the port number returned by this function is obtained by parsing the host header. It may be different from the port the peer used to connect to Cowboy.</p>
-<p>The port number can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">port</font> <font color="#990000">:=</font> <font color="#009900">Port</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The port number is returned as an integer.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the port number is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the effective request URI&apos;s port number</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Port</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:port</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.push/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.push/index.html
deleted file mode 100644
index 8768c8b8..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.push/index.html
+++ /dev/null
@@ -1,230 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:push(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:push(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:push - Push a resource to the client</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">push</font></b>(<font color="#009900">Path</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">push</font></b>(<font color="#009900">Path</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font>, #{})
-
-<b><font color="#000000">push</font></b>(<font color="#009900">Path</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>(), <font color="#009900">Opts</font>)
- <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font>
-
-<font color="#009900">Path</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>() <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Headers</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:http_headers</font></b>()
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:push_opts</font></b>()</tt></pre>
-</div></div>
-<p>Push a resource to the client.</p>
-<p>Cowboy handles push requests the same way as if they came from the client, including the creation of a request handling process, routing and middlewares and so on.</p>
-<p>This function does nothing when the HTTP/1.1 protocol is used. You may call it safely without first checking whether the connection uses HTTP/2.</p>
-<p>The header names must be given as lowercase binary strings. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<p>Note that the headers must be the headers the client is expected to send if it were to perform the request. They are therefore request headers, and not response headers.</p>
-<p>By default, Cowboy will use the GET method, an empty query string, and take the scheme, host and port directly from the current request&apos;s URI. You can override them by passing options.</p>
-<p>It is not possible to push resources after sending a response. Any attempt will result in an error.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Path</dt>
-<dd><p>The status code for the response.</p>
-</dd>
-<dt>Headers</dt>
-<dd><p>The response headers.</p>
-</dd>
-</dl>
-<p>Header names must be given as lowercase binary strings.</p>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Opts</dt>
-<dd><p>Customize the HTTP method or the URI scheme, host, port or query string.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The atom <code>ok</code> is always returned. It can be safely ignored.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Push a resource</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:push</font></b>(<font color="#FF0000">"/static/style.css"</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/css"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req</font>),</tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Push a resource with a custom host</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:push</font></b>(<font color="#FF0000">"/static/style.css"</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/css"</font><font color="#990000">&gt;&gt;</font>
-}, #{<font color="#0000FF">host</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"cdn.example.org"</font><font color="#990000">&gt;&gt;</font>}, <font color="#009900">Req</font>),</tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.reply">cowboy_req:reply(3)</a>, <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.qs/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.qs/index.html
deleted file mode 100644
index 59d63d5a..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.qs/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:qs(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:qs(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:qs - URI query string</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">qs</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Qs</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()</tt></pre>
-</div></div>
-<p>Return the query string of the effective request URI.</p>
-<p>The query string can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">qs</font> <font color="#990000">:=</font> <font color="#009900">Qs</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The query string is returned as a binary string. It is case sensitive.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the query string is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the effective request URI&apos;s query string</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Qs</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:qs</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.parse_qs">cowboy_req:parse_qs(3)</a>, <a href="../cowboy_req.match_qs">cowboy_req:match_qs(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.read_body/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.read_body/index.html
deleted file mode 100644
index 94d59fcd..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.read_body/index.html
+++ /dev/null
@@ -1,228 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:read_body(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:read_body(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:read_body - Read the request body</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">read_body</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">read_body</font></b>(<font color="#009900">Req</font>, #{})
-
-<b><font color="#000000">read_body</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>(), <font color="#009900">Opts</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Data</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Req</font>}
- | {<font color="#FF6600">more</font>, <font color="#009900">Data</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Req</font>}
-
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:read_body_opts</font></b>()</tt></pre>
-</div></div>
-<p>Read the request body.</p>
-<p>This function reads a chunk of the request body. A <code>more</code> tuple is returned when more data remains to be read. Call the function repeatedly until an <code>ok</code> tuple is returned to read the entire body.</p>
-<p>An <code>ok</code> tuple with empty data is returned when the request has no body, or when calling this function again after the body has already been read. It is therefore safe to call this function directly. Note that the body can only be read once.</p>
-<p>This function reads the request body from the connection process. The connection process is responsible for reading from the socket. The exact behavior varies depending on the protocol.</p>
-<p>The options therefore are only related to the communication between the request process and the connection process.</p>
-<p>Cowboy will automatically handle protocol details including the expect header, chunked transfer-encoding and others.</p>
-<p>Once the body has been read fully, Cowboy sets the content-length header if it was not previously provided.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Opts</dt>
-<dd><p>A map of body reading options.</p>
-<p>The <code>length</code> option can be used to request smaller or bigger chunks of data to be sent. It is a best effort approach, Cowboy may send more data than configured on occasions. It defaults to 8MB.</p>
-<p>The <code>period</code> indicates how long the connection process will wait before it provides us with the data it received. It defaults to 15 seconds.</p>
-<p>The connection process sends data to the request process when either the <code>length</code> of data or the <code>period</code> of time is reached.</p>
-<p>The <code>timeout</code> option is a safeguard in case the connection process becomes unresponsive. The function will crash if no message was received in that interval. The timeout should be larger than the period. It defaults to the period + 1 second.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A <code>more</code> tuple is returned when there are more data to be read.</p>
-<p>An <code>ok</code> tuple is returned when there are no more data to be read, either because this is the last chunk of data, the body has already been read, or there was no body to begin with.</p>
-<p>The data is always returned as a binary.</p>
-<p>The Req object returned in the tuple must be used for that point onward. It contains a more up to date representation of the request. For example it may have an added content-length header once the body has been read.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced. Replaces <code>body/1,2</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Read the entire body</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">read_body</font></b>(<font color="#009900">Req0</font>, <font color="#009900">Acc</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_body</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#990000">&lt;&lt;</font> <font color="#009900">Acc</font><font color="#990000">/</font><b><font color="#000080">binary</font></b>, <font color="#009900">Data</font><font color="#990000">/</font><b><font color="#000080">binary</font></b> <font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>};
- {<font color="#FF6600">more</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font> <b><font color="#000000">read_body</font></b>(<font color="#009900">Req</font>, <font color="#990000">&lt;&lt;</font> <font color="#009900">Acc</font><font color="#990000">/</font><b><font color="#000080">binary</font></b>, <font color="#009900">Data</font><font color="#990000">/</font><b><font color="#000080">binary</font></b> <font color="#990000">&gt;&gt;</font>)
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Read the body in small chunks</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:read_body</font></b>(<font color="#009900">Req</font>, #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#993399">64000</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.has_body">cowboy_req:has_body(3)</a>, <a href="../cowboy_req.body_length">cowboy_req:body_length(3)</a>, <a href="../cowboy_req.read_urlencoded_body">cowboy_req:read_urlencoded_body(3)</a>, <a href="../cowboy_req.read_part">cowboy_req:read_part(3)</a>, <a href="../cowboy_req.read_part_body">cowboy_req:read_part_body(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.read_part/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.read_part/index.html
deleted file mode 100644
index b59ccb38..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.read_part/index.html
+++ /dev/null
@@ -1,250 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:read_part(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:read_part(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:read_part - Read the next multipart headers</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">read_part</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">read_part</font></b>(<font color="#009900">Req</font>, #{})
-
-<b><font color="#000000">read_part</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>(), <font color="#009900">Opts</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font>} | {<font color="#FF6600">done</font>, <font color="#009900">Req</font>}
-
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:read_body_opts</font></b>()
-<font color="#009900">Headers</font> <font color="#990000">::</font> #{<b><font color="#000080">binary</font></b>() <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>()}</tt></pre>
-</div></div>
-<p>Read the next part of a multipart body.</p>
-<p>This function reads the request body and parses it as multipart. Each parts of a multipart representation have their own headers and body. This function parses and returns headers. Examples of multipart media types are <code>multipart/form-data</code> and <code>multipart/byteranges</code>.</p>
-<p>Cowboy will skip any data remaining until the beginning of the next part. This includes the preamble to the multipart message but also the body of a previous part if it hasn&apos;t been read. Both are skipped automatically when calling this function.</p>
-<p>Cowboy will read the body before parsing in chunks of size up to 64KB, with a period of 5 seconds. This is tailored for reading part headers and might not be the most efficient for skipping the previous part&apos;s body.</p>
-<p>The headers returned are MIME headers, <strong>NOT</strong> HTTP headers. They can be parsed using the functions from the <code>cow_multipart</code> module. In addition, the <code>cow_multipart:form_data/1</code> function can be used to quickly extract information from <code>multipart/form-data</code> representations.</p>
-<!-- @todo Proper link to cow_multipart:form_data.-->
-<p>Once a part has been read, it can not be read again.</p>
-<p>Once the body has been read, Cowboy sets the content-length header if it was not previously provided.</p>
-<!-- @todo Limit the maximum size of multipart headers.-->
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Opts</dt>
-<dd><p>A map of body reading options. Please refer to <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a> for details about each option.</p>
-<p>This function defaults the <code>length</code> to 64KB and the <code>period</code> to 5 seconds.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>An <code>ok</code> tuple is returned containing the next part&apos;s headers as a map.</p>
-<p>A <code>done</code> tuple is returned if there are no more parts to read.</p>
-<p>The Req object returned in the tuple must be used for that point onward. It contains a more up to date representation of the request. For example it may have an added content-length header once the body has been read.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced. Replaces <code>part/1,2</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Read all parts</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">acc_multipart</font></b>(<font color="#009900">Req0</font>, <font color="#009900">Acc</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_part</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">Headers</font>, <font color="#009900">Req1</font>} <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">Body</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">stream_body</font></b>(<font color="#009900">Req1</font>, <font color="#990000">&lt;&lt;&gt;&gt;</font>),
- <b><font color="#000000">acc_multipart</font></b>(<font color="#009900">Req</font>, [{<font color="#009900">Headers</font>, <font color="#009900">Body</font>}|<font color="#009900">Acc</font>]);
- {<font color="#FF6600">done</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- {<b><font color="#000000">lists:reverse</font></b>(<font color="#009900">Acc</font>), <font color="#009900">Req</font>}
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font>
-
-<b><font color="#000000">stream_body</font></b>(<font color="#009900">Req0</font>, <font color="#009900">Acc</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_part_body</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">more</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">stream_body</font></b>(<font color="#009900">Req</font>, <font color="#990000">&lt;&lt;</font> <font color="#009900">Acc</font><font color="#990000">/</font><b><font color="#000080">binary</font></b>, <font color="#009900">Data</font><font color="#990000">/</font><b><font color="#000080">binary</font></b> <font color="#990000">&gt;&gt;</font>);
- {<font color="#FF6600">ok</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#990000">&lt;&lt;</font> <font color="#009900">Acc</font><font color="#990000">/</font><b><font color="#000080">binary</font></b>, <font color="#009900">Data</font><font color="#990000">/</font><b><font color="#000080">binary</font></b> <font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>}
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Read all part headers, skipping bodies</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">skip_body_multipart</font></b>(<font color="#009900">Req0</font>, <font color="#009900">Acc</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_part</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">skip_body_multipart</font></b>(<font color="#009900">Req</font>, [<font color="#009900">Headers</font>|<font color="#009900">Acc</font>]);
- {<font color="#FF6600">done</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- {<b><font color="#000000">lists:reverse</font></b>(<font color="#009900">Acc</font>), <font color="#009900">Req</font>}
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Read a part header in larger chunks</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_part</font></b>(<font color="#009900">Req0</font>, #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#993399">1000000</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.has_body">cowboy_req:has_body(3)</a>, <a href="../cowboy_req.body_length">cowboy_req:body_length(3)</a>, <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a>, <a href="../cowboy_req.read_urlencoded_body">cowboy_req:read_urlencoded_body(3)</a>, <a href="../cowboy_req.read_part_body">cowboy_req:read_part_body(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.read_part_body/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.read_part_body/index.html
deleted file mode 100644
index 93dca98d..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.read_part_body/index.html
+++ /dev/null
@@ -1,226 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:read_part_body(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:read_part_body(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:read_part_body - Read the current part&apos;s body</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">read_part_body</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">read_part_body</font></b>(<font color="#009900">Req</font>, #{})
-
-<b><font color="#000000">read_part_body</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>(), <font color="#009900">Opts</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Data</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Req</font>}
- | {<font color="#FF6600">more</font>, <font color="#009900">Data</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Req</font>}
-
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:read_body_opts</font></b>()</tt></pre>
-</div></div>
-<p>Read the body of the current part of the multipart message.</p>
-<p>This function reads the request body and parses it as multipart. Each parts of a multipart representation have their own headers and body. This function returns the body of the current part. Examples of multipart media types are <code>multipart/form-data</code> and <code>multipart/byteranges</code>.</p>
-<p>This function reads a chunk of the part&apos;s body. A <code>more</code> tuple is returned when more data remains to be read. Call the function repeatedly until an <code>ok</code> tuple is returned to read the entire body.</p>
-<p>Once a part has been read, it can not be read again.</p>
-<p>Once the body has been read, Cowboy sets the content-length header if it was not previously provided.</p>
-<!-- @todo Limit the maximum size of multipart headers.-->
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Opts</dt>
-<dd><p>A map of body reading options. Please refer to <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a> for details about each option.</p>
-<p>This function uses the same default options as the <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a> function.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A <code>more</code> tuple is returned when there are more data to be read.</p>
-<p>An <code>ok</code> tuple is returned when there are no more data to be read.</p>
-<p>The data is always returned as a binary.</p>
-<p>The Req object returned in the tuple must be used for that point onward. It contains a more up to date representation of the request. For example it may have an added content-length header once the body has been read.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced. Replaces <code>part_body/1,2</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Read a full part&apos;s body</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">stream_body</font></b>(<font color="#009900">Req0</font>, <font color="#009900">Acc</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_part_body</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">more</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">stream_body</font></b>(<font color="#009900">Req</font>, <font color="#990000">&lt;&lt;</font> <font color="#009900">Acc</font><font color="#990000">/</font><b><font color="#000080">binary</font></b>, <font color="#009900">Data</font><font color="#990000">/</font><b><font color="#000080">binary</font></b> <font color="#990000">&gt;&gt;</font>);
- {<font color="#FF6600">ok</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#990000">&lt;&lt;</font> <font color="#009900">Acc</font><font color="#990000">/</font><b><font color="#000080">binary</font></b>, <font color="#009900">Data</font><font color="#990000">/</font><b><font color="#000080">binary</font></b> <font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>}
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Ensure a part&apos;s body is smaller than 64KB</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">Body</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_part_body</font></b>(<font color="#009900">Req0</font>, #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#993399">64000</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.has_body">cowboy_req:has_body(3)</a>, <a href="../cowboy_req.body_length">cowboy_req:body_length(3)</a>, <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a>, <a href="../cowboy_req.read_urlencoded_body">cowboy_req:read_urlencoded_body(3)</a>, <a href="../cowboy_req.read_part">cowboy_req:read_part(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.read_urlencoded_body/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.read_urlencoded_body/index.html
deleted file mode 100644
index e8b7baec..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.read_urlencoded_body/index.html
+++ /dev/null
@@ -1,220 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:read_urlencoded_body(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:read_urlencoded_body(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:read_urlencoded_body - Read and parse a urlencoded request body</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">read_urlencoded_body</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">read_urlencoded_body</font></b>(<font color="#009900">Req</font>, #{})
-
-<b><font color="#000000">read_urlencoded_body</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>(), <font color="#009900">Opts</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Body</font>, <font color="#009900">Req</font>}
-
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:read_body_opts</font></b>()
-<font color="#009900">Body</font> <font color="#990000">::</font> [{<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() | <font color="#000080">true</font>}]</tt></pre>
-</div></div>
-<p>Read and parse a urlencoded request body.</p>
-<p>This function reads the request body and parses it as <code>application/x-www-form-urlencoded</code>. It returns a list of key/values.</p>
-<p>The urlencoded media type is used by Web browsers when submitting HTML forms using the POST method.</p>
-<p>Cowboy needs to read the full body before parsing. By default it will read bodies of size up to 64KB. It is possible to provide options to read larger bodies if required.</p>
-<p>Cowboy will automatically handle protocol details including the expect header, chunked transfer-encoding and others.</p>
-<p>Once the body has been read, Cowboy sets the content-length header if it was not previously provided.</p>
-<p>This function can only be called once. Calling it again will result in undefined behavior.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Opts</dt>
-<dd><p>A map of body reading options. Please refer to <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a> for details about each option.</p>
-<p>This function defaults the <code>length</code> to 64KB and the <code>period</code> to 5 seconds.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>An <code>ok</code> tuple is returned containing a list of key/values found in the body.</p>
-<p>The Req object returned in the tuple must be used for that point onward. It contains a more up to date representation of the request. For example it may have an added content-length header once the body has been read.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced. Replaces <code>body_qs/1,2</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Read a urlencoded body</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">Body</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_urlencoded_body</font></b>(<font color="#009900">Req0</font>),
-{<font color="#990000">_</font>, <font color="#009900">Lang</font>} <font color="#990000">=</font> <b><font color="#000000">lists:keyfind</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"lang"</font><font color="#990000">&gt;&gt;</font>, <font color="#993399">1</font>, <font color="#009900">Body</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Allow large urlencoded bodies</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">Body</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_urlencoded_body</font></b>(<font color="#009900">Req0</font>, #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#993399">1000000</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.has_body">cowboy_req:has_body(3)</a>, <a href="../cowboy_req.body_length">cowboy_req:body_length(3)</a>, <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a>, <a href="../cowboy_req.read_part">cowboy_req:read_part(3)</a>, <a href="../cowboy_req.read_part_body">cowboy_req:read_part_body(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.reply/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.reply/index.html
deleted file mode 100644
index ff7e5a1d..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.reply/index.html
+++ /dev/null
@@ -1,243 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:reply(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:reply(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:reply - Send the response</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">reply</font></b>(<font color="#009900">Status</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">reply</font></b>(<font color="#009900">StatusCode</font>, #{}, <font color="#009900">Req</font>)
-
-<b><font color="#000000">reply</font></b>(<font color="#009900">Status</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <font color="#009900">Req</font>
-
-<b><font color="#000000">reply</font></b>(<font color="#009900">Status</font>, <font color="#009900">Headers</font>, <font color="#009900">Body</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <font color="#009900">Req</font>
-
-<font color="#009900">Status</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:http_status</font></b>()
-<font color="#009900">Headers</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:http_headers</font></b>()
-<font color="#009900">Body</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:resp_body</font></b>()</tt></pre>
-</div></div>
-<p>Send the response.</p>
-<p>The header names must be given as lowercase binary strings. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<p>Cowboy does not allow duplicate header names. Headers set by this function may overwrite those set by <code>set_resp_header/3</code> and <code>set_resp_headers/2</code>.</p>
-<p>Use <a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a> instead of this function to set cookies.</p>
-<p>The <code>reply/2,3</code> functions will send the body set previously, if any. The <code>reply/4</code> function always sends the given body, overriding any previously set.</p>
-<p>You do not need to set the content-length header when sending a response body. Cowboy takes care of it automatically. You should however provide a content-type header.</p>
-<p>No further data can be transmitted after this function returns. This includes the push mechanism. Attempting to send two replies, or to push resources after a reply has been sent, will result in an error.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Status</dt>
-<dd><p>The status code for the response.</p>
-</dd>
-<dt>Headers</dt>
-<dd><p>The response headers.</p>
-</dd>
-</dl>
-<p>Header names must be given as lowercase binary strings.</p>
-<dl><dt>Body</dt>
-<dd><p>The body can be either a binary value, an iolist or a <code>sendfile</code> tuple telling Cowboy to send the contents of a file.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A new Req object is returned.</p>
-<p>The returned Req object should be used from that point onward as it contains updated information about the state of the request.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the Req is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Reply</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">404</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Reply with custom headers</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">401</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"www-authenticate"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Basic realm=\"erlang.org\""</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Reply with custom headers and a body</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/plain"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#FF0000">"Hello world!"</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a>, <a href="../cowboy_req.set_resp_body">cowboy_req:set_resp_body(3)</a>, <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a>, <a href="../cowboy_req.push">cowboy_req:push(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.resp_header/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.resp_header/index.html
deleted file mode 100644
index 6e60411c..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.resp_header/index.html
+++ /dev/null
@@ -1,214 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:resp_header(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:resp_header(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:resp_header - Response header</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">resp_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">resp_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>, <font color="#000080">undefined</font>)
-<b><font color="#000000">resp_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>, <font color="#009900">Default</font>) <font color="#990000">-&gt;</font> <b><font color="#000080">binary</font></b>() | <font color="#009900">Default</font>
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
-</div></div>
-<p>Return the value for the given response header.</p>
-<p>The response header must have been set previously using <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a> or <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a>.</p>
-<p>The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>Desired response header name as a lowercase binary string.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Default</dt>
-<dd><p>Default value returned when the header is missing.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The header value is returned as a binary string. When the header is missing, the default argument is returned.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the content-type response header</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Type</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Get the content-type response header with a default value</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Type</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/html"</font><font color="#990000">&gt;&gt;</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.resp_headers">cowboy_req:resp_headers(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_body/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_body/index.html
deleted file mode 100644
index 9105fdcc..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_body/index.html
+++ /dev/null
@@ -1,235 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:set_resp_body(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:set_resp_body(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:set_resp_body - Set the response body</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">set_resp_body</font></b>(<font color="#009900">Body</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <font color="#009900">Req</font>
-
-<font color="#009900">Body</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:resp_body</font></b>()</tt></pre>
-</div></div>
-<p>Set the response body.</p>
-<p>The response body will be sent when a reply is initiated. Note that the functions <code>stream_reply/2,3</code> and <code>reply/4</code> will override the body set by this function.</p>
-<p>This function can also be used to remove a response body that was set previously. To do so, simply call this function with an empty body.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Body</dt>
-<dd><p>The body can be either a binary value, an iolist or a <code>sendfile</code> tuple telling Cowboy to send the contents of a file.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A new Req object is returned.</p>
-<p>The returned Req object must be used from that point onward, otherwise the body will not be sent in the response.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: The function now accepts a <code>sendfile</code> tuple.
-</li>
-<li><strong>2.0</strong>: The <code>set_resp_body_fun/2,3</code> functions were removed.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Set the response body</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_body</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello world!"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Set the response body as an iolist</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_body</font></b>([
- <font color="#FF0000">"&lt;html&gt;&lt;head&gt;&lt;title&gt;"</font>,
- <b><font color="#000000">page_title</font></b>(),
- <font color="#FF0000">"&lt;/title&gt;&lt;/head&gt;&lt;body&gt;"</font>,
- <b><font color="#000000">page_body</font></b>(),
- <font color="#FF0000">"&lt;/body&gt;&lt;/html&gt;"</font>
-], <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Tell Cowboy to send data from a file</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#008080">#file_info</font>{<b><font color="#000080">size</font></b><font color="#990000">=</font><font color="#009900">Size</font>}} <font color="#990000">=</font> <b><font color="#000000">file:read_file_info</font></b>(<font color="#009900">Filename</font>),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_body</font></b>({<font color="#FF6600">sendfile</font>, <font color="#993399">0</font>, <font color="#009900">Size</font>, <font color="#009900">Filename</font>}, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Clear any previously set response body</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_body</font></b>(<font color="#990000">&lt;&lt;&gt;&gt;</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a>, <a href="../cowboy_req.reply">cowboy_req:reply(3)</a>, <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_cookie/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_cookie/index.html
deleted file mode 100644
index ad2d5b0c..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_cookie/index.html
+++ /dev/null
@@ -1,260 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:set_resp_cookie(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:set_resp_cookie(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:set_resp_cookie - Set a cookie</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">set_resp_cookie</font></b>(<font color="#009900">Name</font>, <font color="#009900">Value</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">set_resp_cookie</font></b>(<font color="#009900">Name</font>, <font color="#009900">Value</font>, [], <font color="#009900">Req</font>)
-
-<b><font color="#000000">set_resp_cookie</font></b>(<font color="#009900">Name</font>, <font color="#009900">Value</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>(), <font color="#009900">Opts</font>)
- <font color="#990000">-&gt;</font> <font color="#009900">Req</font>
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>() <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">cow_cookie:cookie_opts</font></b>()</tt></pre>
-</div></div>
-<p>Set a cookie to be sent with the response.</p>
-<p>Note that cookie names are case sensitive.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>Cookie name.</p>
-</dd>
-<dt>Value</dt>
-<dd><p>Cookie value.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Opts</dt>
-<dd><p>Cookie options.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A new Req object is returned.</p>
-<p>The returned Req object must be used from that point onward, otherwise the cookie will not be sent in the response.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: <code>set_resp_cookie/3</code> introduced as an alias to <code>set_resp_cookie/4</code> with no options.
-</li>
-<li><strong>2.0</strong>: The first argument type is now <code>binary()</code> instead of <code>iodata()</code>.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Set a session cookie</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SessionID</font> <font color="#990000">=</font> <b><font color="#000000">base64:encode</font></b>(<b><font color="#000000">crypto:strong_rand_bytes</font></b>(<font color="#993399">32</font>)),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">SessionID</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Set a cookie with an expiration time</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"lang"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"fr-FR"</font><font color="#990000">&gt;&gt;</font>,
- <font color="#009900">Req0</font>, #{<font color="#0000FF">max_age</font> <font color="#990000">=&gt;</font> <font color="#993399">3600</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Delete a cookie</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;&gt;&gt;</font>,
- <font color="#009900">Req0</font>, #{<font color="#0000FF">max_age</font> <font color="#990000">=&gt;</font> <font color="#993399">0</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Set a cookie for a specific domain and path</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"inaccount"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"1"</font><font color="#990000">&gt;&gt;</font>,
- <font color="#009900">Req0</font>, #{<font color="#0000FF">domain</font> <font color="#990000">=&gt;</font> <font color="#FF0000">"my.example.org"</font>, <font color="#0000FF">path</font> <font color="#990000">=&gt;</font> <font color="#FF0000">"/account"</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Restrict a cookie to HTTPS</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SessionID</font> <font color="#990000">=</font> <b><font color="#000000">base64:encode</font></b>(<b><font color="#000000">crypto:strong_rand_bytes</font></b>(<font color="#993399">32</font>)),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">SessionID</font>,
- <font color="#009900">Req0</font>, #{<font color="#0000FF">secure</font> <font color="#990000">=&gt;</font> <font color="#000080">true</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Restrict a cookie to HTTP</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SessionID</font> <font color="#990000">=</font> <b><font color="#000000">base64:encode</font></b>(<b><font color="#000000">crypto:strong_rand_bytes</font></b>(<font color="#993399">32</font>)),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">SessionID</font>,
- <font color="#009900">Req0</font>, #{<font color="#0000FF">http_only</font> <font color="#990000">=&gt;</font> <font color="#000080">true</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a>, <a href="../cowboy_req.reply">cowboy_req:reply(3)</a>, <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_header/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_header/index.html
deleted file mode 100644
index 397e0bb4..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_header/index.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:set_resp_header(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:set_resp_header(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:set_resp_header - Set a response header</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">set_resp_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Value</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <font color="#009900">Req</font>
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>() <i><font color="#9A1900">%% case depends on header</font></i></tt></pre>
-</div></div>
-<p>Set a header to be sent with the response.</p>
-<p>The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<p>Cowboy does not allow duplicate header names. Headers set by this function may be overwritten by those set from the reply functions.</p>
-<p>Use <a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a> instead of this function to set cookies.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>Header name as a lowercase binary string.</p>
-</dd>
-<dt>Value</dt>
-<dd><p>Header value.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A new Req object is returned.</p>
-<p>The returned Req object must be used from that point onward, otherwise the header will not be sent in the response.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Set a header in the response</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"allow"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF0000">"GET"</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Construct a header using iolists</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"allow"</font><font color="#990000">&gt;&gt;</font>,
- [<b><font color="#000000">allowed_methods</font></b>(), <font color="#FF0000">", OPTIONS"</font>], <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a>, <a href="../cowboy_req.has_resp_header">cowboy_req:has_resp_header(3)</a>, <a href="../cowboy_req.resp_header">cowboy_req:resp_header(3)</a>, <a href="../cowboy_req.resp_headers">cowboy_req:resp_headers(3)</a>, <a href="../cowboy_req.delete_resp_header">cowboy_req:delete_resp_header(3)</a>, <a href="../cowboy_req.reply">cowboy_req:reply(3)</a>, <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_headers/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_headers/index.html
deleted file mode 100644
index 1564a969..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_headers/index.html
+++ /dev/null
@@ -1,207 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:set_resp_headers(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:set_resp_headers(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:set_resp_headers - Set several response headers</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">set_resp_headers</font></b>(<font color="#009900">Headers</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <font color="#009900">Req</font>
-
-<font color="#009900">Headers</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:http_headers</font></b>()</tt></pre>
-</div></div>
-<p>Set several headers to be sent with the response.</p>
-<p>The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<p>Cowboy does not allow duplicate header names. Headers set by this function may be overwritten by those set from the reply functions. Likewise, headers set by this function may overwrite headers that were set previously.</p>
-<p>Use <a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a> instead of this function to set cookies.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Headers</dt>
-<dd><p>Headers as a map with keys being lowercase binary strings, and values as binary strings.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A new Req object is returned.</p>
-<p>The returned Req object must be used from that point onward, otherwise the headers will not be sent in the response.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Set several response headers</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_headers</font></b>(#{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/html"</font><font color="#990000">&gt;&gt;</font>,
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-encoding"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"gzip"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.has_resp_header">cowboy_req:has_resp_header(3)</a>, <a href="../cowboy_req.resp_header">cowboy_req:resp_header(3)</a>, <a href="../cowboy_req.resp_headers">cowboy_req:resp_headers(3)</a>, <a href="../cowboy_req.delete_resp_header">cowboy_req:delete_resp_header(3)</a>, <a href="../cowboy_req.reply">cowboy_req:reply(3)</a>, <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.stream_body/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.stream_body/index.html
deleted file mode 100644
index f0f49d61..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.stream_body/index.html
+++ /dev/null
@@ -1,212 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:stream_body(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:stream_body(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:stream_body - Stream the response body</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">stream_body</font></b>(<font color="#009900">Data</font>, <font color="#009900">IsFin</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font>
-
-<font color="#009900">Data</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>()
-<font color="#009900">IsFin</font> <font color="#990000">::</font> <font color="#FF6600">fin</font> | <font color="#FF6600">nofin</font></tt></pre>
-</div></div>
-<p>Stream the response body.</p>
-<p>This function may be called as many times as needed after initiating a response using the <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a> function.</p>
-<p>The second argument indicates if this call is the final call. Use the <code>nofin</code> value until you know no more data will be sent. The final call should use <code>fin</code> (possibly with an empty data value).</p>
-<p>Note that not using <code>fin</code> for the final call is not an error; Cowboy will take care of it when the request handler terminates if needed. Depending on the resource it may however be more efficient to do it as early as possible.</p>
-<p>You do not need to handle HEAD requests specifically as Cowboy will ensure no data is sent when you call this function.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Data</dt>
-<dd><p>The data to be sent.</p>
-</dd>
-<dt>IsFin</dt>
-<dd><p>A flag indicating whether this is the final piece of data to be sent.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The atom <code>ok</code> is always returned. It can be safely ignored.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced. Replaces <code>chunk/2</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Stream the response body</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:stream_reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/plain"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>),
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello\n"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF6600">nofin</font>, <font color="#009900">Req</font>),
-<b><font color="#000000">timer:sleep</font></b>(<font color="#993399">1000</font>),
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"World!\n"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF6600">fin</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.stream_reply/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.stream_reply/index.html
deleted file mode 100644
index 71dcdb42..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.stream_reply/index.html
+++ /dev/null
@@ -1,232 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:stream_reply(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:stream_reply(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:stream_reply - Send the response headers</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">stream_reply</font></b>(<font color="#009900">Status</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">stream_reply</font></b>(<font color="#009900">StatusCode</font>, #{}, <font color="#009900">Req</font>)
-
-<b><font color="#000000">stream_reply</font></b>(<font color="#009900">Status</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <font color="#009900">Req</font>
-
-<font color="#009900">Status</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:http_status</font></b>()
-<font color="#009900">Headers</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:http_headers</font></b>()</tt></pre>
-</div></div>
-<p>Send the response headers.</p>
-<p>The header names must be given as lowercase binary strings. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<p>Cowboy does not allow duplicate header names. Headers set by this function may overwrite those set by <code>set_resp_header/3</code>.</p>
-<p>Use <a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a> instead of this function to set cookies.</p>
-<p>If a response body was set before calling this function, it will not be sent.</p>
-<p>Use <a href="../cowboy_req.stream_body">cowboy_req:stream_body(3)</a> to stream the response body.</p>
-<p>You may want to set the content-length header when using this function, if it is known in advance. This will allow clients using HTTP/2 and HTTP/1.0 to process the response more efficiently.</p>
-<p>The streaming method varies depending on the protocol being used. HTTP/2 will use the usual DATA frames. HTTP/1.1 will use chunked transfer-encoding. HTTP/1.0 will send the body unmodified and close the connection at the end if no content-length was set.</p>
-<p>It is not possible to push resources after this function returns. Any attempt will result in an error.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Status</dt>
-<dd><p>The status code for the response.</p>
-</dd>
-<dt>Headers</dt>
-<dd><p>The response headers.</p>
-</dd>
-</dl>
-<p>Header names must be given as lowercase binary strings.</p>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A new Req object is returned.</p>
-<p>The returned Req object must be used from that point onward in order to be able to stream the response body.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the Req is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>2.0</strong>: Function introduced. Replaces <code>chunked_reply/1,2</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Initiate the response</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:stream_reply</font></b>(<font color="#993399">200</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Stream the response with custom headers</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:stream_reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/plain"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>),
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello\n"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF6600">nofin</font>, <font color="#009900">Req</font>),
-<b><font color="#000000">timer:sleep</font></b>(<font color="#993399">1000</font>),
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"World!\n"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF6600">fin</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a>, <a href="../cowboy_req.reply">cowboy_req:reply(3)</a>, <a href="../cowboy_req.stream_body">cowboy_req:stream_body(3)</a>, <a href="../cowboy_req.push">cowboy_req:push(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.uri/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.uri/index.html
deleted file mode 100644
index a9e3bb8a..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req.uri/index.html
+++ /dev/null
@@ -1,262 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:uri(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:uri(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:uri - Reconstructed URI</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">uri</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">uri</font></b>(<font color="#009900">Req</font>, #{})
-<b><font color="#000000">uri</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>(), <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font> <font color="#009900">URI</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>()
-
-<font color="#009900">Opts</font> <font color="#990000">::</font> #{
- <font color="#0000FF">scheme</font> <font color="#990000">=&gt;</font> <b><font color="#000000">iodata</font></b>() | <font color="#000080">undefined</font>,
- <font color="#0000FF">host</font> <font color="#990000">=&gt;</font> <b><font color="#000000">iodata</font></b>() | <font color="#000080">undefined</font>,
- <font color="#0000FF">port</font> <font color="#990000">=&gt;</font> <b><font color="#000000">inet:port_number</font></b>() | <font color="#000080">undefined</font>,
- <font color="#0000FF">path</font> <font color="#990000">=&gt;</font> <b><font color="#000000">iodata</font></b>() | <font color="#000080">undefined</font>,
- <font color="#0000FF">qs</font> <font color="#990000">=&gt;</font> <b><font color="#000000">iodata</font></b>() | <font color="#000080">undefined</font>,
- <font color="#0000FF">fragment</font> <font color="#990000">=&gt;</font> <b><font color="#000000">iodata</font></b>() | <font color="#000080">undefined</font>
-}</tt></pre>
-</div></div>
-<p>Reconstruct the effective request URI, optionally modifying components.</p>
-<p>By default Cowboy will build a URI using the components found in the request. Options allow disabling or replacing individual components.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Opts</dt>
-<dd><p>Map for overriding individual components.</p>
-<p>To replace a component, provide its new value as a binary string or an iolist. To disable a component, set its value to <code>undefined</code>.</p>
-<p>As this function always returns a valid URI, there are some things to note:</p>
-<ul><li>Disabling the host also disables the scheme and port.
-</li>
-<li>There is no fragment component by default as these are not sent with the request.
-</li>
-<li>The port number may not appear in the resulting URI if it is the default port for the given scheme (http: 80; https: 443).
-</li>
-</ul>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The reconstructed URI is returned as an iolist or a binary string.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Individual components can be replaced or disabled.
-</li>
-<li><strong>2.0</strong>: Only the URI is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>2.0</strong>: Function introduced. Replaces <code>host_url/1</code> and <code>url/1</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<p>With an effective request URI <a href="http://example.org/path/to/res?edit=1">http://example.org/path/to/res?edit=1</a> we can have:</p>
-<div class="listingblock"><div class="title">Protocol relative form</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% //example.org/path/to/res?edit=1</font></i>
-<b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">scheme</font> <font color="#990000">=&gt;</font> <font color="#000080">undefined</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Serialized origin for use in the origin header</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% </font></i><u><font color="#0000FF">http://example.org</font></u>
-<b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">path</font> <font color="#990000">=&gt;</font> <font color="#000080">undefined</font>, <font color="#0000FF">qs</font> <font color="#990000">=&gt;</font> <font color="#000080">undefined</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">HTTP/1.1 origin form (path and query string only)</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% /path/to/res?edit=1</font></i>
-<b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">host</font> <font color="#990000">=&gt;</font> <font color="#000080">undefined</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Add a fragment to the URI</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% </font></i><u><font color="#0000FF">http://example.org/path/to/res</font></u><i><font color="#9A1900">?edit=1#errors</font></i>
-<b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">fragment</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"errors"</font><font color="#990000">&gt;&gt;</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Ensure the scheme is HTTPS</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% </font></i><u><font color="#0000FF">https://example.org/path/to/res</font></u><i><font color="#9A1900">?edit=1</font></i>
-<b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">scheme</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"https"</font><font color="#990000">&gt;&gt;</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Convert the URI to a binary string</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">iolist_to_binary</font></b>(<b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>))<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.scheme">cowboy_req:scheme(3)</a>, <a href="../cowboy_req.host">cowboy_req:host(3)</a>, <a href="../cowboy_req.port">cowboy_req:port(3)</a>, <a href="../cowboy_req.path">cowboy_req:path(3)</a>, <a href="../cowboy_req.qs">cowboy_req:qs(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req/index.html b/docs/en/cowboy/2.0/manual/cowboy_req/index.html
deleted file mode 100644
index f5fc00ee..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_req/index.html
+++ /dev/null
@@ -1,362 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req - HTTP request and response</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_req</code> provides functions to access, manipulate and respond to requests.</p>
-<p>There are four types of functions in this module. They can be differentiated by their name and their return type:</p>
-<table rules="all" width="100%" frame="border"
- cellspacing="0" cellpadding="4">
-<thead><tr><th>Type</th>
-<th>Name pattern</th>
-<th>Return type</th>
-</tr></thead><tbody><tr><td>access</td>
-<td>no verb, parse_*, match_*</td>
-<td><code>Value</code></td>
-</tr>
-<tr><td>question</td>
-<td>has_*</td>
-<td><code>boolean()</code></td>
-</tr>
-<tr><td>modification</td>
-<td>set_*</td>
-<td><code>Req</code></td>
-</tr>
-<tr><td>action</td>
-<td>any other verb</td>
-<td><code>ok | {Result, Value, Req}</code></td>
-</tr>
-</tbody></table>
-<p>Any <code>Req</code> returned must be used in place of the one passed as argument. Functions that perform an action in particular write state in the Req object to make sure you are using the function correctly. For example, it&apos;s only possible to send one response, and to read the body once.</p>
-<h2 id="_exports">Exports</h2>
-<p>Raw request:</p>
-<ul><li><a href="../cowboy_req.method">cowboy_req:method(3)</a> - HTTP method
-</li>
-<li><a href="../cowboy_req.version">cowboy_req:version(3)</a> - HTTP version
-</li>
-<li><a href="../cowboy_req.scheme">cowboy_req:scheme(3)</a> - URI scheme
-</li>
-<li><a href="../cowboy_req.host">cowboy_req:host(3)</a> - URI host name
-</li>
-<li><a href="../cowboy_req.port">cowboy_req:port(3)</a> - URI port number
-</li>
-<li><a href="../cowboy_req.path">cowboy_req:path(3)</a> - URI path
-</li>
-<li><a href="../cowboy_req.qs">cowboy_req:qs(3)</a> - URI query string
-</li>
-<li><a href="../cowboy_req.uri">cowboy_req:uri(3)</a> - Reconstructed URI
-</li>
-<li><a href="../cowboy_req.header">cowboy_req:header(3)</a> - HTTP header
-</li>
-<li><a href="../cowboy_req.headers">cowboy_req:headers(3)</a> - HTTP headers
-</li>
-<li><a href="../cowboy_req.peer">cowboy_req:peer(3)</a> - Peer address and port
-</li>
-</ul>
-<p>Processed request:</p>
-<ul><li><a href="../cowboy_req.parse_qs">cowboy_req:parse_qs(3)</a> - Parse the query string
-</li>
-<li><a href="../cowboy_req.match_qs">cowboy_req:match_qs(3)</a> - Match the query string against constraints
-</li>
-<li><a href="../cowboy_req.parse_header">cowboy_req:parse_header(3)</a> - Parse the given HTTP header
-</li>
-<li><a href="../cowboy_req.parse_cookies">cowboy_req:parse_cookies(3)</a> - Parse cookie headers
-</li>
-<li><a href="../cowboy_req.match_cookies">cowboy_req:match_cookies(3)</a> - Match cookies against constraints
-</li>
-<li><a href="../cowboy_req.binding">cowboy_req:binding(3)</a> - Access a value bound from the route
-</li>
-<li><a href="../cowboy_req.bindings">cowboy_req:bindings(3)</a> - Access all values bound from the route
-</li>
-<li><a href="../cowboy_req.host_info">cowboy_req:host_info(3)</a> - Access the route&apos;s heading host segments
-</li>
-<li><a href="../cowboy_req.path_info">cowboy_req:path_info(3)</a> - Access the route&apos;s trailing path segments
-</li>
-</ul>
-<p>Request body:</p>
-<ul><li><a href="../cowboy_req.has_body">cowboy_req:has_body(3)</a> - Is there a request body?
-</li>
-<li><a href="../cowboy_req.body_length">cowboy_req:body_length(3)</a> - Body length
-</li>
-<li><a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a> - Read the request body
-</li>
-<li><a href="../cowboy_req.read_urlencoded_body">cowboy_req:read_urlencoded_body(3)</a> - Read and parse a urlencoded request body
-</li>
-<li><a href="../cowboy_req.read_part">cowboy_req:read_part(3)</a> - Read the next multipart headers
-</li>
-<li><a href="../cowboy_req.read_part_body">cowboy_req:read_part_body(3)</a> - Read the current part&apos;s body
-</li>
-</ul>
-<p>Response:</p>
-<ul><li><a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a> - Set a cookie
-</li>
-<li><a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a> - Set a response header
-</li>
-<li><a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a> - Set several response headers
-</li>
-<li><a href="../cowboy_req.has_resp_header">cowboy_req:has_resp_header(3)</a> - Is the given response header set?
-</li>
-<li><a href="../cowboy_req.resp_header">cowboy_req:resp_header(3)</a> - Response header
-</li>
-<li><a href="../cowboy_req.resp_headers">cowboy_req:resp_headers(3)</a> - Response headers
-</li>
-<li><a href="../cowboy_req.delete_resp_header">cowboy_req:delete_resp_header(3)</a> - Delete a response header
-</li>
-<li><a href="../cowboy_req.set_resp_body">cowboy_req:set_resp_body(3)</a> - Set the response body
-</li>
-<li><a href="../cowboy_req.has_resp_body">cowboy_req:has_resp_body(3)</a> - Is there a response body?
-</li>
-<li><a href="../cowboy_req.reply">cowboy_req:reply(3)</a> - Send the response
-</li>
-<li><a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a> - Send the response headers
-</li>
-<li><a href="../cowboy_req.stream_body">cowboy_req:stream_body(3)</a> - Stream the response body
-</li>
-<li><a href="../cowboy_req.push">cowboy_req:push(3)</a> - Push a resource to the client
-</li>
-</ul>
-<h2 id="_types">Types</h2>
-<h3 id="_push_opts">push_opts()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">push_opts</font></b>() <font color="#990000">::</font> #{
- <font color="#0000FF">method</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% case sensitive</font></i>
- <font color="#0000FF">scheme</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
- <font color="#0000FF">host</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
- <font color="#0000FF">port</font> <font color="#990000">=&gt;</font> <b><font color="#000000">inet:port_number</font></b>(),
- <font color="#0000FF">qs</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i>
-}</tt></pre>
-</div></div>
-<p>Push options.</p>
-<p>By default, Cowboy will use the GET method, an empty query string, and take the scheme, host and port directly from the current request&apos;s URI.</p>
-<h3 id="_read_body_opts">read_body_opts()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">read_body_opts</font></b>() <font color="#990000">::</font> #{
- <b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">period</font> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>()
-}</tt></pre>
-</div></div>
-<p>Body reading options.</p>
-<p>The defaults are function-specific.</p>
-<h3 id="_req">req()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">req</font></b>() <font color="#990000">::</font> #{
- <font color="#FF6600">method</font> <font color="#990000">:=</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% case sensitive</font></i>
- <font color="#FF6600">version</font> <font color="#990000">:=</font> <b><font color="#000000">cowboy:http_version</font></b>() | <b><font color="#000080">atom</font></b>(),
- <font color="#FF6600">scheme</font> <font color="#990000">:=</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
- <font color="#FF6600">host</font> <font color="#990000">:=</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
- <font color="#FF6600">port</font> <font color="#990000">:=</font> <b><font color="#000000">inet:port_number</font></b>(),
- <font color="#FF6600">path</font> <font color="#990000">:=</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% case sensitive</font></i>
- <font color="#FF6600">qs</font> <font color="#990000">:=</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% case sensitive</font></i>
- <font color="#FF6600">headers</font> <font color="#990000">:=</font> <b><font color="#000000">cowboy:http_headers</font></b>(),
- <font color="#FF6600">peer</font> <font color="#990000">:=</font> {<b><font color="#000000">inet:ip_address</font></b>(), <b><font color="#000000">inet:port_number</font></b>()}
-}</tt></pre>
-</div></div>
-<p>The Req object.</p>
-<p>Contains information about the request and response. While some fields are publicly documented, others aren&apos;t and shouldn&apos;t be used.</p>
-<p>You may add custom fields if required. Make sure to namespace them by prepending an underscore and the name of your application:</p>
-<div class="listingblock"><div class="title">Setting a custom field</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font>#{<font color="#009900">_myapp_auth_method</font> <font color="#990000">=&gt;</font> <font color="#FF6600">pubkey</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<h3 id="_resp_body">resp_body()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">resp_body</font></b>() <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>()
- | {<font color="#FF6600">sendfile</font>, <font color="#009900">Offset</font>, <font color="#009900">Length</font>, <font color="#009900">Filename</font>}
-
-<font color="#009900">Offset</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>()
-<font color="#009900">Length</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>()
-<font color="#009900">Filename</font> <font color="#990000">::</font> <b><font color="#000000">file:name_all</font></b>()</tt></pre>
-</div></div>
-<p>Response body.</p>
-<p>It can take two forms: the actual data to be sent or a tuple indicating which file to send.</p>
-<p>When sending data directly, the type is either a binary or an iolist. Iolists are an efficient way to build output. Instead of concatenating strings or binaries, you can simply build a list containing the fragments you want to send in the order they should be sent:</p>
-<div class="listingblock"><div class="title">Example iolists usage</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#993399">1</font><font color="#990000">&gt;</font> <font color="#009900">RespBody</font> <font color="#990000">=</font> [<font color="#FF0000">"Hello "</font>, [<font color="#990000">&lt;&lt;</font><font color="#FF0000">"world"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF0000">$!</font>]]<font color="#990000">.</font>
-[<font color="#FF0000">"Hello "</font>,[<font color="#990000">&lt;&lt;</font><font color="#FF0000">"world"</font><font color="#990000">&gt;&gt;</font>,<font color="#993399">33</font>]]
-<font color="#993399">2</font><font color="#990000">&gt;</font> <b><font color="#000000">io:format</font></b>(<font color="#FF0000">"~s~n"</font>, [<font color="#009900">RespBody</font>])<font color="#990000">.</font>
-<font color="#009900">Hello</font> <font color="#FF6600">world</font><font color="#990000">!</font></tt></pre>
-</div></div>
-<p>Note that the length must be greater than zero for any data to be sent. Cowboy will send an empty body when the length is zero.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_rest/index.html b/docs/en/cowboy/2.0/manual/cowboy_rest/index.html
deleted file mode 100644
index 7e4e6fdd..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_rest/index.html
+++ /dev/null
@@ -1,620 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_rest(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_rest(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_rest - REST handlers</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_rest</code> implements the HTTP state machine.</p>
-<p>Implementing REST handlers is not enough to provide a REST interface; this interface must also follow the REST constraints including HATEOAS (hypermedia as the engine of application state).</p>
-<h2 id="_callbacks">Callbacks</h2>
-<p>REST handlers implement the following interface:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">cowboy_rest</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Callback</font>(<font color="#009900">Req</font>, <font color="#009900">State</font>)
- <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
- | {<font color="#FF6600">stop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<b><font color="#000000">terminate</font></b>(<font color="#009900">Reason</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> <i><font color="#9A1900">%% optional</font></i>
-
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">State</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Reason</font> <font color="#990000">::</font> <b><font color="#000080">normal</font></b>
- | {<font color="#FF6600">crash</font>, <font color="#FF6600">error</font> | <b><font color="#000080">exit</font></b> | <b><font color="#000080">throw</font></b>, <b><font color="#000000">any</font></b>()}
-
-<font color="#009900">Callback</font> <font color="#990000">-</font> <font color="#FF6600">see</font> <font color="#FF6600">below</font>
-<font color="#009900">Result</font> <font color="#990000">-</font> <font color="#FF6600">see</font> <font color="#FF6600">below</font>
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#FF6600">see</font> <font color="#FF6600">below</font></tt></pre>
-</div></div>
-<p>The <code>init/2</code> callback is common to all handlers. To switch to the REST handler behavior, it must return <code>cowboy_rest</code> as the first element of the tuple.</p>
-<p>The <code>Callback/2</code> above represents all the REST-specific callbacks. They are described in the following section of this manual. REST-specific callbacks differ by their name, semantics, result and default values. The default value is the one used when the callback has not been implemented. They otherwise all follow the same interface.</p>
-<p>The <code>stop</code> tuple can be returned to stop REST processing. If no response was sent before then, Cowboy will send a <em>204 No Content</em>.</p>
-<p>The optional <code>terminate/3</code> callback will ultimately be called with the reason for the termination of the handler. Cowboy will terminate the process right after this. There is no need to perform any cleanup in this callback.</p>
-<p>The following terminate reasons are defined for loop handlers:</p>
-<dl><dt>normal</dt>
-<dd><p>The handler terminated normally.</p>
-</dd>
-<dt>{crash, Class, Reason}</dt>
-<dd><p>A crash occurred in the handler. <code>Class</code> and <code>Reason</code> can be used to obtain more information about the crash. The function <code>erlang:get_stacktrace/0</code> can also be called to obtain the stacktrace of the process when the crash occurred.</p>
-</dd>
-</dl>
-<h2 id="_rest_callbacks">REST callbacks</h2>
-<h3 id="_acceptcallback">AcceptCallback</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">AcceptCallback</font>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <font color="#000080">true</font> | {<font color="#000080">true</font>, <font color="#009900">URI</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>()} | <font color="#000080">false</font>}
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#FF6600">crash</font></tt></pre>
-</div></div>
-<p>Process the request body.</p>
-<p>This function should create or update the resource using the request body.</p>
-<p>For PUT requests, the body is a representation of the resource that is being created or replaced.</p>
-<p>For POST requests, the body is typically application-specific instructions on how to process the request, but it may also be a representation of the resource. When creating a new resource with POST at a different location, return <code>{true, URI}</code> with <code>URI</code> the new location.</p>
-<p>For PATCH requests, the body is a series of instructions on how to update the resource. Patch files or JSON Patch are examples of such media types.</p>
-<p>A response body may be sent. The appropriate media type, charset and language for the response can be retrieved from the Req object using the <code>media_type</code>, <code>charset</code> and <code>language</code> keys, respectively. The body can be set using <a href="../cowboy_req.set_resp_body">cowboy_req:set_resp_body(3)</a>.</p>
-<h3 id="_allowed_methods">allowed_methods</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">allowed_methods</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> [<b><font color="#000080">binary</font></b>()] <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Default</font> <font color="#990000">::</font> [<font color="#990000">&lt;&lt;</font><font color="#FF0000">"GET"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"HEAD"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"OPTIONS"</font><font color="#990000">&gt;&gt;</font>]</tt></pre>
-</div></div>
-<p>Return the list of allowed methods.</p>
-<h3 id="_allow_missing_post">allow_missing_post</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">allow_missing_post</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">true</font></tt></pre>
-</div></div>
-<p>Return whether POST is allowed when the resource doesn&apos;t exist.</p>
-<p>Returning <code>true</code> here means that a new resource will be created. The URI for the newly created resource should be returned from the <code>AcceptCallback</code> function.</p>
-<h3 id="_charsets_provided">charsets_provided</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">charsets_provided</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> [<b><font color="#000080">binary</font></b>()] <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#FF6600">skip</font> <font color="#FF6600">this</font> <font color="#FF6600">step</font></tt></pre>
-</div></div>
-<p>Return the list of charsets the resource provides in order of preference.</p>
-<p>During content negotiation Cowboy will pick the most appropriate charset for the client. The client advertises charsets it prefers with the accept-charset header. When that header is missing, Cowboy picks the first charset from the resource.</p>
-<!-- @todo We should explain precisely how charsets are picked.-->
-<p>Cowboy will add the negotiated <code>charset</code> to the Req object after this step completes:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">req</font></b>() <font color="#990000">::</font> #{
- <font color="#0000FF">charset</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
-}</tt></pre>
-</div></div>
-<h3 id="_content_types_accepted">content_types_accepted</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">content_types_accepted</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> [{<b><font color="#000080">binary</font></b>() | <font color="#009900">ParsedMime</font>, <font color="#009900">AcceptCallback</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>()}]
-<font color="#009900">ParsedMime</font> <font color="#990000">::</font> {<font color="#009900">Type</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">SubType</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#FF6600">'*'</font> | <font color="#009900">Params</font>}
-<font color="#009900">Params</font> <font color="#990000">::</font> [{<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()}]
-
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#FF6600">crash</font></tt></pre>
-</div></div>
-<!-- @todo Case sensitivity of parsed mime content?-->
-<p>Return the list of media types the resource accepts in order of preference.</p>
-<p>A media type is made of different parts. The media type <code>text/html;charset=utf-8</code> is of type <code>text</code>, subtype <code>html</code> and has a single parameter <code>charset</code> with value <code>utf-8</code>.</p>
-<!-- @todo Cowboy needs to ignore the boundary parameter for-->
-<!-- multipart, as we never want to match against it. Or allow-->
-<!-- ignoring specific parameters at the very least.-->
-<p>Cowboy will match the content-type request header against the media types the server accepts and select the appropriate callback. When that header is missing, or when the server does not accept this media type, the request fails and an error response is returned. Cowboy will execute the callback immediately otherwise.</p>
-<!-- @todo We should explain precisely how media types are picked.-->
-<p>An empty parameters list <code>[]</code> means that no parameters will be accepted. When any parameter is acceptable, the tuple form should be used with parameters as the atom <code>&apos;*&apos;</code>.</p>
-<p>Cowboy treats all parameters as case sensitive, except for the <code>charset</code> parameter, which is known to be case insensitive. You should therefore always provide the charset as a lowercase binary string.</p>
-<!-- @todo Maybe this should be in the user guide instead.-->
-<!-- This function will be called for POST, PUT and PATCH requests.-->
-<!-- It is entirely possible to define different callbacks for different-->
-<!-- methods if the handling of the request differs. Simply verify-->
-<!-- what the method is with `cowboy_req:method/1` and return a-->
-<!-- different list for each methods.-->
-<h3 id="_content_types_provided">content_types_provided</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">content_types_provided</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> [{<b><font color="#000080">binary</font></b>() | <font color="#009900">ParsedMime</font>, <font color="#009900">ProvideCallback</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>()}]
-<font color="#009900">ParsedMime</font> <font color="#990000">::</font> {<font color="#009900">Type</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">SubType</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#FF6600">'*'</font> | <font color="#009900">Params</font>}
-<font color="#009900">Params</font> <font color="#990000">::</font> [{<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()}]
-
-<font color="#009900">Default</font> <font color="#990000">-</font> [{{ <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"html"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF6600">'*'</font>}, <font color="#FF6600">to_html</font>}]</tt></pre>
-</div></div>
-<!-- @todo Case sensitivity of parsed mime content?-->
-<!-- @todo Space required for the time being: https://github.com/spf13/hugo/issues/2398-->
-<p>Return the list of media types the resource provides in order of preference.</p>
-<p>A media type is made of different parts. The media type <code>text/html;charset=utf-8</code> is of type <code>text</code>, subtype <code>html</code> and has a single parameter <code>charset</code> with value <code>utf-8</code>.</p>
-<!-- @todo Cowboy needs to ignore the boundary parameter for-->
-<!-- multipart, as we never want to match against it. Or allow-->
-<!-- ignoring specific parameters at the very least.-->
-<p>During content negotiation Cowboy will pick the most appropriate media type for the client. The client advertises media types it prefers with the accept header. When that header is missing, the content negotiation fails and an error response is returned.</p>
-<p>The callback given for the selected media type will be called at the end of the execution of GET and HEAD requests when a representation must be sent to the client.</p>
-<!-- @todo We should explain precisely how media types are picked.-->
-<p>An empty parameters list <code>[]</code> means that no parameters will be accepted. When any parameter is acceptable, the tuple form should be used with parameters as the atom <code>&apos;*&apos;</code>.</p>
-<p>Cowboy treats all parameters as case sensitive, except for the <code>charset</code> parameter, which is known to be case insensitive. You should therefore always provide the charset as a lowercase binary string.</p>
-<p>Cowboy will add the negotiated <code>media_type</code> to the Req object after this step completes:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">req</font></b>() <font color="#990000">::</font> #{
- <font color="#0000FF">media_type</font> <font color="#990000">=&gt;</font> <font color="#009900">ParsedMime</font>
-}</tt></pre>
-</div></div>
-<!-- @todo Case sensitivity of parsed mime content?-->
-<h3 id="_delete_completed">delete_completed</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">delete_completed</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">true</font></tt></pre>
-</div></div>
-<p>Return whether the resource has been fully deleted from the system, including from any internal cache.</p>
-<p>Returning <code>false</code> will result in a <em>202 Accepted</em> response being sent instead of a <em>200 OK</em> or <em>204 No Content</em>.</p>
-<h3 id="_delete_resource">delete_resource</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">delete_resource</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Delete the resource.</p>
-<p>Cowboy will send an error response when this function returns <code>false</code>.</p>
-<h3 id="_expires">expires</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">expires</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">calendar:datetime</font></b>() | <b><font color="#000080">binary</font></b>() | <font color="#000080">undefined</font>
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">undefined</font></tt></pre>
-</div></div>
-<p>Return the resource&apos;s expiration date.</p>
-<h3 id="_forbidden">forbidden</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">forbidden</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Return whether access to the resource is forbidden.</p>
-<p>A <em>403 Forbidden</em> response will be sent if this function returns <code>true</code>. This status code means that access is forbidden regardless of authentication, and that the request shouldn&apos;t be repeated.</p>
-<h3 id="_generate_etag">generate_etag</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">generate_etag</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() | {<font color="#FF6600">weak</font> | <font color="#FF6600">strong</font>, <b><font color="#000080">binary</font></b>()}
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#FF6600">no</font> <font color="#FF6600">etag</font> <font color="#FF6600">value</font></tt></pre>
-</div></div>
-<p>Return the entity tag of the resource.</p>
-<p>When a binary is returned, the value is automatically parsed to a tuple. The binary must be in the same format as the etag header, including quotes.</p>
-<h3 id="_is_authorized">is_authorized</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">is_authorized</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <font color="#000080">true</font> | {<font color="#000080">false</font>, <font color="#009900">AuthHeader</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>()}
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#000080">true</font></tt></pre>
-</div></div>
-<p>Return whether the user is authorized to perform the action.</p>
-<p>This function should be used to perform any necessary authentication of the user before attempting to perform any action on the resource.</p>
-<p>When authentication fails, the <code>AuthHeader</code> value will be sent in the www-authenticate header for the <em>401 Unauthorized</em> response.</p>
-<h3 id="_is_conflict">is_conflict</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">is_conflict</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Return whether the PUT request results in a conflict.</p>
-<p>A <em>409 Conflict</em> response is sent when <code>true</code>.</p>
-<h3 id="_known_methods">known_methods</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">known_methods</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> [<b><font color="#000080">binary</font></b>()] <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Default</font> <font color="#990000">::</font> [<font color="#990000">&lt;&lt;</font><font color="#FF0000">"GET"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"HEAD"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"POST"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"PUT"</font><font color="#990000">&gt;&gt;</font>,
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"PATCH"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"DELETE"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"OPTIONS"</font><font color="#990000">&gt;&gt;</font>]</tt></pre>
-</div></div>
-<p>Return the list of known methods.</p>
-<p>The full list of methods known by the server should be returned, regardless of their use in the resource.</p>
-<p>The default value lists the methods Cowboy knows and implement in <code>cowboy_rest</code>.</p>
-<h3 id="_languages_provided">languages_provided</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">languages_provided</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> [<b><font color="#000080">binary</font></b>()] <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#FF6600">skip</font> <font color="#FF6600">this</font> <font color="#FF6600">step</font></tt></pre>
-</div></div>
-<p>Return the list of languages the resource provides in order of preference.</p>
-<p>During content negotiation Cowboy will pick the most appropriate language for the client. The client advertises languages it prefers with the accept-language header. When that header is missing, Cowboy picks the first language from the resource.</p>
-<!-- @todo We should explain precisely how languages are picked.-->
-<p>Cowboy will add the negotiated <code>language</code> to the Req object after this step completes:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">req</font></b>() <font color="#990000">::</font> #{
- <font color="#0000FF">language</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
-}</tt></pre>
-</div></div>
-<h3 id="_last_modified">last_modified</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">last_modified</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">calendar:datetime</font></b>()
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#FF6600">no</font> <font color="#FF6600">last</font> <font color="#FF6600">modified</font> <font color="#FF6600">value</font></tt></pre>
-</div></div>
-<p>Return the resource&apos;s last modification date.</p>
-<p>This date will be used to test against the if-modified-since and if-unmodified-since headers, and sent as the last-modified header in the response to GET and HEAD requests.</p>
-<h3 id="_malformed_request">malformed_request</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">malformed_request</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Return whether the request is malformed.</p>
-<p>A request is malformed when a component required by the resource is invalid. This may include the query string or individual headers. They should be parsed and validated in this function. The body should not be read at this point.</p>
-<h3 id="_moved_permanently">moved_permanently</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">moved_permanently</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> {<font color="#000080">true</font>, <font color="#009900">URI</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>()} | <font color="#000080">false</font>
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Return whether the resource was permanently moved, and what its new location is.</p>
-<h3 id="_moved_temporarily">moved_temporarily</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">moved_temporarily</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> {<font color="#000080">true</font>, <font color="#009900">URI</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>()} | <font color="#000080">false</font>
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Return whether the resource was temporarily moved, and what its new location is.</p>
-<h3 id="_multiple_choices">multiple_choices</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">multiple_choices</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Return whether the client should engage in reactive negotiation.</p>
-<p>Return <code>true</code> when the server has multiple representations of a resource, each with their specific identifier, but is unable to determine which is best for the client. For example an image might have different sizes and the server is unable to determine the capabilities of the client.</p>
-<p>When returning <code>true</code> the server should send a body with links to the different representations. If the server has a preferred representation it can send its link inside a location header.</p>
-<h3 id="_options">options</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">options</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}</tt></pre>
-</div></div>
-<p>Respond to an OPTIONS request.</p>
-<p>The response should inform the client the communication options available for this resource. By default Cowboy will send a <em>200 OK</em> response with the allow header set.</p>
-<h3 id="_previously_existed">previously_existed</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">previously_existed</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Return whether the resource existed previously.</p>
-<h3 id="_providecallback">ProvideCallback</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">ProvideCallback</font>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:resp_body</font></b>()
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#FF6600">crash</font></tt></pre>
-</div></div>
-<p>Return the response body.</p>
-<p>The response body can be provided either as the actual data to be sent or a tuple indicating which file to send.</p>
-<p>This function is called for both GET and HEAD requests. For the latter the body is not sent, however.</p>
-<!-- @todo Perhaps we can optimize HEAD requests and just-->
-<!-- allow calculating the length instead of returning the-->
-<!-- whole thing.-->
-<p>Note that there used to be a way to stream the response body. It was temporarily removed and will be added back in a later release.</p>
-<!-- @todo Add a way to switch to loop handler for streaming the body.-->
-<h3 id="_resource_exists">resource_exists</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">resource_exists</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">true</font></tt></pre>
-</div></div>
-<p>Return whether the resource exists.</p>
-<h3 id="_service_available">service_available</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">service_available</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">true</font></tt></pre>
-</div></div>
-<p>Return whether the service is available.</p>
-<p>A <em>503 Service Unavailable</em> response will be sent when this function returns <code>false</code>.</p>
-<h3 id="_uri_too_long">uri_too_long</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">uri_too_long</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Return whether the requested URI is too long.</p>
-<p>This function can be used to further restrict the length of the URI for this specific resource.</p>
-<h3 id="_valid_content_headers">valid_content_headers</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">valid_content_headers</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">true</font></tt></pre>
-</div></div>
-<p>Return whether the content headers are valid.</p>
-<p>This callback can be used to reject requests that have invalid content header values, for example an unsupported content-encoding.</p>
-<h3 id="_valid_entity_length">valid_entity_length</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">valid_entity_length</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">true</font></tt></pre>
-</div></div>
-<p>Return whether the request body length is within acceptable boundaries.</p>
-<p>A <em>413 Request Entity Too Large</em> response will be sent if this function returns <code>false</code>.</p>
-<h3 id="_variances">variances</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">variances</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> [<b><font color="#000080">binary</font></b>()] <i><font color="#9A1900">%% case insensitive</font></i>
-<font color="#009900">Default</font> <font color="#990000">::</font> []</tt></pre>
-</div></div>
-<p>Return the list of request headers that affect the representation of the resource.</p>
-<p>Cowboy automatically adds the accept, accept-charset and accept-language headers when necessary.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy_handler">cowboy_handler(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_router.compile/index.html b/docs/en/cowboy/2.0/manual/cowboy_router.compile/index.html
deleted file mode 100644
index 3e9e7f5b..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_router.compile/index.html
+++ /dev/null
@@ -1,204 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_router:compile(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_router:compile(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_router:compile - Compile routes to the resources</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">compile</font></b>(<b><font color="#000000">cowboy_router:routes</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">cowboy_router:dispatch_rules</font></b>()</tt></pre>
-</div></div>
-<p>Compile routes to the resources.</p>
-<p>Takes a human readable list of routes and transforms it into a form more efficient to process.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Routes</dt>
-<dd><p>Human readable list of routes.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>An opaque dispatch rules value is returned. This value must be given to Cowboy as a middleware environment value.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Compile routes and start a listener</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>([
- {<font color="#FF6600">'_'</font>, [
- {<font color="#FF0000">"/"</font>, <font color="#FF6600">toppage_h</font>, []},
- {<font color="#FF0000">"/[...], cowboy_static, {priv_dir, my_example_app, ""}}</font>
-<font color="#FF0000"> ]}</font>
-<font color="#FF0000">]),</font>
-
-<font color="#FF0000">{ok, _} = cowboy:start_clear(example, [{port, 8080}], #{</font>
-<font color="#FF0000"> env =&gt; #{dispatch =&gt; Dispatch}</font>
-<font color="#FF0000">}).</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_router">cowboy_router(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_router/index.html b/docs/en/cowboy/2.0/manual/cowboy_router/index.html
deleted file mode 100644
index b6a0d324..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_router/index.html
+++ /dev/null
@@ -1,221 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_router(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_router(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_router - Router middleware</p>
-<h2 id="_description">Description</h2>
-<p>The <code>cowboy_router</code> middleware maps the requested host and path to the handler to be used for processing the request.</p>
-<p>The router takes the <code>dispatch</code> rules as input from the middleware environment. Dispatch rules are generated by calling the <a href="../cowboy_router.compile">cowboy_router:compile(3)</a> function.</p>
-<p>When a route matches, the router sets the <code>handler</code> and <code>handler_opts</code> middleware environment values containing the handler module and initial state, respectively.</p>
-<p>The router will stop execution when no route matches. It will send a 400 response if no host was found, and a 404 response otherwise.</p>
-<h2 id="_exports">Exports</h2>
-<ul><li><a href="../cowboy_router.compile">cowboy_router:compile(3)</a> - Compile routes to the resources
-</li>
-</ul>
-<h2 id="_types">Types</h2>
-<h3 id="_bindings">bindings()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">bindings</font></b>() <font color="#990000">::</font> #{<b><font color="#000080">atom</font></b>() <font color="#990000">=&gt;</font> <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>Bindings found during routing.</p>
-<h3 id="_dispatch_rules">dispatch_rules()</h3>
-<p>Opaque type containing the compiled routes.</p>
-<h3 id="_routes">routes()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">routes</font></b>() <font color="#990000">=</font> [
- {<font color="#009900">Host</font>, <font color="#009900">PathList</font>} |
- {<font color="#009900">Host</font>, <font color="#009900">Fields</font>, <font color="#009900">PathList</font>}
-]
-
-<font color="#009900">PathList</font> <font color="#990000">::</font> [
- {<font color="#009900">Path</font>, <font color="#009900">Handler</font>, <font color="#009900">InitialState</font>} |
- {<font color="#009900">Path</font>, <font color="#009900">Fields</font>, <font color="#009900">Handler</font>, <font color="#009900">InitialState</font>}
-]
-
-<font color="#009900">Host</font> <font color="#990000">::</font> <font color="#FF6600">'_'</font> | <b><font color="#000000">iodata</font></b>()
-<font color="#009900">Path</font> <font color="#990000">::</font> <font color="#FF6600">'_'</font> | <b><font color="#000000">iodata</font></b>()
-<font color="#009900">Fields</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:fields</font></b>()
-<font color="#009900">Handler</font> <font color="#990000">::</font> <b><font color="#000000">module</font></b>()
-<font color="#009900">InitialState</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
-</div></div>
-<p>Human readable list of routes to handlers.</p>
-<p>Cowboy uses this list to map hosts and paths, optionally augmented with constraints applied to the bindings, to handler modules.</p>
-<p>The syntax for routes is currently defined in the user guide.</p>
-<!-- @todo The syntax should probably be in this module,-->
-<!-- and the user guide show more practical examples.-->
-<h3 id="_tokens">tokens()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">tokens</font></b>() <font color="#990000">::</font> [<b><font color="#000080">binary</font></b>()]</tt></pre>
-</div></div>
-<p>List of <code>host_info</code> and <code>path_info</code> tokens that were found using the <code>...</code> syntax.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy_req.binding">cowboy_req:binding(3)</a>, <a href="../cowboy_req.bindings">cowboy_req:bindings(3)</a>, <a href="../cowboy_req.host_info">cowboy_req:host_info(3)</a>, <a href="../cowboy_req.path_info">cowboy_req:path_info(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_static/index.html b/docs/en/cowboy/2.0/manual/cowboy_static/index.html
deleted file mode 100644
index 26b317fe..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_static/index.html
+++ /dev/null
@@ -1,266 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_static(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_static(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_static - Static file handler</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_static</code> implements file serving capabilities using the REST semantics provided by <code>cowboy_rest</code>.</p>
-<p>The static file handler is a pre-written handler coming with Cowboy. To serve files, use it in your routes.</p>
-<h2 id="_options">Options</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">opts</font></b>() <font color="#990000">::</font> {<font color="#FF6600">priv_file</font>, <font color="#009900">App</font>, <font color="#009900">Path</font>}
- | {<font color="#FF6600">priv_file</font>, <font color="#009900">App</font>, <font color="#009900">Path</font>, <font color="#009900">Extra</font>}
- | {<font color="#FF6600">file</font>, <font color="#009900">Path</font>}
- | {<font color="#FF6600">file</font>, <font color="#009900">Path</font>, <font color="#009900">Extra</font>}
- | {<font color="#FF6600">priv_dir</font>, <font color="#009900">App</font>, <font color="#009900">Path</font>}
- | {<font color="#FF6600">priv_dir</font>, <font color="#009900">App</font>, <font color="#009900">Path</font>, <font color="#009900">Extra</font>}
- | {<font color="#FF6600">dir</font>, <font color="#009900">Path</font>}
- | {<font color="#FF6600">dir</font>, <font color="#009900">Path</font>, <font color="#009900">Extra</font>}
-
-<font color="#009900">App</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>()
-<font color="#009900">Path</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() | <b><font color="#000000">string</font></b>()
-<font color="#009900">Extra</font> <font color="#990000">::</font> [<font color="#009900">Etag</font> | <font color="#009900">Mimetypes</font>]
-
-<font color="#009900">Etag</font> <font color="#990000">::</font> {<font color="#FF6600">etag</font>, <b><font color="#000000">module</font></b>(), <b><font color="#000080">function</font></b>()}
- | {<font color="#FF6600">etag</font>, <font color="#000080">false</font>}
-
-<font color="#009900">Mimetypes</font> <font color="#990000">::</font> {<font color="#FF6600">mimetypes</font>, <b><font color="#000000">module</font></b>(), <b><font color="#000080">function</font></b>()}
- | {<font color="#FF6600">mimetypes</font>, <b><font color="#000080">binary</font></b>() | <font color="#009900">ParsedMime</font>}
-
-<font color="#009900">ParsedMime</font> <font color="#990000">::</font> {<font color="#009900">Type</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">SubType</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Params</font>}
-<font color="#009900">Params</font> <font color="#990000">::</font> [{<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()}]</tt></pre>
-</div></div>
-<p>Static handler configuration.</p>
-<dl><dt>priv_file</dt>
-<dd><p>Send a file.</p>
-<p>The path is relative to the given application&apos;s private directory.</p>
-</dd>
-<dt>file</dt>
-<dd><p>Send a file.</p>
-<p>The path is either absolute or relative to the Erlang node&apos;s current directory.</p>
-</dd>
-<dt>priv_dir</dt>
-<dd><p>Recursively serve files from a directory.</p>
-<p>The path is relative to the given application&apos;s private directory.</p>
-</dd>
-<dt>dir</dt>
-<dd><p>Recursively serve files from a directory.</p>
-<p>The path is either absolute or relative to the Erlang node&apos;s current directory.</p>
-</dd>
-</dl>
-<p>The extra options allow you to define how the etag should be calculated and how the MIME type of files should be detected.</p>
-<p>By default the static handler will generate an etag based on the size and modification time of the file. You may disable the etag entirely with <code>{etag, false}</code> or provide a module and function that will be called when needed:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">generate_etag</font></b>(<font color="#009900">Path</font>, <font color="#009900">Size</font>, <font color="#009900">Mtime</font>) <font color="#990000">-&gt;</font> {<font color="#FF6600">strong</font> | <font color="#FF6600">weak</font>, <b><font color="#000080">binary</font></b>()}
-
-<font color="#009900">Path</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()
-<font color="#009900">Size</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>()
-<font color="#009900">Mtime</font> <font color="#990000">::</font> <b><font color="#000000">file:date_time</font></b>()</tt></pre>
-</div></div>
-<p>By default the static handler will detect Web-related MIME types by looking at the file extension. You can provide a specific MIME type that will always be used, or a module and function that will be called when needed:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">detect_mimetype</font></b>(<font color="#009900">Path</font>) <font color="#990000">-&gt;</font> <font color="#009900">ParsedMime</font>
-
-<font color="#009900">Path</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()
-<font color="#009900">ParsedMime</font> <font color="#990000">::</font> {<font color="#009900">Type</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">SubType</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Params</font>}
-<font color="#009900">Params</font> <font color="#990000">::</font> [{<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()}]</tt></pre>
-</div></div>
-<!-- @todo Case sensitivity of parsed mime content?-->
-<p>Cowboy comes with two such functions; the default function <code>cow_mimetypes:web/1</code>, and a second function generated from the Apache <em>mime.types</em> file, <code>cow_mimetypes:all/1</code>.</p>
-<p>The MIME type function should return <code>{&lt;&lt;&quot;application&quot;&gt;&gt;, &lt;&lt;&quot;octet-stream&quot;&gt;&gt;, []}</code> when it fails to detect a file&apos;s MIME type.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Handler introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Custom etag function</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">generate_etag</font></b>(<font color="#009900">Path</font>, <font color="#009900">Size</font>, <font color="#009900">Mtime</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">strong</font>, <b><font color="#000000">integer_to_binary</font></b>(
- <b><font color="#000000">erlang:phash2</font></b>({<font color="#009900">Path</font>, <font color="#009900">Size</font>, <font color="#009900">Mtime</font>}, <font color="#993399">16#ffffffff</font>))}<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Custom MIME type function</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">always_octet_stream</font></b>(<font color="#009900">_Path</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">filename:extension</font></b>(<font color="#009900">Path</font>) <b><font color="#0000FF">of</font></b>
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">".erl"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">-&gt;</font> {<font color="#990000">&lt;&lt;</font><font color="#FF0000">"text"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"plain"</font><font color="#990000">&gt;&gt;</font>, []};
- <font color="#990000">_</font> <font color="#990000">-&gt;</font> {<font color="#990000">&lt;&lt;</font><font color="#FF0000">"application"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"octet-stream"</font><font color="#990000">&gt;&gt;</font>, []}
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy_router">cowboy_router(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_stream/index.html b/docs/en/cowboy/2.0/manual/cowboy_stream/index.html
deleted file mode 100644
index 51e647d6..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_stream/index.html
+++ /dev/null
@@ -1,438 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_stream(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_stream(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_handler - Stream handlers</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_stream</code> defines a callback interface and a protocol for handling HTTP streams.</p>
-<p>An HTTP request and its associated response is called a stream. A connection may have many streams. In HTTP/1.1 they are executed sequentially, while in HTTP/2 they are executed concurrently.</p>
-<p>Cowboy calls the stream handler for nearly all events related to a stream. Exceptions vary depending on the protocol.</p>
-<p>Extra care must be taken when implementing stream handlers to ensure compatibility. While some modification of the events and commands is allowed, it is generally not a good idea to completely omit them.</p>
-<h2 id="_callbacks">Callbacks</h2>
-<p>Stream handlers must implement the following interface:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">StreamID</font>, <font color="#009900">Req</font>, <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Commands</font>, <font color="#009900">State</font>}
-<b><font color="#000000">data</font></b>(<font color="#009900">StreamID</font>, <font color="#009900">IsFin</font>, <font color="#009900">Data</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Commands</font>, <font color="#009900">State</font>}
-<b><font color="#000000">info</font></b>(<font color="#009900">StreamID</font>, <font color="#009900">Info</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Commands</font>, <font color="#009900">State</font>}
-<b><font color="#000000">terminate</font></b>(<font color="#009900">StreamID</font>, <font color="#009900">Reason</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">any</font></b>()
-<b><font color="#000000">early_error</font></b>(<font color="#009900">StreamID</font>, <font color="#009900">Reason</font>, <font color="#009900">PartialReq</font>, <font color="#009900">Resp</font>, <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font> <font color="#009900">Resp</font>
-
-<font color="#009900">StreamID</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_stream:streamid</font></b>()
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:opts</font></b>()
-<font color="#009900">Commands</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_stream:commands</font></b>()
-<font color="#009900">State</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">IsFin</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_stream:fin</font></b>()
-<font color="#009900">Data</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()
-<font color="#009900">Info</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Reason</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_stream:reason</font></b>()
-<font color="#009900">PartialReq</font> <font color="#990000">-</font> <b><font color="#000000">cowboy_req:req</font></b>(), <font color="#FF6600">except</font> <font color="#FF6600">all</font> <font color="#FF6600">fields</font> <font color="#FF6600">are</font> <font color="#FF6600">optional</font>
-<font color="#009900">Resp</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_stream:resp_command</font></b>()</tt></pre>
-</div></div>
-<p>HTTP/1.1 will initialize a stream only when the request-line and all headers have been received. When errors occur before that point Cowboy will call the callback <code>early_error/5</code> with a partial request, the error reason and the response Cowboy intends to send. All other events go throuh the stream handler using the normal callbacks.</p>
-<p>HTTP/2 will initialize the stream when the <code>HEADERS</code> block has been fully received and decoded. Any protocol error occuring before that will not result in a response being sent and will therefore not go through the stream handler. In addition Cowboy may terminate streams without sending an HTTP response back.</p>
-<p>The stream is initialized by calling <code>init/3</code>. All streams that are initialized will eventually be terminated by calling <code>terminate/3</code>.</p>
-<p>When Cowboy receives data for the stream it will call <code>data/4</code>. The data given is the request body after any transfer decoding has been applied.</p>
-<p>When Cowboy receives a message addressed to a stream, or when Cowboy needs to inform the stream handler that an internal event has occurred, it will call <code>info/3</code>.</p>
-<h2 id="commands">Commands</h2>
-<p>Stream handlers can return a list of commands to be executed from the <code>init/3</code>, <code>data/4</code> and <code>info/3</code> callbacks. In addition, the <code>early_error/5</code> callback must return a response command.</p>
-<!-- @todo We need a &apos;log&apos; command that would call error_logger.-->
-<!-- It&apos;s better than doing in the handlers directly because-->
-<!-- then we can have other stream handlers manipulate those logs.-->
-<!-- @todo We need a command to send a message so that other-->
-<!-- stream handlers can manipulate these messages if necessary.-->
-<p>The following commands are defined:</p>
-<h3 id="response_command">response</h3>
-<p>Send a response to the client.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">response</font>, <b><font color="#000000">cowboy:http_status</font></b>(), <b><font color="#000000">cowboy:http_headers</font></b>(),
- <b><font color="#000000">cowboy_req:resp_body</font></b>()}</tt></pre>
-</div></div>
-<p>No more data can be sent after this command.</p>
-<h3 id="headers_command">headers</h3>
-<p>Initiate a response to the client.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">headers</font>, <b><font color="#000000">cowboy:http_status</font></b>(), <b><font color="#000000">cowboy:http_headers</font></b>()}</tt></pre>
-</div></div>
-<p>This initiates a response to the client. The stream will end when a data command with the <code>fin</code> flag is returned.</p>
-<h3 id="data_command">data</h3>
-<p>Send data to the client.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">data</font>, <b><font color="#000000">fin</font></b>(), <b><font color="#000000">iodata</font></b>()}</tt></pre>
-</div></div>
-<h3 id="push_command">push</h3>
-<p>Push a resource to the client.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">push</font>, <font color="#009900">Method</font>, <font color="#009900">Scheme</font>, <font color="#009900">Host</font>, <b><font color="#000000">inet:port_number</font></b>(),
- <font color="#009900">Path</font>, <font color="#009900">Qs</font>, <b><font color="#000000">cowboy:http_headers</font></b>()}
-
-<font color="#009900">Method</font> <font color="#990000">=</font> <font color="#009900">Scheme</font> <font color="#990000">=</font> <font color="#009900">Host</font> <font color="#990000">=</font> <font color="#009900">Path</font> <font color="#990000">=</font> <font color="#009900">Qs</font> <font color="#990000">=</font> <b><font color="#000080">binary</font></b>()</tt></pre>
-</div></div>
-<p>The command will be ignored if the protocol does not provide any server push mechanism.</p>
-<h3 id="_flow">flow</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">flow</font>, <b><font color="#000000">pos_integer</font></b>()}</tt></pre>
-</div></div>
-<p>Request more data to be read from the request body. The exact behavior depends on the protocol.</p>
-<h3 id="_spawn">spawn</h3>
-<p>Inform Cowboy that a process was spawned and should be supervised.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<b><font color="#000080">spawn</font></b>, <b><font color="#000080">pid</font></b>(), <b><font color="#000000">timeout</font></b>()}</tt></pre>
-</div></div>
-<h3 id="_error_response">error_response</h3>
-<p>Send an error response if no response was sent previously.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">error_response</font>, <b><font color="#000000">cowboy:http_status</font></b>(), <b><font color="#000000">cowboy:http_headers</font></b>(), <b><font color="#000000">iodata</font></b>()}</tt></pre>
-</div></div>
-<h3 id="switch_protocol_command">switch_protocol</h3>
-<p>Switch to a different protocol.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">switch_protocol</font>, <b><font color="#000000">cowboy:http_headers</font></b>(), <b><font color="#000000">module</font></b>(), <b><font color="#000000">state</font></b>()}</tt></pre>
-</div></div>
-<p>Contains the headers that will be sent in the 101 response, along with the module implementing the protocol we are switching to and its initial state.</p>
-<h3 id="_stop">stop</h3>
-<p>Stop the stream.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#FF6600">stop</font></tt></pre>
-</div></div>
-<p>While no more data can be sent after the <code>fin</code> flag was set, the stream is still tracked by Cowboy until it is stopped by the handler.</p>
-<p>The behavior when stopping a stream for which no response has been sent will vary depending on the protocol. The stream will end successfully as far as the client is concerned.</p>
-<p>To indicate that an error occurred, either use <code>error_response</code> before stopping, or use <code>internal_error</code>.</p>
-<h3 id="_internal_error">internal_error</h3>
-<p>Stop the stream with an error.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">internal_error</font>, <font color="#009900">Reason</font>, <font color="#009900">HumanReadable</font>}
-
-<font color="#009900">Reason</font> <font color="#990000">=</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">HumanReadable</font> <font color="#990000">=</font> <b><font color="#000080">atom</font></b>()</tt></pre>
-</div></div>
-<p>This command should be used when the stream cannot continue because of an internal error. An <code>error_response</code> command may be sent before that to advertise to the client why the stream is dropped.</p>
-<h2 id="_predefined_events">Predefined events</h2>
-<p>Cowboy will forward all messages sent to the stream to the <code>info/3</code> callback. To send a message to a stream, send a message to the connection process with the form <code>{{Pid, StreamID}, Msg}</code>. The connection process will then forward <code>Msg</code> to the stream handlers.</p>
-<p>Cowboy will also forward the exit signals for the processes that the stream spawned.</p>
-<h3 id="_exit">EXIT</h3>
-<!-- info(_StreamID, {&apos;EXIT&apos;, Pid, normal}, State=#state{pid=Pid}) -&gt;-->
-<!-- info(_StreamID, {&apos;EXIT&apos;, Pid, {_Reason, [_, {cow_http_hd, _, _, _}|_]}}, State=#state{pid=Pid}) -&gt;-->
-<!-- info(StreamID, Exit = {&apos;EXIT&apos;, Pid, {Reason, Stacktrace}}, State=#state{ref=Ref, pid=Pid}) -&gt;-->
-<p>A process spawned by this stream has exited.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#000080">'EXIT'</font>, <b><font color="#000080">pid</font></b>(), <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>This is the raw exit message without any modification.</p>
-<!-- === read_body-->
-<!-- -->
-<!-- //info(_StreamID, {read_body, Ref, Length, _},-->
-<!-- //info(StreamID, {read_body, Ref, Length, Period}, State) -&gt;-->
-<!-- -->
-<!-- TODO yeah I am not actually sure this one should be public just yet-->
-<!-- TODO if it is, then we probably shouldn&apos;t send a message directly,-->
-<!-- TODO but rather return a command that will end up sending the message-->
-<!-- -->
-<!-- TODO The problem being that no stream handler has access to that-->
-<!-- TODO message if we send it directly. So we should have a command-->
-<!-- TODO send_message or something that can be seen from all handlers.-->
-<!-- -->
-<!-- TODO The thing is that stream handlers can have 0 to N processes-->
-<!-- TODO so we have to make it easy to say which process should-->
-<!-- TODO receive the message, and perhaps *identify* which process-->
-<!-- TODO gets it?-->
-<h3 id="_response">response</h3>
-<p>Same as the <a href="../response_command">response command</a>.</p>
-<p>Usually sent when the request process replies to the client. May also be sent by Cowboy internally.</p>
-<h3 id="_headers">headers</h3>
-<p>Same as the <a href="../headers_command">headers command</a>.</p>
-<p>Sent when the request process starts replying to the client.</p>
-<h3 id="_data">data</h3>
-<p>Same as the <a href="../data_command">data command</a>.</p>
-<p>Sent when the request process streams data to the client.</p>
-<h3 id="_push">push</h3>
-<p>Same as the <a href="../push_command">push command</a>.</p>
-<p>Sent when the request process pushes a resource to the client.</p>
-<h3 id="_switch_protocol">switch_protocol</h3>
-<p>Same as the <a href="../switch_protocol_command">switch_protocol command</a>.</p>
-<!-- @todo Not done for HTTP/2 yet.-->
-<p>Sent when switching to the HTTP/2 or Websocket protocol.</p>
-<h2 id="_exports">Exports</h2>
-<p>The following function should be called by modules implementing stream handlers to execute the next stream handler in the list:</p>
-<ul><li><a href="../cowboy_stream.init">cowboy_stream:init(3)</a> - Initialize a stream
-</li>
-<li><a href="../cowboy_stream.data">cowboy_stream:data(3)</a> - Handle data for a stream
-</li>
-<li><a href="../cowboy_stream.info">cowboy_stream:info(3)</a> - Handle a message for a stream
-</li>
-<li><a href="../cowboy_stream.terminate">cowboy_stream:terminate(3)</a> - Terminate a stream
-</li>
-<li><a href="../cowboy_stream.early_error">cowboy_stream:early_error(3)</a> - Handle an early error for a stream
-</li>
-</ul>
-<h2 id="_types">Types</h2>
-<h3 id="_commands">commands()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">commands</font></b>() <font color="#990000">::</font> [<font color="#009900">Command</font>]</tt></pre>
-</div></div>
-<p>See the <a href="../commands">list of commands</a> for details.</p>
-<h3 id="_fin">fin()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">fin</font></b>() <font color="#990000">::</font> <font color="#FF6600">fin</font> | <font color="#FF6600">nofin</font></tt></pre>
-</div></div>
-<p>Used in commands and events to indicate that this is the end of the stream.</p>
-<h3 id="_partial_req">partial_req()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">req</font></b>() <font color="#990000">::</font> #{
- <font color="#0000FF">method</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% case sensitive</font></i>
- <font color="#0000FF">version</font> <font color="#990000">=&gt;</font> <b><font color="#000000">cowboy:http_version</font></b>() | <b><font color="#000080">atom</font></b>(),
- <font color="#0000FF">scheme</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
- <font color="#0000FF">host</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
- <font color="#0000FF">port</font> <font color="#990000">=&gt;</font> <b><font color="#000000">inet:port_number</font></b>(),
- <font color="#0000FF">path</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% case sensitive</font></i>
- <font color="#0000FF">qs</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% case sensitive</font></i>
- <font color="#0000FF">headers</font> <font color="#990000">=&gt;</font> <b><font color="#000000">cowboy:http_headers</font></b>(),
- <font color="#0000FF">peer</font> <font color="#990000">=&gt;</font> {<b><font color="#000000">inet:ip_address</font></b>(), <b><font color="#000000">inet:port_number</font></b>()}
-}</tt></pre>
-</div></div>
-<p>Partial request information received when an early error is detected.</p>
-<h3 id="_reason">reason()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">reason</font></b>() <font color="#990000">::</font> <b><font color="#000080">normal</font></b>
- | {<font color="#FF6600">internal_error</font>, <font color="#FF6600">timeout</font> | {<font color="#FF6600">error</font> | <b><font color="#000080">exit</font></b> | <b><font color="#000080">throw</font></b>, <b><font color="#000000">any</font></b>()}, <font color="#009900">HumanReadable</font>}
- | {<font color="#FF6600">socket_error</font>, <font color="#FF6600">closed</font> | <b><font color="#000080">atom</font></b>(), <font color="#009900">HumanReadable</font>}
- | {<font color="#FF6600">stream_error</font>, <font color="#009900">Error</font>, <font color="#009900">HumanReadable</font>}
- | {<font color="#FF6600">connection_error</font>, <font color="#009900">Error</font>, <font color="#009900">HumanReadable</font>}
- | {<font color="#FF6600">stop</font>, <b><font color="#000000">cow_http2:frame</font></b>(), <font color="#009900">HumanReadable</font>}
-
-<font color="#009900">Error</font> <font color="#990000">=</font> <b><font color="#000080">atom</font></b>()
-<font color="#009900">HumanReadable</font> <font color="#990000">=</font> <b><font color="#000080">atom</font></b>()</tt></pre>
-</div></div>
-<p>Reason for the stream termination.</p>
-<h3 id="_resp_command">resp_command()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">resp_command</font></b>() <font color="#990000">::</font> {<font color="#FF6600">response</font>, <b><font color="#000000">cowboy:http_status</font></b>(),
- <b><font color="#000000">cowboy:http_headers</font></b>(), <b><font color="#000000">cowboy_req:resp_body</font></b>()}</tt></pre>
-</div></div>
-<p>See the <a href="../response_command">response command</a> for details.</p>
-<h3 id="_streamid">streamid()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">streamid</font></b>() <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
-</div></div>
-<p>The identifier for this stream.</p>
-<p>The identifier is unique over the connection process. It is possible to form a unique identifier node-wide and cluster-wide by wrapping it in a <code>{self(), StreamID}</code> tuple.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Module introduced.
-</li>
-</ul>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy_http">cowboy_http(3)</a>, <a href="../cowboy_http2">cowboy_http2(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/cowboy_websocket/index.html b/docs/en/cowboy/2.0/manual/cowboy_websocket/index.html
deleted file mode 100644
index e467e8ea..00000000
--- a/docs/en/cowboy/2.0/manual/cowboy_websocket/index.html
+++ /dev/null
@@ -1,300 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_websocket(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_websocket(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_websocket - Websocket</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_websocket</code> implements Websocket as a Ranch protocol. It also defines a callback interface for handling Websocket connections.</p>
-<h2 id="_callbacks">Callbacks</h2>
-<p>Websocket handlers must implement the following callback interface:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">cowboy_websocket</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
- | {<font color="#FF6600">cowboy_websocket</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>, <font color="#009900">Opts</font>}
-
-<b><font color="#000000">websocket_init</font></b>(<font color="#009900">State</font>) <font color="#990000">-&gt;</font> <font color="#009900">CallResult</font> <i><font color="#9A1900">%% optional</font></i>
-<b><font color="#000000">websocket_handle</font></b>(<font color="#009900">InFrame</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> <font color="#009900">CallResult</font>
-<b><font color="#000000">websocket_info</font></b>(<font color="#009900">Info</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> <font color="#009900">CallResult</font>
-
-<b><font color="#000000">terminate</font></b>(<font color="#009900">Reason</font>, <font color="#009900">PartialReq</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> <i><font color="#9A1900">%% optional</font></i>
-
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">PartialReq</font> <font color="#990000">::</font> <b><font color="#000000">map</font></b>()
-<font color="#009900">State</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_websocket:opts</font></b>()
-<font color="#009900">InFrame</font> <font color="#990000">::</font> {<font color="#FF6600">text</font> | <b><font color="#000080">binary</font></b> | <font color="#FF6600">ping</font> | <font color="#FF6600">pong</font>, <b><font color="#000080">binary</font></b>()}
-<font color="#009900">OutFrame</font> <font color="#990000">::</font> <b><font color="#000000">cow_ws:frame</font></b>() <i><font color="#9A1900">%% see types below</font></i>
-<font color="#009900">Info</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-
-<font color="#009900">CallResult</font> <font color="#990000">::</font> {<font color="#FF6600">ok</font>, <font color="#009900">State</font>}
- | {<font color="#FF6600">ok</font>, <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}
- | {<font color="#FF6600">reply</font>, <font color="#009900">OutFrame</font> | [<font color="#009900">OutFrame</font>], <font color="#009900">State</font>}
- | {<font color="#FF6600">reply</font>, <font color="#009900">OutFrame</font> | [<font color="#009900">OutFrame</font>], <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}
- | {<font color="#FF6600">stop</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Reason</font> <font color="#990000">::</font> <b><font color="#000080">normal</font></b> | <font color="#FF6600">stop</font> | <font color="#FF6600">timeout</font>
- | <font color="#FF6600">remote</font> | {<font color="#FF6600">remote</font>, <b><font color="#000000">cow_ws:close_code</font></b>(), <b><font color="#000080">binary</font></b>()}
- | {<font color="#FF6600">error</font>, <font color="#FF6600">badencoding</font> | <font color="#FF6600">badframe</font> | <font color="#FF6600">closed</font> | <b><font color="#000080">atom</font></b>()}
- | {<font color="#FF6600">crash</font>, <font color="#FF6600">error</font> | <b><font color="#000080">exit</font></b> | <b><font color="#000080">throw</font></b>, <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>The <code>init/2</code> callback is common to all handlers. To upgrade the connection to Websocket, it must return <code>cowboy_websocket</code> as the first element of the tuple.</p>
-<p>Any operation requiring the HTTP request must be done in the <code>init/2</code> function, as the Req object will not be available after it returns. Websocket sub-protocol selection should therefore be done in this function.</p>
-<p>The optional <code>websocket_init/1</code> callback will be called once the connection has been upgraded to Websocket. It can be used to perform any required initialization of the handler.</p>
-<p>Note that the <code>init/2</code> function does not run in the same process as the Websocket callbacks. Any Websocket-specific initialization must be done in <code>websocket_init/1</code>.</p>
-<p>The <code>websocket_handle/2</code> callback will be called for every frame received. The <code>websocket_info/2</code> callback will be called for every Erlang message received.</p>
-<p>All three Websocket callbacks may send one or more frames back to the client (by returning a <code>reply</code> tuple) or terminate the connection (by sending a <code>close</code> frame or returning a <code>stop</code> tuple).</p>
-<p>The optional <code>terminate/3</code> callback will ultimately be called with the reason for the termination of the connection. This callback is common to all handlers. Note that Websocket will not provide the full Req object by default, to save memory.</p>
-<p>Cowboy will terminate the process right after closing the Websocket connection. This means that there is no need to perform any cleanup in the <code>terminate/3</code> callback.</p>
-<p>The following terminate reasons are defined for Websocket connections:</p>
-<dl><dt>normal</dt>
-<dd><p>The connection was closed normally before establishing a Websocket connection. This typically happens if an <code>ok</code> tuple is returned from the <code>init/2</code> callback.</p>
-</dd>
-<dt>remote</dt>
-<dd><p>The remote endpoint closed the connection without giving any further details.</p>
-</dd>
-<dt>{remote, Code, Payload}</dt>
-<dd><p>The remote endpoint closed the connection with the given <code>Code</code> and <code>Payload</code> as the reason.</p>
-</dd>
-<dt>stop</dt>
-<dd><p>The handler requested to close the connection, either by returning a <code>stop</code> tuple or by sending a <code>close</code> frame.</p>
-</dd>
-<dt>timeout</dt>
-<dd><p>The connection has been closed due to inactivity. The timeout value can be configured from <code>init/2</code>.</p>
-</dd>
-<dt>{crash, Class, Reason}</dt>
-<dd><p>A crash occurred in the handler. <code>Class</code> and <code>Reason</code> can be used to obtain more information about the crash. The function <code>erlang:get_stacktrace/0</code> can also be called to obtain the stacktrace of the process when the crash occurred.</p>
-</dd>
-<dt>{error, badencoding}</dt>
-<dd><p>A text frame was sent by the client with invalid encoding. All text frames must be valid UTF-8.</p>
-</dd>
-<dt>{error, badframe}</dt>
-<dd><p>A protocol error has been detected.</p>
-</dd>
-<dt>{error, closed}</dt>
-<dd><p>The socket has been closed brutally without a close frame being received first.</p>
-</dd>
-<dt>{error, Reason}</dt>
-<dd><p>A socket error ocurred.</p>
-</dd>
-</dl>
-<h2 id="_types">Types</h2>
-<h4 id="_cow_ws_frame">cow_ws:frame()</h4>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">frame</font></b>() <font color="#990000">::</font> {<font color="#FF6600">text</font>, <b><font color="#000000">iodata</font></b>()}
- | {<b><font color="#000080">binary</font></b>, <b><font color="#000000">iodata</font></b>()}
- | <font color="#FF6600">ping</font> | {<font color="#FF6600">ping</font>, <b><font color="#000000">iodata</font></b>()}
- | <font color="#FF6600">pong</font> | {<font color="#FF6600">pong</font>, <b><font color="#000000">iodata</font></b>()}
- | <font color="#FF6600">close</font> | {<font color="#FF6600">close</font>, <b><font color="#000000">iodata</font></b>()} | {<font color="#FF6600">close</font>, <b><font color="#000000">close_code</font></b>(), <b><font color="#000000">iodata</font></b>()}
-
-<b><font color="#000000">close_code</font></b>() <font color="#990000">::</font> <font color="#993399">1000</font><font color="#990000">..</font><font color="#993399">1003</font> | <font color="#993399">1006</font><font color="#990000">..</font><font color="#993399">1011</font> | <font color="#993399">3000</font><font color="#990000">..</font><font color="#993399">4999</font></tt></pre>
-</div></div>
-<p>Websocket frames that can be sent as a response.</p>
-<p>Note that there is no need to send pong frames back as Cowboy does it automatically for you.</p>
-<h3 id="_opts">opts()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">opts</font></b>() <font color="#990000">::</font> #{
- <font color="#0000FF">compress</font> <font color="#990000">=&gt;</font> <b><font color="#000000">boolean</font></b>(),
- <font color="#0000FF">idle_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
- <font color="#0000FF">req_filter</font> <font color="#990000">=&gt;</font> <b><font color="#0000FF">fun</font></b>((<b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">map</font></b>())
-}</tt></pre>
-</div></div>
-<p>Websocket handler options.</p>
-<p>This configuration is passed to Cowboy from the <code>init/2</code> function:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Opts</font> <font color="#990000">=</font> #{<font color="#0000FF">compress</font> <font color="#990000">=&gt;</font> <font color="#000080">true</font>},
- {<font color="#FF6600">cowboy_websocket</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>, <font color="#009900">Opts</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The default value is given next to the option name:</p>
-<dl><dt>compress (false)</dt>
-<dd><p>Whether to enable the Websocket frame compression extension. Frames will only be compressed for the clients that support this extension.</p>
-</dd>
-<dt>idle_timeout (60000)</dt>
-<dd><p>Time in milliseconds that Cowboy will keep the connection open without receiving anything from the client.</p>
-</dd>
-<dt>req_filter</dt>
-<dd><p>A function applied to the Req to compact it and only keep required information. The Req is only given back in the <code>terminate/3</code> callback. By default it keeps the method, version, URI components and peer information.</p>
-</dd>
-</dl>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: The Req object is no longer passed to Websocket callbacks.
-</li>
-<li><strong>2.0</strong>: The callback <code>websocket_terminate/3</code> was removed in favor of <code>terminate/3</code>.
-</li>
-<li><strong>1.0</strong>: Protocol introduced.
-</li>
-</ul>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy_handler">cowboy_handler(3)</a>, <a href="../cowboy_http">cowboy_http(3)</a>, <a href="../cowboy_http2">cowboy_http2(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/http_status_codes/index.html b/docs/en/cowboy/2.0/manual/http_status_codes/index.html
deleted file mode 100644
index 82ac1bfc..00000000
--- a/docs/en/cowboy/2.0/manual/http_status_codes/index.html
+++ /dev/null
@@ -1,248 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: HTTP status codes(7)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>HTTP status codes(7)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>HTTP status codes - status codes used by Cowboy</p>
-<h2 id="_description">Description</h2>
-<p>This chapter aims to list all HTTP status codes that Cowboy may return, with details on the reasons why. The list given here only includes the replies that Cowboy sends, not user replies.</p>
-<h2 id="_100_continue">100 Continue</h2>
-<p>When the client sends an <code>expect: 100-continue</code> header, Cowboy automatically sends a this status code before trying to read the request body. This behavior can be disabled using the appropriate body option.</p>
-<h2 id="_101_switching_protocols">101 Switching Protocols</h2>
-<p>This is the status code sent when switching to the Websocket protocol.</p>
-<h2 id="_200_ok">200 OK</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_201_created">201 Created</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_202_accepted">202 Accepted</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_204_no_content">204 No Content</h2>
-<p>This status code is sent when the processing of a request ends without any reply having been sent. It may also be sent by <code>cowboy_rest</code> under normal conditions.</p>
-<h2 id="_300_multiple_choices">300 Multiple Choices</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_301_moved_permanently">301 Moved Permanently</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_303_see_other">303 See Other</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_304_not_modified">304 Not Modified</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_307_temporary_redirect">307 Temporary Redirect</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_400_bad_request">400 Bad Request</h2>
-<p>Cowboy will send this status code for any of the following reasons:</p>
-<ul><li>Too many empty lines were sent before the request.
-</li>
-<li>The request-line could not be parsed.
-</li>
-<li>Too many headers were sent.
-</li>
-<li>A header name was too long.
-</li>
-<li>A header value was too long.
-</li>
-<li>The host header was missing from an HTTP/1.1 request.
-</li>
-<li>The host header could not be parsed.
-</li>
-<li>The requested host was not found.
-</li>
-<li>The requested path could not be parsed.
-</li>
-<li>The accept header could not be parsed when using REST.
-</li>
-<li>REST under normal conditions.
-</li>
-<li>A Websocket upgrade failed.
-</li>
-</ul>
-<h2 id="_401_unauthorized">401 Unauthorized</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_403_forbidden">403 Forbidden</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_404_not_found">404 Not Found</h2>
-<p>This status code is sent when the router successfully resolved the host but didn&apos;t find a matching path for the request. It may also be sent by <code>cowboy_rest</code> under normal conditions.</p>
-<h2 id="_405_method_not_allowed">405 Method Not Allowed</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_406_not_acceptable">406 Not Acceptable</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_408_request_timeout">408 Request Timeout</h2>
-<p>Cowboy will send this status code to the client if the client started to send a request, indicated by the request-line being received fully, but failed to send all headers in a reasonable time.</p>
-<h2 id="_409_conflict">409 Conflict</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_410_gone">410 Gone</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_412_precondition_failed">412 Precondition Failed</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_413_request_entity_too_large">413 Request Entity Too Large</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_414_request_uri_too_long">414 Request-URI Too Long</h2>
-<p>Cowboy will send this status code to the client if the request-line is too long. It may also be sent by <code>cowboy_rest</code> under normal conditions.</p>
-<h2 id="_415_unsupported_media_type">415 Unsupported Media Type</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_500_internal_server_error">500 Internal Server Error</h2>
-<p>This status code is sent when a crash occurs in HTTP, loop or REST handlers, or when an invalid return value is returned. It may also be sent by <code>cowboy_rest</code> under normal conditions.</p>
-<h2 id="_501_not_implemented">501 Not Implemented</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_503_service_unavailable">503 Service Unavailable</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_505_http_version_not_supported">505 HTTP Version Not Supported</h2>
-<p>Cowboy only supports the versions 1.0 and 1.1 of HTTP. In all other cases this status code is sent back to the client and the connection is closed.</p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.0/manual/index.html b/docs/en/cowboy/2.0/manual/index.html
deleted file mode 100644
index 2fda27de..00000000
--- a/docs/en/cowboy/2.0/manual/index.html
+++ /dev/null
@@ -1,233 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Cowboy Function Reference</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Cowboy Function Reference</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy - Small, fast, modern HTTP server for Erlang/OTP</p>
-<h2 id="_description">Description</h2>
-<p>Cowboy is an HTTP server for Erlang/OTP with support for the HTTP/1.1, HTTP/2 and Websocket protocols.</p>
-<p>Cowboy aims to provide a complete HTTP stack. This includes the implementation of the HTTP RFCs but also any directly related standards, like Websocket or Server-Sent Events.</p>
-<h2 id="_modules">Modules</h2>
-<p>Functions:</p>
-<ul><li><a href="cowboy">cowboy(3)</a> - Listener management
-</li>
-<li><a href="cowboy_req">cowboy_req(3)</a> - Request and response
-</li>
-<li><a href="cowboy_router">cowboy_router(3)</a> - Router
-</li>
-<li><a href="cowboy_constraints">cowboy_constraints(3)</a> - Constraints
-</li>
-</ul>
-<p>Protocols:</p>
-<ul><li><a href="cowboy_http">cowboy_http(3)</a> - HTTP/1.1
-</li>
-<li><a href="cowboy_http2">cowboy_http2(3)</a> - HTTP/2
-</li>
-<li><a href="cowboy_websocket">cowboy_websocket(3)</a> - Websocket
-</li>
-</ul>
-<p>Handlers:</p>
-<ul><li><a href="cowboy_static">cowboy_static(3)</a> - Static file handler
-</li>
-</ul>
-<p>Behaviors:</p>
-<ul><li><a href="cowboy_handler">cowboy_handler(3)</a> - Plain HTTP handlers
-</li>
-<li><a href="cowboy_loop">cowboy_loop(3)</a> - Loop handlers
-</li>
-<li><a href="cowboy_middleware">cowboy_middleware(3)</a> - Middlewares
-</li>
-<li><a href="cowboy_rest">cowboy_rest(3)</a> - REST handlers
-</li>
-<li><a href="cowboy_stream">cowboy_stream(3)</a> - Stream handlers
-</li>
-<li><a href="cowboy_websocket">cowboy_websocket(3)</a> - Websocket handlers
-</li>
-</ul>
-<p>Middlewares:</p>
-<ul><li><a href="cowboy_router">cowboy_router(3)</a> - Router middleware
-</li>
-<li><a href="cowboy_handler">cowboy_handler(3)</a> - Handler middleware
-</li>
-</ul>
-<!-- @todo http_status_codes is not linked to; what to do with it?-->
-<h2 id="_dependencies">Dependencies</h2>
-<ul><li><a href="ranch_app">ranch(7)</a> - Socket acceptor pool for TCP protocols
-</li>
-<li><a href="cowlib_app">cowlib(7)</a> - Support library for manipulating Web protocols
-</li>
-<li>ssl - Secure communication over sockets
-</li>
-<li>crypto - Crypto functions
-</li>
-</ul>
-<p>All these applications must be started before the <code>cowboy</code> application. To start Cowboy and all dependencies at once:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">application:ensure_all_started</font></b>(<font color="#FF6600">cowboy</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_environment">Environment</h2>
-<p>The <code>cowboy</code> application does not define any application environment configuration parameters.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="ranch_app">ranch(7)</a>, <a href="cowlib_app">cowlib(7)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.0
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/constraints.asciidoc b/docs/en/cowboy/2.1/guide/constraints.asciidoc
deleted file mode 100644
index 6cc10752..00000000
--- a/docs/en/cowboy/2.1/guide/constraints.asciidoc
+++ /dev/null
@@ -1,123 +0,0 @@
-[[constraints]]
-== Constraints
-
-Constraints are validation and conversion functions applied
-to user input.
-
-They are used in various places in Cowboy, including the
-router and the `cowboy_req` match functions.
-
-=== Syntax
-
-Constraints are provided as a list of fields. For each field
-in the list, specific constraints can be applied, as well as
-a default value if the field is missing.
-
-A field can take the form of an atom `field`, a tuple with
-constraints `{field, Constraints}` or a tuple with constraints
-and a default value `{field, Constraints, Default}`.
-The `field` form indicates the field is mandatory.
-
-Note that when used with the router, only the second form
-makes sense, as it does not use the default and the field
-is always defined.
-
-Constraints for each field are provided as an ordered list
-of atoms or funs to apply. Built-in constraints are provided
-as atoms, while custom constraints are provided as funs.
-
-When multiple constraints are provided, they are applied in
-the order given. If the value has been modified by a constraint
-then the next one receives the new value.
-
-For example, the following constraints will first validate
-and convert the field `my_value` to an integer, and then
-check that the integer is positive:
-
-[source,erlang]
-----
-PositiveFun = fun
- (_, V) when V > 0 ->
- {ok, V};
- (_, _) ->
- {error, not_positive}
-end,
-{my_value, [int, PositiveFun]}.
-----
-
-We ignore the first fun argument in this snippet. We shouldn't.
-We will simply learn what it is later in this chapter.
-
-When there's only one constraint, it can be provided directly
-without wrapping it into a list:
-
-[source,erlang]
-----
-{my_value, int}
-----
-
-=== Built-in constraints
-
-Built-in constraints are specified as an atom:
-
-[cols="<,<",options="header"]
-|===
-| Constraint | Description
-| int | Converts binary value to integer.
-| nonempty | Ensures the binary value is non-empty.
-|===
-
-=== Custom constraints
-
-Custom constraints are specified as a fun. This fun takes
-two arguments. The first argument indicates the operation
-to be performed, and the second is the value. What the
-value is and what must be returned depends on the operation.
-
-Cowboy currently defines three operations. The operation
-used for validating and converting user input is the `forward`
-operation.
-
-[source,erlang]
-----
-int(forward, Value) ->
- try
- {ok, binary_to_integer(Value)}
- catch _:_ ->
- {error, not_an_integer}
- end;
-----
-
-The value must be returned even if it is not converted
-by the constraint.
-
-The `reverse` operation does the opposite: it
-takes a converted value and changes it back to what the
-user input would have been.
-
-[source,erlang]
-----
-int(reverse, Value) ->
- try
- {ok, integer_to_binary(Value)}
- catch _:_ ->
- {error, not_an_integer}
- end;
-----
-
-Finally, the `format_error` operation takes an error
-returned by any other operation and returns a formatted
-human-readable error message.
-
-[source,erlang]
-----
-int(format_error, {not_an_integer, Value}) ->
- io_lib:format("The value ~p is not an integer.", [Value]).
-----
-
-Notice that for this case you get both the error and
-the value that was given to the constraint that produced
-this error.
-
-Cowboy will not catch exceptions coming from constraint
-functions. They should be written to not emit any exceptions.
diff --git a/docs/en/cowboy/2.1/guide/constraints/index.html b/docs/en/cowboy/2.1/guide/constraints/index.html
deleted file mode 100644
index 4519b1c0..00000000
--- a/docs/en/cowboy/2.1/guide/constraints/index.html
+++ /dev/null
@@ -1,264 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Constraints</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Constraints</span></h1>
-
-<p>Constraints are validation and conversion functions applied to user input.</p>
-<p>They are used in various places in Cowboy, including the router and the <code>cowboy_req</code> match functions.</p>
-<h2 id="_syntax">Syntax</h2>
-<p>Constraints are provided as a list of fields. For each field in the list, specific constraints can be applied, as well as a default value if the field is missing.</p>
-<p>A field can take the form of an atom <code>field</code>, a tuple with constraints <code>{field, Constraints}</code> or a tuple with constraints and a default value <code>{field, Constraints, Default}</code>. The <code>field</code> form indicates the field is mandatory.</p>
-<p>Note that when used with the router, only the second form makes sense, as it does not use the default and the field is always defined.</p>
-<p>Constraints for each field are provided as an ordered list of atoms or funs to apply. Built-in constraints are provided as atoms, while custom constraints are provided as funs.</p>
-<p>When multiple constraints are provided, they are applied in the order given. If the value has been modified by a constraint then the next one receives the new value.</p>
-<p>For example, the following constraints will first validate and convert the field <code>my_value</code> to an integer, and then check that the integer is positive:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PositiveFun</font> <font color="#990000">=</font> <b><font color="#0000FF">fun</font></b>
- (<font color="#990000">_</font>, <font color="#009900">V</font>) <b><font color="#0000FF">when</font></b> <font color="#009900">V</font> <font color="#990000">&gt;</font> <font color="#993399">0</font> <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">V</font>};
- (<font color="#990000">_</font>, <font color="#990000">_</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">error</font>, <font color="#FF6600">not_positive</font>}
-<b><font color="#0000FF">end</font></b>,
-{<font color="#FF6600">my_value</font>, [<font color="#FF6600">int</font>, <font color="#009900">PositiveFun</font>]}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>We ignore the first fun argument in this snippet. We shouldn&apos;t. We will simply learn what it is later in this chapter.</p>
-<p>When there&apos;s only one constraint, it can be provided directly without wrapping it into a list:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">my_value</font>, <font color="#FF6600">int</font>}</tt></pre>
-</div></div>
-<h2 id="_built_in_constraints">Built-in constraints</h2>
-<p>Built-in constraints are specified as an atom:</p>
-<table rules="all" width="100%" frame="border"
- cellspacing="0" cellpadding="4">
-<thead><tr><th>Constraint</th>
-<th>Description</th>
-</tr></thead><tbody><tr><td>int</td>
-<td>Converts binary value to integer.</td>
-</tr>
-<tr><td>nonempty</td>
-<td>Ensures the binary value is non-empty.</td>
-</tr>
-</tbody></table>
-<h2 id="_custom_constraints">Custom constraints</h2>
-<p>Custom constraints are specified as a fun. This fun takes two arguments. The first argument indicates the operation to be performed, and the second is the value. What the value is and what must be returned depends on the operation.</p>
-<p>Cowboy currently defines three operations. The operation used for validating and converting user input is the <code>forward</code> operation.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">int</font></b>(<font color="#FF6600">forward</font>, <font color="#009900">Value</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">try</font></b>
- {<font color="#FF6600">ok</font>, <b><font color="#000000">binary_to_integer</font></b>(<font color="#009900">Value</font>)}
- <b><font color="#0000FF">catch</font></b> <font color="#990000">_:_</font> <font color="#990000">-&gt;</font>
- {<font color="#FF6600">error</font>, <font color="#FF6600">not_an_integer</font>}
- <b><font color="#0000FF">end</font></b>;</tt></pre>
-</div></div>
-<p>The value must be returned even if it is not converted by the constraint.</p>
-<p>The <code>reverse</code> operation does the opposite: it takes a converted value and changes it back to what the user input would have been.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">int</font></b>(<font color="#FF6600">reverse</font>, <font color="#009900">Value</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">try</font></b>
- {<font color="#FF6600">ok</font>, <b><font color="#000000">integer_to_binary</font></b>(<font color="#009900">Value</font>)}
- <b><font color="#0000FF">catch</font></b> <font color="#990000">_:_</font> <font color="#990000">-&gt;</font>
- {<font color="#FF6600">error</font>, <font color="#FF6600">not_an_integer</font>}
- <b><font color="#0000FF">end</font></b>;</tt></pre>
-</div></div>
-<p>Finally, the <code>format_error</code> operation takes an error returned by any other operation and returns a formatted human-readable error message.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">int</font></b>(<font color="#FF6600">format_error</font>, {<font color="#FF6600">not_an_integer</font>, <font color="#009900">Value</font>}) <font color="#990000">-&gt;</font>
- <b><font color="#000000">io_lib:format</font></b>(<font color="#FF0000">"The value ~p is not an integer."</font>, [<font color="#009900">Value</font>])<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Notice that for this case you get both the error and the value that was given to the constraint that produced this error.</p>
-<p>Cowboy will not catch exceptions coming from constraint functions. They should be written to not emit any exceptions.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/routing/">
- Routing
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/handlers/">
- Handlers
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/cookies.asciidoc b/docs/en/cowboy/2.1/guide/cookies.asciidoc
deleted file mode 100644
index 4825031b..00000000
--- a/docs/en/cowboy/2.1/guide/cookies.asciidoc
+++ /dev/null
@@ -1,139 +0,0 @@
-[[cookies]]
-== Using cookies
-
-Cookies are a mechanism allowing applications to maintain
-state on top of the stateless HTTP protocol.
-
-Cookies are a name/value store where the names and values are
-stored in plain text. They expire either after a delay
-or when the browser closes. They can be configured on a
-specific domain name or path, and restricted to secure
-resources (sent or downloaded over HTTPS), or restricted
-to the server (disallowing access from client-side scripts).
-
-Cookie names are de facto case sensitive.
-
-Cookies are stored client-side and sent with every subsequent
-request that matches the domain and path for which they were
-stored, until they expire. This can create a non-negligible
-cost.
-
-Cookies should not be considered secure. They are stored on
-the user's computer in plain text, and can be read by any
-program. They can also be read by proxies when using clear
-connections. Always validate the value before using it,
-and never store any sensitive information inside it.
-
-Cookies set by the server are only available in requests
-following the client reception of the response containing
-them.
-
-Cookies may be sent repeatedly. This is often useful to
-update the expiration time and avoid losing a cookie.
-
-=== Setting cookies
-
-By default cookies are defined for the duration of the session:
-
-[source,erlang]
-----
-SessionID = generate_session_id(),
-Req = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, Req0).
-----
-
-They can also be set for a duration in seconds:
-
-[source,erlang]
-----
-SessionID = generate_session_id(),
-Req = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, Req0,
- #{max_age => 3600}).
-----
-
-To delete cookies, set `max_age` to 0:
-
-[source,erlang]
-----
-SessionID = generate_session_id(),
-Req = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, Req0,
- #{max_age => 0}).
-----
-
-To restrict cookies to a specific domain and path, the options
-of the same name can be used:
-
-[source,erlang]
-----
-Req = cowboy_req:set_resp_cookie(<<"inaccount">>, <<"1">>, Req0,
- #{domain => "my.example.org", path => "/account"}).
-----
-
-Cookies will be sent with requests to this domain and all
-its subdomains, and to resources on this path or deeper
-in the path hierarchy.
-
-To restrict cookies to secure channels (typically resources
-available over HTTPS):
-
-[source,erlang]
-----
-SessionID = generate_session_id(),
-Req = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, Req0,
- #{secure => true}).
-----
-
-To prevent client-side scripts from accessing a cookie:
-
-[source,erlang]
-----
-SessionID = generate_session_id(),
-Req = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, Req0,
- #{http_only => true}).
-----
-
-Cookies may also be set client-side, for example using
-Javascript.
-
-=== Reading cookies
-
-The client only ever sends back the cookie name and value.
-All other options that can be set are never sent back.
-
-Cowboy provides two functions for reading cookies. Both
-involve parsing the cookie header(s) and so should not
-be called repeatedly.
-
-You can get all cookies as a key/value list:
-
-[source,erlang]
-Cookies = cowboy_req:parse_cookies(Req),
-{_, Lang} = lists:keyfind(<<"lang">>, 1, Cookies).
-
-Or you can perform a match against cookies and retrieve
-only the ones you need, while at the same time doing
-any required post processing using xref:constraints[constraints].
-This function returns a map:
-
-[source,erlang]
-#{id := ID, lang := Lang} = cowboy_req:match_cookies([id, lang], Req).
-
-You can use constraints to validate the values while matching
-them. The following snippet will crash if the `id` cookie is
-not an integer number or if the `lang` cookie is empty. Additionally
-the `id` cookie value will be converted to an integer term:
-
-[source,erlang]
-CookiesMap = cowboy_req:match_cookies([{id, int}, {lang, nonempty}], Req).
-
-Note that if two cookies share the same name, then the map value
-will be a list of the two cookie values.
-
-A default value can be provided. The default will be used
-if the `lang` cookie is not found. It will not be used if
-the cookie is found but has an empty value:
-
-[source,erlang]
-#{lang := Lang} = cowboy_req:match_cookies([{lang, [], <<"en-US">>}], Req).
-
-If no default is provided and the value is missing, an
-exception is thrown.
diff --git a/docs/en/cowboy/2.1/guide/cookies/index.html b/docs/en/cowboy/2.1/guide/cookies/index.html
deleted file mode 100644
index a56985c3..00000000
--- a/docs/en/cowboy/2.1/guide/cookies/index.html
+++ /dev/null
@@ -1,281 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Using cookies</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Using cookies</span></h1>
-
-<p>Cookies are a mechanism allowing applications to maintain state on top of the stateless HTTP protocol.</p>
-<p>Cookies are a name/value store where the names and values are stored in plain text. They expire either after a delay or when the browser closes. They can be configured on a specific domain name or path, and restricted to secure resources (sent or downloaded over HTTPS), or restricted to the server (disallowing access from client-side scripts).</p>
-<p>Cookie names are de facto case sensitive.</p>
-<p>Cookies are stored client-side and sent with every subsequent request that matches the domain and path for which they were stored, until they expire. This can create a non-negligible cost.</p>
-<p>Cookies should not be considered secure. They are stored on the user&apos;s computer in plain text, and can be read by any program. They can also be read by proxies when using clear connections. Always validate the value before using it, and never store any sensitive information inside it.</p>
-<p>Cookies set by the server are only available in requests following the client reception of the response containing them.</p>
-<p>Cookies may be sent repeatedly. This is often useful to update the expiration time and avoid losing a cookie.</p>
-<h2 id="_setting_cookies">Setting cookies</h2>
-<p>By default cookies are defined for the duration of the session:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SessionID</font> <font color="#990000">=</font> <b><font color="#000000">generate_session_id</font></b>(),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">SessionID</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>They can also be set for a duration in seconds:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SessionID</font> <font color="#990000">=</font> <b><font color="#000000">generate_session_id</font></b>(),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">SessionID</font>, <font color="#009900">Req0</font>,
- #{<font color="#0000FF">max_age</font> <font color="#990000">=&gt;</font> <font color="#993399">3600</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>To delete cookies, set <code>max_age</code> to 0:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SessionID</font> <font color="#990000">=</font> <b><font color="#000000">generate_session_id</font></b>(),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">SessionID</font>, <font color="#009900">Req0</font>,
- #{<font color="#0000FF">max_age</font> <font color="#990000">=&gt;</font> <font color="#993399">0</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>To restrict cookies to a specific domain and path, the options of the same name can be used:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"inaccount"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"1"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>,
- #{<font color="#0000FF">domain</font> <font color="#990000">=&gt;</font> <font color="#FF0000">"my.example.org"</font>, <font color="#0000FF">path</font> <font color="#990000">=&gt;</font> <font color="#FF0000">"/account"</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cookies will be sent with requests to this domain and all its subdomains, and to resources on this path or deeper in the path hierarchy.</p>
-<p>To restrict cookies to secure channels (typically resources available over HTTPS):</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SessionID</font> <font color="#990000">=</font> <b><font color="#000000">generate_session_id</font></b>(),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">SessionID</font>, <font color="#009900">Req0</font>,
- #{<font color="#0000FF">secure</font> <font color="#990000">=&gt;</font> <font color="#000080">true</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>To prevent client-side scripts from accessing a cookie:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SessionID</font> <font color="#990000">=</font> <b><font color="#000000">generate_session_id</font></b>(),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">SessionID</font>, <font color="#009900">Req0</font>,
- #{<font color="#0000FF">http_only</font> <font color="#990000">=&gt;</font> <font color="#000080">true</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cookies may also be set client-side, for example using Javascript.</p>
-<h2 id="_reading_cookies">Reading cookies</h2>
-<p>The client only ever sends back the cookie name and value. All other options that can be set are never sent back.</p>
-<p>Cowboy provides two functions for reading cookies. Both involve parsing the cookie header(s) and so should not be called repeatedly.</p>
-<p>You can get all cookies as a key/value list:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Cookies</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:parse_cookies</font></b>(<font color="#009900">Req</font>),
-{<font color="#990000">_</font>, <font color="#009900">Lang</font>} <font color="#990000">=</font> <b><font color="#000000">lists:keyfind</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"lang"</font><font color="#990000">&gt;&gt;</font>, <font color="#993399">1</font>, <font color="#009900">Cookies</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Or you can perform a match against cookies and retrieve only the ones you need, while at the same time doing any required post processing using <a href="../constraints">constraints</a>. This function returns a map:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">id</font> <font color="#990000">:=</font> <font color="#009900">ID</font>, <font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_cookies</font></b>([<font color="#FF6600">id</font>, <font color="#FF6600">lang</font>], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You can use constraints to validate the values while matching them. The following snippet will crash if the <code>id</code> cookie is not an integer number or if the <code>lang</code> cookie is empty. Additionally the <code>id</code> cookie value will be converted to an integer term:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">CookiesMap</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_cookies</font></b>([{<font color="#FF6600">id</font>, <font color="#FF6600">int</font>}, {<font color="#FF6600">lang</font>, <font color="#FF6600">nonempty</font>}], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Note that if two cookies share the same name, then the map value will be a list of the two cookie values.</p>
-<p>A default value can be provided. The default will be used if the <code>lang</code> cookie is not found. It will not be used if the cookie is found but has an empty value:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_cookies</font></b>([{<font color="#FF6600">lang</font>, [], <font color="#990000">&lt;&lt;</font><font color="#FF0000">"en-US"</font><font color="#990000">&gt;&gt;</font>}], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>If no default is provided and the value is missing, an exception is thrown.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/resp/">
- Sending a response
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/multipart/">
- Multipart requests
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/cowboy.sty b/docs/en/cowboy/2.1/guide/cowboy.sty
deleted file mode 100644
index d5e0d3be..00000000
--- a/docs/en/cowboy/2.1/guide/cowboy.sty
+++ /dev/null
@@ -1,8 +0,0 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{asciidoc-dblatex}[2012/10/24 AsciiDoc DocBook Style]
-
-%% Just use the original package and pass the options.
-\RequirePackageWithOptions{docbook}
-
-%% Define an alias for make snippets to be compatible with source-highlighter.
-\lstalias{makefile}{make}
diff --git a/docs/en/cowboy/2.1/guide/erlang_web.asciidoc b/docs/en/cowboy/2.1/guide/erlang_web.asciidoc
deleted file mode 100644
index f528adc3..00000000
--- a/docs/en/cowboy/2.1/guide/erlang_web.asciidoc
+++ /dev/null
@@ -1,209 +0,0 @@
-[[erlang_web]]
-== Erlang and the Web
-
-Erlang is the ideal platform for writing Web applications.
-Its features are a perfect match for the requirements of
-modern Web applications.
-
-=== The Web is concurrent
-
-When you access a website there is little concurrency
-involved. A few connections are opened and requests
-are sent through these connections. Then the web page
-is displayed on your screen. Your browser will only
-open up to 4 or 8 connections to the server, depending
-on your settings. This isn't much.
-
-But think about it. You are not the only one accessing
-the server at the same time. There can be hundreds, if
-not thousands, if not millions of connections to the
-same server at the same time.
-
-Even today a lot of systems used in production haven't
-solved the C10K problem (ten thousand concurrent connections).
-And the ones who did are trying hard to get to the next
-step, C100K, and are pretty far from it.
-
-Erlang meanwhile has no problem handling millions of
-connections. At the time of writing there are application
-servers written in Erlang that can handle more than two
-million connections on a single server in a real production
-application, with spare memory and CPU!
-
-The Web is concurrent, and Erlang is a language designed
-for concurrency, so it is a perfect match.
-
-Of course, various platforms need to scale beyond a few
-million connections. This is where Erlang's built-in
-distribution mechanisms come in. If one server isn't
-enough, add more! Erlang allows you to use the same code
-for talking to local processes or to processes in other
-parts of your cluster, which means you can scale very
-quickly if the need arises.
-
-The Web has large userbases, and the Erlang platform was
-designed to work in a distributed setting, so it is a
-perfect match.
-
-Or is it? Surely you can find solutions to handle that many
-concurrent connections with your favorite language... But all
-these solutions will break down in the next few years. Why?
-Firstly because servers don't get any more powerful, they
-instead get a lot more cores and memory. This is only useful
-if your application can use them properly, and Erlang is
-light-years away from anything else in that area. Secondly,
-today your computer and your phone are online, tomorrow your
-watch, goggles, bike, car, fridge and tons of other devices
-will also connect to various applications on the Internet.
-
-Only Erlang is prepared to deal with what's coming.
-
-=== The Web is soft real time
-
-What does soft real time mean, you ask? It means we want the
-operations done as quickly as possible, and in the case of
-web applications, it means we want the data propagated fast.
-
-In comparison, hard real time has a similar meaning, but also
-has a hard time constraint, for example an operation needs to
-be done in under N milliseconds otherwise the system fails
-entirely.
-
-Users aren't that needy yet, they just want to get access
-to their content in a reasonable delay, and they want the
-actions they make to register at most a few seconds after
-they submitted them, otherwise they'll start worrying about
-whether it successfully went through.
-
-The Web is soft real time because taking longer to perform an
-operation would be seen as bad quality of service.
-
-Erlang is a soft real time system. It will always run
-processes fairly, a little at a time, switching to another
-process after a while and preventing a single process to
-steal resources from all others. This means that Erlang
-can guarantee stable low latency of operations.
-
-Erlang provides the guarantees that the soft real time Web
-requires.
-
-=== The Web is asynchronous
-
-Long ago, the Web was synchronous because HTTP was synchronous.
-You fired a request, and then waited for a response. Not anymore.
-It all began when XmlHttpRequest started being used. It allowed
-the client to perform asynchronous calls to the server.
-
-Then Websocket appeared and allowed both the server and the client
-to send data to the other endpoint completely asynchronously. The
-data is contained within frames and no response is necessary.
-
-Erlang processes work the same. They send each other data contained
-within messages and then continue running without needing a response.
-They tend to spend most of their time inactive, waiting for a new
-message, and the Erlang VM happily activate them when one is received.
-
-It is therefore quite easy to imagine Erlang being good at receiving
-Websocket frames, which may come in at unpredictable times, pass the
-data to the responsible processes which are always ready waiting for
-new messages, and perform the operations required by only activating
-the required parts of the system.
-
-The more recent Web technologies, like Websocket of course, but also
-HTTP/2.0, are all fully asynchronous protocols. The concept
-of requests and responses is retained of course, but anything could
-be sent in between, by both the client or the browser, and the
-responses could also be received in a completely different order.
-
-Erlang is by nature asynchronous and really good at it thanks to the
-great engineering that has been done in the VM over the years. It's
-only natural that it's so good at dealing with the asynchronous Web.
-
-=== The Web is omnipresent
-
-The Web has taken a very important part of our lives. We're
-connected at all times, when we're on our phone, using our computer,
-passing time using a tablet while in the bathroom... And this
-isn't going to slow down, every single device at home or on us
-will be connected.
-
-All these devices are always connected. And with the number of
-alternatives to give you access to the content you seek, users
-tend to not stick around when problems arise. Users today want
-their applications to be always available and if it's having
-too many issues they just move on.
-
-Despite this, when developers choose a product to use for building
-web applications, their only concern seems to be "Is it fast?",
-and they look around for synthetic benchmarks showing which one
-is the fastest at sending "Hello world" with only a handful
-concurrent connections. Web benchmarks haven't been representative
-of reality in a long time, and are drifting further away as
-time goes on.
-
-What developers should really ask themselves is "Can I service
-all my users with no interruption?" and they'd find that they have
-two choices. They can either hope for the best, or they can use
-Erlang.
-
-Erlang is built for fault tolerance. When writing code in any other
-language, you have to check all the return values and act accordingly
-to avoid any unforeseen issues. If you're lucky, you won't miss
-anything important. When writing Erlang code, you can just check
-the success condition and ignore all errors. If an error happens,
-the Erlang process crashes and is then restarted by a special
-process called a supervisor.
-
-Erlang developers thus have no need to fear unhandled
-errors, and can focus on handling only the errors that should
-give some feedback to the user and let the system take care of
-the rest. This also has the advantage of allowing them to write
-a lot less code, and let them sleep at night.
-
-Erlang's fault tolerance oriented design is the first piece of
-what makes it the best choice for the omnipresent, always available
-Web.
-
-The second piece is Erlang's built-in distribution. Distribution
-is a key part of building a fault tolerant system, because it
-allows you to handle bigger failures, like a whole server going
-down, or even a data center entirely.
-
-Fault tolerance and distribution are important today, and will be
-vital in the future of the Web. Erlang is ready.
-
-=== Learn Erlang
-
-If you are new to Erlang, you may want to grab a book or
-two to get started. Those are my recommendations as the
-author of Cowboy.
-
-==== The Erlanger Playbook
-
-The Erlanger Playbook is an ebook I am currently writing,
-which covers a number of different topics from code to
-documentation to testing Erlang applications. It also has
-an Erlang section where it covers directly the building
-blocks and patterns, rather than details like the syntax.
-
-You can most likely read it as a complete beginner, but
-you will need a companion book to make the most of it.
-Buy it from the https://ninenines.eu[Nine Nines website].
-
-==== Programming Erlang
-
-This book is from one of the creator of Erlang, Joe
-Armstrong. It provides a very good explanation of what
-Erlang is and why it is so. It serves as a very good
-introduction to the language and platform.
-
-The book is http://pragprog.com/book/jaerlang2/programming-erlang[Programming Erlang],
-and it also features a chapter on Cowboy.
-
-==== Learn You Some Erlang for Great Good!
-
-http://learnyousomeerlang.com[LYSE] is a much more complete
-book covering many aspects of Erlang, while also providing
-stories and humor. Be warned: it's pretty verbose. It comes
-with a free online version and a more refined paper and
-ebook version.
diff --git a/docs/en/cowboy/2.1/guide/erlang_web/index.html b/docs/en/cowboy/2.1/guide/erlang_web/index.html
deleted file mode 100644
index f45a48d8..00000000
--- a/docs/en/cowboy/2.1/guide/erlang_web/index.html
+++ /dev/null
@@ -1,230 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Erlang and the Web</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Erlang and the Web</span></h1>
-
-<p>Erlang is the ideal platform for writing Web applications. Its features are a perfect match for the requirements of modern Web applications.</p>
-<h2 id="_the_web_is_concurrent">The Web is concurrent</h2>
-<p>When you access a website there is little concurrency involved. A few connections are opened and requests are sent through these connections. Then the web page is displayed on your screen. Your browser will only open up to 4 or 8 connections to the server, depending on your settings. This isn&apos;t much.</p>
-<p>But think about it. You are not the only one accessing the server at the same time. There can be hundreds, if not thousands, if not millions of connections to the same server at the same time.</p>
-<p>Even today a lot of systems used in production haven&apos;t solved the C10K problem (ten thousand concurrent connections). And the ones who did are trying hard to get to the next step, C100K, and are pretty far from it.</p>
-<p>Erlang meanwhile has no problem handling millions of connections. At the time of writing there are application servers written in Erlang that can handle more than two million connections on a single server in a real production application, with spare memory and CPU!</p>
-<p>The Web is concurrent, and Erlang is a language designed for concurrency, so it is a perfect match.</p>
-<p>Of course, various platforms need to scale beyond a few million connections. This is where Erlang&apos;s built-in distribution mechanisms come in. If one server isn&apos;t enough, add more! Erlang allows you to use the same code for talking to local processes or to processes in other parts of your cluster, which means you can scale very quickly if the need arises.</p>
-<p>The Web has large userbases, and the Erlang platform was designed to work in a distributed setting, so it is a perfect match.</p>
-<p>Or is it? Surely you can find solutions to handle that many concurrent connections with your favorite language... But all these solutions will break down in the next few years. Why? Firstly because servers don&apos;t get any more powerful, they instead get a lot more cores and memory. This is only useful if your application can use them properly, and Erlang is light-years away from anything else in that area. Secondly, today your computer and your phone are online, tomorrow your watch, goggles, bike, car, fridge and tons of other devices will also connect to various applications on the Internet.</p>
-<p>Only Erlang is prepared to deal with what&apos;s coming.</p>
-<h2 id="_the_web_is_soft_real_time">The Web is soft real time</h2>
-<p>What does soft real time mean, you ask? It means we want the operations done as quickly as possible, and in the case of web applications, it means we want the data propagated fast.</p>
-<p>In comparison, hard real time has a similar meaning, but also has a hard time constraint, for example an operation needs to be done in under N milliseconds otherwise the system fails entirely.</p>
-<p>Users aren&apos;t that needy yet, they just want to get access to their content in a reasonable delay, and they want the actions they make to register at most a few seconds after they submitted them, otherwise they&apos;ll start worrying about whether it successfully went through.</p>
-<p>The Web is soft real time because taking longer to perform an operation would be seen as bad quality of service.</p>
-<p>Erlang is a soft real time system. It will always run processes fairly, a little at a time, switching to another process after a while and preventing a single process to steal resources from all others. This means that Erlang can guarantee stable low latency of operations.</p>
-<p>Erlang provides the guarantees that the soft real time Web requires.</p>
-<h2 id="_the_web_is_asynchronous">The Web is asynchronous</h2>
-<p>Long ago, the Web was synchronous because HTTP was synchronous. You fired a request, and then waited for a response. Not anymore. It all began when XmlHttpRequest started being used. It allowed the client to perform asynchronous calls to the server.</p>
-<p>Then Websocket appeared and allowed both the server and the client to send data to the other endpoint completely asynchronously. The data is contained within frames and no response is necessary.</p>
-<p>Erlang processes work the same. They send each other data contained within messages and then continue running without needing a response. They tend to spend most of their time inactive, waiting for a new message, and the Erlang VM happily activate them when one is received.</p>
-<p>It is therefore quite easy to imagine Erlang being good at receiving Websocket frames, which may come in at unpredictable times, pass the data to the responsible processes which are always ready waiting for new messages, and perform the operations required by only activating the required parts of the system.</p>
-<p>The more recent Web technologies, like Websocket of course, but also HTTP/2.0, are all fully asynchronous protocols. The concept of requests and responses is retained of course, but anything could be sent in between, by both the client or the browser, and the responses could also be received in a completely different order.</p>
-<p>Erlang is by nature asynchronous and really good at it thanks to the great engineering that has been done in the VM over the years. It&apos;s only natural that it&apos;s so good at dealing with the asynchronous Web.</p>
-<h2 id="_the_web_is_omnipresent">The Web is omnipresent</h2>
-<p>The Web has taken a very important part of our lives. We&apos;re connected at all times, when we&apos;re on our phone, using our computer, passing time using a tablet while in the bathroom... And this isn&apos;t going to slow down, every single device at home or on us will be connected.</p>
-<p>All these devices are always connected. And with the number of alternatives to give you access to the content you seek, users tend to not stick around when problems arise. Users today want their applications to be always available and if it&apos;s having too many issues they just move on.</p>
-<p>Despite this, when developers choose a product to use for building web applications, their only concern seems to be &quot;Is it fast?&quot;, and they look around for synthetic benchmarks showing which one is the fastest at sending &quot;Hello world&quot; with only a handful concurrent connections. Web benchmarks haven&apos;t been representative of reality in a long time, and are drifting further away as time goes on.</p>
-<p>What developers should really ask themselves is &quot;Can I service all my users with no interruption?&quot; and they&apos;d find that they have two choices. They can either hope for the best, or they can use Erlang.</p>
-<p>Erlang is built for fault tolerance. When writing code in any other language, you have to check all the return values and act accordingly to avoid any unforeseen issues. If you&apos;re lucky, you won&apos;t miss anything important. When writing Erlang code, you can just check the success condition and ignore all errors. If an error happens, the Erlang process crashes and is then restarted by a special process called a supervisor.</p>
-<p>Erlang developers thus have no need to fear unhandled errors, and can focus on handling only the errors that should give some feedback to the user and let the system take care of the rest. This also has the advantage of allowing them to write a lot less code, and let them sleep at night.</p>
-<p>Erlang&apos;s fault tolerance oriented design is the first piece of what makes it the best choice for the omnipresent, always available Web.</p>
-<p>The second piece is Erlang&apos;s built-in distribution. Distribution is a key part of building a fault tolerant system, because it allows you to handle bigger failures, like a whole server going down, or even a data center entirely.</p>
-<p>Fault tolerance and distribution are important today, and will be vital in the future of the Web. Erlang is ready.</p>
-<h2 id="_learn_erlang">Learn Erlang</h2>
-<p>If you are new to Erlang, you may want to grab a book or two to get started. Those are my recommendations as the author of Cowboy.</p>
-<h4 id="_the_erlanger_playbook">The Erlanger Playbook</h4>
-<p>The Erlanger Playbook is an ebook I am currently writing, which covers a number of different topics from code to documentation to testing Erlang applications. It also has an Erlang section where it covers directly the building blocks and patterns, rather than details like the syntax.</p>
-<p>You can most likely read it as a complete beginner, but you will need a companion book to make the most of it. Buy it from the <a href="https://ninenines.eu">Nine Nines website</a>.</p>
-<h4 id="_programming_erlang">Programming Erlang</h4>
-<p>This book is from one of the creator of Erlang, Joe Armstrong. It provides a very good explanation of what Erlang is and why it is so. It serves as a very good introduction to the language and platform.</p>
-<p>The book is <a href="http://pragprog.com/book/jaerlang2/programming-erlang">Programming Erlang</a>, and it also features a chapter on Cowboy.</p>
-<h4 id="_learn_you_some_erlang_for_great_good">Learn You Some Erlang for Great Good!</h4>
-<p><a href="http://learnyousomeerlang.com">LYSE</a> is a much more complete book covering many aspects of Erlang, while also providing stories and humor. Be warned: it&apos;s pretty verbose. It comes with a free online version and a more refined paper and ebook version.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/modern_web/">
- The modern Web
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/introduction/">
- Introduction
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/flow_diagram.asciidoc b/docs/en/cowboy/2.1/guide/flow_diagram.asciidoc
deleted file mode 100644
index 2d35d4d6..00000000
--- a/docs/en/cowboy/2.1/guide/flow_diagram.asciidoc
+++ /dev/null
@@ -1,109 +0,0 @@
-[[flow_diagram]]
-== Flow diagram
-
-Cowboy is a lightweight HTTP server with support for HTTP/1.1,
-HTTP/2 and Websocket.
-
-It is built on top of Ranch. Please see the Ranch guide for more
-information about how the network connections are handled.
-
-=== Overview
-
-image::http_req_resp.png[HTTP request/response flowchart]
-
-As you can see on the diagram, the client
-begins by connecting to the server. This step is handled
-by a Ranch acceptor, which is a process dedicated to
-accepting new connections.
-
-After Ranch accepts a new connection, whether it is an
-HTTP/1.1 or HTTP/2 connection, Cowboy starts receiving
-requests and handling them.
-
-In HTTP/1.1 all requests come sequentially. In HTTP/2
-the requests may arrive and be processed concurrently.
-
-When a request comes in, Cowboy creates a stream, which
-is a set of request/response and all the events associated
-with them. The protocol code in Cowboy defers the handling
-of these streams to stream handler modules. When you
-configure Cowboy you may define one or more module that
-will receive all events associated with a stream, including
-the request, response, bodies, Erlang messages and more.
-
-By default Cowboy comes configured with a stream handler
-called `cowboy_stream_h`. This stream handler will create
-a new process for every request coming in, and then
-communicate with this process to read the body or send
-a response back. The request process executes middlewares
-which, by default, including the router and then the
-execution of handlers. Like stream handlers, middlewares
-may also be customized.
-
-A response may be sent at almost any point in this
-diagram. If the response must be sent before the stream
-is initialized (because an error occurred early, for
-example) then stream handlers receive a special event
-indicating this error.
-
-=== Protocol-specific headers
-
-Cowboy takes care of protocol-specific headers and prevents
-you from sending them manually. For HTTP/1.1 this includes
-the `transfer-encoding` and `connection` headers. For HTTP/2
-this includes the colon headers like `:status`.
-
-Cowboy will also remove protocol-specific headers from
-requests before passing them to stream handlers. Cowboy
-tries to hide the implementation details of all protocols
-as well as possible.
-
-=== Number of processes per connection
-
-By default, Cowboy will use one process per connection,
-plus one process per set of request/response (called a
-stream, internally).
-
-The reason it creates a new process for every request is due
-to the requirements of HTTP/2 where requests are executed
-concurrently and independently from the connection. The
-frames from the different requests end up interleaved on
-the single TCP connection.
-
-The request processes are never reused. There is therefore
-no need to perform any cleanup after the response has been
-sent. The process will terminate and Erlang/OTP will reclaim
-all memory at once.
-
-Cowboy ultimately does not require more than one process
-per connection. It is possible to interact with the connection
-directly from a stream handler, a low level interface to Cowboy.
-They are executed from within the connection process, and can
-handle the incoming requests and send responses. This is however
-not recommended in normal circumstances, as a stream handler
-taking too long to execute could have a negative impact on
-concurrent requests or the state of the connection itself.
-
-=== Date header
-
-Because querying for the current date and time can be expensive,
-Cowboy generates one 'Date' header value every second, shares it
-to all other processes, which then simply copy it in the response.
-This allows compliance with HTTP/1.1 with no actual performance loss.
-
-=== Binaries
-
-Cowboy makes extensive use of binaries.
-
-Binaries are more efficient than lists for representing
-strings because they take less memory space. Processing
-performance can vary depending on the operation. Binaries
-are known for generally getting a great boost if the code
-is compiled natively. Please see the HiPE documentation
-for more details.
-
-Binaries may end up being shared between processes. This
-can lead to some large memory usage when one process keeps
-the binary data around forever without freeing it. If you
-see some weird memory usage in your application, this might
-be the cause.
diff --git a/docs/en/cowboy/2.1/guide/flow_diagram/index.html b/docs/en/cowboy/2.1/guide/flow_diagram/index.html
deleted file mode 100644
index c993a950..00000000
--- a/docs/en/cowboy/2.1/guide/flow_diagram/index.html
+++ /dev/null
@@ -1,208 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Flow diagram</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Flow diagram</span></h1>
-
-<p>Cowboy is a lightweight HTTP server with support for HTTP/1.1, HTTP/2 and Websocket.</p>
-<p>It is built on top of Ranch. Please see the Ranch guide for more information about how the network connections are handled.</p>
-<h2 id="_overview">Overview</h2>
-<img src="../http_req_resp.png" alt="HTTP request/response flowchart"/><p>As you can see on the diagram, the client begins by connecting to the server. This step is handled by a Ranch acceptor, which is a process dedicated to accepting new connections.</p>
-<p>After Ranch accepts a new connection, whether it is an HTTP/1.1 or HTTP/2 connection, Cowboy starts receiving requests and handling them.</p>
-<p>In HTTP/1.1 all requests come sequentially. In HTTP/2 the requests may arrive and be processed concurrently.</p>
-<p>When a request comes in, Cowboy creates a stream, which is a set of request/response and all the events associated with them. The protocol code in Cowboy defers the handling of these streams to stream handler modules. When you configure Cowboy you may define one or more module that will receive all events associated with a stream, including the request, response, bodies, Erlang messages and more.</p>
-<p>By default Cowboy comes configured with a stream handler called <code>cowboy_stream_h</code>. This stream handler will create a new process for every request coming in, and then communicate with this process to read the body or send a response back. The request process executes middlewares which, by default, including the router and then the execution of handlers. Like stream handlers, middlewares may also be customized.</p>
-<p>A response may be sent at almost any point in this diagram. If the response must be sent before the stream is initialized (because an error occurred early, for example) then stream handlers receive a special event indicating this error.</p>
-<h2 id="_protocol_specific_headers">Protocol-specific headers</h2>
-<p>Cowboy takes care of protocol-specific headers and prevents you from sending them manually. For HTTP/1.1 this includes the <code>transfer-encoding</code> and <code>connection</code> headers. For HTTP/2 this includes the colon headers like <code>:status</code>.</p>
-<p>Cowboy will also remove protocol-specific headers from requests before passing them to stream handlers. Cowboy tries to hide the implementation details of all protocols as well as possible.</p>
-<h2 id="_number_of_processes_per_connection">Number of processes per connection</h2>
-<p>By default, Cowboy will use one process per connection, plus one process per set of request/response (called a stream, internally).</p>
-<p>The reason it creates a new process for every request is due to the requirements of HTTP/2 where requests are executed concurrently and independently from the connection. The frames from the different requests end up interleaved on the single TCP connection.</p>
-<p>The request processes are never reused. There is therefore no need to perform any cleanup after the response has been sent. The process will terminate and Erlang/OTP will reclaim all memory at once.</p>
-<p>Cowboy ultimately does not require more than one process per connection. It is possible to interact with the connection directly from a stream handler, a low level interface to Cowboy. They are executed from within the connection process, and can handle the incoming requests and send responses. This is however not recommended in normal circumstances, as a stream handler taking too long to execute could have a negative impact on concurrent requests or the state of the connection itself.</p>
-<h2 id="_date_header">Date header</h2>
-<p>Because querying for the current date and time can be expensive, Cowboy generates one <em>Date</em> header value every second, shares it to all other processes, which then simply copy it in the response. This allows compliance with HTTP/1.1 with no actual performance loss.</p>
-<h2 id="_binaries">Binaries</h2>
-<p>Cowboy makes extensive use of binaries.</p>
-<p>Binaries are more efficient than lists for representing strings because they take less memory space. Processing performance can vary depending on the operation. Binaries are known for generally getting a great boost if the code is compiled natively. Please see the HiPE documentation for more details.</p>
-<p>Binaries may end up being shared between processes. This can lead to some large memory usage when one process keeps the binary data around forever without freeing it. If you see some weird memory usage in your application, this might be the cause.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/getting_started/">
- Getting started
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/listeners/">
- Listeners
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/getting_started.asciidoc b/docs/en/cowboy/2.1/guide/getting_started.asciidoc
deleted file mode 100644
index 3f145bb8..00000000
--- a/docs/en/cowboy/2.1/guide/getting_started.asciidoc
+++ /dev/null
@@ -1,147 +0,0 @@
-[[getting_started]]
-== Getting started
-
-Erlang is more than a language, it is also an operating system
-for your applications. Erlang developers rarely write standalone
-modules, they write libraries or applications, and then bundle
-those into what is called a release. A release contains the
-Erlang VM plus all applications required to run the node, so
-it can be pushed to production directly.
-
-This chapter walks you through all the steps of setting up
-Cowboy, writing your first application and generating your first
-release. At the end of this chapter you should know everything
-you need to push your first Cowboy application to production.
-
-=== Prerequisites
-
-We are going to use the https://github.com/ninenines/erlang.mk[Erlang.mk]
-build system. If you are using Windows, please check the
-http://erlang.mk/guide/installation.html[Installation instructions]
-to get your environment setup before you continue.
-
-=== Bootstrap
-
-First, let's create the directory for our application.
-
-[source,bash]
-$ mkdir hello_erlang
-$ cd hello_erlang
-
-Then we need to download Erlang.mk. Either use the following
-command or download it manually.
-
-[source,bash]
-$ wget https://erlang.mk/erlang.mk
-
-We can now bootstrap our application. Since we are going to generate
-a release, we will also bootstrap it at the same time.
-
-[source,bash]
-$ make -f erlang.mk bootstrap bootstrap-rel
-
-This creates a Makefile, a base application, and the release files
-necessary for creating the release. We can already build and start
-this release.
-
-[source,bash]
-----
-$ make run
-...
-----
-
-Entering the command `i().` will show the running processes, including
-one called `hello_erlang_sup`. This is the supervisor for our
-application.
-
-The release currently does nothing. In the rest of this chapter we
-will add Cowboy as a dependency and write a simple "Hello world!"
-handler.
-
-=== Cowboy setup
-
-We will modify the 'Makefile' to tell the build system it needs to
-fetch and compile Cowboy:
-
-[source,makefile]
-----
-PROJECT = hello_erlang
-
-DEPS = cowboy
-dep_cowboy_commit = 2.1.0
-
-DEP_PLUGINS = cowboy
-
-include erlang.mk
-----
-
-We also tell the build system to load the plugins Cowboy provides.
-These include predefined templates that we will use soon.
-
-If you do `make run` now, Cowboy will be included in the release
-and started automatically. This is not enough however, as Cowboy
-doesn't do anything by default. We still need to tell Cowboy to
-listen for connections.
-
-=== Listening for connections
-
-First we define the routes that Cowboy will use to map requests
-to handler modules, and then we start the listener. This is best
-done at application startup.
-
-Open the 'src/hello_erlang_app.erl' file and add the necessary
-code to the `start/2` function to make it look like this:
-
-[source,erlang]
-----
-start(_Type, _Args) ->
- Dispatch = cowboy_router:compile([
- {'_', [{"/", hello_handler, []}]}
- ]),
- {ok, _} = cowboy:start_clear(my_http_listener,
- [{port, 8080}],
- #{env => #{dispatch => Dispatch}}
- ),
- hello_erlang_sup:start_link().
-----
-
-Routes are explained in details in the xref:routing[Routing]
-chapter. For this tutorial we map the path `/` to the handler
-module `hello_handler`. This module doesn't exist yet.
-
-Build and start the release, then open http://localhost:8080
-in your browser. You will get a 500 error because the module is missing.
-Any other URL, like http://localhost:8080/test, will result in a
-404 error.
-
-=== Handling requests
-
-Cowboy features different kinds of handlers, including REST
-and Websocket handlers. For this tutorial we will use a plain
-HTTP handler.
-
-Generate a handler from a template:
-
-[source,bash]
-$ make new t=cowboy.http n=hello_handler
-
-Then, open the 'src/hello_handler.erl' file and modify
-the `init/2` function like this to send a reply.
-
-[source,erlang]
-----
-init(Req0, State) ->
- Req = cowboy_req:reply(200,
- #{<<"content-type">> => <<"text/plain">>},
- <<"Hello Erlang!">>,
- Req0),
- {ok, Req, State}.
-----
-
-What the above code does is send a 200 OK reply, with the
-Content-type header set to `text/plain` and the response
-body set to `Hello Erlang!`.
-
-If you run the release and open http://localhost:8080
-in your browser, you should get a nice `Hello Erlang!` displayed!
diff --git a/docs/en/cowboy/2.1/guide/getting_started/index.html b/docs/en/cowboy/2.1/guide/getting_started/index.html
deleted file mode 100644
index efb6d894..00000000
--- a/docs/en/cowboy/2.1/guide/getting_started/index.html
+++ /dev/null
@@ -1,282 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Getting started</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Getting started</span></h1>
-
-<p>Erlang is more than a language, it is also an operating system for your applications. Erlang developers rarely write standalone modules, they write libraries or applications, and then bundle those into what is called a release. A release contains the Erlang VM plus all applications required to run the node, so it can be pushed to production directly.</p>
-<p>This chapter walks you through all the steps of setting up Cowboy, writing your first application and generating your first release. At the end of this chapter you should know everything you need to push your first Cowboy application to production.</p>
-<h2 id="_prerequisites">Prerequisites</h2>
-<p>We are going to use the <a href="https://github.com/ninenines/erlang.mk">Erlang.mk</a> build system. If you are using Windows, please check the <a href="http://erlang.mk/guide/installation.html">Installation instructions</a> to get your environment setup before you continue.</p>
-<h2 id="_bootstrap">Bootstrap</h2>
-<p>First, let&apos;s create the directory for our application.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ mkdir hello_erlang
-$ cd hello_erlang</tt></pre>
-</div></div>
-<p>Then we need to download Erlang.mk. Either use the following command or download it manually.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ wget https<font color="#990000">:</font>//erlang<font color="#990000">.</font>mk/erlang<font color="#990000">.</font>mk</tt></pre>
-</div></div>
-<p>We can now bootstrap our application. Since we are going to generate a release, we will also bootstrap it at the same time.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make -f erlang<font color="#990000">.</font>mk bootstrap bootstrap-rel</tt></pre>
-</div></div>
-<p>This creates a Makefile, a base application, and the release files necessary for creating the release. We can already build and start this release.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make run
-<font color="#990000">...</font>
-<font color="#990000">(</font>hello_erlang@<font color="#993399">127.0</font><font color="#990000">.</font><font color="#993399">0.1</font><font color="#990000">)</font><font color="#993399">1</font><font color="#990000">&gt;</font></tt></pre>
-</div></div>
-<p>Entering the command <code>i().</code> will show the running processes, including one called <code>hello_erlang_sup</code>. This is the supervisor for our application.</p>
-<p>The release currently does nothing. In the rest of this chapter we will add Cowboy as a dependency and write a simple &quot;Hello world!&quot; handler.</p>
-<h2 id="_cowboy_setup">Cowboy setup</h2>
-<p>We will modify the <em>Makefile</em> to tell the build system it needs to fetch and compile Cowboy:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PROJECT =</font> hello_erlang
-
-<font color="#009900">DEPS =</font> cowboy
-<font color="#009900">dep_cowboy_commit =</font> 2.1.0
-
-<font color="#009900">DEP_PLUGINS =</font> cowboy
-
-include erlang.mk</tt></pre>
-</div></div>
-<p>We also tell the build system to load the plugins Cowboy provides. These include predefined templates that we will use soon.</p>
-<p>If you do <code>make run</code> now, Cowboy will be included in the release and started automatically. This is not enough however, as Cowboy doesn&apos;t do anything by default. We still need to tell Cowboy to listen for connections.</p>
-<h2 id="_listening_for_connections">Listening for connections</h2>
-<p>First we define the routes that Cowboy will use to map requests to handler modules, and then we start the listener. This is best done at application startup.</p>
-<p>Open the <em>src/hello_erlang_app.erl</em> file and add the necessary code to the <code>start/2</code> function to make it look like this:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">start</font></b>(<font color="#009900">_Type</font>, <font color="#009900">_Args</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>([
- {<font color="#FF6600">'_'</font>, [{<font color="#FF0000">"/"</font>, <font color="#FF6600">hello_handler</font>, []}]}
- ]),
- {<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_clear</font></b>(<font color="#FF6600">my_http_listener</font>,
- [{<font color="#FF6600">port</font>, <font color="#993399">8080</font>}],
- #{<font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}}
- ),
- <b><font color="#000000">hello_erlang_sup:start_link</font></b>()<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Routes are explained in details in the <a href="../routing">Routing</a> chapter. For this tutorial we map the path <code>/</code> to the handler module <code>hello_handler</code>. This module doesn&apos;t exist yet.</p>
-<p>Build and start the release, then open <a href="http://localhost:8080">http://localhost:8080</a> in your browser. You will get a 500 error because the module is missing. Any other URL, like <a href="http://localhost:8080/test">http://localhost:8080/test</a>, will result in a 404 error.</p>
-<h2 id="_handling_requests">Handling requests</h2>
-<p>Cowboy features different kinds of handlers, including REST and Websocket handlers. For this tutorial we will use a plain HTTP handler.</p>
-<p>Generate a handler from a template:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make new <font color="#009900">t</font><font color="#990000">=</font>cowboy<font color="#990000">.</font>http <font color="#009900">n</font><font color="#990000">=</font>hello_handler</tt></pre>
-</div></div>
-<p>Then, open the <em>src/hello_handler.erl</em> file and modify the <code>init/2</code> function like this to send a reply.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req0</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>,
- #{<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/plain"</font><font color="#990000">&gt;&gt;</font>},
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello Erlang!"</font><font color="#990000">&gt;&gt;</font>,
- <font color="#009900">Req0</font>),
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>What the above code does is send a 200 OK reply, with the Content-type header set to <code>text/plain</code> and the response body set to <code>Hello Erlang!</code>.</p>
-<p>If you run the release and open <a href="http://localhost:8080">http://localhost:8080</a> in your browser, you should get a nice <code>Hello Erlang!</code> displayed!</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/introduction/">
- Introduction
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/flow_diagram/">
- Flow diagram
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/handlers.asciidoc b/docs/en/cowboy/2.1/guide/handlers.asciidoc
deleted file mode 100644
index fe6f4623..00000000
--- a/docs/en/cowboy/2.1/guide/handlers.asciidoc
+++ /dev/null
@@ -1,90 +0,0 @@
-[[handlers]]
-== Handlers
-
-Handlers are Erlang modules that handle HTTP requests.
-
-=== Plain HTTP handlers
-
-The most basic handler in Cowboy implements the mandatory
-`init/2` callback, manipulates the request, optionally
-sends a response and then returns.
-
-This callback receives the xref:req[Req object] and the initial
-state defined in the xref:routing[router configuration].
-
-A handler that does nothing would look like this:
-
-[source,erlang]
-----
-init(Req, State) ->
- {ok, Req, State}.
-----
-
-Despite sending no reply, a `204 No Content` response will be
-sent to the client, as Cowboy makes sure that a response is
-sent for every request.
-
-We need to use the Req object to reply.
-
-[source,erlang]
-----
-init(Req0, State) ->
- Req = cowboy_req:reply(200, #{
- <<"content-type">> => <<"text/plain">>
- }, <<"Hello World!">>, Req0),
- {ok, Req, State}.
-----
-
-Cowboy will immediately send a response when `cowboy:reply/4`
-is called.
-
-We then return a 3-tuple. `ok` means that the handler ran
-successfully. We also give the modified Req back to Cowboy.
-
-The last value of the tuple is a state that will be used
-in every subsequent callbacks to this handler. Plain HTTP
-handlers only have one additional callback, the optional
-and rarely used `terminate/3`.
-
-=== Other handlers
-
-The `init/2` callback can also be used to inform Cowboy
-that this is a different kind of handler and that Cowboy
-should switch to it. To do this you simply need to return
-the module name of the handler type you want to switch to.
-
-Cowboy comes with three handler types you can switch to:
-xref:rest_handlers[cowboy_rest], xref:ws_handlers[cowboy_websocket]
-and xref:loop_handlers[cowboy_loop]. In addition to those you
-can define your own handler types.
-
-Switching is simple. Instead of returning `ok`, you simply
-return the name of the handler type you want to use. The
-following snippet switches to a Websocket handler:
-
-[source,erlang]
-----
-init(Req, State) ->
- {cowboy_websocket, Req, State}.
-----
-
-=== Cleaning up
-
-All handler types provide the optional `terminate/3` callback.
-
-[source,erlang]
-----
-terminate(_Reason, _Req, _State) ->
- ok.
-----
-
-This callback is strictly reserved for any required cleanup.
-You cannot send a response from this function. There is no
-other return value.
-
-This callback is optional because it is rarely necessary.
-Cleanup should be done in separate processes directly (by
-monitoring the handler process to detect when it exits).
-
-Cowboy does not reuse processes for different requests. The
-process will terminate soon after this call returns.
diff --git a/docs/en/cowboy/2.1/guide/handlers/index.html b/docs/en/cowboy/2.1/guide/handlers/index.html
deleted file mode 100644
index e70226a3..00000000
--- a/docs/en/cowboy/2.1/guide/handlers/index.html
+++ /dev/null
@@ -1,235 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Handlers</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Handlers</span></h1>
-
-<p>Handlers are Erlang modules that handle HTTP requests.</p>
-<h2 id="_plain_http_handlers">Plain HTTP handlers</h2>
-<p>The most basic handler in Cowboy implements the mandatory <code>init/2</code> callback, manipulates the request, optionally sends a response and then returns.</p>
-<p>This callback receives the <a href="../req">Req object</a> and the initial state defined in the <a href="../routing">router configuration</a>.</p>
-<p>A handler that does nothing would look like this:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Despite sending no reply, a <code>204 No Content</code> response will be sent to the client, as Cowboy makes sure that a response is sent for every request.</p>
-<p>We need to use the Req object to reply.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req0</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/plain"</font><font color="#990000">&gt;&gt;</font>
- }, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello World!"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>),
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy will immediately send a response when <code>cowboy:reply/4</code> is called.</p>
-<p>We then return a 3-tuple. <code>ok</code> means that the handler ran successfully. We also give the modified Req back to Cowboy.</p>
-<p>The last value of the tuple is a state that will be used in every subsequent callbacks to this handler. Plain HTTP handlers only have one additional callback, the optional and rarely used <code>terminate/3</code>.</p>
-<h2 id="_other_handlers">Other handlers</h2>
-<p>The <code>init/2</code> callback can also be used to inform Cowboy that this is a different kind of handler and that Cowboy should switch to it. To do this you simply need to return the module name of the handler type you want to switch to.</p>
-<p>Cowboy comes with three handler types you can switch to: <a href="../rest_handlers">cowboy_rest</a>, <a href="../ws_handlers">cowboy_websocket</a> and <a href="../loop_handlers">cowboy_loop</a>. In addition to those you can define your own handler types.</p>
-<p>Switching is simple. Instead of returning <code>ok</code>, you simply return the name of the handler type you want to use. The following snippet switches to a Websocket handler:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">cowboy_websocket</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_cleaning_up">Cleaning up</h2>
-<p>All handler types provide the optional <code>terminate/3</code> callback.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">terminate</font></b>(<font color="#009900">_Reason</font>, <font color="#009900">_Req</font>, <font color="#009900">_State</font>) <font color="#990000">-&gt;</font>
- <font color="#FF6600">ok</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>This callback is strictly reserved for any required cleanup. You cannot send a response from this function. There is no other return value.</p>
-<p>This callback is optional because it is rarely necessary. Cleanup should be done in separate processes directly (by monitoring the handler process to detect when it exits).</p>
-<p>Cowboy does not reuse processes for different requests. The process will terminate soon after this call returns.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/constraints/">
- Constraints
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/loop_handlers/">
- Loop handlers
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/http_req_resp.png b/docs/en/cowboy/2.1/guide/http_req_resp.png
deleted file mode 100644
index 41c17c8a..00000000
--- a/docs/en/cowboy/2.1/guide/http_req_resp.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/2.1/guide/http_req_resp.svg b/docs/en/cowboy/2.1/guide/http_req_resp.svg
deleted file mode 100644
index acedb152..00000000
--- a/docs/en/cowboy/2.1/guide/http_req_resp.svg
+++ /dev/null
@@ -1,543 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.92.1 r"
- sodipodi:docname="http_req_resp.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4142136"
- inkscape:cx="172.08527"
- inkscape:cy="762.31079"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="1920"
- inkscape:window-height="1043"
- inkscape:window-x="0"
- inkscape:window-y="0"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <g
- transform="translate(193.54707,-32.134105)"
- id="g5650-5-0">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3-9"
- d="m -57.78256,351.41962 v 52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- sodipodi:type="star" />
- </g>
- <g
- transform="rotate(180,50.658226,375.46461)"
- id="g5650-6-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-0"
- d="m -57.78256,351.41962 v 52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(193.54707,-119.75468)"
- id="g5650-5">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 v 52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- sodipodi:type="star" />
- </g>
- <g
- transform="rotate(180,50.658226,331.65432)"
- id="g5650-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,351.41962 v 52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="43.721401"
- y="384.1973"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <use
- x="0"
- y="0"
- xlink:href="#g5650"
- id="use5654"
- transform="translate(205.03261,76.66371)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="use5660"
- transform="translate(205.03261,-207.5)">
- <path
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m -57.78256,351.41962 0,52.3259"
- id="path3051"
- inkscape:connector-curvature="0" />
- <path
- sodipodi:type="star"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="path3053"
- sodipodi:sides="3"
- sodipodi:cx="-222.73865"
- sodipodi:cy="415.25897"
- sodipodi:r1="14.849242"
- sodipodi:r2="7.4246211"
- sodipodi:arg1="1.5707963"
- sodipodi:arg2="2.6179939"
- inkscape:flatsided="true"
- inkscape:rounded="0"
- inkscape:randomized="0"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:transform-center-y="2.1823437"
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)" />
- </g>
- <use
- x="0"
- y="0"
- xlink:href="#use5660"
- id="use5662"
- transform="translate(0,-86.562562)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;opacity:0.8" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;opacity:0.8"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="114.39204"
- id="text5371"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <g
- id="g3850">
- <use
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- height="1052.3622"
- width="744.09448"
- transform="translate(318.97597,32.837526)"
- id="use5359"
- xlink:href="#rect5273-7"
- y="0"
- x="0" />
- <a
- id="a3826">
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="146.77739"
- y="145.67879"
- id="text5371-7"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="146.77739"
- y="145.67879"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">acceptor</tspan></text>
- </a>
- </g>
- <g
- id="g3860">
- <use
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- height="1052.3622"
- width="744.09448"
- transform="translate(1.630859e-6,86.777953)"
- id="use5361"
- xlink:href="#use5359"
- y="0"
- x="0" />
- <text
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- id="text5371-74"
- y="232.91768"
- x="147.26958"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- xml:space="preserve"><tspan
- id="tspan3770"
- style="font-size:16px;line-height:1.25;font-family:sans-serif"
- y="232.91768"
- x="147.26958"
- sodipodi:role="line">protocol</tspan></text>
- </g>
- <g
- id="g3904">
- <use
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- height="1052.3622"
- width="744.09448"
- transform="translate(0,197.08458)"
- id="use5365"
- xlink:href="#use5361"
- y="0"
- x="0" />
- <text
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- id="text5371-5"
- y="431.0921"
- x="146.53125"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- xml:space="preserve"><tspan
- style="font-size:16px;line-height:1.25;font-family:sans-serif"
- y="431.0921"
- x="146.53125"
- id="tspan5373-0"
- sodipodi:role="line">router</tspan></text>
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <g
- id="g3909">
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
- id="use5363"
- width="104.5895"
- height="36.392323"
- x="94.955292"
- y="494.37244"
- rx="15" />
- <text
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- id="text5371-2-3-0"
- y="518.38519"
- x="146.53125"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- xml:space="preserve"><tspan
- style="font-size:16px;line-height:1.25;font-family:sans-serif"
- y="518.38519"
- x="146.53125"
- id="tspan5373-6-7-3"
- sodipodi:role="line">handler</tspan></text>
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="-470.30792"
- y="63.078125"
- id="text5371-2-3-0-7"
- transform="rotate(-90)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-470.30792"
- y="63.078125"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">middlewares</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <g
- id="g3855">
- <use
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- height="1052.3622"
- width="744.09448"
- transform="translate(318.97592,-176.5)"
- id="use5355"
- xlink:href="#rect5273-22"
- y="0"
- x="0" />
- <text
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- id="text5371-4-0"
- y="60.912468"
- x="147.00391"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- xml:space="preserve"><tspan
- style="font-size:16px;line-height:1.25;font-family:sans-serif"
- y="60.912468"
- x="147.00391"
- id="tspan5373-9-2"
- sodipodi:role="line">client</tspan></text>
- </g>
- <g
- id="g3865">
- <rect
- rx="15"
- y="297.08545"
- x="94.955299"
- height="36.392323"
- width="104.5895"
- id="rect5273-3"
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
- <text
- id="text5371-2-6"
- y="320.78552"
- x="147.50005"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- xml:space="preserve"><tspan
- style="font-size:16px;line-height:1.25;font-family:sans-serif"
- y="320.78552"
- x="147.50005"
- id="tspan5373-6-7"
- sodipodi:role="line">stream</tspan></text>
- </g>
- </g>
-</svg>
diff --git a/docs/en/cowboy/2.1/guide/index.html b/docs/en/cowboy/2.1/guide/index.html
deleted file mode 100644
index 3768b452..00000000
--- a/docs/en/cowboy/2.1/guide/index.html
+++ /dev/null
@@ -1,237 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Cowboy User Guide</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Cowboy User Guide</span></h1>
-
-<!-- REST: where should i handle bindings? init, probably. qs? in media type functions-->
-<!-- REST: explain how a module per media type is good; module may be shared between client/server-->
-<h2 id="_rationale">Rationale</h2>
-<ul><li><a href="modern_web/">The modern Web</a>
-</li>
-<li><a href="erlang_web/">Erlang and the Web</a>
-</li>
-</ul>
-<h2 id="_introduction">Introduction</h2>
-<ul><li><a href="introduction/">Introduction</a>
-</li>
-<li><a href="getting_started/">Getting started</a>
-</li>
-<li><a href="flow_diagram/">Flow diagram</a>
-</li>
-</ul>
-<h2 id="_configuration">Configuration</h2>
-<ul><li><a href="listeners/">Listeners</a>
-</li>
-<li><a href="routing/">Routing</a>
-</li>
-<li><a href="constraints/">Constraints</a>
-</li>
-</ul>
-<h2 id="_handlers">Handlers</h2>
-<ul><li><a href="handlers/">Handlers</a>
-</li>
-<li><a href="loop_handlers/">Loop handlers</a>
-</li>
-<li><a href="static_files/">Static files</a>
-</li>
-</ul>
-<h2 id="_request_and_response">Request and response</h2>
-<ul><li><a href="req/">Request details</a>
-</li>
-<li><a href="req_body/">Reading the request body</a>
-</li>
-<li><a href="resp/">Sending a response</a>
-</li>
-<li><a href="cookies/">Using cookies</a>
-</li>
-<li><a href="multipart/">Multipart</a>
-</li>
-</ul>
-<h2 id="_rest">REST</h2>
-<ul><li><a href="rest_principles/">REST principles</a>
-</li>
-<li><a href="rest_handlers/">Handling REST requests</a>
-</li>
-<li><a href="rest_flowcharts/">REST flowcharts</a>
-</li>
-<li><a href="resource_design/">Designing a resource handler</a>
-</li>
-</ul>
-<h2 id="_websocket">Websocket</h2>
-<ul><li><a href="ws_protocol/">The Websocket protocol</a>
-</li>
-<li><a href="ws_handlers/">Websocket handlers</a>
-</li>
-</ul>
-<h2 id="_advanced">Advanced</h2>
-<ul><li><a href="streams/">Streams</a>
-</li>
-<li><a href="middlewares/">Middlewares</a>
-</li>
-</ul>
-<h2 id="_additional_information">Additional information</h2>
-<ul><li><a href="migrating_from_2.0/">Migrating from Cowboy 2.0 to 2.1</a>
-</li>
-<li><a href="migrating_from_1.0/">Migrating from Cowboy 1.0 to 2.0</a>
-</li>
-<li><a href="specs/">HTTP and other specifications</a>
-</li>
-</ul>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/introduction.asciidoc b/docs/en/cowboy/2.1/guide/introduction.asciidoc
deleted file mode 100644
index 1f9b52e4..00000000
--- a/docs/en/cowboy/2.1/guide/introduction.asciidoc
+++ /dev/null
@@ -1,75 +0,0 @@
-[[introduction]]
-== Introduction
-
-Cowboy is a small, fast and modern HTTP server for Erlang/OTP.
-
-Cowboy aims to provide a complete xref:modern_web[modern Web stack].
-This includes HTTP/1.1, HTTP/2, Websocket, Server-Sent Events and
-Webmachine-based REST.
-
-Cowboy comes with functions for introspection and tracing, enabling
-developers to know precisely what is happening at any time. Its modular
-design also easily enable developers to add instrumentation.
-
-Cowboy is a high quality project. It has a small code base, is very
-efficient (both in latency and memory use) and can easily be embedded
-in another application.
-
-Cowboy is clean Erlang code. It includes hundreds of tests and its code
-is fully compliant with the Dialyzer. It is also well documented and
-features a Function Reference, a User Guide and numerous Tutorials.
-
-=== Prerequisites
-
-Beginner Erlang knowledge is recommended for reading this guide.
-
-Knowledge of the HTTP protocol is recommended but not required, as it
-will be detailed throughout the guide.
-
-=== Supported platforms
-
-Cowboy is tested and supported on Linux, FreeBSD, Windows and OSX.
-
-Cowboy has been reported to work on other platforms, but we make no
-guarantee that the experience will be safe and smooth. You are advised
-to perform the necessary testing and security audits prior to deploying
-on other platforms.
-
-Cowboy is developed for Erlang/OTP 19.0 and newer.
-
-=== License
-
-Cowboy uses the ISC License.
-
-----
-Copyright (c) 2011-2017, Loïc Hoguin <[email protected]>
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-----
-
-=== Versioning
-
-Cowboy uses http://semver.org/[Semantic Versioning 2.0.0].
-
-=== Conventions
-
-In the HTTP protocol, the method name is case sensitive. All standard
-method names are uppercase.
-
-Header names are case insensitive. When using HTTP/1.1, Cowboy converts
-all the request header names to lowercase. HTTP/2 requires clients to
-send them as lowercase. Any other header name is expected to be provided
-lowercased, including when querying information about the request or
-when sending responses.
-
-The same applies to any other case insensitive value.
diff --git a/docs/en/cowboy/2.1/guide/introduction/index.html b/docs/en/cowboy/2.1/guide/introduction/index.html
deleted file mode 100644
index e6a37c63..00000000
--- a/docs/en/cowboy/2.1/guide/introduction/index.html
+++ /dev/null
@@ -1,218 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Introduction</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Introduction</span></h1>
-
-<p>Cowboy is a small, fast and modern HTTP server for Erlang/OTP.</p>
-<p>Cowboy aims to provide a complete <a href="../modern_web">modern Web stack</a>. This includes HTTP/1.1, HTTP/2, Websocket, Server-Sent Events and Webmachine-based REST.</p>
-<p>Cowboy comes with functions for introspection and tracing, enabling developers to know precisely what is happening at any time. Its modular design also easily enable developers to add instrumentation.</p>
-<p>Cowboy is a high quality project. It has a small code base, is very efficient (both in latency and memory use) and can easily be embedded in another application.</p>
-<p>Cowboy is clean Erlang code. It includes hundreds of tests and its code is fully compliant with the Dialyzer. It is also well documented and features a Function Reference, a User Guide and numerous Tutorials.</p>
-<h2 id="_prerequisites">Prerequisites</h2>
-<p>Beginner Erlang knowledge is recommended for reading this guide.</p>
-<p>Knowledge of the HTTP protocol is recommended but not required, as it will be detailed throughout the guide.</p>
-<h2 id="_supported_platforms">Supported platforms</h2>
-<p>Cowboy is tested and supported on Linux, FreeBSD, Windows and OSX.</p>
-<p>Cowboy has been reported to work on other platforms, but we make no guarantee that the experience will be safe and smooth. You are advised to perform the necessary testing and security audits prior to deploying on other platforms.</p>
-<p>Cowboy is developed for Erlang/OTP 19.0 and newer.</p>
-<h2 id="_license">License</h2>
-<p>Cowboy uses the ISC License.</p>
-<div class="listingblock"><div class="content"><pre>Copyright (c) 2011-2017, Loïc Hoguin &lt;[email protected]&gt;
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</pre></div></div>
-<h2 id="_versioning">Versioning</h2>
-<p>Cowboy uses <a href="http://semver.org/">Semantic Versioning 2.0.0</a>.</p>
-<h2 id="_conventions">Conventions</h2>
-<p>In the HTTP protocol, the method name is case sensitive. All standard method names are uppercase.</p>
-<p>Header names are case insensitive. When using HTTP/1.1, Cowboy converts all the request header names to lowercase. HTTP/2 requires clients to send them as lowercase. Any other header name is expected to be provided lowercased, including when querying information about the request or when sending responses.</p>
-<p>The same applies to any other case insensitive value.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/erlang_web/">
- Erlang and the Web
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/getting_started/">
- Getting started
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/listeners.asciidoc b/docs/en/cowboy/2.1/guide/listeners.asciidoc
deleted file mode 100644
index 10ac4aad..00000000
--- a/docs/en/cowboy/2.1/guide/listeners.asciidoc
+++ /dev/null
@@ -1,115 +0,0 @@
-[[listeners]]
-== Listeners
-
-A listener is a set of processes that listens on a port for
-new connections. Incoming connections get handled by Cowboy.
-Depending on the connection handshake, one or another protocol
-may be used.
-
-This chapter is specific to Cowboy. Please refer to the
-https://ninenines.eu/docs/en/ranch/1.3/guide/listeners/[Ranch User Guide]
-for more information about listeners.
-
-Cowboy provides two types of listeners: one listening for
-clear TCP connections, and one listening for secure TLS
-connections. Both of them support the HTTP/1.1 and HTTP/2
-protocols.
-
-=== Clear TCP listener
-
-The clear TCP listener will accept connections on the
-given port. A typical HTTP server would listen on port 80.
-Port 80 requires special permissions on most platforms
-however so a common alternative is port 8080.
-
-The following snippet starts listening for connections
-on port 8080:
-
-[source,erlang]
-----
-start(_Type, _Args) ->
- Dispatch = cowboy_router:compile([
- {'_', [{"/", hello_handler, []}]}
- ]),
- {ok, _} = cowboy:start_clear(my_http_listener,
- [{port, 8080}],
- #{env => #{dispatch => Dispatch}}
- ),
- hello_erlang_sup:start_link().
-----
-
-The xref:getting_started[Getting Started] chapter uses a
-clear TCP listener.
-
-Clients connecting to Cowboy on the clear listener port are
-expected to use either HTTP/1.1 or HTTP/2.
-
-Cowboy supports both methods of initiating a clear
-HTTP/2 connection: through the Upgrade mechanism
-(https://tools.ietf.org/html/rfc7540#section-3.2[RFC 7540 3.2])
-or by sending the preface directly
-(https://tools.ietf.org/html/rfc7540#section-3.4[RFC 7540 3.4]).
-
-Compatibility with HTTP/1.0 is provided by Cowboy's HTTP/1.1
-implementation.
-
-=== Secure TLS listener
-
-The secure TLS listener will accept connections on the
-given port. A typical HTTPS server would listen on port 443.
-Port 443 requires special permissions on most platforms
-however so a common alternative is port 8443.
-
-// @todo Make a complete list of restrictions.
-
-The function provided by Cowboy will ensure that the TLS
-options given are following the HTTP/2 RFC with regards
-to security. For example some TLS extensions or ciphers
-may be disabled. This also applies to HTTP/1.1 connections
-on this listener. If this is not desirable, Ranch can be
-used directly to setup a custom listener.
-
-[source,erlang]
-----
-start(_Type, _Args) ->
- Dispatch = cowboy_router:compile([
- {'_', [{"/", hello_handler, []}]}
- ]),
- {ok, _} = cowboy:start_tls(my_http_listener,
- [
- {port, 8443},
- {certfile, "/path/to/certfile"},
- {keyfile, "/path/to/keyfile"}
- ],
- #{env => #{dispatch => Dispatch}}
- ),
- hello_erlang_sup:start_link().
-----
-
-Clients connecting to Cowboy on the secure listener are
-expected to use the ALPN TLS extension to indicate what
-protocols they understand. Cowboy always prefers HTTP/2
-over HTTP/1.1 when both are supported. When neither are
-supported by the client, or when the ALPN extension was
-missing, Cowboy expects HTTP/1.1 to be used.
-
-Cowboy also advertises HTTP/2 support through the older
-NPN TLS extension for compatibility. Note however that
-this support will likely not be enabled by default when
-Cowboy 2.0 gets released.
-
-Compatibility with HTTP/1.0 is provided by Cowboy's HTTP/1.1
-implementation.
-
-=== Protocol configuration
-
-The HTTP/1.1 and HTTP/2 protocols share the same semantics;
-only their framing differs. The first is a text protocol and
-the second a binary protocol.
-
-Cowboy doesn't separate the configuration for HTTP/1.1 and
-HTTP/2. Everything goes into the same map. Many options are
-shared.
-
-// @todo Describe good to know options for both protocols?
-// Maybe do that in separate chapters?
diff --git a/docs/en/cowboy/2.1/guide/listeners/index.html b/docs/en/cowboy/2.1/guide/listeners/index.html
deleted file mode 100644
index 615b8218..00000000
--- a/docs/en/cowboy/2.1/guide/listeners/index.html
+++ /dev/null
@@ -1,239 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Listeners</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Listeners</span></h1>
-
-<p>A listener is a set of processes that listens on a port for new connections. Incoming connections get handled by Cowboy. Depending on the connection handshake, one or another protocol may be used.</p>
-<p>This chapter is specific to Cowboy. Please refer to the <a href="https://ninenines.eu/docs/en/ranch/1.3/guide/listeners/">Ranch User Guide</a> for more information about listeners.</p>
-<p>Cowboy provides two types of listeners: one listening for clear TCP connections, and one listening for secure TLS connections. Both of them support the HTTP/1.1 and HTTP/2 protocols.</p>
-<h2 id="_clear_tcp_listener">Clear TCP listener</h2>
-<p>The clear TCP listener will accept connections on the given port. A typical HTTP server would listen on port 80. Port 80 requires special permissions on most platforms however so a common alternative is port 8080.</p>
-<p>The following snippet starts listening for connections on port 8080:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">start</font></b>(<font color="#009900">_Type</font>, <font color="#009900">_Args</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>([
- {<font color="#FF6600">'_'</font>, [{<font color="#FF0000">"/"</font>, <font color="#FF6600">hello_handler</font>, []}]}
- ]),
- {<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_clear</font></b>(<font color="#FF6600">my_http_listener</font>,
- [{<font color="#FF6600">port</font>, <font color="#993399">8080</font>}],
- #{<font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}}
- ),
- <b><font color="#000000">hello_erlang_sup:start_link</font></b>()<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The <a href="../getting_started">Getting Started</a> chapter uses a clear TCP listener.</p>
-<p>Clients connecting to Cowboy on the clear listener port are expected to use either HTTP/1.1 or HTTP/2.</p>
-<p>Cowboy supports both methods of initiating a clear HTTP/2 connection: through the Upgrade mechanism (<a href="https://tools.ietf.org/html/rfc7540#section-3.2">RFC 7540 3.2</a>) or by sending the preface directly (<a href="https://tools.ietf.org/html/rfc7540#section-3.4">RFC 7540 3.4</a>).</p>
-<p>Compatibility with HTTP/1.0 is provided by Cowboy&apos;s HTTP/1.1 implementation.</p>
-<h2 id="_secure_tls_listener">Secure TLS listener</h2>
-<p>The secure TLS listener will accept connections on the given port. A typical HTTPS server would listen on port 443. Port 443 requires special permissions on most platforms however so a common alternative is port 8443.</p>
-<!-- @todo Make a complete list of restrictions.-->
-<p>The function provided by Cowboy will ensure that the TLS options given are following the HTTP/2 RFC with regards to security. For example some TLS extensions or ciphers may be disabled. This also applies to HTTP/1.1 connections on this listener. If this is not desirable, Ranch can be used directly to setup a custom listener.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">start</font></b>(<font color="#009900">_Type</font>, <font color="#009900">_Args</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>([
- {<font color="#FF6600">'_'</font>, [{<font color="#FF0000">"/"</font>, <font color="#FF6600">hello_handler</font>, []}]}
- ]),
- {<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_tls</font></b>(<font color="#FF6600">my_http_listener</font>,
- [
- {<font color="#FF6600">port</font>, <font color="#993399">8443</font>},
- {<font color="#FF6600">certfile</font>, <font color="#FF0000">"/path/to/certfile"</font>},
- {<font color="#FF6600">keyfile</font>, <font color="#FF0000">"/path/to/keyfile"</font>}
- ],
- #{<font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}}
- ),
- <b><font color="#000000">hello_erlang_sup:start_link</font></b>()<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Clients connecting to Cowboy on the secure listener are expected to use the ALPN TLS extension to indicate what protocols they understand. Cowboy always prefers HTTP/2 over HTTP/1.1 when both are supported. When neither are supported by the client, or when the ALPN extension was missing, Cowboy expects HTTP/1.1 to be used.</p>
-<p>Cowboy also advertises HTTP/2 support through the older NPN TLS extension for compatibility. Note however that this support will likely not be enabled by default when Cowboy 2.0 gets released.</p>
-<p>Compatibility with HTTP/1.0 is provided by Cowboy&apos;s HTTP/1.1 implementation.</p>
-<h2 id="_protocol_configuration">Protocol configuration</h2>
-<p>The HTTP/1.1 and HTTP/2 protocols share the same semantics; only their framing differs. The first is a text protocol and the second a binary protocol.</p>
-<p>Cowboy doesn&apos;t separate the configuration for HTTP/1.1 and HTTP/2. Everything goes into the same map. Many options are shared.</p>
-<!-- @todo Describe good to know options for both protocols?-->
-<!-- Maybe do that in separate chapters?-->
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/flow_diagram/">
- Flow diagram
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/routing/">
- Routing
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/loop_handlers.asciidoc b/docs/en/cowboy/2.1/guide/loop_handlers.asciidoc
deleted file mode 100644
index 21bf8424..00000000
--- a/docs/en/cowboy/2.1/guide/loop_handlers.asciidoc
+++ /dev/null
@@ -1,128 +0,0 @@
-[[loop_handlers]]
-== Loop handlers
-
-Loop handlers are a special kind of HTTP handlers used when the
-response can not be sent right away. The handler enters instead
-a receive loop waiting for the right message before it can send
-a response.
-
-Loop handlers are used for requests where a response might not
-be immediately available, but where you would like to keep the
-connection open for a while in case the response arrives. The
-most known example of such practice is known as long polling.
-
-Loop handlers can also be used for requests where a response is
-partially available and you need to stream the response body
-while the connection is open. The most known example of such
-practice is server-sent events.
-
-While the same can be accomplished using plain HTTP handlers,
-it is recommended to use loop handlers because they are well-tested
-and allow using built-in features like hibernation and timeouts.
-
-Loop handlers essentially wait for one or more Erlang messages
-and feed these messages to the `info/3` callback. It also features
-the `init/2` and `terminate/3` callbacks which work the same as
-for plain HTTP handlers.
-
-=== Initialization
-
-The `init/2` function must return a `cowboy_loop` tuple to enable
-loop handler behavior. This tuple may optionally contain
-a timeout value and/or the atom `hibernate` to make the
-process enter hibernation until a message is received.
-
-This snippet enables the loop handler:
-
-[source,erlang]
-----
-init(Req, State) ->
- {cowboy_loop, Req, State}.
-----
-
-This also makes the process hibernate:
-
-[source,erlang]
-----
-init(Req, State) ->
- {cowboy_loop, Req, State, hibernate}.
-----
-
-=== Receive loop
-
-Once initialized, Cowboy will wait for messages to arrive
-in the process' mailbox. When a message arrives, Cowboy
-calls the `info/3` function with the message, the Req object
-and the handler's state.
-
-The following snippet sends a reply when it receives a
-`reply` message from another process, or waits for another
-message otherwise.
-
-[source,erlang]
-----
-info({reply, Body}, Req, State) ->
- cowboy_req:reply(200, #{}, Body, Req),
- {stop, Req, State};
-info(_Msg, Req, State) ->
- {ok, Req, State, hibernate}.
-----
-
-Do note that the `reply` tuple here may be any message
-and is simply an example.
-
-This callback may perform any necessary operation including
-sending all or parts of a reply, and will subsequently
-return a tuple indicating if more messages are to be expected.
-
-The callback may also choose to do nothing at all and just
-skip the message received.
-
-If a reply is sent, then the `stop` tuple should be returned.
-This will instruct Cowboy to end the request.
-
-Otherwise an `ok` tuple should be returned.
-
-=== Streaming loop
-
-Another common case well suited for loop handlers is
-streaming data received in the form of Erlang messages.
-This can be done by initiating a chunked reply in the
-`init/2` callback and then using `cowboy_req:chunk/2`
-every time a message is received.
-
-The following snippet does exactly that. As you can see
-a chunk is sent every time an `event` message is received,
-and the loop is stopped by sending an `eof` message.
-
-[source,erlang]
-----
-init(Req, State) ->
- Req2 = cowboy_req:stream_reply(200, Req),
- {cowboy_loop, Req2, State}.
-
-info(eof, Req, State) ->
- {stop, Req, State};
-info({event, Data}, Req, State) ->
- cowboy_req:stream_body(Data, nofin, Req),
- {ok, Req, State};
-info(_Msg, Req, State) ->
- {ok, Req, State}.
-----
-
-=== Cleaning up
-
-It is recommended that you set the connection header to
-`close` when replying, as this process may be reused for
-a subsequent request.
-
-Please refer to the xref:handlers[Handlers chapter]
-for general instructions about cleaning up.
-
-=== Hibernate
-
-To save memory, you may hibernate the process in between
-messages received. This is done by returning the atom
-`hibernate` as part of the `loop` tuple callbacks normally
-return. Just add the atom at the end and Cowboy will hibernate
-accordingly.
diff --git a/docs/en/cowboy/2.1/guide/loop_handlers/index.html b/docs/en/cowboy/2.1/guide/loop_handlers/index.html
deleted file mode 100644
index dced4fa2..00000000
--- a/docs/en/cowboy/2.1/guide/loop_handlers/index.html
+++ /dev/null
@@ -1,250 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Loop handlers</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Loop handlers</span></h1>
-
-<p>Loop handlers are a special kind of HTTP handlers used when the response can not be sent right away. The handler enters instead a receive loop waiting for the right message before it can send a response.</p>
-<p>Loop handlers are used for requests where a response might not be immediately available, but where you would like to keep the connection open for a while in case the response arrives. The most known example of such practice is known as long polling.</p>
-<p>Loop handlers can also be used for requests where a response is partially available and you need to stream the response body while the connection is open. The most known example of such practice is server-sent events.</p>
-<p>While the same can be accomplished using plain HTTP handlers, it is recommended to use loop handlers because they are well-tested and allow using built-in features like hibernation and timeouts.</p>
-<p>Loop handlers essentially wait for one or more Erlang messages and feed these messages to the <code>info/3</code> callback. It also features the <code>init/2</code> and <code>terminate/3</code> callbacks which work the same as for plain HTTP handlers.</p>
-<h2 id="_initialization">Initialization</h2>
-<p>The <code>init/2</code> function must return a <code>cowboy_loop</code> tuple to enable loop handler behavior. This tuple may optionally contain a timeout value and/or the atom <code>hibernate</code> to make the process enter hibernation until a message is received.</p>
-<p>This snippet enables the loop handler:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">cowboy_loop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>This also makes the process hibernate:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">cowboy_loop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_receive_loop">Receive loop</h2>
-<p>Once initialized, Cowboy will wait for messages to arrive in the process&apos; mailbox. When a message arrives, Cowboy calls the <code>info/3</code> function with the message, the Req object and the handler&apos;s state.</p>
-<p>The following snippet sends a reply when it receives a <code>reply</code> message from another process, or waits for another message otherwise.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">info</font></b>({<font color="#FF6600">reply</font>, <font color="#009900">Body</font>}, <font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{}, <font color="#009900">Body</font>, <font color="#009900">Req</font>),
- {<font color="#FF6600">stop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>};
-<b><font color="#000000">info</font></b>(<font color="#009900">_Msg</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Do note that the <code>reply</code> tuple here may be any message and is simply an example.</p>
-<p>This callback may perform any necessary operation including sending all or parts of a reply, and will subsequently return a tuple indicating if more messages are to be expected.</p>
-<p>The callback may also choose to do nothing at all and just skip the message received.</p>
-<p>If a reply is sent, then the <code>stop</code> tuple should be returned. This will instruct Cowboy to end the request.</p>
-<p>Otherwise an <code>ok</code> tuple should be returned.</p>
-<h2 id="_streaming_loop">Streaming loop</h2>
-<p>Another common case well suited for loop handlers is streaming data received in the form of Erlang messages. This can be done by initiating a chunked reply in the <code>init/2</code> callback and then using <code>cowboy_req:chunk/2</code> every time a message is received.</p>
-<p>The following snippet does exactly that. As you can see a chunk is sent every time an <code>event</code> message is received, and the loop is stopped by sending an <code>eof</code> message.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Req2</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:stream_reply</font></b>(<font color="#993399">200</font>, <font color="#009900">Req</font>),
- {<font color="#FF6600">cowboy_loop</font>, <font color="#009900">Req2</font>, <font color="#009900">State</font>}<font color="#990000">.</font>
-
-<b><font color="#000000">info</font></b>(<font color="#FF6600">eof</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">stop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>};
-<b><font color="#000000">info</font></b>({<font color="#FF6600">event</font>, <font color="#009900">Data</font>}, <font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#009900">Data</font>, <font color="#FF6600">nofin</font>, <font color="#009900">Req</font>),
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>};
-<b><font color="#000000">info</font></b>(<font color="#009900">_Msg</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_cleaning_up">Cleaning up</h2>
-<p>It is recommended that you set the connection header to <code>close</code> when replying, as this process may be reused for a subsequent request.</p>
-<p>Please refer to the <a href="../handlers">Handlers chapter</a> for general instructions about cleaning up.</p>
-<h2 id="_hibernate">Hibernate</h2>
-<p>To save memory, you may hibernate the process in between messages received. This is done by returning the atom <code>hibernate</code> as part of the <code>loop</code> tuple callbacks normally return. Just add the atom at the end and Cowboy will hibernate accordingly.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/handlers/">
- Handlers
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/static_files/">
- Static files
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/middlewares.asciidoc b/docs/en/cowboy/2.1/guide/middlewares.asciidoc
deleted file mode 100644
index e6be30dd..00000000
--- a/docs/en/cowboy/2.1/guide/middlewares.asciidoc
+++ /dev/null
@@ -1,69 +0,0 @@
-[[middlewares]]
-== Middlewares
-
-Cowboy delegates the request processing to middleware components.
-By default, two middlewares are defined, for the routing and handling
-of the request, as is detailed in most of this guide.
-
-Middlewares give you complete control over how requests are to be
-processed. You can add your own middlewares to the mix or completely
-change the chain of middlewares as needed.
-
-Cowboy will execute all middlewares in the given order, unless one
-of them decides to stop processing.
-
-=== Usage
-
-Middlewares only need to implement a single callback: `execute/2`.
-It is defined in the `cowboy_middleware` behavior.
-
-This callback has two arguments. The first is the `Req` object.
-The second is the environment.
-
-Middlewares can return one of three different values:
-
-* `{ok, Req, Env}` to continue the request processing
-* `{suspend, Module, Function, Args}` to hibernate
-* `{stop, Req}` to stop processing and move on to the next request
-
-Of note is that when hibernating, processing will resume on the given
-MFA, discarding all previous stacktrace. Make sure you keep the `Req`
-and `Env` in the arguments of this MFA for later use.
-
-If an error happens during middleware processing, Cowboy will not try
-to send an error back to the socket, the process will just crash. It
-is up to the middleware to make sure that a reply is sent if something
-goes wrong.
-
-=== Configuration
-
-The middleware environment is defined as the `env` protocol option.
-In the previous chapters we saw it briefly when we needed to pass
-the routing information. It is a list of tuples with the first
-element being an atom and the second any Erlang term.
-
-Two values in the environment are reserved:
-
-* `listener` contains the name of the listener
-* `result` contains the result of the processing
-
-The `listener` value is always defined. The `result` value can be
-set by any middleware. If set to anything other than `ok`, Cowboy
-will not process any subsequent requests on this connection.
-
-The middlewares that come with Cowboy may define or require other
-environment values to perform.
-
-You can update the environment by calling the `cowboy:set_env/3`
-convenience function, adding or replacing a value in the environment.
-
-=== Routing middleware
-
-The routing middleware requires the `dispatch` value. If routing
-succeeds, it will put the handler name and options in the `handler`
-and `handler_opts` values of the environment, respectively.
-
-=== Handler middleware
-
-The handler middleware requires the `handler` and `handler_opts`
-values. It puts the result of the request handling into `result`.
diff --git a/docs/en/cowboy/2.1/guide/middlewares/index.html b/docs/en/cowboy/2.1/guide/middlewares/index.html
deleted file mode 100644
index 1b1c08e4..00000000
--- a/docs/en/cowboy/2.1/guide/middlewares/index.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Middlewares</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Middlewares</span></h1>
-
-<p>Cowboy delegates the request processing to middleware components. By default, two middlewares are defined, for the routing and handling of the request, as is detailed in most of this guide.</p>
-<p>Middlewares give you complete control over how requests are to be processed. You can add your own middlewares to the mix or completely change the chain of middlewares as needed.</p>
-<p>Cowboy will execute all middlewares in the given order, unless one of them decides to stop processing.</p>
-<h2 id="_usage">Usage</h2>
-<p>Middlewares only need to implement a single callback: <code>execute/2</code>. It is defined in the <code>cowboy_middleware</code> behavior.</p>
-<p>This callback has two arguments. The first is the <code>Req</code> object. The second is the environment.</p>
-<p>Middlewares can return one of three different values:</p>
-<ul><li><code>{ok, Req, Env}</code> to continue the request processing
-</li>
-<li><code>{suspend, Module, Function, Args}</code> to hibernate
-</li>
-<li><code>{stop, Req}</code> to stop processing and move on to the next request
-</li>
-</ul>
-<p>Of note is that when hibernating, processing will resume on the given MFA, discarding all previous stacktrace. Make sure you keep the <code>Req</code> and <code>Env</code> in the arguments of this MFA for later use.</p>
-<p>If an error happens during middleware processing, Cowboy will not try to send an error back to the socket, the process will just crash. It is up to the middleware to make sure that a reply is sent if something goes wrong.</p>
-<h2 id="_configuration">Configuration</h2>
-<p>The middleware environment is defined as the <code>env</code> protocol option. In the previous chapters we saw it briefly when we needed to pass the routing information. It is a list of tuples with the first element being an atom and the second any Erlang term.</p>
-<p>Two values in the environment are reserved:</p>
-<ul><li><code>listener</code> contains the name of the listener
-</li>
-<li><code>result</code> contains the result of the processing
-</li>
-</ul>
-<p>The <code>listener</code> value is always defined. The <code>result</code> value can be set by any middleware. If set to anything other than <code>ok</code>, Cowboy will not process any subsequent requests on this connection.</p>
-<p>The middlewares that come with Cowboy may define or require other environment values to perform.</p>
-<p>You can update the environment by calling the <code>cowboy:set_env/3</code> convenience function, adding or replacing a value in the environment.</p>
-<h2 id="_routing_middleware">Routing middleware</h2>
-<p>The routing middleware requires the <code>dispatch</code> value. If routing succeeds, it will put the handler name and options in the <code>handler</code> and <code>handler_opts</code> values of the environment, respectively.</p>
-<h2 id="_handler_middleware">Handler middleware</h2>
-<p>The handler middleware requires the <code>handler</code> and <code>handler_opts</code> values. It puts the result of the request handling into <code>result</code>.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/streams/">
- Streams
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/migrating_from_2.0/">
- Migrating from Cowboy 2.0 to 2.1
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/migrating_from_1.0.asciidoc b/docs/en/cowboy/2.1/guide/migrating_from_1.0.asciidoc
deleted file mode 100644
index 4f4ea5bf..00000000
--- a/docs/en/cowboy/2.1/guide/migrating_from_1.0.asciidoc
+++ /dev/null
@@ -1,214 +0,0 @@
-[appendix]
-== Migrating from Cowboy 1.0 to 2.0
-
-A lot has changed between Cowboy 1.0 and 2.0. The `cowboy_req`
-interface in particular has seen a massive revamp. Hooks are
-gone, their functionality can now be achieved via stream
-handlers.
-
-The documentation has seen great work, in particular the
-manual. Each module and each function now has its own dedicated
-manual page with full details and examples.
-
-=== Compatibility
-
-Compatibility with Erlang/OTP R16, 17 and 18 has been dropped.
-Erlang/OTP 19.0 or above is required. It is non-trivial to
-make Cowboy 2.0 work with older Erlang/OTP versions.
-
-Cowboy 2.0 is not compatible with Cowlib versions older than
-2.0. It should be compatible with Ranch 1.0 or above, however
-it has not been tested with Ranch versions older than 1.4.
-
-Cowboy 2.0 is tested on Arch Linux, Ubuntu, FreeBSD, Windows
-and OSX. It is tested with every point release (latest patch
-release) and also with HiPE on the most recent release.
-
-Cowboy 2.0 now comes with Erlang.mk templates.
-
-=== Features added
-
-* The HTTP/2 protocol is now supported.
-
-* Cowboy no longer uses only one process per connection.
- It now uses one process per connection plus one process
- per request by default. This is necessary for HTTP/2.
- There might be a slight drop in performance for HTTP/1.1
- connections due to this change.
-
-* Cowboy internals have largely been reworked in order to
- support HTTP/2. This opened the way to stream handlers,
- which are a chain of modules that are called whenever
- something happens relating to a request/response.
-
-* The `cowboy_stream_h` stream handler has been added.
- It provides most of Cowboy's default behavior.
-
-* The `cowboy_compress_h` stream handler has been added.
- It compresses responses when possible. It's worth noting
- that it compresses in more cases than Cowboy 1.0 ever did.
-
-* Because of the many changes in the internals of Cowboy,
- many options have been added or modified. Of note is that
- the Websocket options are now given per handler rather
- than for the entire listener.
-
-* Websocket permessage-deflate compression is now supported
- via the `compress` option.
-
-* Static file handlers will now correctly find files found
- in '.ez' archives.
-
-* Constraints have been generalized and are now used not only
- in the router but also in some `cowboy_req` functions. Their
- interface has also been modified to allow for reverse
- operations and formatting of errors.
-
-=== Features removed
-
-* SPDY support has been removed. Use HTTP/2 instead.
-
-* Hooks have been removed. Use xref:streams[stream handlers] instead.
-
-* The undocumented `waiting_stream` hack has been removed.
- It allowed disabling chunked transfer-encoding for HTTP/1.1.
- It has no equivalent in Cowboy 2.0. Open a ticket if necessary.
-
-* Sub protocols still exist, but their interface has largely changed
- and they are no longer documented for the time being.
-
-=== Changed behaviors
-
-* The handler behaviors have been renamed and are now `cowboy_handler`,
- `cowboy_loop`, `cowboy_rest` and `cowboy_websocket`.
-
-* Plain HTTP, loop, REST and Websocket handlers have had their
- init and terminate callbacks unified. They now all use the
- `init/2` and `terminate/3` callbacks. The latter is now optional.
- The terminate reason has now been documented for all handlers.
-
-* The tuple returned to switch to a different handler type has
- changed. It now takes the form `{Module, Req, State}` or
- `{Module, Req, State, Opts}`, where `Opts` is a map of options
- to configure the handler. The timeout and hibernate options
- must now be specified using this map, where applicable.
-
-* All behaviors that used to accept `halt` or `shutdown` tuples
- as a return value no longer do so. The return value is now
- a `stop` tuple, consistent across Cowboy.
-
-* Middlewares can no longer return an `error` tuple. They have
- to send the response and return a `stop` tuple instead.
-
-* The `known_content_type` REST handler callback has been removed
- as it was found unnecessary.
-
-* Websocket handlers have both the normal `init/2` and
- an optional `websocket_init/1` function. The reason for
- that exception is that the `websocket_*` callbacks execute
- in a separate process from the `init/2` callback, and it
- was therefore not obvious how timers or monitors should
- be setup properly. They are effectively initializing the
- handler before and after the HTTP/1.1 upgrade.
-
-* Websocket handlers can now send frames directly from
- `websocket_init/1`. The frames will be sent immediately
- after the handshake.
-
-* Websocket handler callbacks no longer receive the Req
- argument. The `init/2` callback still receives it and
- can be used to extract relevant information. The `terminate/3`
- callback, if implemented, may still receive the Req
- (see next bullet point).
-
-* Websocket handlers have a new `req_filter` option that
- can be used to customize how much information should be
- discarded from the Req object after the handshake. Note
- that the Req object is only available in `terminate/3`
- past that point.
-
-* Websocket handlers have their timeout default changed
- from infinity to 60 seconds.
-
-=== New functions
-
-* The `cowboy_req:scheme/1` function has been added.
-
-* The `cowboy_req:uri/1,2` function has been added, replacing the
- less powerful functions `cowboy_req:url/1` and `cowboy_req:host_url/1`.
-
-* The functions `cowboy_req:match_qs/2` and `cowboy_req:match_cookies/2`
- allow matching query string and cookies against constraints.
-
-* The function `cowboy_req:set_resp_cookie/3` has been added to
- complement `cowboy_req:set_resp_cookie/4`.
-
-* The functions `cowboy_req:resp_header/2,3` and `cowboy_req:resp_headers/1`
- have been added. They can be used to retrieve response headers
- that were previously set.
-
-* The function `cowboy_req:set_resp_headers/2` has been added. It
- allows setting many response headers at once.
-
-* The functions `cowboy_req:push/3,4` can be used to push resources
- for protocols that support it (by default only HTTP/2).
-
-=== Changed functions
-
-* The `cowboy:start_http/4` function was renamed to `cowboy:start_clear/3`.
-
-* The `cowboy:start_https/4` function was renamed to `cowboy:start_tls/3`.
-
-* Most, if not all, functions in the `cowboy_req` module have been modified.
- Please consult the changelog of each individual functions. The changes
- are mainly about simplifying and clarifying the interface. The Req is no
- longer returned when not necessary, maps are used wherever possible,
- and some functions have been renamed.
-
-* The position of the `Opts` argument for `cowboy_req:set_resp_cookie/4`
- has changed to improve consistency. It is now the last argument.
-
-=== Removed functions
-
-* The functions `cowboy_req:url/1` and `cowboy_req:host_url/1` have been
- removed in favor of the new function `cowboy_req:uri/1,2`.
-
-* The functions `cowboy_req:meta/2,3` and `cowboy_req:set_meta/3` have
- been removed. The Req object is now a public map, therefore they became
- unnecessary.
-
-* The functions `cowboy_req:set_resp_body_fun/2,3` have been removed.
- For sending files, the function `cowboy_req:set_resp_body/2` can now
- take a sendfile tuple.
-
-* Remove many undocumented functions from `cowboy_req`, including the
- functions `cowboy_req:get/2` and `cowboy_req:set/3`.
-
-=== Other changes
-
-* The correct percent-decoding algorithm is now used for path elements
- during routing. It will no longer decode `+` characters.
-
-* The router will now properly handle path segments `.` and `..`.
-
-* Routing behavior has changed for URIs containing latin1 characters.
- They are no longer allowed. URIs are expected to be in UTF-8 once
- they are percent-decoded.
-
-* Clients that send multiple headers of the same name
- will have the values of those headers concatenated into a
- comma-separated list. This is of special importance in the
- case of the content-type header, as previously only the
- first value was used in the `content_types_accepted/2` step
- in REST handlers.
-
-* Etag comparison in REST handlers has been fixed. Some requests may
- now fail when they succeeded in the past.
-
-* The `If-*-Since` headers are now ignored in REST handlers if
- the corresponding `If*-Match` header exist. The former is
- largely a backward compatible header and this shouldn't create
- any issue. The new behavior follows the current RFCs more closely.
-
-* The static file handler has been improved to handle more special
- characters on systems that accept them.
diff --git a/docs/en/cowboy/2.1/guide/migrating_from_1.0/index.html b/docs/en/cowboy/2.1/guide/migrating_from_1.0/index.html
deleted file mode 100644
index ab701836..00000000
--- a/docs/en/cowboy/2.1/guide/migrating_from_1.0/index.html
+++ /dev/null
@@ -1,298 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Migrating from Cowboy 1.0 to 2.0</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Migrating from Cowboy 1.0 to 2.0</span></h1>
-
-<p>A lot has changed between Cowboy 1.0 and 2.0. The <code>cowboy_req</code> interface in particular has seen a massive revamp. Hooks are gone, their functionality can now be achieved via stream handlers.</p>
-<p>The documentation has seen great work, in particular the manual. Each module and each function now has its own dedicated manual page with full details and examples.</p>
-<h2 id="_compatibility">Compatibility</h2>
-<p>Compatibility with Erlang/OTP R16, 17 and 18 has been dropped. Erlang/OTP 19.0 or above is required. It is non-trivial to make Cowboy 2.0 work with older Erlang/OTP versions.</p>
-<p>Cowboy 2.0 is not compatible with Cowlib versions older than 2.0. It should be compatible with Ranch 1.0 or above, however it has not been tested with Ranch versions older than 1.4.</p>
-<p>Cowboy 2.0 is tested on Arch Linux, Ubuntu, FreeBSD, Windows and OSX. It is tested with every point release (latest patch release) and also with HiPE on the most recent release.</p>
-<p>Cowboy 2.0 now comes with Erlang.mk templates.</p>
-<h2 id="_features_added">Features added</h2>
-<ul><li>The HTTP/2 protocol is now supported.
-</li>
-<li>Cowboy no longer uses only one process per connection. It now uses one process per connection plus one process per request by default. This is necessary for HTTP/2. There might be a slight drop in performance for HTTP/1.1 connections due to this change.
-</li>
-<li>Cowboy internals have largely been reworked in order to support HTTP/2. This opened the way to stream handlers, which are a chain of modules that are called whenever something happens relating to a request/response.
-</li>
-<li>The <code>cowboy_stream_h</code> stream handler has been added. It provides most of Cowboy&apos;s default behavior.
-</li>
-<li>The <code>cowboy_compress_h</code> stream handler has been added. It compresses responses when possible. It&apos;s worth noting that it compresses in more cases than Cowboy 1.0 ever did.
-</li>
-<li>Because of the many changes in the internals of Cowboy, many options have been added or modified. Of note is that the Websocket options are now given per handler rather than for the entire listener.
-</li>
-<li>Websocket permessage-deflate compression is now supported via the <code>compress</code> option.
-</li>
-<li>Static file handlers will now correctly find files found in <em>.ez</em> archives.
-</li>
-<li>Constraints have been generalized and are now used not only in the router but also in some <code>cowboy_req</code> functions. Their interface has also been modified to allow for reverse operations and formatting of errors.
-</li>
-</ul>
-<h2 id="_features_removed">Features removed</h2>
-<ul><li>SPDY support has been removed. Use HTTP/2 instead.
-</li>
-<li>Hooks have been removed. Use <a href="../streams">stream handlers</a> instead.
-</li>
-<li>The undocumented <code>waiting_stream</code> hack has been removed. It allowed disabling chunked transfer-encoding for HTTP/1.1. It has no equivalent in Cowboy 2.0. Open a ticket if necessary.
-</li>
-<li>Sub protocols still exist, but their interface has largely changed and they are no longer documented for the time being.
-</li>
-</ul>
-<h2 id="_changed_behaviors">Changed behaviors</h2>
-<ul><li>The handler behaviors have been renamed and are now <code>cowboy_handler</code>, <code>cowboy_loop</code>, <code>cowboy_rest</code> and <code>cowboy_websocket</code>.
-</li>
-<li>Plain HTTP, loop, REST and Websocket handlers have had their init and terminate callbacks unified. They now all use the <code>init/2</code> and <code>terminate/3</code> callbacks. The latter is now optional. The terminate reason has now been documented for all handlers.
-</li>
-<li>The tuple returned to switch to a different handler type has changed. It now takes the form <code>{Module, Req, State}</code> or <code>{Module, Req, State, Opts}</code>, where <code>Opts</code> is a map of options to configure the handler. The timeout and hibernate options must now be specified using this map, where applicable.
-</li>
-<li>All behaviors that used to accept <code>halt</code> or <code>shutdown</code> tuples as a return value no longer do so. The return value is now a <code>stop</code> tuple, consistent across Cowboy.
-</li>
-<li>Middlewares can no longer return an <code>error</code> tuple. They have to send the response and return a <code>stop</code> tuple instead.
-</li>
-<li>The <code>known_content_type</code> REST handler callback has been removed as it was found unnecessary.
-</li>
-<li>Websocket handlers have both the normal <code>init/2</code> and an optional <code>websocket_init/1</code> function. The reason for that exception is that the <code>websocket_*</code> callbacks execute in a separate process from the <code>init/2</code> callback, and it was therefore not obvious how timers or monitors should be setup properly. They are effectively initializing the handler before and after the HTTP/1.1 upgrade.
-</li>
-<li>Websocket handlers can now send frames directly from <code>websocket_init/1</code>. The frames will be sent immediately after the handshake.
-</li>
-<li>Websocket handler callbacks no longer receive the Req argument. The <code>init/2</code> callback still receives it and can be used to extract relevant information. The <code>terminate/3</code> callback, if implemented, may still receive the Req (see next bullet point).
-</li>
-<li>Websocket handlers have a new <code>req_filter</code> option that can be used to customize how much information should be discarded from the Req object after the handshake. Note that the Req object is only available in <code>terminate/3</code> past that point.
-</li>
-<li>Websocket handlers have their timeout default changed from infinity to 60 seconds.
-</li>
-</ul>
-<h2 id="_new_functions">New functions</h2>
-<ul><li>The <code>cowboy_req:scheme/1</code> function has been added.
-</li>
-<li>The <code>cowboy_req:uri/1,2</code> function has been added, replacing the less powerful functions <code>cowboy_req:url/1</code> and <code>cowboy_req:host_url/1</code>.
-</li>
-<li>The functions <code>cowboy_req:match_qs/2</code> and <code>cowboy_req:match_cookies/2</code> allow matching query string and cookies against constraints.
-</li>
-<li>The function <code>cowboy_req:set_resp_cookie/3</code> has been added to complement <code>cowboy_req:set_resp_cookie/4</code>.
-</li>
-<li>The functions <code>cowboy_req:resp_header/2,3</code> and <code>cowboy_req:resp_headers/1</code> have been added. They can be used to retrieve response headers that were previously set.
-</li>
-<li>The function <code>cowboy_req:set_resp_headers/2</code> has been added. It allows setting many response headers at once.
-</li>
-<li>The functions <code>cowboy_req:push/3,4</code> can be used to push resources for protocols that support it (by default only HTTP/2).
-</li>
-</ul>
-<h2 id="_changed_functions">Changed functions</h2>
-<ul><li>The <code>cowboy:start_http/4</code> function was renamed to <code>cowboy:start_clear/3</code>.
-</li>
-<li>The <code>cowboy:start_https/4</code> function was renamed to <code>cowboy:start_tls/3</code>.
-</li>
-<li>Most, if not all, functions in the <code>cowboy_req</code> module have been modified. Please consult the changelog of each individual functions. The changes are mainly about simplifying and clarifying the interface. The Req is no longer returned when not necessary, maps are used wherever possible, and some functions have been renamed.
-</li>
-<li>The position of the <code>Opts</code> argument for <code>cowboy_req:set_resp_cookie/4</code> has changed to improve consistency. It is now the last argument.
-</li>
-</ul>
-<h2 id="_removed_functions">Removed functions</h2>
-<ul><li>The functions <code>cowboy_req:url/1</code> and <code>cowboy_req:host_url/1</code> have been removed in favor of the new function <code>cowboy_req:uri/1,2</code>.
-</li>
-<li>The functions <code>cowboy_req:meta/2,3</code> and <code>cowboy_req:set_meta/3</code> have been removed. The Req object is now a public map, therefore they became unnecessary.
-</li>
-<li>The functions <code>cowboy_req:set_resp_body_fun/2,3</code> have been removed. For sending files, the function <code>cowboy_req:set_resp_body/2</code> can now take a sendfile tuple.
-</li>
-<li>Remove many undocumented functions from <code>cowboy_req</code>, including the functions <code>cowboy_req:get/2</code> and <code>cowboy_req:set/3</code>.
-</li>
-</ul>
-<h2 id="_other_changes">Other changes</h2>
-<ul><li>The correct percent-decoding algorithm is now used for path elements during routing. It will no longer decode <code>+</code> characters.
-</li>
-<li>The router will now properly handle path segments <code>.</code> and <code>..</code>.
-</li>
-<li>Routing behavior has changed for URIs containing latin1 characters. They are no longer allowed. URIs are expected to be in UTF-8 once they are percent-decoded.
-</li>
-<li>Clients that send multiple headers of the same name will have the values of those headers concatenated into a comma-separated list. This is of special importance in the case of the content-type header, as previously only the first value was used in the <code>content_types_accepted/2</code> step in REST handlers.
-</li>
-<li>Etag comparison in REST handlers has been fixed. Some requests may now fail when they succeeded in the past.
-</li>
-<li>The <code>If-*-Since</code> headers are now ignored in REST handlers if the corresponding <code>If*-Match</code> header exist. The former is largely a backward compatible header and this shouldn&apos;t create any issue. The new behavior follows the current RFCs more closely.
-</li>
-<li>The static file handler has been improved to handle more special characters on systems that accept them.
-</li>
-</ul>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/migrating_from_2.0/">
- Migrating from Cowboy 2.0 to 2.1
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/specs/">
- HTTP and other specifications
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/migrating_from_2.0.asciidoc b/docs/en/cowboy/2.1/guide/migrating_from_2.0.asciidoc
deleted file mode 100644
index c76430c2..00000000
--- a/docs/en/cowboy/2.1/guide/migrating_from_2.0.asciidoc
+++ /dev/null
@@ -1,107 +0,0 @@
-[appendix]
-== Migrating from Cowboy 2.0 to 2.1
-
-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.
-
-* The `expect: 100-continue` header is now handled
- automatically. The 100 response will be sent on the
- first `cowboy_req:read_body/2,3,4` call. This only applies
- when using the default `cowboy_stream_h` stream handler.
-
-=== Experimental features added
-
-Experimental features are previews of features that will be
-added in a future release. They are not documented and their
-interface may change at any time. You are welcome to try them
-and provide feedback.
-
-* The `cowboy_metrics_h` stream handler can be used to
- extract metrics out of Cowboy. It must be used first in
- the list of stream handlers, and will record all events
- related to requests, responses and spawned processes.
- When the stream terminates it will pass this information
- to a user-defined callback.
-
-* The `cowboy_tracer_h` stream handler can be used to setup
- automatic tracing of specific requests. You can conditionally
- enable tracing based on a function, header, path or any other
- element from the request and the trace will apply to the
- entire connection and any processes created by it. This is
- meant to be used for debugging both in tests and production.
-
-=== Changed behaviors
-
-* The `cowboy_rest` handler now implements a mechanism for
- switching to a different type of handler from any callback
- where `stop` is also allowed. Switch by returning
- `{switch_handler, Module}` or `{switch_handler, Module, Opts}`.
- This is especially useful for switching to `cowboy_loop`
- for streaming the request or response body.
-
-* REST callbacks that do not allow `stop` as a return value
- are now explicitly listed in the documentation.
-
-=== New functions
-
-* The function `cowboy_req:sock/1` returns the IP/port
- of the local socket.
-
-* The function `cowboy_req:cert/1` returns the client
- TLS certificate or `undefined` if it isn't available.
-
-* The function `cowboy_req:inform/2,3` sends an
- informational response.
-
-=== Bugs fixed
-
-* Ensure HTTP/2 connections are not closed prematurely
- when the user code does not read the request body.
-
-* Ensure HTTP/1.1 streams are not terminated too early.
- Their behavior is now consistent with the HTTP/2 code
- where the stream handler is only terminated when the
- `stop` command is returned.
-
-* Sending zero-sized data from stream handlers or from
- `cowboy_req:stream_body/3` could lead to issues with
- HTTP/1.1. This has been fixed.
-
-* The final chunk sent by Cowboy when it terminates a
- chunked body after the handler process exits was not
- passed through stream handlers, which could lead to
- issues when `cowboy_compress_h` was being used. This
- is now corrected.
-
-* The stream handler state was discarded in some cases
- where Cowboy had to send a response or response data
- automatically when ending a stream. This has now
- been corrected.
-
-* The stream handler callback `terminate/3` will now be
- called when switching to another protocol using the
- command `switch_protocol`. This doesn't apply when
- doing upgrades to HTTP/2 as those occur before the
- stream is initialized.
-
-* Cowlib has been updated to 2.0.1 to fix an issue with
- Websocket compression when using Erlang/OTP 20.1. Note
- that at the time of writing all 20.1 versions (from
- 20.1 to 20.1.4) have issues when compression is enabled.
- It is expected to work properly from 20.1.5 onward. In
- the meantime it is recommended to run the plain 20.1
- release and disable Websocket compression, or use a
- release before 20.1.
-
-* Cowboy will no longer crash when the `cowboy_clock`
- process is not running. This can happen when Cowboy
- is being restarted during upgrades, for example.
diff --git a/docs/en/cowboy/2.1/guide/migrating_from_2.0/index.html b/docs/en/cowboy/2.1/guide/migrating_from_2.0/index.html
deleted file mode 100644
index 2a5a3b95..00000000
--- a/docs/en/cowboy/2.1/guide/migrating_from_2.0/index.html
+++ /dev/null
@@ -1,233 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Migrating from Cowboy 2.0 to 2.1</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Migrating from Cowboy 2.0 to 2.1</span></h1>
-
-<p>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.</p>
-<h2 id="_features_added">Features added</h2>
-<ul><li>It is now possible to obtain the client TLS certificate and the local IP/port for the connection from the Req object.
-</li>
-<li>Informational responses (1XX responses) can now be sent. They must be sent before initiating the final response.
-</li>
-<li>The <code>expect: 100-continue</code> header is now handled automatically. The 100 response will be sent on the first <code>cowboy_req:read_body/2,3,4</code> call. This only applies when using the default <code>cowboy_stream_h</code> stream handler.
-</li>
-</ul>
-<h2 id="_experimental_features_added">Experimental features added</h2>
-<p>Experimental features are previews of features that will be added in a future release. They are not documented and their interface may change at any time. You are welcome to try them and provide feedback.</p>
-<ul><li>The <code>cowboy_metrics_h</code> stream handler can be used to extract metrics out of Cowboy. It must be used first in the list of stream handlers, and will record all events related to requests, responses and spawned processes. When the stream terminates it will pass this information to a user-defined callback.
-</li>
-<li>The <code>cowboy_tracer_h</code> stream handler can be used to setup automatic tracing of specific requests. You can conditionally enable tracing based on a function, header, path or any other element from the request and the trace will apply to the entire connection and any processes created by it. This is meant to be used for debugging both in tests and production.
-</li>
-</ul>
-<h2 id="_changed_behaviors">Changed behaviors</h2>
-<ul><li>The <code>cowboy_rest</code> handler now implements a mechanism for switching to a different type of handler from any callback where <code>stop</code> is also allowed. Switch by returning <code>{switch_handler, Module}</code> or <code>{switch_handler, Module, Opts}</code>. This is especially useful for switching to <code>cowboy_loop</code> for streaming the request or response body.
-</li>
-<li>REST callbacks that do not allow <code>stop</code> as a return value are now explicitly listed in the documentation.
-</li>
-</ul>
-<h2 id="_new_functions">New functions</h2>
-<ul><li>The function <code>cowboy_req:sock/1</code> returns the IP/port of the local socket.
-</li>
-<li>The function <code>cowboy_req:cert/1</code> returns the client TLS certificate or <code>undefined</code> if it isn&apos;t available.
-</li>
-<li>The function <code>cowboy_req:inform/2,3</code> sends an informational response.
-</li>
-</ul>
-<h2 id="_bugs_fixed">Bugs fixed</h2>
-<ul><li>Ensure HTTP/2 connections are not closed prematurely when the user code does not read the request body.
-</li>
-<li>Ensure HTTP/1.1 streams are not terminated too early. Their behavior is now consistent with the HTTP/2 code where the stream handler is only terminated when the <code>stop</code> command is returned.
-</li>
-<li>Sending zero-sized data from stream handlers or from <code>cowboy_req:stream_body/3</code> could lead to issues with HTTP/1.1. This has been fixed.
-</li>
-<li>The final chunk sent by Cowboy when it terminates a chunked body after the handler process exits was not passed through stream handlers, which could lead to issues when <code>cowboy_compress_h</code> was being used. This is now corrected.
-</li>
-<li>The stream handler state was discarded in some cases where Cowboy had to send a response or response data automatically when ending a stream. This has now been corrected.
-</li>
-<li>The stream handler callback <code>terminate/3</code> will now be called when switching to another protocol using the command <code>switch_protocol</code>. This doesn&apos;t apply when doing upgrades to HTTP/2 as those occur before the stream is initialized.
-</li>
-<li>Cowlib has been updated to 2.0.1 to fix an issue with Websocket compression when using Erlang/OTP 20.1. Note that at the time of writing all 20.1 versions (from 20.1 to 20.1.4) have issues when compression is enabled. It is expected to work properly from 20.1.5 onward. In the meantime it is recommended to run the plain 20.1 release and disable Websocket compression, or use a release before 20.1.
-</li>
-<li>Cowboy will no longer crash when the <code>cowboy_clock</code> process is not running. This can happen when Cowboy is being restarted during upgrades, for example.
-</li>
-</ul>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/middlewares/">
- Middlewares
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/migrating_from_1.0/">
- Migrating from Cowboy 1.0 to 2.0
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/modern_web.asciidoc b/docs/en/cowboy/2.1/guide/modern_web.asciidoc
deleted file mode 100644
index 48525732..00000000
--- a/docs/en/cowboy/2.1/guide/modern_web.asciidoc
+++ /dev/null
@@ -1,122 +0,0 @@
-[[modern_web]]
-== The modern Web
-
-Cowboy is a server for the modern Web. This chapter explains
-what it means and details all the standards involved.
-
-Cowboy supports all the standards listed in this document.
-
-=== HTTP/2
-
-HTTP/2 is the most efficient protocol for consuming Web
-services. It enables clients to keep a connection open
-for long periods of time; to send requests concurrently;
-to reduce the size of requests through HTTP headers
-compression; and more. The protocol is binary, greatly
-reducing the resources needed to parse it.
-
-HTTP/2 also enables the server to push messages to the
-client. This can be used for various purposes, including
-the sending of related resources before the client requests
-them, in an effort to reduce latency. This can also be used
-to enable bidirectional communication.
-
-Cowboy provides transparent support for HTTP/2. Clients
-that know it can use it; others fall back to HTTP/1.1
-automatically.
-
-HTTP/2 is compatible with the HTTP/1.1 semantics.
-
-HTTP/2 is defined by RFC 7540 and RFC 7541.
-
-=== HTTP/1.1
-
-HTTP/1.1 is the previous version of the HTTP protocol.
-The protocol itself is text-based and suffers from numerous
-issues and limitations. In particular it is not possible
-to execute requests concurrently (though pipelining is
-sometimes possible), and it's also sometimes difficult
-to detect that a client disconnected.
-
-HTTP/1.1 does provide very good semantics for interacting
-with Web services. It defines the standard methods, headers
-and status codes used by HTTP/1.1 and HTTP/2 clients and
-servers.
-
-HTTP/1.1 also defines compatibility with an older version
-of the protocol, HTTP/1.0, which was never really standardized
-across implementations.
-
-The core of HTTP/1.1 is defined by RFC 7230, RFC 7231,
-RFC 7232, RFC 7233, RFC 7234 and RFC 7235. Numerous RFCs
-and other specifications exist defining additional HTTP
-methods, status codes, headers or semantics.
-
-=== Websocket
-
-xref:ws_protocol[Websocket] is a protocol built on top of HTTP/1.1
-that provides a two-ways communication channel between the client and
-the server. Communication is asynchronous and can occur concurrently.
-
-It consists of a Javascript object allowing setting up a
-Websocket connection to the server, and a binary based
-protocol for sending data to the server or the client.
-
-Websocket connections can transfer either UTF-8 encoded text
-data or binary data. The protocol also includes support for
-implementing a ping/pong mechanism, allowing the server and
-the client to have more confidence that the connection is still
-alive.
-
-A Websocket connection can be used to transfer any kind of data,
-small or big, text or binary. Because of this Websocket is
-sometimes used for communication between systems.
-
-Websocket messages have no semantics on their own. Websocket
-is closer to TCP in that aspect, and requires you to design
-and implement your own protocol on top of it; or adapt an
-existing protocol to Websocket.
-
-Cowboy provides an interface known as xref:ws_handlers[Websocket handlers]
-that gives complete control over a Websocket connection.
-
-The Websocket protocol is defined by RFC 6455.
-
-=== Long-lived requests
-
-Cowboy provides an interface that can be used to support
-long-polling or to stream large amounts of data reliably,
-including using Server-Sent Events.
-
-Long-polling is a mechanism in which the client performs
-a request which may not be immediately answered by the
-server. It allows clients to request resources that may
-not currently exist, but are expected to be created soon,
-and which will be returned as soon as they are.
-
-Long-polling is essentially a hack, but it is widely used
-to overcome limitations on older clients and servers.
-
-Server-Sent Events is a small protocol defined as a media
-type, `text/event-stream`, along with a new HTTP header,
-`Last-Event-ID`. It is defined in the EventSource W3C
-specification.
-
-Cowboy provides an interface known as xref:loop_handlers[loop handlers]
-that facilitates the implementation of long-polling or stream
-mechanisms. It works regardless of the underlying protocol.
-
-=== REST
-
-xref:rest_principles[REST, or REpresentational State Transfer],
-is a style of architecture for loosely connected distributed
-systems. It can easily be implemented on top of HTTP.
-
-REST is essentially a set of constraints to be followed.
-Many of these constraints are purely architectural and
-solved by simply using HTTP. Some constraints must be
-explicitly followed by the developer.
-
-Cowboy provides an interface known as xref:rest_handlers[REST handlers]
-that simplifies the implementation of a REST API on top of
-the HTTP protocol.
diff --git a/docs/en/cowboy/2.1/guide/modern_web/index.html b/docs/en/cowboy/2.1/guide/modern_web/index.html
deleted file mode 100644
index fa53d084..00000000
--- a/docs/en/cowboy/2.1/guide/modern_web/index.html
+++ /dev/null
@@ -1,212 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: The modern Web</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>The modern Web</span></h1>
-
-<p>Cowboy is a server for the modern Web. This chapter explains what it means and details all the standards involved.</p>
-<p>Cowboy supports all the standards listed in this document.</p>
-<h2 id="_http_2">HTTP/2</h2>
-<p>HTTP/2 is the most efficient protocol for consuming Web services. It enables clients to keep a connection open for long periods of time; to send requests concurrently; to reduce the size of requests through HTTP headers compression; and more. The protocol is binary, greatly reducing the resources needed to parse it.</p>
-<p>HTTP/2 also enables the server to push messages to the client. This can be used for various purposes, including the sending of related resources before the client requests them, in an effort to reduce latency. This can also be used to enable bidirectional communication.</p>
-<p>Cowboy provides transparent support for HTTP/2. Clients that know it can use it; others fall back to HTTP/1.1 automatically.</p>
-<p>HTTP/2 is compatible with the HTTP/1.1 semantics.</p>
-<p>HTTP/2 is defined by RFC 7540 and RFC 7541.</p>
-<h2 id="_http_1_1">HTTP/1.1</h2>
-<p>HTTP/1.1 is the previous version of the HTTP protocol. The protocol itself is text-based and suffers from numerous issues and limitations. In particular it is not possible to execute requests concurrently (though pipelining is sometimes possible), and it&apos;s also sometimes difficult to detect that a client disconnected.</p>
-<p>HTTP/1.1 does provide very good semantics for interacting with Web services. It defines the standard methods, headers and status codes used by HTTP/1.1 and HTTP/2 clients and servers.</p>
-<p>HTTP/1.1 also defines compatibility with an older version of the protocol, HTTP/1.0, which was never really standardized across implementations.</p>
-<p>The core of HTTP/1.1 is defined by RFC 7230, RFC 7231, RFC 7232, RFC 7233, RFC 7234 and RFC 7235. Numerous RFCs and other specifications exist defining additional HTTP methods, status codes, headers or semantics.</p>
-<h2 id="_websocket">Websocket</h2>
-<p><a href="../ws_protocol">Websocket</a> is a protocol built on top of HTTP/1.1 that provides a two-ways communication channel between the client and the server. Communication is asynchronous and can occur concurrently.</p>
-<p>It consists of a Javascript object allowing setting up a Websocket connection to the server, and a binary based protocol for sending data to the server or the client.</p>
-<p>Websocket connections can transfer either UTF-8 encoded text data or binary data. The protocol also includes support for implementing a ping/pong mechanism, allowing the server and the client to have more confidence that the connection is still alive.</p>
-<p>A Websocket connection can be used to transfer any kind of data, small or big, text or binary. Because of this Websocket is sometimes used for communication between systems.</p>
-<p>Websocket messages have no semantics on their own. Websocket is closer to TCP in that aspect, and requires you to design and implement your own protocol on top of it; or adapt an existing protocol to Websocket.</p>
-<p>Cowboy provides an interface known as <a href="../ws_handlers">Websocket handlers</a> that gives complete control over a Websocket connection.</p>
-<p>The Websocket protocol is defined by RFC 6455.</p>
-<h2 id="_long_lived_requests">Long-lived requests</h2>
-<p>Cowboy provides an interface that can be used to support long-polling or to stream large amounts of data reliably, including using Server-Sent Events.</p>
-<p>Long-polling is a mechanism in which the client performs a request which may not be immediately answered by the server. It allows clients to request resources that may not currently exist, but are expected to be created soon, and which will be returned as soon as they are.</p>
-<p>Long-polling is essentially a hack, but it is widely used to overcome limitations on older clients and servers.</p>
-<p>Server-Sent Events is a small protocol defined as a media type, <code>text/event-stream</code>, along with a new HTTP header, <code>Last-Event-ID</code>. It is defined in the EventSource W3C specification.</p>
-<p>Cowboy provides an interface known as <a href="../loop_handlers">loop handlers</a> that facilitates the implementation of long-polling or stream mechanisms. It works regardless of the underlying protocol.</p>
-<h2 id="_rest">REST</h2>
-<p><a href="../rest_principles">REST, or REpresentational State Transfer</a>, is a style of architecture for loosely connected distributed systems. It can easily be implemented on top of HTTP.</p>
-<p>REST is essentially a set of constraints to be followed. Many of these constraints are purely architectural and solved by simply using HTTP. Some constraints must be explicitly followed by the developer.</p>
-<p>Cowboy provides an interface known as <a href="../rest_handlers">REST handlers</a> that simplifies the implementation of a REST API on top of the HTTP protocol.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/erlang_web/">
- Erlang and the Web
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/multipart.asciidoc b/docs/en/cowboy/2.1/guide/multipart.asciidoc
deleted file mode 100644
index 0825244c..00000000
--- a/docs/en/cowboy/2.1/guide/multipart.asciidoc
+++ /dev/null
@@ -1,169 +0,0 @@
-[[multipart]]
-== Multipart requests
-
-Multipart originates from MIME, an Internet standard that
-extends the format of emails.
-
-A multipart message is a list of parts. A part contains
-headers and a body. The body of the parts may be
-of any media type, and contain text or binary data.
-It is possible for parts to contain a multipart media
-type.
-
-In the context of HTTP, multipart is most often used
-with the `multipart/form-data` media type. It is what
-browsers use to upload files through HTML forms.
-
-The `multipart/byteranges` is also common. It is the
-media type used to send arbitrary bytes from a resource,
-enabling clients to resume downloads.
-
-=== Form-data
-
-In the normal case, when a form is submitted, the
-browser will use the `application/x-www-form-urlencoded`
-content-type. This type is just a list of keys and
-values and is therefore not fit for uploading files.
-
-That's where the `multipart/form-data` content-type
-comes in. When the form is configured to use this
-content-type, the browser will create a multipart
-message where each part corresponds to a field on
-the form. For files, it also adds some metadata in
-the part headers, like the file name.
-
-A form with a text input, a file input and a select
-choice box will result in a multipart message with
-three parts, one for each field.
-
-The browser does its best to determine the media type
-of the files it sends this way, but you should not
-rely on it for determining the contents of the file.
-Proper investigation of the contents is recommended.
-
-=== Checking for multipart messages
-
-The content-type header indicates the presence of
-a multipart message:
-
-[source,erlang]
-----
-{<<"multipart">>, <<"form-data">>, _}
- = cowboy_req:parse_header(<<"content-type">>, Req).
-----
-
-=== Reading a multipart message
-
-Cowboy provides two sets of functions for reading
-request bodies as multipart messages.
-
-The `cowboy_req:read_part/1,2` functions return the
-next part's headers, if any.
-
-The `cowboy_req:read_part_body/1,2` functions return
-the current part's body. For large bodies you may
-need to call the function multiple times.
-
-To read a multipart message you need to iterate over
-all its parts:
-
-[source,erlang]
-----
-multipart(Req0) ->
- case cowboy_req:read_part(Req0) of
- {ok, _Headers, Req1} ->
- {ok, _Body, Req} = cowboy_req:read_part_body(Req1),
- multipart(Req);
- {done, Req} ->
- Req
- end.
-----
-
-When part bodies are too large, Cowboy will return
-a `more` tuple, and allow you to loop until the part
-body has been fully read.
-
-The function `cow_multipart:form_data/1` can be used
-to quickly obtain information about a part from a
-`multipart/form-data` message. The function returns
-a `data` or a `file` tuple depending on whether this
-is a normal field or a file being uploaded.
-
-The following snippet will use this function and
-use different strategies depending on whether the
-part is a file:
-
-[source,erlang]
-----
-multipart(Req0) ->
- case cowboy_req:read_part(Req0) of
- {ok, Headers, Req1} ->
- Req = case cow_multipart:form_data(Headers) of
- {data, _FieldName} ->
- {ok, _Body, Req2} = cowboy_req:read_part_body(Req1),
- Req2;
- {file, _FieldName, _Filename, _CType} ->
- stream_file(Req1)
- end,
- multipart(Req);
- {done, Req} ->
- Req
- end.
-
-stream_file(Req0) ->
- case cowboy_req:read_part_body(Req0) of
- {ok, _LastBodyChunk, Req} ->
- Req;
- {more, _BodyChunk, Req} ->
- stream_file(Req)
- end.
-----
-
-Both the part header and body reading functions can take
-options that will be given to the request body reading
-functions. By default, `cowboy_req:read_part/1` reads
-up to 64KB for up to 5 seconds. `cowboy_req:read_part_body/1`
-has the same defaults as `cowboy_req:read_body/1`.
-
-To change the defaults for part headers:
-
-[source,erlang]
-cowboy_req:read_part(Req, #{length => 128000}).
-
-And for part bodies:
-
-[source,erlang]
-cowboy_req:read_part_body(Req, #{length => 1000000, period => 7000}).
-
-=== Skipping unwanted parts
-
-Part bodies do not have to be read. Cowboy will automatically
-skip it when you request the next part's body.
-
-The following snippet reads all part headers and skips
-all bodies:
-
-[source,erlang]
-----
-multipart(Req0) ->
- case cowboy_req:read_part(Req0) of
- {ok, _Headers, Req} ->
- multipart(Req);
- {done, Req} ->
- Req
- end.
-----
-
-Similarly, if you start reading the body and it ends up
-being too big, you can simply continue with the next part.
-Cowboy will automatically skip what remains.
-
-While Cowboy can skip part bodies automatically, the read
-rate is not configurable. Depending on your application
-you may want to skip manually, in particular if you observe
-poor performance while skipping.
-
-You do not have to read all parts either. You can stop
-reading as soon as you find the data you need.
-
-// @todo Cover the building of multipart messages.
diff --git a/docs/en/cowboy/2.1/guide/multipart/index.html b/docs/en/cowboy/2.1/guide/multipart/index.html
deleted file mode 100644
index 05ea2291..00000000
--- a/docs/en/cowboy/2.1/guide/multipart/index.html
+++ /dev/null
@@ -1,285 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Multipart requests</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Multipart requests</span></h1>
-
-<p>Multipart originates from MIME, an Internet standard that extends the format of emails.</p>
-<p>A multipart message is a list of parts. A part contains headers and a body. The body of the parts may be of any media type, and contain text or binary data. It is possible for parts to contain a multipart media type.</p>
-<p>In the context of HTTP, multipart is most often used with the <code>multipart/form-data</code> media type. It is what browsers use to upload files through HTML forms.</p>
-<p>The <code>multipart/byteranges</code> is also common. It is the media type used to send arbitrary bytes from a resource, enabling clients to resume downloads.</p>
-<h2 id="_form_data">Form-data</h2>
-<p>In the normal case, when a form is submitted, the browser will use the <code>application/x-www-form-urlencoded</code> content-type. This type is just a list of keys and values and is therefore not fit for uploading files.</p>
-<p>That&apos;s where the <code>multipart/form-data</code> content-type comes in. When the form is configured to use this content-type, the browser will create a multipart message where each part corresponds to a field on the form. For files, it also adds some metadata in the part headers, like the file name.</p>
-<p>A form with a text input, a file input and a select choice box will result in a multipart message with three parts, one for each field.</p>
-<p>The browser does its best to determine the media type of the files it sends this way, but you should not rely on it for determining the contents of the file. Proper investigation of the contents is recommended.</p>
-<h2 id="_checking_for_multipart_messages">Checking for multipart messages</h2>
-<p>The content-type header indicates the presence of a multipart message:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#990000">&lt;&lt;</font><font color="#FF0000">"multipart"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"form-data"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">_</font>}
- <font color="#990000">=</font> <b><font color="#000000">cowboy_req:parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_reading_a_multipart_message">Reading a multipart message</h2>
-<p>Cowboy provides two sets of functions for reading request bodies as multipart messages.</p>
-<p>The <code>cowboy_req:read_part/1,2</code> functions return the next part&apos;s headers, if any.</p>
-<p>The <code>cowboy_req:read_part_body/1,2</code> functions return the current part&apos;s body. For large bodies you may need to call the function multiple times.</p>
-<p>To read a multipart message you need to iterate over all its parts:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">multipart</font></b>(<font color="#009900">Req0</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_part</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">_Headers</font>, <font color="#009900">Req1</font>} <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">_Body</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_part_body</font></b>(<font color="#009900">Req1</font>),
- <b><font color="#000000">multipart</font></b>(<font color="#009900">Req</font>);
- {<font color="#FF6600">done</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font>
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>When part bodies are too large, Cowboy will return a <code>more</code> tuple, and allow you to loop until the part body has been fully read.</p>
-<p>The function <code>cow_multipart:form_data/1</code> can be used to quickly obtain information about a part from a <code>multipart/form-data</code> message. The function returns a <code>data</code> or a <code>file</code> tuple depending on whether this is a normal field or a file being uploaded.</p>
-<p>The following snippet will use this function and use different strategies depending on whether the part is a file:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">multipart</font></b>(<font color="#009900">Req0</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_part</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">Headers</font>, <font color="#009900">Req1</font>} <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#0000FF">case</font></b> <b><font color="#000000">cow_multipart:form_data</font></b>(<font color="#009900">Headers</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">data</font>, <font color="#009900">_FieldName</font>} <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">_Body</font>, <font color="#009900">Req2</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_part_body</font></b>(<font color="#009900">Req1</font>),
- <font color="#009900">Req2</font>;
- {<font color="#FF6600">file</font>, <font color="#009900">_FieldName</font>, <font color="#009900">_Filename</font>, <font color="#009900">_CType</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">stream_file</font></b>(<font color="#009900">Req1</font>)
- <b><font color="#0000FF">end</font></b>,
- <b><font color="#000000">multipart</font></b>(<font color="#009900">Req</font>);
- {<font color="#FF6600">done</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font>
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font>
-
-<b><font color="#000000">stream_file</font></b>(<font color="#009900">Req0</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_part_body</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">_LastBodyChunk</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font>;
- {<font color="#FF6600">more</font>, <font color="#009900">_BodyChunk</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">stream_file</font></b>(<font color="#009900">Req</font>)
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Both the part header and body reading functions can take options that will be given to the request body reading functions. By default, <code>cowboy_req:read_part/1</code> reads up to 64KB for up to 5 seconds. <code>cowboy_req:read_part_body/1</code> has the same defaults as <code>cowboy_req:read_body/1</code>.</p>
-<p>To change the defaults for part headers:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:read_part</font></b>(<font color="#009900">Req</font>, #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#993399">128000</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>And for part bodies:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:read_part_body</font></b>(<font color="#009900">Req</font>, #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#993399">1000000</font>, <font color="#0000FF">period</font> <font color="#990000">=&gt;</font> <font color="#993399">7000</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_skipping_unwanted_parts">Skipping unwanted parts</h2>
-<p>Part bodies do not have to be read. Cowboy will automatically skip it when you request the next part&apos;s body.</p>
-<p>The following snippet reads all part headers and skips all bodies:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">multipart</font></b>(<font color="#009900">Req0</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_part</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">_Headers</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">multipart</font></b>(<font color="#009900">Req</font>);
- {<font color="#FF6600">done</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font>
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Similarly, if you start reading the body and it ends up being too big, you can simply continue with the next part. Cowboy will automatically skip what remains.</p>
-<p>While Cowboy can skip part bodies automatically, the read rate is not configurable. Depending on your application you may want to skip manually, in particular if you observe poor performance while skipping.</p>
-<p>You do not have to read all parts either. You can stop reading as soon as you find the data you need.</p>
-<!-- @todo Cover the building of multipart messages.-->
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/cookies/">
- Using cookies
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_principles/">
- REST principles
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/req.asciidoc b/docs/en/cowboy/2.1/guide/req.asciidoc
deleted file mode 100644
index b879fa3d..00000000
--- a/docs/en/cowboy/2.1/guide/req.asciidoc
+++ /dev/null
@@ -1,366 +0,0 @@
-[[req]]
-== The Req object
-
-The Req object is a variable used for obtaining information
-about a request, read its body or send a response.
-
-It is not really an object in the object-oriented sense.
-It is a simple map that can be directly accessed or
-used when calling functions from the `cowboy_req` module.
-
-The Req object is the subject of a few different chapters.
-In this chapter we will learn about the Req object and
-look at how to retrieve information about the request.
-
-=== Direct access
-
-The Req map contains a number of fields which are documented
-and can be accessed directly. They are the fields that have
-a direct mapping to HTTP: the request `method`; the HTTP
-`version` used; the effective URI components `scheme`,
-`host`, `port`, `path` and `qs`; the request `headers`;
-and the connection `peer` address and port.
-
-Note that the `version` field can be used to determine
-whether a connection is using HTTP/2.
-
-To access a field, you can simply match in the function
-head. The following example sends a simple "Hello world!"
-response when the `method` is GET, and a 405 error
-otherwise.
-
-[source,erlang]
-----
-init(Req0=#{method := <<"GET">>}, State) ->
- Req = cowboy_req:reply(200, #{
- <<"content-type">> => <<"text/plain">>
- }, <<"Hello world!">>, Req0),
- {ok, Req, State};
-init(Req0, State) ->
- Req = cowboy_req:reply(405, #{
- <<"allow">> => <<"GET">>
- }, Req0),
- {ok, Req, State}.
-----
-
-Any other field is internal and should not be accessed.
-They may change in future releases, including maintenance
-releases, without notice.
-
-Modifying the Req object, while allowed, is not recommended
-unless strictly necessary. If adding new fields, make sure
-to namespace the field names so that no conflict can occur
-with future Cowboy updates or third party projects.
-
-// @todo There are currently no tests for direct access.
-
-=== Introduction to the cowboy_req interface
-
-// @todo Link to cowboy_req manual
-
-Functions in the `cowboy_req` module provide access to
-the request information but also various operations that
-are common when dealing with HTTP requests.
-
-All the functions that begin with a verb indicate an action.
-Other functions simply return the corresponding value
-(sometimes that value does need to be built, but the
-cost of the operation is equivalent to retrieving a value).
-
-Some of the `cowboy_req` functions return an updated Req
-object. They are the read, reply, set and delete functions.
-While ignoring the returned Req will not cause incorrect
-behavior for some of them, it is highly recommended to
-always keep and use the last returned Req object. The
-manual for `cowboy_req` details these functions and what
-modifications are done to the Req object.
-
-Some of the calls to `cowboy_req` have side effects. This
-is the case of the read and reply functions. Cowboy reads
-the request body or replies immediately when the function
-is called.
-
-All functions will crash if something goes wrong. There
-is usually no need to catch these errors, Cowboy will
-send the appropriate 4xx or 5xx response depending on
-where the crash occurred.
-
-=== Request method
-
-The request method can be retrieved directly:
-
-[source, erlang]
-#{method := Method} = Req.
-
-Or using a function:
-
-[source,erlang]
-Method = cowboy_req:method(Req).
-
-The method is a case sensitive binary string. Standard
-methods include GET, HEAD, OPTIONS, PATCH, POST, PUT
-or DELETE.
-
-=== HTTP version
-
-The HTTP version is informational. It does not indicate that
-the client implements the protocol well or fully.
-
-There is typically no need to change behavior based on the
-HTTP version: Cowboy already does it for you.
-
-It can be useful in some cases, though. For example, one may
-want to redirect HTTP/1.1 clients to use Websocket, while HTTP/2
-clients keep using HTTP/2.
-
-The HTTP version can be retrieved directly:
-
-[source,erlang]
-#{version := Version} = Req.
-
-Or using a function:
-
-[source,erlang]
-Version = cowboy_req:version(Req).
-
-Cowboy defines the `'HTTP/1.0'`, `'HTTP/1.1'` and `'HTTP/2'`
-versions. Custom protocols can define their own values as
-atoms.
-
-=== Effective request URI
-
-The scheme, host, port, path and query string components
-of the effective request URI can all be retrieved directly:
-
-[source,erlang]
-----
-#{
- scheme := Scheme,
- host := Host,
- port := Port,
- path := Path,
- qs := Qs
-} = Req.
-----
-
-Or using the related functions:
-
-[source,erlang]
-Scheme = cowboy_req:scheme(Req),
-Host = cowboy_req:host(Req),
-Port = cowboy_req:port(Req),
-Path = cowboy_req:path(Req).
-Qs = cowboy_req:qs(Req).
-
-The scheme and host are lowercased case insensitive binary
-strings. The port is an integer representing the port number.
-The path and query string are case sensitive binary strings.
-
-Cowboy defines only the `<<"http">>` and `<<"https">>` schemes.
-They are chosen so that the scheme will only be `<<"https">>`
-for requests on secure HTTP/1.1 or HTTP/2 connections.
-// @todo Is that tested well?
-
-The effective request URI itself can be reconstructed with
-the `cowboy_req:uri/1,2` function. By default, an absolute
-URI is returned:
-
-[source,erlang]
-%% scheme://host[:port]/path[?qs]
-URI = cowboy_req:uri(Req).
-
-Options are available to either disable or replace some
-or all of the components. Various URIs or URI formats can
-be generated this way, including the origin form:
-
-[source,erlang]
-%% /path[?qs]
-URI = cowboy_req:uri(Req, #{host => undefined}).
-
-The protocol relative form:
-
-[source,erlang]
-%% //host[:port]/path[?qs]
-URI = cowboy_req:uri(Req, #{scheme => undefined}).
-
-The absolute URI without a query string:
-
-[source,erlang]
-URI = cowboy_req:uri(Req, #{qs => undefined}).
-
-A different host:
-
-[source,erlang]
-URI = cowboy_req:uri(Req, #{host => <<"example.org">>}).
-
-And any other combination.
-
-=== Bindings
-
-Bindings are the host and path components that you chose
-to extract when defining the routes of your application.
-They are only available after the routing.
-
-Cowboy provides functions to retrieve one or all bindings.
-
-To retrieve a single value:
-
-[source,erlang]
-Value = cowboy_req:binding(userid, Req).
-
-When attempting to retrieve a value that was not bound,
-`undefined` will be returned. A different default value
-can be provided:
-
-[source,erlang]
-Value = cowboy_req:binding(userid, Req, 42).
-
-To retrieve everything that was bound:
-
-[source,erlang]
-Bindings = cowboy_req:bindings(Req).
-
-They are returned as a map, with keys being atoms.
-
-The Cowboy router also allows you to capture many host
-or path segments at once using the `...` qualifier.
-
-To retrieve the segments captured from the host name:
-
-[source,erlang]
-HostInfo = cowboy_req:host_info(Req).
-
-And the path segments:
-
-[source,erlang]
-PathInfo = cowboy_req:path_info(Req).
-
-Cowboy will return `undefined` if `...` was not used
-in the route.
-
-=== Query parameters
-
-Cowboy provides two functions to access query parameters.
-You can use the first to get the entire list of parameters.
-
-[source,erlang]
-QsVals = cowboy_req:parse_qs(Req),
-{_, Lang} = lists:keyfind(<<"lang">>, 1, QsVals).
-
-Cowboy will only parse the query string, and not do any
-transformation. This function may therefore return duplicates,
-or parameter names without an associated value. The order of
-the list returned is undefined.
-
-When a query string is `key=1&key=2`, the list returned will
-contain two parameters of name `key`.
-
-The same is true when trying to use the PHP-style suffix `[]`.
-When a query string is `key[]=1&key[]=2`, the list returned will
-contain two parameters of name `key[]`.
-
-When a query string is simply `key`, Cowboy will return the
-list `[{<<"key">>, true}]`, using `true` to indicate that the
-parameter `key` was defined, but with no value.
-
-The second function Cowboy provides allows you to match out
-only the parameters you are interested in, and at the same
-time do any post processing you require using xref:constraints[constraints].
-This function returns a map.
-
-[source,erlang]
-#{id := ID, lang := Lang} = cowboy_req:match_qs([id, lang], Req).
-
-Constraints can be applied automatically. The following
-snippet will crash when the `id` parameter is not an integer,
-or when the `lang` parameter is empty. At the same time, the
-value for `id` will be converted to an integer term:
-
-[source,erlang]
-QsMap = cowboy_req:match_qs([{id, int}, {lang, nonempty}], Req).
-
-A default value may also be provided. The default will be used
-if the `lang` key is not found. It will not be used if
-the key is found but has an empty value.
-
-[source,erlang]
-#{lang := Lang} = cowboy_req:match_qs([{lang, [], <<"en-US">>}], Req).
-
-If no default is provided and the value is missing, the
-query string is deemed invalid and the process will crash.
-
-When the query string is `key=1&key=2`, the value for `key`
-will be the list `[1, 2]`. Parameter names do not need to
-include the PHP-style suffix. Constraints may be used to
-ensure that only one value was passed through.
-
-=== Headers
-
-Header values can be retrieved either as a binary string
-or parsed into a more meaningful representation.
-
-The get the raw value:
-
-[source,erlang]
-HeaderVal = cowboy_req:header(<<"content-type">>, Req).
-
-Cowboy expects all header names to be provided as lowercase
-binary strings. This is true for both requests and responses,
-regardless of the underlying protocol.
-
-When the header is missing from the request, `undefined`
-will be returned. A different default can be provided:
-
-[source,erlang]
-HeaderVal = cowboy_req:header(<<"content-type">>, Req, <<"text/plain">>).
-
-All headers can be retrieved at once, either directly:
-
-[source,erlang]
-#{headers := AllHeaders} = Req.
-
-Or using a function:
-
-[source,erlang]
-AllHeaders = cowboy_req:headers(Req).
-
-Cowboy provides equivalent functions to parse individual
-headers. There is no function to parse all headers at once.
-
-To parse a specific header:
-
-[source,erlang]
-ParsedVal = cowboy_req:parse_header(<<"content-type">>, Req).
-
-An exception will be thrown if it doesn't know how to parse the
-given header, or if the value is invalid. The list of known headers
-and default values can be found in the manual.
-
-When the header is missing, `undefined` is returned. You can
-change the default value. Note that it should be the parsed value
-directly:
-
-[source,erlang]
-----
-ParsedVal = cowboy_req:parse_header(<<"content-type">>, Req,
- {<<"text">>, <<"plain">>, []}).
-----
-
-=== Peer
-
-The peer address and port number for the connection can be
-retrieved either directly or using a function.
-
-To retrieve the peer directly:
-
-[source,erlang]
-#{peer := {IP, Port}} = Req.
-
-And using a function:
-
-[source,erlang]
-{IP, Port} = cowboy_req:peer(Req).
-
-Note that the peer corresponds to the remote end of the
-connection to the server, which may or may not be the
-client itself. It may also be a proxy or a gateway.
diff --git a/docs/en/cowboy/2.1/guide/req/index.html b/docs/en/cowboy/2.1/guide/req/index.html
deleted file mode 100644
index fd2b2716..00000000
--- a/docs/en/cowboy/2.1/guide/req/index.html
+++ /dev/null
@@ -1,461 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: The Req object</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>The Req object</span></h1>
-
-<p>The Req object is a variable used for obtaining information about a request, read its body or send a response.</p>
-<p>It is not really an object in the object-oriented sense. It is a simple map that can be directly accessed or used when calling functions from the <code>cowboy_req</code> module.</p>
-<p>The Req object is the subject of a few different chapters. In this chapter we will learn about the Req object and look at how to retrieve information about the request.</p>
-<h2 id="_direct_access">Direct access</h2>
-<p>The Req map contains a number of fields which are documented and can be accessed directly. They are the fields that have a direct mapping to HTTP: the request <code>method</code>; the HTTP <code>version</code> used; the effective URI components <code>scheme</code>, <code>host</code>, <code>port</code>, <code>path</code> and <code>qs</code>; the request <code>headers</code>; and the connection <code>peer</code> address and port.</p>
-<p>Note that the <code>version</code> field can be used to determine whether a connection is using HTTP/2.</p>
-<p>To access a field, you can simply match in the function head. The following example sends a simple &quot;Hello world!&quot; response when the <code>method</code> is GET, and a 405 error otherwise.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req0</font><font color="#990000">=</font>#{<font color="#FF6600">method</font> <font color="#990000">:=</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"GET"</font><font color="#990000">&gt;&gt;</font>}, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/plain"</font><font color="#990000">&gt;&gt;</font>
- }, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello world!"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>),
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>};
-<b><font color="#000000">init</font></b>(<font color="#009900">Req0</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">405</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"allow"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"GET"</font><font color="#990000">&gt;&gt;</font>
- }, <font color="#009900">Req0</font>),
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Any other field is internal and should not be accessed. They may change in future releases, including maintenance releases, without notice.</p>
-<p>Modifying the Req object, while allowed, is not recommended unless strictly necessary. If adding new fields, make sure to namespace the field names so that no conflict can occur with future Cowboy updates or third party projects.</p>
-<!-- @todo There are currently no tests for direct access.-->
-<h2 id="_introduction_to_the_cowboy_req_interface">Introduction to the cowboy_req interface</h2>
-<!-- @todo Link to cowboy_req manual-->
-<p>Functions in the <code>cowboy_req</code> module provide access to the request information but also various operations that are common when dealing with HTTP requests.</p>
-<p>All the functions that begin with a verb indicate an action. Other functions simply return the corresponding value (sometimes that value does need to be built, but the cost of the operation is equivalent to retrieving a value).</p>
-<p>Some of the <code>cowboy_req</code> functions return an updated Req object. They are the read, reply, set and delete functions. While ignoring the returned Req will not cause incorrect behavior for some of them, it is highly recommended to always keep and use the last returned Req object. The manual for <code>cowboy_req</code> details these functions and what modifications are done to the Req object.</p>
-<p>Some of the calls to <code>cowboy_req</code> have side effects. This is the case of the read and reply functions. Cowboy reads the request body or replies immediately when the function is called.</p>
-<p>All functions will crash if something goes wrong. There is usually no need to catch these errors, Cowboy will send the appropriate 4xx or 5xx response depending on where the crash occurred.</p>
-<h2 id="_request_method">Request method</h2>
-<p>The request method can be retrieved directly:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">method</font> <font color="#990000">:=</font> <font color="#009900">Method</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Or using a function:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Method</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:method</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The method is a case sensitive binary string. Standard methods include GET, HEAD, OPTIONS, PATCH, POST, PUT or DELETE.</p>
-<h2 id="_http_version">HTTP version</h2>
-<p>The HTTP version is informational. It does not indicate that the client implements the protocol well or fully.</p>
-<p>There is typically no need to change behavior based on the HTTP version: Cowboy already does it for you.</p>
-<p>It can be useful in some cases, though. For example, one may want to redirect HTTP/1.1 clients to use Websocket, while HTTP/2 clients keep using HTTP/2.</p>
-<p>The HTTP version can be retrieved directly:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">version</font> <font color="#990000">:=</font> <font color="#009900">Version</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Or using a function:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Version</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:version</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy defines the <code>&apos;HTTP/1.0&apos;</code>, <code>&apos;HTTP/1.1&apos;</code> and <code>&apos;HTTP/2&apos;</code> versions. Custom protocols can define their own values as atoms.</p>
-<h2 id="_effective_request_uri">Effective request URI</h2>
-<p>The scheme, host, port, path and query string components of the effective request URI can all be retrieved directly:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{
- <font color="#FF6600">scheme</font> <font color="#990000">:=</font> <font color="#009900">Scheme</font>,
- <font color="#FF6600">host</font> <font color="#990000">:=</font> <font color="#009900">Host</font>,
- <font color="#FF6600">port</font> <font color="#990000">:=</font> <font color="#009900">Port</font>,
- <font color="#FF6600">path</font> <font color="#990000">:=</font> <font color="#009900">Path</font>,
- <font color="#FF6600">qs</font> <font color="#990000">:=</font> <font color="#009900">Qs</font>
-} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Or using the related functions:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Scheme</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:scheme</font></b>(<font color="#009900">Req</font>),
-<font color="#009900">Host</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:host</font></b>(<font color="#009900">Req</font>),
-<font color="#009900">Port</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:port</font></b>(<font color="#009900">Req</font>),
-<font color="#009900">Path</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:path</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font>
-<font color="#009900">Qs</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:qs</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The scheme and host are lowercased case insensitive binary strings. The port is an integer representing the port number. The path and query string are case sensitive binary strings.</p>
-<p>Cowboy defines only the <code>&lt;&lt;&quot;http&quot;&gt;&gt;</code> and <code>&lt;&lt;&quot;https&quot;&gt;&gt;</code> schemes. They are chosen so that the scheme will only be <code>&lt;&lt;&quot;https&quot;&gt;&gt;</code> for requests on secure HTTP/1.1 or HTTP/2 connections.</p>
-<!-- @todo Is that tested well?-->
-<p>The effective request URI itself can be reconstructed with the <code>cowboy_req:uri/1,2</code> function. By default, an absolute URI is returned:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% </font></i><u><font color="#0000FF">scheme://host</font></u><i><font color="#9A1900">[:port]/path[?qs]</font></i>
-<font color="#009900">URI</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Options are available to either disable or replace some or all of the components. Various URIs or URI formats can be generated this way, including the origin form:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% /path[?qs]</font></i>
-<font color="#009900">URI</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">host</font> <font color="#990000">=&gt;</font> <font color="#000080">undefined</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The protocol relative form:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% //host[:port]/path[?qs]</font></i>
-<font color="#009900">URI</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">scheme</font> <font color="#990000">=&gt;</font> <font color="#000080">undefined</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The absolute URI without a query string:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">URI</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">qs</font> <font color="#990000">=&gt;</font> <font color="#000080">undefined</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>A different host:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">URI</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">host</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"example.org"</font><font color="#990000">&gt;&gt;</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>And any other combination.</p>
-<h2 id="_bindings">Bindings</h2>
-<p>Bindings are the host and path components that you chose to extract when defining the routes of your application. They are only available after the routing.</p>
-<p>Cowboy provides functions to retrieve one or all bindings.</p>
-<p>To retrieve a single value:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Value</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:binding</font></b>(<font color="#FF6600">userid</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>When attempting to retrieve a value that was not bound, <code>undefined</code> will be returned. A different default value can be provided:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Value</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:binding</font></b>(<font color="#FF6600">userid</font>, <font color="#009900">Req</font>, <font color="#993399">42</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>To retrieve everything that was bound:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Bindings</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:bindings</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>They are returned as a map, with keys being atoms.</p>
-<p>The Cowboy router also allows you to capture many host or path segments at once using the <code>...</code> qualifier.</p>
-<p>To retrieve the segments captured from the host name:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">HostInfo</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:host_info</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>And the path segments:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathInfo</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:path_info</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy will return <code>undefined</code> if <code>...</code> was not used in the route.</p>
-<h2 id="_query_parameters">Query parameters</h2>
-<p>Cowboy provides two functions to access query parameters. You can use the first to get the entire list of parameters.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">QsVals</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:parse_qs</font></b>(<font color="#009900">Req</font>),
-{<font color="#990000">_</font>, <font color="#009900">Lang</font>} <font color="#990000">=</font> <b><font color="#000000">lists:keyfind</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"lang"</font><font color="#990000">&gt;&gt;</font>, <font color="#993399">1</font>, <font color="#009900">QsVals</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy will only parse the query string, and not do any transformation. This function may therefore return duplicates, or parameter names without an associated value. The order of the list returned is undefined.</p>
-<p>When a query string is <code>key=1&amp;key=2</code>, the list returned will contain two parameters of name <code>key</code>.</p>
-<p>The same is true when trying to use the PHP-style suffix <code>[]</code>. When a query string is <code>key[]=1&amp;key[]=2</code>, the list returned will contain two parameters of name <code>key[]</code>.</p>
-<p>When a query string is simply <code>key</code>, Cowboy will return the list <code>[{&lt;&lt;&quot;key&quot;&gt;&gt;, true}]</code>, using <code>true</code> to indicate that the parameter <code>key</code> was defined, but with no value.</p>
-<p>The second function Cowboy provides allows you to match out only the parameters you are interested in, and at the same time do any post processing you require using <a href="../constraints">constraints</a>. This function returns a map.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">id</font> <font color="#990000">:=</font> <font color="#009900">ID</font>, <font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_qs</font></b>([<font color="#FF6600">id</font>, <font color="#FF6600">lang</font>], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Constraints can be applied automatically. The following snippet will crash when the <code>id</code> parameter is not an integer, or when the <code>lang</code> parameter is empty. At the same time, the value for <code>id</code> will be converted to an integer term:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">QsMap</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_qs</font></b>([{<font color="#FF6600">id</font>, <font color="#FF6600">int</font>}, {<font color="#FF6600">lang</font>, <font color="#FF6600">nonempty</font>}], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>A default value may also be provided. The default will be used if the <code>lang</code> key is not found. It will not be used if the key is found but has an empty value.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_qs</font></b>([{<font color="#FF6600">lang</font>, [], <font color="#990000">&lt;&lt;</font><font color="#FF0000">"en-US"</font><font color="#990000">&gt;&gt;</font>}], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>If no default is provided and the value is missing, the query string is deemed invalid and the process will crash.</p>
-<p>When the query string is <code>key=1&amp;key=2</code>, the value for <code>key</code> will be the list <code>[1, 2]</code>. Parameter names do not need to include the PHP-style suffix. Constraints may be used to ensure that only one value was passed through.</p>
-<h2 id="_headers">Headers</h2>
-<p>Header values can be retrieved either as a binary string or parsed into a more meaningful representation.</p>
-<p>The get the raw value:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">HeaderVal</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy expects all header names to be provided as lowercase binary strings. This is true for both requests and responses, regardless of the underlying protocol.</p>
-<p>When the header is missing from the request, <code>undefined</code> will be returned. A different default can be provided:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">HeaderVal</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/plain"</font><font color="#990000">&gt;&gt;</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>All headers can be retrieved at once, either directly:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">headers</font> <font color="#990000">:=</font> <font color="#009900">AllHeaders</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Or using a function:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">AllHeaders</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:headers</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy provides equivalent functions to parse individual headers. There is no function to parse all headers at once.</p>
-<p>To parse a specific header:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">ParsedVal</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>An exception will be thrown if it doesn&apos;t know how to parse the given header, or if the value is invalid. The list of known headers and default values can be found in the manual.</p>
-<p>When the header is missing, <code>undefined</code> is returned. You can change the default value. Note that it should be the parsed value directly:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">ParsedVal</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>,
- {<font color="#990000">&lt;&lt;</font><font color="#FF0000">"text"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"plain"</font><font color="#990000">&gt;&gt;</font>, []})<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_peer">Peer</h2>
-<p>The peer address and port number for the connection can be retrieved either directly or using a function.</p>
-<p>To retrieve the peer directly:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">peer</font> <font color="#990000">:=</font> {<font color="#009900">IP</font>, <font color="#009900">Port</font>}} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>And using a function:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#009900">IP</font>, <font color="#009900">Port</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:peer</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Note that the peer corresponds to the remote end of the connection to the server, which may or may not be the client itself. It may also be a proxy or a gateway.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/static_files/">
- Static files
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/req_body/">
- Reading the request body
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/req_body.asciidoc b/docs/en/cowboy/2.1/guide/req_body.asciidoc
deleted file mode 100644
index 4906811e..00000000
--- a/docs/en/cowboy/2.1/guide/req_body.asciidoc
+++ /dev/null
@@ -1,130 +0,0 @@
-[[req_body]]
-== Reading the request body
-
-The request body can be read using the Req object.
-
-Cowboy will not attempt to read the body until requested.
-You need to call the body reading functions in order to
-retrieve it.
-
-Cowboy will not cache the body, it is therefore only
-possible to read it once.
-
-You are not required to read it, however. If a body is
-present and was not read, Cowboy will either cancel or
-skip its download, depending on the protocol.
-
-Cowboy provides functions for reading the body raw,
-and read and parse form urlencoded or xref:multipart[multipart bodies].
-The latter is covered in its own chapter.
-
-=== Request body presence
-
-Not all requests come with a body. You can check for
-the presence of a request body with this function:
-
-[source,erlang]
-cowboy_req:has_body(Req).
-
-It returns `true` if there is a body; `false` otherwise.
-
-In practice, this function is rarely used. When the
-method is `POST`, `PUT` or `PATCH`, the request body
-is often required by the application, which should
-just attempt to read it directly.
-
-=== Request body length
-
-You can obtain the length of the body:
-
-[source,erlang]
-Length = cowboy_req:body_length(Req).
-
-Note that the length may not be known in advance. In
-that case `undefined` will be returned. This can happen
-with HTTP/1.1's chunked transfer-encoding, or HTTP/2
-when no content-length was provided.
-
-Cowboy will update the body length in the Req object
-once the body has been read completely. A length will
-always be returned when attempting to call this function
-after reading the body completely.
-
-=== Reading the body
-
-You can read the entire body with one function call:
-
-[source,erlang]
-{ok, Data, Req} = cowboy_req:read_body(Req0).
-
-Cowboy returns an `ok` tuple when the body has been
-read fully.
-
-By default, Cowboy will attempt to read up to 8MB
-of data, for up to 15 seconds. The call will return
-once Cowboy has read at least 8MB of data, or at
-the end of the 15 seconds period.
-
-These values can be customized. For example, to read
-only up to 1MB for up to 5 seconds:
-
-[source,erlang]
-----
-{ok, Data, Req} = cowboy_req:read_body(Req0,
- #{length => 1000000, period => 5000}).
-----
-
-You may also disable the length limit:
-
-[source,erlang]
-{ok, Data, Req} = cowboy_req:read_body(Req0, #{length => infinity}).
-
-This makes the function wait 15 seconds and return with
-whatever arrived during that period. This is not
-recommended for public facing applications.
-
-These two options can effectively be used to control
-the rate of transmission of the request body.
-
-=== Streaming the body
-
-When the body is too large, the first call will return
-a `more` tuple instead of `ok`. You can call the
-function again to read more of the body, reading
-it one chunk at a time.
-
-[source,erlang]
-----
-read_body_to_console(Req0) ->
- case cowboy_req:read_body(Req0) of
- {ok, Data, Req} ->
- io:format("~s", [Data]),
- Req;
- {more, Data, Req} ->
- io:format("~s", [Data]),
- read_body_to_console(Req)
- end.
-----
-
-The `length` and `period` options can also be used.
-They need to be passed for every call.
-
-=== Reading a form urlencoded body
-
-Cowboy provides a convenient function for reading and
-parsing bodies sent as application/x-www-form-urlencoded.
-
-[source,erlang]
-{ok, KeyValues, Req} = cowboy_req:read_urlencoded_body(Req0).
-
-This function returns a list of key/values, exactly like
-the function `cowboy_req:parse_qs/1`.
-
-The defaults for this function are different. Cowboy will
-read for up to 64KB and up to 5 seconds. They can be modified:
-
-[source,erlang]
-----
-{ok, KeyValues, Req} = cowboy_req:read_urlencoded_body(Req0,
- #{length => 4096, period => 3000}).
-----
diff --git a/docs/en/cowboy/2.1/guide/req_body/index.html b/docs/en/cowboy/2.1/guide/req_body/index.html
deleted file mode 100644
index 43959f50..00000000
--- a/docs/en/cowboy/2.1/guide/req_body/index.html
+++ /dev/null
@@ -1,271 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Reading the request body</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Reading the request body</span></h1>
-
-<p>The request body can be read using the Req object.</p>
-<p>Cowboy will not attempt to read the body until requested. You need to call the body reading functions in order to retrieve it.</p>
-<p>Cowboy will not cache the body, it is therefore only possible to read it once.</p>
-<p>You are not required to read it, however. If a body is present and was not read, Cowboy will either cancel or skip its download, depending on the protocol.</p>
-<p>Cowboy provides functions for reading the body raw, and read and parse form urlencoded or <a href="../multipart">multipart bodies</a>. The latter is covered in its own chapter.</p>
-<h2 id="_request_body_presence">Request body presence</h2>
-<p>Not all requests come with a body. You can check for the presence of a request body with this function:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:has_body</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>It returns <code>true</code> if there is a body; <code>false</code> otherwise.</p>
-<p>In practice, this function is rarely used. When the method is <code>POST</code>, <code>PUT</code> or <code>PATCH</code>, the request body is often required by the application, which should just attempt to read it directly.</p>
-<h2 id="_request_body_length">Request body length</h2>
-<p>You can obtain the length of the body:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Length</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:body_length</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Note that the length may not be known in advance. In that case <code>undefined</code> will be returned. This can happen with HTTP/1.1&apos;s chunked transfer-encoding, or HTTP/2 when no content-length was provided.</p>
-<p>Cowboy will update the body length in the Req object once the body has been read completely. A length will always be returned when attempting to call this function after reading the body completely.</p>
-<h2 id="_reading_the_body">Reading the body</h2>
-<p>You can read the entire body with one function call:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_body</font></b>(<font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy returns an <code>ok</code> tuple when the body has been read fully.</p>
-<p>By default, Cowboy will attempt to read up to 8MB of data, for up to 15 seconds. The call will return once Cowboy has read at least 8MB of data, or at the end of the 15 seconds period.</p>
-<p>These values can be customized. For example, to read only up to 1MB for up to 5 seconds:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_body</font></b>(<font color="#009900">Req0</font>,
- #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#993399">1000000</font>, <font color="#0000FF">period</font> <font color="#990000">=&gt;</font> <font color="#993399">5000</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You may also disable the length limit:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_body</font></b>(<font color="#009900">Req0</font>, #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#FF6600">infinity</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>This makes the function wait 15 seconds and return with whatever arrived during that period. This is not recommended for public facing applications.</p>
-<p>These two options can effectively be used to control the rate of transmission of the request body.</p>
-<h2 id="_streaming_the_body">Streaming the body</h2>
-<p>When the body is too large, the first call will return a <code>more</code> tuple instead of <code>ok</code>. You can call the function again to read more of the body, reading it one chunk at a time.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">read_body_to_console</font></b>(<font color="#009900">Req0</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_body</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">io:format</font></b>(<font color="#FF0000">"~s"</font>, [<font color="#009900">Data</font>]),
- <font color="#009900">Req</font>;
- {<font color="#FF6600">more</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">io:format</font></b>(<font color="#FF0000">"~s"</font>, [<font color="#009900">Data</font>]),
- <b><font color="#000000">read_body_to_console</font></b>(<font color="#009900">Req</font>)
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The <code>length</code> and <code>period</code> options can also be used. They need to be passed for every call.</p>
-<h2 id="_reading_a_form_urlencoded_body">Reading a form urlencoded body</h2>
-<p>Cowboy provides a convenient function for reading and parsing bodies sent as application/x-www-form-urlencoded.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">KeyValues</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_urlencoded_body</font></b>(<font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>This function returns a list of key/values, exactly like the function <code>cowboy_req:parse_qs/1</code>.</p>
-<p>The defaults for this function are different. Cowboy will read for up to 64KB and up to 5 seconds. They can be modified:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">KeyValues</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_urlencoded_body</font></b>(<font color="#009900">Req0</font>,
- #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#993399">4096</font>, <font color="#0000FF">period</font> <font color="#990000">=&gt;</font> <font color="#993399">3000</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/req/">
- The Req object
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/resp/">
- Sending a response
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/resource_design.asciidoc b/docs/en/cowboy/2.1/guide/resource_design.asciidoc
deleted file mode 100644
index fa0c6122..00000000
--- a/docs/en/cowboy/2.1/guide/resource_design.asciidoc
+++ /dev/null
@@ -1,220 +0,0 @@
-[[resource_design]]
-== Designing a resource handler
-
-This chapter aims to provide you with a list of questions
-you must answer in order to write a good resource handler.
-It is meant to be usable as a step by step guide.
-
-=== The service
-
-Can the service become unavailable, and when it does, can
-we detect it? For example, database connectivity problems
-may be detected early. We may also have planned outages
-of all or parts of the system. Implement the
-`service_available` callback.
-
-What HTTP methods does the service implement? Do we need
-more than the standard OPTIONS, HEAD, GET, PUT, POST,
-PATCH and DELETE? Are we not using one of those at all?
-Implement the `known_methods` callback.
-
-=== Type of resource handler
-
-Am I writing a handler for a collection of resources,
-or for a single resource?
-
-The semantics for each of these are quite different.
-You should not mix collection and single resource in
-the same handler.
-
-=== Collection handler
-
-Skip this section if you are not doing a collection.
-
-Is the collection hardcoded or dynamic? For example,
-if you use the route `/users` for the collection of
-users then the collection is hardcoded; if you use
-`/forums/:category` for the collection of threads
-then it isn't. When the collection is hardcoded you
-can safely assume the resource always exists.
-
-What methods should I implement?
-
-OPTIONS is used to get some information about the
-collection. It is recommended to allow it even if you
-do not implement it, as Cowboy has a default
-implementation built-in.
-
-HEAD and GET are used to retrieve the collection.
-If you allow GET, also allow HEAD as there's no extra
-work required to make it work.
-
-POST is used to create a new resource inside the
-collection. Creating a resource by using POST on
-the collection is useful when resources may be
-created before knowing their URI, usually because
-parts of it are generated dynamically. A common
-case is some kind of auto incremented integer
-identifier.
-
-The next methods are more rarely allowed.
-
-PUT is used to create a new collection (when
-the collection isn't hardcoded), or replace
-the entire collection.
-
-DELETE is used to delete the entire collection.
-
-PATCH is used to modify the collection using
-instructions given in the request body. A PATCH
-operation is atomic. The PATCH operation may
-be used for such things as reordering; adding,
-modifying or deleting parts of the collection.
-
-=== Single resource handler
-
-Skip this section if you are doing a collection.
-
-What methods should I implement?
-
-OPTIONS is used to get some information about the
-resource. It is recommended to allow it even if you
-do not implement it, as Cowboy has a default
-implementation built-in.
-
-HEAD and GET are used to retrieve the resource.
-If you allow GET, also allow HEAD as there's no extra
-work required to make it work.
-
-POST is used to update the resource.
-
-PUT is used to create a new resource (when it doesn't
-already exist) or replace the resource.
-
-DELETE is used to delete the resource.
-
-PATCH is used to modify the resource using
-instructions given in the request body. A PATCH
-operation is atomic. The PATCH operation may
-be used for adding, removing or modifying specific
-values in the resource.
-
-=== The resource
-
-Following the above discussion, implement the
-`allowed_methods` callback.
-
-Does the resource always exist? If it may not, implement
-the `resource_exists` callback.
-
-Do I need to authenticate the client before they can
-access the resource? What authentication mechanisms
-should I provide? This may include form-based, token-based
-(in the URL or a cookie), HTTP basic, HTTP digest,
-SSL certificate or any other form of authentication.
-Implement the `is_authorized` callback.
-
-Do I need fine-grained access control? How do I determine
-that they are authorized access? Handle that in your
-`is_authorized` callback.
-
-Can access to a resource be forbidden regardless of access
-being authorized? A simple example of that is censorship
-of a resource. Implement the `forbidden` callback.
-
-Are there any constraints on the length of the resource URI?
-For example, the URI may be used as a key in storage and may
-have a limit in length. Implement `uri_too_long`.
-
-=== Representations
-
-What media types do I provide? If text based, what charsets
-are provided? What languages do I provide?
-
-Implement the mandatory `content_types_provided`. Prefix
-the callbacks with `to_` for clarity. For example, `to_html`
-or `to_text`.
-
-Implement the `languages_provided` or `charsets_provided`
-callbacks if applicable.
-
-Is there any other header that may make the representation
-of the resource vary? Implement the `variances` callback.
-
-Depending on your choices for caching content, you may
-want to implement one or more of the `generate_etag`,
-`last_modified` and `expires` callbacks.
-
-Do I want the user or user agent to actively choose a
-representation available? Send a list of available
-representations in the response body and implement
-the `multiple_choices` callback.
-
-=== Redirections
-
-Do I need to keep track of what resources were deleted?
-For example, you may have a mechanism where moving a
-resource leaves a redirect link to its new location.
-Implement the `previously_existed` callback.
-
-Was the resource moved, and is the move temporary? If
-it is explicitly temporary, for example due to maintenance,
-implement the `moved_temporarily` callback. Otherwise,
-implement the `moved_permanently` callback.
-
-=== The request
-
-Do you need to read the query string? Individual headers?
-Implement `malformed_request` and do all the parsing and
-validation in this function. Note that the body should not
-be read at this point.
-
-May there be a request body? Will I know its size?
-What's the maximum size of the request body I'm willing
-to accept? Implement `valid_entity_length`.
-
-Finally, take a look at the sections corresponding to the
-methods you are implementing.
-
-=== OPTIONS method
-
-Cowboy by default will send back a list of allowed methods.
-Do I need to add more information to the response? Implement
-the `options` method.
-
-=== GET and HEAD methods
-
-If you implement the methods GET and/or HEAD, you must
-implement one `ProvideResource` callback for each
-content-type returned by the `content_types_provided`
-callback.
-
-=== PUT, POST and PATCH methods
-
-If you implement the methods PUT, POST and/or PATCH,
-you must implement the `content_types_accepted` callback,
-and one `AcceptCallback` callback for each content-type
-it returns. Prefix the `AcceptCallback` callback names
-with `from_` for clarity. For example, `from_html` or
-`from_json`.
-
-Do we want to allow the POST method to create individual
-resources directly through their URI (like PUT)? Implement
-the `allow_missing_post` callback. It is recommended to
-explicitly use PUT in these cases instead.
-
-May there be conflicts when using PUT to create or replace
-a resource? Do we want to make sure that two updates around
-the same time are not cancelling one another? Implement the
-`is_conflict` callback.
-
-=== DELETE methods
-
-If you implement the method DELETE, you must implement
-the `delete_resource` callback.
-
-When `delete_resource` returns, is the resource completely
-removed from the server, including from any caching service?
-If not, and/or if the deletion is asynchronous and we have
-no way of knowing it has been completed yet, implement the
-`delete_completed` callback.
diff --git a/docs/en/cowboy/2.1/guide/resource_design/index.html b/docs/en/cowboy/2.1/guide/resource_design/index.html
deleted file mode 100644
index b5ad461b..00000000
--- a/docs/en/cowboy/2.1/guide/resource_design/index.html
+++ /dev/null
@@ -1,244 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Designing a resource handler</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Designing a resource handler</span></h1>
-
-<p>This chapter aims to provide you with a list of questions you must answer in order to write a good resource handler. It is meant to be usable as a step by step guide.</p>
-<h2 id="_the_service">The service</h2>
-<p>Can the service become unavailable, and when it does, can we detect it? For example, database connectivity problems may be detected early. We may also have planned outages of all or parts of the system. Implement the <code>service_available</code> callback.</p>
-<p>What HTTP methods does the service implement? Do we need more than the standard OPTIONS, HEAD, GET, PUT, POST, PATCH and DELETE? Are we not using one of those at all? Implement the <code>known_methods</code> callback.</p>
-<h2 id="_type_of_resource_handler">Type of resource handler</h2>
-<p>Am I writing a handler for a collection of resources, or for a single resource?</p>
-<p>The semantics for each of these are quite different. You should not mix collection and single resource in the same handler.</p>
-<h2 id="_collection_handler">Collection handler</h2>
-<p>Skip this section if you are not doing a collection.</p>
-<p>Is the collection hardcoded or dynamic? For example, if you use the route <code>/users</code> for the collection of users then the collection is hardcoded; if you use <code>/forums/:category</code> for the collection of threads then it isn&apos;t. When the collection is hardcoded you can safely assume the resource always exists.</p>
-<p>What methods should I implement?</p>
-<p>OPTIONS is used to get some information about the collection. It is recommended to allow it even if you do not implement it, as Cowboy has a default implementation built-in.</p>
-<p>HEAD and GET are used to retrieve the collection. If you allow GET, also allow HEAD as there&apos;s no extra work required to make it work.</p>
-<p>POST is used to create a new resource inside the collection. Creating a resource by using POST on the collection is useful when resources may be created before knowing their URI, usually because parts of it are generated dynamically. A common case is some kind of auto incremented integer identifier.</p>
-<p>The next methods are more rarely allowed.</p>
-<p>PUT is used to create a new collection (when the collection isn&apos;t hardcoded), or replace the entire collection.</p>
-<p>DELETE is used to delete the entire collection.</p>
-<p>PATCH is used to modify the collection using instructions given in the request body. A PATCH operation is atomic. The PATCH operation may be used for such things as reordering; adding, modifying or deleting parts of the collection.</p>
-<h2 id="_single_resource_handler">Single resource handler</h2>
-<p>Skip this section if you are doing a collection.</p>
-<p>What methods should I implement?</p>
-<p>OPTIONS is used to get some information about the resource. It is recommended to allow it even if you do not implement it, as Cowboy has a default implementation built-in.</p>
-<p>HEAD and GET are used to retrieve the resource. If you allow GET, also allow HEAD as there&apos;s no extra work required to make it work.</p>
-<p>POST is used to update the resource.</p>
-<p>PUT is used to create a new resource (when it doesn&apos;t already exist) or replace the resource.</p>
-<p>DELETE is used to delete the resource.</p>
-<p>PATCH is used to modify the resource using instructions given in the request body. A PATCH operation is atomic. The PATCH operation may be used for adding, removing or modifying specific values in the resource.</p>
-<h2 id="_the_resource">The resource</h2>
-<p>Following the above discussion, implement the <code>allowed_methods</code> callback.</p>
-<p>Does the resource always exist? If it may not, implement the <code>resource_exists</code> callback.</p>
-<p>Do I need to authenticate the client before they can access the resource? What authentication mechanisms should I provide? This may include form-based, token-based (in the URL or a cookie), HTTP basic, HTTP digest, SSL certificate or any other form of authentication. Implement the <code>is_authorized</code> callback.</p>
-<p>Do I need fine-grained access control? How do I determine that they are authorized access? Handle that in your <code>is_authorized</code> callback.</p>
-<p>Can access to a resource be forbidden regardless of access being authorized? A simple example of that is censorship of a resource. Implement the <code>forbidden</code> callback.</p>
-<p>Are there any constraints on the length of the resource URI? For example, the URI may be used as a key in storage and may have a limit in length. Implement <code>uri_too_long</code>.</p>
-<h2 id="_representations">Representations</h2>
-<p>What media types do I provide? If text based, what charsets are provided? What languages do I provide?</p>
-<p>Implement the mandatory <code>content_types_provided</code>. Prefix the callbacks with <code>to_</code> for clarity. For example, <code>to_html</code> or <code>to_text</code>.</p>
-<p>Implement the <code>languages_provided</code> or <code>charsets_provided</code> callbacks if applicable.</p>
-<p>Is there any other header that may make the representation of the resource vary? Implement the <code>variances</code> callback.</p>
-<p>Depending on your choices for caching content, you may want to implement one or more of the <code>generate_etag</code>, <code>last_modified</code> and <code>expires</code> callbacks.</p>
-<p>Do I want the user or user agent to actively choose a representation available? Send a list of available representations in the response body and implement the <code>multiple_choices</code> callback.</p>
-<h2 id="_redirections">Redirections</h2>
-<p>Do I need to keep track of what resources were deleted? For example, you may have a mechanism where moving a resource leaves a redirect link to its new location. Implement the <code>previously_existed</code> callback.</p>
-<p>Was the resource moved, and is the move temporary? If it is explicitly temporary, for example due to maintenance, implement the <code>moved_temporarily</code> callback. Otherwise, implement the <code>moved_permanently</code> callback.</p>
-<h2 id="_the_request">The request</h2>
-<p>Do you need to read the query string? Individual headers? Implement <code>malformed_request</code> and do all the parsing and validation in this function. Note that the body should not be read at this point.</p>
-<p>May there be a request body? Will I know its size? What&apos;s the maximum size of the request body I&apos;m willing to accept? Implement <code>valid_entity_length</code>.</p>
-<p>Finally, take a look at the sections corresponding to the methods you are implementing.</p>
-<h2 id="_options_method">OPTIONS method</h2>
-<p>Cowboy by default will send back a list of allowed methods. Do I need to add more information to the response? Implement the <code>options</code> method.</p>
-<h2 id="_get_and_head_methods">GET and HEAD methods</h2>
-<p>If you implement the methods GET and/or HEAD, you must implement one <code>ProvideResource</code> callback for each content-type returned by the <code>content_types_provided</code> callback.</p>
-<h2 id="_put__post_and_patch_methods">PUT, POST and PATCH methods</h2>
-<p>If you implement the methods PUT, POST and/or PATCH, you must implement the <code>content_types_accepted</code> callback, and one <code>AcceptCallback</code> callback for each content-type it returns. Prefix the <code>AcceptCallback</code> callback names with <code>from_</code> for clarity. For example, <code>from_html</code> or <code>from_json</code>.</p>
-<p>Do we want to allow the POST method to create individual resources directly through their URI (like PUT)? Implement the <code>allow_missing_post</code> callback. It is recommended to explicitly use PUT in these cases instead.</p>
-<p>May there be conflicts when using PUT to create or replace a resource? Do we want to make sure that two updates around the same time are not cancelling one another? Implement the <code>is_conflict</code> callback.</p>
-<h2 id="_delete_methods">DELETE methods</h2>
-<p>If you implement the method DELETE, you must implement the <code>delete_resource</code> callback.</p>
-<p>When <code>delete_resource</code> returns, is the resource completely removed from the server, including from any caching service? If not, and/or if the deletion is asynchronous and we have no way of knowing it has been completed yet, implement the <code>delete_completed</code> callback.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_flowcharts/">
- REST flowcharts
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/ws_protocol/">
- The Websocket protocol
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/resp.asciidoc b/docs/en/cowboy/2.1/guide/resp.asciidoc
deleted file mode 100644
index 6d4967e0..00000000
--- a/docs/en/cowboy/2.1/guide/resp.asciidoc
+++ /dev/null
@@ -1,341 +0,0 @@
-[[resp]]
-== Sending a response
-
-The response must be sent using the Req object.
-
-Cowboy provides two different ways of sending responses:
-either directly or by streaming the body. Response headers
-and body may be set in advance. The response is sent as
-soon as one of the reply or stream reply function is
-called.
-
-Cowboy also provides a simplified interface for sending
-files. It can also send only specific parts of a file.
-
-While only one response is allowed for every request,
-HTTP/2 introduced a mechanism that allows the server
-to push additional resources related to the response.
-This chapter also describes how this feature works in
-Cowboy.
-
-=== Reply
-
-Cowboy provides three functions for sending the entire reply,
-depending on whether you need to set headers and body. In all
-cases, Cowboy will add any headers required by the protocol
-(for example the date header will always be sent).
-
-When you need to set only the status code,
-use `cowboy_req:reply/2`:
-
-[source,erlang]
-Req = cowboy_req:reply(200, Req0).
-
-When you need to set response headers at the same time,
-use `cowboy_req:reply/3`:
-
-[source,erlang]
-----
-Req = cowboy_req:reply(303, #{
- <<"location">> => <<"https://ninenines.eu">>
-}, Req0).
-----
-
-Note that the header name must always be a lowercase
-binary.
-
-When you also need to set the response body,
-use `cowboy_req:reply/4`:
-
-[source,erlang]
-----
-Req = cowboy_req:reply(200, #{
- <<"content-type">> => <<"text/plain">>
-}, "Hello world!", Req0).
-----
-
-You should always set the content-type header when the
-response has a body. There is however no need to set
-the content-length header; Cowboy does it automatically.
-
-The response body and the header values must be either
-a binary or an iolist. An iolist is a list containing
-binaries, characters, strings or other iolists. This
-allows you to build a response from different parts
-without having to do any concatenation:
-
-[source,erlang]
-----
-Title = "Hello world!",
-Body = <<"Hats off!">>,
-Req = cowboy_req:reply(200, #{
- <<"content-type">> => <<"text/html">>
-}, ["<html><head><title>", Title, "</title></head>",
- "<body><p>", Body, "</p></body></html>"], Req0).
-----
-
-This method of building responses is more efficient than
-concatenating. Behind the scenes, each element of the list
-is simply a pointer, and those pointers are used directly
-when writing to the socket.
-
-=== Stream reply
-
-Cowboy provides two functions for initiating a response,
-and an additional function for streaming the response body.
-Cowboy will add any required headers to the response.
-
-// @todo For HTTP/1.1 Cowboy should probably not use chunked transfer-encoding if the content-length is set.
-
-When you need to set only the status code,
-use `cowboy_req:stream_reply/2`:
-
-[source,erlang]
-----
-Req = cowboy_req:stream_reply(200, Req0),
-
-cowboy_req:stream_body("Hello...", nofin, Req),
-cowboy_req:stream_body("chunked...", nofin, Req),
-cowboy_req:stream_body("world!!", fin, Req).
-----
-
-The second argument to `cowboy_req:stream_body/3` indicates
-whether this data terminates the body. Use `fin` for the
-final flag, and `nofin` otherwise.
-
-This snippet does not set a content-type header. This is
-not recommended. All responses with a body should have
-a content-type. The header can be set beforehand, or
-using the `cowboy_req:stream_reply/3`:
-
-[source,erlang]
-----
-Req = cowboy_req:stream_reply(200, #{
- <<"content-type">> => <<"text/html">>
-}, Req0),
-
-cowboy_req:stream_body("<html><head>Hello world!</head>", nofin, Req),
-cowboy_req:stream_body("<body><p>Hats off!</p></body></html>", fin, Req).
-----
-
-HTTP provides a few different ways to stream response bodies.
-Cowboy will select the most appropriate one based on the HTTP
-version and the request and response headers.
-
-While not required by any means, it is recommended that you
-set the content-length header in the response if you know it
-in advance. This will ensure that the best response method
-is selected and help clients understand when the response
-is fully received.
-
-// @todo Document trailers here.
-
-=== Preset response headers
-
-Cowboy provides functions to set response headers without
-immediately sending them. They are stored in the Req object
-and sent as part of the response when a reply function is
-called.
-
-To set response headers:
-
-[source,erlang]
-Req = cowboy_req:set_resp_header(<<"allow">>, "GET", Req0).
-
-Header names must be a lowercase binary.
-
-Do not use this function for setting cookies. Refer to
-the xref:cookies[Cookies] chapter for more information.
-
-To check if a response header has already been set:
-
-[source,erlang]
-cowboy_req:has_resp_header(<<"allow">>, Req).
-
-It returns `true` if the header was set, `false` otherwise.
-
-To delete a response header that was set previously:
-
-[source,erlang]
-Req = cowboy_req:delete_resp_header(<<"allow">>, Req0).
-
-=== Overriding headers
-
-As Cowboy provides different ways of setting response
-headers and body, clashes may occur, so it's important
-to understand what happens when a header is set twice.
-
-Headers come from five different origins:
-
-* Protocol-specific headers (for example HTTP/1.1's connection header)
-* Other required headers (for example the date header)
-* Preset headers
-* Headers given to the reply function
-* Set-cookie headers
-
-Cowboy does not allow overriding protocol-specific headers.
-
-Set-cookie headers will always be appended at the end of
-the list of headers before sending the response.
-
-Headers given to the reply function will always override
-preset headers and required headers. If a header is found
-in two or three of these, then the one in the reply function
-is picked and the others are dropped.
-
-Similarly, preset headers will always override required
-headers.
-
-To illustrate, look at the following snippet. Cowboy by
-default sends the server header with the value "Cowboy".
-We can override it:
-
-[source,erlang]
-----
-Req = cowboy_req:reply(200, #{
- <<"server">> => <<"yaws">>
-}, Req0).
-----
-
-=== Preset response body
-
-Cowboy provides functions to set the response body without
-immediately sending it. It is stored in the Req object and
-sent when the reply function is called.
-
-To set the response body:
-
-[source,erlang]
-Req = cowboy_req:set_resp_body("Hello world!", Req0).
-
-// @todo Yeah we probably should add that function that
-// also sets the content-type at the same time...
-
-To check if a response body has already been set:
-
-[source,erlang]
-cowboy_req:has_resp_body(Req).
-
-It returns `true` if the body was set and is non-empty,
-`false` otherwise.
-
-// @todo We probably should also have a function that
-// properly removes the response body, including any
-// content-* headers.
-
-The preset response body is only sent if the reply function
-used is `cowboy_req:reply/2` or `cowboy_req:reply/3`.
-
-=== Sending files
-
-Cowboy provides a shortcut for sending files. When
-using `cowboy_req:reply/4`, or when presetting the
-response header, you can give a `sendfile` tuple to
-Cowboy:
-
-[source,erlang]
-{sendfile, Offset, Length, Filename}
-
-Depending on the values for `Offset` or `Length`, the
-entire file may be sent, or just a part of it.
-
-The length is required even for sending the entire file.
-Cowboy sends it in the content-length header.
-
-To send a file while replying:
-
-[source,erlang]
-----
-Req = cowboy_req:reply(200, #{
- <<"content-type">> => "image/png"
-}, {sendfile, 0, 12345, "path/to/logo.png"}, Req0).
-----
-
-// @todo An example of presetting a file would be useful,
-// but let's wait for the function that can set the
-// content-type at the same time.
-
-// @todo What about streaming many files? For example
-// it should be possible to build a tar file on the fly
-// while still using sendfile. Another example could be
-// proper support for multipart byte ranges. Yet another
-// example would be automatic concatenation of CSS or JS
-// files.
-
-=== Informational responses
-
-Cowboy allows you to send informational responses.
-
-Informational responses are responses that have a status
-code between 100 and 199. Any number can be sent before
-the proper response. Sending an informational response
-does not change the behavior of the proper response, and
-clients are expected to ignore any informational response
-they do not understand.
-
-The following snippet sends a 103 informational response
-with some headers that are expected to be in the final
-response.
-
-[source,erlang]
-----
-Req = cowboy_req:inform(103, #{
- <<"link">> => <<"</style.css>; rel=preload; as=style">>,
- <<"link">> => <<"</script.js>; rel=preload; as=script">>
-}, Req0).
-----
-
-=== Push
-
-The HTTP/2 protocol introduced the ability to push resources
-related to the one sent in the response. Cowboy provides two
-functions for that purpose: `cowboy_req:push/3,4`.
-
-Push is only available for HTTP/2. Cowboy will automatically
-ignore push requests if the protocol doesn't support it.
-
-The push function must be called before any of the reply
-functions. Doing otherwise will result in a crash.
-
-To push a resource, you need to provide the same information
-as a client performing a request would. This includes the
-HTTP method, the URI and any necessary request headers.
-
-Cowboy by default only requires you to give the path to
-the resource and the request headers. The rest of the URI
-is taken from the current request (excluding the query
-string, set to empty) and the method is GET by default.
-
-The following snippet pushes a CSS file that is linked to
-in the response:
-
-[source,erlang]
-----
-cowboy_req:push("/static/style.css", #{
- <<"accept">> => <<"text/css">>
-}, Req0),
-Req = cowboy_req:reply(200, #{
- <<"content-type">> => <<"text/html">>
-}, ["<html><head><title>My web page</title>",
- "<link rel='stylesheet' type='text/css' href='/static/style.css'>",
- "<body><p>Welcome to Erlang!</p></body></html>"], Req0).
-----
-
-To override the method, scheme, host, port or query string,
-simply pass in a fourth argument. The following snippet
-uses a different host name:
-
-[source,erlang]
-----
-cowboy_req:push("/static/style.css", #{
- <<"accept">> => <<"text/css">>
-}, #{host => <<"cdn.example.org">>}, Req),
-----
-
-Pushed resources don't have to be files. As long as the push
-request is cacheable, safe and does not include a body, the
-resource can be pushed.
-
-Under the hood, Cowboy handles pushed requests the same as
-normal requests: a different process is created which will
-ultimately send a response to the client.
diff --git a/docs/en/cowboy/2.1/guide/resp/index.html b/docs/en/cowboy/2.1/guide/resp/index.html
deleted file mode 100644
index 4c6df175..00000000
--- a/docs/en/cowboy/2.1/guide/resp/index.html
+++ /dev/null
@@ -1,409 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Sending a response</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Sending a response</span></h1>
-
-<p>The response must be sent using the Req object.</p>
-<p>Cowboy provides two different ways of sending responses: either directly or by streaming the body. Response headers and body may be set in advance. The response is sent as soon as one of the reply or stream reply function is called.</p>
-<p>Cowboy also provides a simplified interface for sending files. It can also send only specific parts of a file.</p>
-<p>While only one response is allowed for every request, HTTP/2 introduced a mechanism that allows the server to push additional resources related to the response. This chapter also describes how this feature works in Cowboy.</p>
-<h2 id="_reply">Reply</h2>
-<p>Cowboy provides three functions for sending the entire reply, depending on whether you need to set headers and body. In all cases, Cowboy will add any headers required by the protocol (for example the date header will always be sent).</p>
-<p>When you need to set only the status code, use <code>cowboy_req:reply/2</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>When you need to set response headers at the same time, use <code>cowboy_req:reply/3</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">303</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"location"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"https://ninenines.eu"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Note that the header name must always be a lowercase binary.</p>
-<p>When you also need to set the response body, use <code>cowboy_req:reply/4</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/plain"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#FF0000">"Hello world!"</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You should always set the content-type header when the response has a body. There is however no need to set the content-length header; Cowboy does it automatically.</p>
-<p>The response body and the header values must be either a binary or an iolist. An iolist is a list containing binaries, characters, strings or other iolists. This allows you to build a response from different parts without having to do any concatenation:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Title</font> <font color="#990000">=</font> <font color="#FF0000">"Hello world!"</font>,
-<font color="#009900">Body</font> <font color="#990000">=</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hats off!"</font><font color="#990000">&gt;&gt;</font>,
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/html"</font><font color="#990000">&gt;&gt;</font>
-}, [<font color="#FF0000">"&lt;html&gt;&lt;head&gt;&lt;title&gt;"</font>, <font color="#009900">Title</font>, <font color="#FF0000">"&lt;/title&gt;&lt;/head&gt;"</font>,
- <font color="#FF0000">"&lt;body&gt;&lt;p&gt;"</font>, <font color="#009900">Body</font>, <font color="#FF0000">"&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;"</font>], <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>This method of building responses is more efficient than concatenating. Behind the scenes, each element of the list is simply a pointer, and those pointers are used directly when writing to the socket.</p>
-<h2 id="_stream_reply">Stream reply</h2>
-<p>Cowboy provides two functions for initiating a response, and an additional function for streaming the response body. Cowboy will add any required headers to the response.</p>
-<!-- @todo For HTTP/1.1 Cowboy should probably not use chunked transfer-encoding if the content-length is set.-->
-<p>When you need to set only the status code, use <code>cowboy_req:stream_reply/2</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:stream_reply</font></b>(<font color="#993399">200</font>, <font color="#009900">Req0</font>),
-
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#FF0000">"Hello..."</font>, <font color="#FF6600">nofin</font>, <font color="#009900">Req</font>),
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#FF0000">"chunked..."</font>, <font color="#FF6600">nofin</font>, <font color="#009900">Req</font>),
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#FF0000">"world!!"</font>, <font color="#FF6600">fin</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The second argument to <code>cowboy_req:stream_body/3</code> indicates whether this data terminates the body. Use <code>fin</code> for the final flag, and <code>nofin</code> otherwise.</p>
-<p>This snippet does not set a content-type header. This is not recommended. All responses with a body should have a content-type. The header can be set beforehand, or using the <code>cowboy_req:stream_reply/3</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:stream_reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/html"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>),
-
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#FF0000">"&lt;html&gt;&lt;head&gt;Hello world!&lt;/head&gt;"</font>, <font color="#FF6600">nofin</font>, <font color="#009900">Req</font>),
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#FF0000">"&lt;body&gt;&lt;p&gt;Hats off!&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;"</font>, <font color="#FF6600">fin</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>HTTP provides a few different ways to stream response bodies. Cowboy will select the most appropriate one based on the HTTP version and the request and response headers.</p>
-<p>While not required by any means, it is recommended that you set the content-length header in the response if you know it in advance. This will ensure that the best response method is selected and help clients understand when the response is fully received.</p>
-<!-- @todo Document trailers here.-->
-<h2 id="_preset_response_headers">Preset response headers</h2>
-<p>Cowboy provides functions to set response headers without immediately sending them. They are stored in the Req object and sent as part of the response when a reply function is called.</p>
-<p>To set response headers:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"allow"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF0000">"GET"</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Header names must be a lowercase binary.</p>
-<p>Do not use this function for setting cookies. Refer to the <a href="../cookies">Cookies</a> chapter for more information.</p>
-<p>To check if a response header has already been set:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:has_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"allow"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>It returns <code>true</code> if the header was set, <code>false</code> otherwise.</p>
-<p>To delete a response header that was set previously:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:delete_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"allow"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_overriding_headers">Overriding headers</h2>
-<p>As Cowboy provides different ways of setting response headers and body, clashes may occur, so it&apos;s important to understand what happens when a header is set twice.</p>
-<p>Headers come from five different origins:</p>
-<ul><li>Protocol-specific headers (for example HTTP/1.1&apos;s connection header)
-</li>
-<li>Other required headers (for example the date header)
-</li>
-<li>Preset headers
-</li>
-<li>Headers given to the reply function
-</li>
-<li>Set-cookie headers
-</li>
-</ul>
-<p>Cowboy does not allow overriding protocol-specific headers.</p>
-<p>Set-cookie headers will always be appended at the end of the list of headers before sending the response.</p>
-<p>Headers given to the reply function will always override preset headers and required headers. If a header is found in two or three of these, then the one in the reply function is picked and the others are dropped.</p>
-<p>Similarly, preset headers will always override required headers.</p>
-<p>To illustrate, look at the following snippet. Cowboy by default sends the server header with the value &quot;Cowboy&quot;. We can override it:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"server"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"yaws"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_preset_response_body">Preset response body</h2>
-<p>Cowboy provides functions to set the response body without immediately sending it. It is stored in the Req object and sent when the reply function is called.</p>
-<p>To set the response body:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_body</font></b>(<font color="#FF0000">"Hello world!"</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<!-- @todo Yeah we probably should add that function that-->
-<!-- also sets the content-type at the same time...-->
-<p>To check if a response body has already been set:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:has_resp_body</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>It returns <code>true</code> if the body was set and is non-empty, <code>false</code> otherwise.</p>
-<!-- @todo We probably should also have a function that-->
-<!-- properly removes the response body, including any-->
-<!-- content-* headers.-->
-<p>The preset response body is only sent if the reply function used is <code>cowboy_req:reply/2</code> or <code>cowboy_req:reply/3</code>.</p>
-<h2 id="_sending_files">Sending files</h2>
-<p>Cowboy provides a shortcut for sending files. When using <code>cowboy_req:reply/4</code>, or when presetting the response header, you can give a <code>sendfile</code> tuple to Cowboy:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">sendfile</font>, <font color="#009900">Offset</font>, <font color="#009900">Length</font>, <font color="#009900">Filename</font>}</tt></pre>
-</div></div>
-<p>Depending on the values for <code>Offset</code> or <code>Length</code>, the entire file may be sent, or just a part of it.</p>
-<p>The length is required even for sending the entire file. Cowboy sends it in the content-length header.</p>
-<p>To send a file while replying:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#FF0000">"image/png"</font>
-}, {<font color="#FF6600">sendfile</font>, <font color="#993399">0</font>, <font color="#993399">12345</font>, <font color="#FF0000">"path/to/logo.png"</font>}, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<!-- @todo An example of presetting a file would be useful,-->
-<!-- but let&apos;s wait for the function that can set the-->
-<!-- content-type at the same time.-->
-<!-- @todo What about streaming many files? For example-->
-<!-- it should be possible to build a tar file on the fly-->
-<!-- while still using sendfile. Another example could be-->
-<!-- proper support for multipart byte ranges. Yet another-->
-<!-- example would be automatic concatenation of CSS or JS-->
-<!-- files.-->
-<h2 id="_informational_responses">Informational responses</h2>
-<p>Cowboy allows you to send informational responses.</p>
-<p>Informational responses are responses that have a status code between 100 and 199. Any number can be sent before the proper response. Sending an informational response does not change the behavior of the proper response, and clients are expected to ignore any informational response they do not understand.</p>
-<p>The following snippet sends a 103 informational response with some headers that are expected to be in the final response.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:inform</font></b>(<font color="#993399">103</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"link"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"&lt;/style.css&gt;; rel=preload; as=style"</font><font color="#990000">&gt;&gt;</font>,
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"link"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"&lt;/script.js&gt;; rel=preload; as=script"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_push">Push</h2>
-<p>The HTTP/2 protocol introduced the ability to push resources related to the one sent in the response. Cowboy provides two functions for that purpose: <code>cowboy_req:push/3,4</code>.</p>
-<p>Push is only available for HTTP/2. Cowboy will automatically ignore push requests if the protocol doesn&apos;t support it.</p>
-<p>The push function must be called before any of the reply functions. Doing otherwise will result in a crash.</p>
-<p>To push a resource, you need to provide the same information as a client performing a request would. This includes the HTTP method, the URI and any necessary request headers.</p>
-<p>Cowboy by default only requires you to give the path to the resource and the request headers. The rest of the URI is taken from the current request (excluding the query string, set to empty) and the method is GET by default.</p>
-<p>The following snippet pushes a CSS file that is linked to in the response:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:push</font></b>(<font color="#FF0000">"/static/style.css"</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/css"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/html"</font><font color="#990000">&gt;&gt;</font>
-}, [<font color="#FF0000">"&lt;html&gt;&lt;head&gt;&lt;title&gt;My web page&lt;/title&gt;"</font>,
- <font color="#FF0000">"&lt;link rel='stylesheet' type='text/css' href='/static/style.css'&gt;"</font>,
- <font color="#FF0000">"&lt;body&gt;&lt;p&gt;Welcome to Erlang!&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;"</font>], <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>To override the method, scheme, host, port or query string, simply pass in a fourth argument. The following snippet uses a different host name:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:push</font></b>(<font color="#FF0000">"/static/style.css"</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/css"</font><font color="#990000">&gt;&gt;</font>
-}, #{<font color="#0000FF">host</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"cdn.example.org"</font><font color="#990000">&gt;&gt;</font>}, <font color="#009900">Req</font>),</tt></pre>
-</div></div>
-<p>Pushed resources don&apos;t have to be files. As long as the push request is cacheable, safe and does not include a body, the resource can be pushed.</p>
-<p>Under the hood, Cowboy handles pushed requests the same as normal requests: a different process is created which will ultimately send a response to the client.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/req_body/">
- Reading the request body
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/cookies/">
- Using cookies
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/rest_cond.png b/docs/en/cowboy/2.1/guide/rest_cond.png
deleted file mode 100644
index 64cda347..00000000
--- a/docs/en/cowboy/2.1/guide/rest_cond.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/2.1/guide/rest_cond.svg b/docs/en/cowboy/2.1/guide/rest_cond.svg
deleted file mode 100644
index 542ae17d..00000000
--- a/docs/en/cowboy/2.1/guide/rest_cond.svg
+++ /dev/null
@@ -1,1656 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_cond.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="2.0000001"
- inkscape:cx="351.17815"
- inkscape:cy="292.20555"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(303.92143,-296.03137)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-212.00698)"
- id="g5650-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-129.04326)"
- id="g5650-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-44.866334)"
- id="g5650-94"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-71"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,38.329623)"
- id="g5650-93"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,122.59665)"
- id="g5650-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,206.62103)"
- id="g5650-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,248.85545)"
- id="g5650-2-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,72.326854,331.8341)"
- id="g5650-2-04"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9"
- d="m -57.78256,274.83062 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="204.49196"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="288.06644"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="371.6409"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="455.21542"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,-1,1,0,72.019862,498.61197)"
- id="g5650-2-04-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9-6"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="538.78992"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(303.92156,289.38374)"
- id="g5650-6-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-273.77202,830.73267)"
- id="g5650-2-0-4-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.00956,743.77999)"
- id="g5650-2-0-4-9-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 100.30195,432.97597 c 0,0 -104.1879007,-96.82159 -227.75958,-12.49311"
- id="path20172-9-6-0"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,146.48523,357.79168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-5-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41"
- width="210.17955"
- height="35.209244"
- x="140.98338"
- y="622.36444"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="120.91741"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(417.86479,-176.50006)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.18575"
- y="311.63589"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="246.18575"
- y="311.63589">has if-unmodified-since?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.60762"
- y="478.78488"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="245.60762"
- y="478.78488">has if-none-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.15059"
- y="55.939754"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="246.15059"
- y="55.939754"
- id="tspan17171">...</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.11153"
- y="560.125"
- id="text5371-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="246.11153"
- y="560.125">generate_etag</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.64278"
- y="645.9339"
- id="text5371-2-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2"
- x="246.64278"
- y="645.9339">has if-modified-since?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.13106"
- y="144.48688"
- id="text5371-2-95"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="246.13106"
- y="144.48688">has if-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.80684"
- y="225.82706"
- id="text5371-2-32"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="245.80684"
- y="225.82706">generate_etag</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.05293"
- y="393.43692"
- id="text5371-2-74"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18"
- x="246.05293"
- y="393.43692">last_modified</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="185.95248"
- id="text5371-2-391"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="262.26562"
- y="185.95248">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="269.61978"
- id="text5371-2-954"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-808"
- x="262.26562"
- y="269.61978">match*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="353.28702"
- id="text5371-2-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-11"
- x="262.26562"
- y="353.28702">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="436.95425"
- id="text5371-2-92"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-4"
- x="262.26562"
- y="436.95425">not modified*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="520.62152"
- id="text5371-2-739"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0"
- x="262.26562"
- y="520.62152">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="261.24219"
- y="604.14661"
- id="text5371-2-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="261.24219"
- y="604.14661">no match*</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.515488"
- y="227.88033"
- id="text5371-4-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="66.515488"
- y="227.88033">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.097519"
- y="385.50708"
- id="text5371-4-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-01"
- x="66.097519"
- y="385.50708">false, or</tspan><tspan
- sodipodi:role="line"
- x="66.097519"
- y="405.50708"
- id="tspan21678">invalid</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="413.26172"
- y="414.19577"
- id="text5371-4-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62"
- x="413.26172"
- y="414.19577">modified*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.515488"
- y="563.13391"
- id="text5371-4-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2"
- x="66.515488"
- y="563.13391">false</tspan></text>
- <g
- transform="matrix(-1,0,0,-1,541.38289,824.55574)"
- id="g5650-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="489.90482"
- y="372.18814"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="599.20062"
- y="394.09869"
- id="text5371-43"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="599.20062"
- y="394.09869">412 precondition failed</tspan></text>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,416.17722)"
- id="g5650-2-0-4-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,583.49898)"
- id="g5650-2-0-4-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-0"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0.70472302,-0.70948254,0.70948254,0.70472302,241.97558,40.02582)"
- id="g5650-2-1-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-2-8"
- d="m -64.113139,212.68162 6.332851,190.92097"
- style="opacity:0.80000000000000004;fill:none;stroke:#9b3b1c;stroke-width:1.99999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-9-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="511.01306"
- y="-49.514503"
- id="text5371-4-5-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"
- transform="matrix(0.72036037,0.69359998,-0.69359998,0.72036037,0,0)"><tspan
- sodipodi:role="line"
- id="tspan5373-9-09-1"
- x="511.01306"
- y="-49.514503">no match*</tspan></text>
- <g
- transform="translate(303.92156,371.88426)"
- id="g5650-6-2-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4-2"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41-0"
- width="210.17955"
- height="35.209244"
- x="140.98338"
- y="705.93896"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.11142"
- y="729.50842"
- id="text5371-2-7-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1"
- x="246.11142"
- y="729.50842">date is in the future?</tspan></text>
- <g
- transform="translate(303.92156,455.39272)"
- id="g5650-6-2-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4-6"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,72.385532,749.33549)"
- id="g5650-2-04-1-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9-6-9"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0-7-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2-6"
- width="210.17955"
- height="35.209244"
- x="140.98338"
- y="789.51343"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.04581"
- y="811.30945"
- id="text5371-2-7-9-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1-1"
- x="246.04581"
- y="811.30945">last_modified</tspan></text>
- <g
- id="g5650-39"
- transform="translate(656.94774,376.09516)">
- <path
- inkscape:connector-curvature="0"
- id="path5570-0"
- d="m -57.78256,195.3221 0,204.64594"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,159.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-124"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-7"
- width="218.52127"
- height="34.993004"
- x="489.90482"
- y="957.01166"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="599.28265"
- y="980.47302"
- id="text5371-43-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-6"
- x="599.28265"
- y="980.47302">304 not modified</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2-6-4"
- width="210.17955"
- height="35.209244"
- x="140.98338"
- y="873.08795"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.08487"
- y="891.68475"
- id="text5371-2-7-9-0-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1-1-0"
- x="246.08487"
- y="891.68475">...</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="66.097519"
- y="720.76068"
- id="text5371-4-2-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-01-9"
- x="66.097519"
- y="720.76068">false, or</tspan><tspan
- sodipodi:role="line"
- x="66.097519"
- y="740.76068"
- id="tspan21678-9">invalid</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="412.95471"
- y="580.78271"
- id="text5371-4-3-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9"
- x="412.95471"
- y="580.78271">match*</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3.05435514;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41-0-7"
- width="218.20164"
- height="35.154888"
- x="490.06448"
- y="538.81708"
- rx="15.572517"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="599.00122"
- y="562.35938"
- id="text5371-2-7-9-04"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1-6"
- x="599.00122"
- y="562.35938">method is GET/HEAD?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="621.08008"
- y="607.0827"
- id="text5371-2-739-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0-0"
- x="621.08008"
- y="607.0827">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="640.17383"
- y="518.34009"
- id="text5371-4-4-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6"
- x="640.17383"
- y="518.34009">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="157.927"
- y="770.83472"
- id="text5371-4-4-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-4"
- x="157.927"
- y="770.83472">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.32812"
- y="771.29565"
- id="text5371-2-739-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0-1"
- x="262.32812"
- y="771.29565">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="687.26025"
- id="text5371-2-739-56"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0-8"
- x="262.26562"
- y="687.26025">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="261.24219"
- y="854.87012"
- id="text5371-2-739-5-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0-1-3"
- x="261.24219"
- y="854.87012">modified*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="417.07037"
- y="834.64905"
- id="text5371-4-3-9-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9-4"
- x="417.07037"
- y="834.64905">not modified*</tspan></text>
- <g
- transform="translate(656.94774,455.40497)"
- id="g5650-6-2-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4-1"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-5"
- width="210.17955"
- height="35.209244"
- x="490.03729"
- y="789.51343"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="595.41223"
- y="810.84851"
- id="text5371-2-32-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8"
- x="595.41223"
- y="810.84851">generate_etag</tspan></text>
- <g
- transform="translate(656.94774,539.41312)"
- id="g5650-6-2-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-5-0"
- width="210.17955"
- height="35.209244"
- x="490.03729"
- y="873.08795"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="595.41223"
- y="894.42303"
- id="text5371-2-32-1-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8-6"
- x="595.41223"
- y="894.42303">expires</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/2.1/guide/rest_conneg.png b/docs/en/cowboy/2.1/guide/rest_conneg.png
deleted file mode 100644
index 65ecdcf3..00000000
--- a/docs/en/cowboy/2.1/guide/rest_conneg.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/2.1/guide/rest_conneg.svg b/docs/en/cowboy/2.1/guide/rest_conneg.svg
deleted file mode 100644
index 247567a0..00000000
--- a/docs/en/cowboy/2.1/guide/rest_conneg.svg
+++ /dev/null
@@ -1,1135 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_conneg.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4142136"
- inkscape:cx="222.80947"
- inkscape:cy="634.56615"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(303.92143,-296.03137)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-212.00698)"
- id="g5650-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-129.04326)"
- id="g5650-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,-44.866334)"
- id="g5650-94"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-71"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,38.329623)"
- id="g5650-93"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,122.59665)"
- id="g5650-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(303.92143,206.62103)"
- id="g5650-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,248.85545)"
- id="g5650-2-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,72.326854,331.8341)"
- id="g5650-2-04"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="204.67757"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="288.40311"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="372.01199"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="455.67929"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="539.34656"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(303.92156,289.38374)"
- id="g5650-6-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-4"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="623.01385"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="141.04909"
- y="121.0042"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(417.86479,-176.50006)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.18575"
- y="310.19913"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="246.18575"
- y="310.19913">has accept-language?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.60762"
- y="477.47531"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="245.60762"
- y="477.47531">has accept-charset?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.00391"
- y="60.912468"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="245.00391"
- y="60.912468"
- id="tspan17171">start</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.11153"
- y="561.14258"
- id="text5371-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="246.11153"
- y="561.14258">charsets_provided</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.64278"
- y="646.58331"
- id="text5371-2-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2"
- x="246.64278"
- y="646.58331">variances</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.13106"
- y="142.80627"
- id="text5371-2-95"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="246.13106"
- y="142.80627">has accept?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="245.80684"
- y="226.4736"
- id="text5371-2-32"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="245.80684"
- y="226.4736">content_types_provided</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.05293"
- y="393.80801"
- id="text5371-2-74"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18"
- x="246.05293"
- y="393.80801">languages_provided</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="185.95248"
- id="text5371-2-391"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="262.26562"
- y="185.95248">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="269.61978"
- id="text5371-2-954"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-808"
- x="262.26562"
- y="269.61978">provided*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="353.28702"
- id="text5371-2-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-11"
- x="262.26562"
- y="353.28702">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="436.95425"
- id="text5371-2-92"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-4"
- x="262.26562"
- y="436.95425">provided*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="520.62152"
- id="text5371-2-739"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0"
- x="262.26562"
- y="520.62152">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="262.26562"
- y="604.28876"
- id="text5371-2-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="262.26562"
- y="604.28876">provided*</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="76.761719"
- y="227.88033"
- id="text5371-4-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="76.761719"
- y="227.88033">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="76.761719"
- y="395.20209"
- id="text5371-4-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-01"
- x="76.761719"
- y="395.20209">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="413.26172"
- y="374.19577"
- id="text5371-4-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62"
- x="413.26172"
- y="374.19577">not provided*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="76.761719"
- y="562.52386"
- id="text5371-4-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2"
- x="76.761719"
- y="562.52386">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-8.8034744"
- y="663.24762"
- id="text5371-4-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"
- transform="matrix(0.7410941,-0.67140117,0.67140117,0.7410941,0,0)"><tspan
- sodipodi:role="line"
- id="tspan5373-9-09"
- x="-8.8034744"
- y="663.24762">not provided*</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="489.90482"
- y="372.18814"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(-0.65781496,-0.75317958,0.75317958,-0.65781496,150.24236,637.46542)"
- id="g5650-2-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-2"
- d="m -59.488319,210.57681 1.65844,193.00059"
- style="opacity:0.80000000000000004;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="599.20062"
- y="394.09869"
- id="text5371-43"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="599.20062"
- y="394.09869">406 not acceptable</tspan></text>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,416.17722)"
- id="g5650-2-0-4-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-276.88574,583.49898)"
- id="g5650-2-0-4-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-0"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0.70472302,-0.70948254,0.70948254,0.70472302,241.97558,40.02582)"
- id="g5650-2-1-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-2-8"
- d="m -64.113139,212.68162 6.332851,190.92097"
- style="opacity:0.80000000000000004;fill:none;stroke:#9b3b1c;stroke-width:1.99999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-9-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="509.41452"
- y="-106.16136"
- id="text5371-4-5-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"
- transform="matrix(0.69480867,0.71919462,-0.71919462,0.69480867,0,0)"><tspan
- sodipodi:role="line"
- id="tspan5373-9-09-1"
- x="509.41452"
- y="-106.16136">not provided*</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41-0"
- width="210.17955"
- height="35.209244"
- x="141.049"
- y="706.68097"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="246.15048"
- y="725.27777"
- id="text5371-2-7-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2-1"
- x="246.15048"
- y="725.27777">...</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/2.1/guide/rest_delete.png b/docs/en/cowboy/2.1/guide/rest_delete.png
deleted file mode 100644
index 56a861c0..00000000
--- a/docs/en/cowboy/2.1/guide/rest_delete.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/2.1/guide/rest_delete.svg b/docs/en/cowboy/2.1/guide/rest_delete.svg
deleted file mode 100644
index 2f5513cd..00000000
--- a/docs/en/cowboy/2.1/guide/rest_delete.svg
+++ /dev/null
@@ -1,1718 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_delete.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4142136"
- inkscape:cx="187.51922"
- inkscape:cy="446.38557"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(416.63925,-305.0045)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,270.15614)"
- id="g5650-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,435.68973)"
- id="g5650-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,-141.93971)"
- id="g5650-0-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,-59.713866)"
- id="g5650-0-6-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3-8"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-307.35528,398.54403)"
- id="g5650-2-0-4-8-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5-6-2"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="275.4668"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(270.88515,105.33602)"
- id="g5650-2-2-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-3"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-310.05718,566.15049)"
- id="g5650-2-0-4-3-8-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-7"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="440.50873"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,-1,1,0,-308.28941,729.66893)"
- id="g5650-2-0-4-8-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="605.5506"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,-1,1,0,-313.39862,891.55835)"
- id="g5650-2-0-4-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="770.83313"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,261.76354,-143.71473)"
- id="g5650-2-2-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-4"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="253.76691"
- y="112.69559"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(530.58261,-183.7816)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.38774"
- y="462.30475"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="213.38774"
- y="462.30475">delete_completed</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="212.93852"
- y="627.56927"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="212.93852"
- y="627.56927">has response body?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="359.14185"
- y="50.482433"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="359.14185"
- y="50.482433"
- id="tspan17171">conneg</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="212.77055"
- y="792.62915"
- id="text5371-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="212.77055"
- y="792.62915">multiple_choices</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="358.52466"
- y="134.49161"
- id="text5371-2-95"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="358.52466"
- y="134.49161">resource_exists</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.08696"
- y="297.26282"
- id="text5371-2-32"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="213.08696"
- y="297.26282">delete_resource</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="251.83722"
- y="175.92931"
- id="text5371-2-391"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="251.83722"
- y="175.92931">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="159.54012"
- y="835.54285"
- id="text5371-2-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="159.54012"
- y="835.54285">false</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="447.26678"
- y="176.39024"
- id="text5371-4-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="447.26678"
- y="176.39024">false</tspan></text>
- <g
- transform="translate(563.72619,-141.76777)"
- id="g5650-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="47.338913"
- y="876.22211"
- id="text5371-4-3-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9"
- x="47.338913"
- y="876.22211">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="545.12921"
- y="257.43518"
- id="text5371-4-4-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6"
- x="545.12921"
- y="257.43518">true</tspan></text>
- <g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,547.47379,-62.310424)"
- id="g5650-9-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355-0"
- transform="translate(384.82851,-20.897068)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="213.38774"
- y="216.5154"
- id="text5371-4-0-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="213.38774"
- y="216.5154"
- id="tspan17171-6">cond</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-1"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="935.6217"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="208.84938"
- y="957.53229"
- id="text5371-43-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-62"
- x="208.84938"
- y="957.53229">300 multiple choices</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="853.22168"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="208.31422"
- y="876.54242"
- id="text5371-43-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1"
- x="208.31422"
- y="876.54242">200 OK</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,1028.2004,317.70407)"
- id="g5650-2-0-4-3-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-4"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="192.94594"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.77957"
- y="216.51541"
- id="text5371-2-32-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8"
- x="505.77957"
- y="216.51541">has if-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="299.27689"
- id="text5371-2-391-5"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7"
- x="651.74426"
- y="299.27689">false</tspan></text>
- <g
- transform="translate(563.72619,22.800669)"
- id="g5650-0-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1027.6701,482.30508)"
- id="g5650-2-0-4-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-7"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="357.98779"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.94363"
- y="379.78381"
- id="text5371-2-32-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-1"
- x="505.94363"
- y="379.78381">previously_existed</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="440.37622"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="506.2796"
- y="463.83755"
- id="text5371-43-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9"
- x="506.2796"
- y="463.83755">404 not found</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="528.75421"
- y="422.69736"
- id="text5371-2-8-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4"
- x="528.75421"
- y="422.69736">false</tspan></text>
- <g
- transform="translate(563.72619,187.85116)"
- id="g5650-2-2-17">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-0"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-45"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1027.4933,646.81763)"
- id="g5650-2-0-4-3-8-0-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="523.02966"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.45535"
- y="544.82568"
- id="text5371-2-74-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2"
- x="505.45535"
- y="544.82568">moved_permanently</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,347.00351,567.35686)"
- id="g5650-2-0-4-3-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-3"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="275.81555"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="506.2796"
- y="297.7261"
- id="text5371-43"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="506.2796"
- y="297.7261">412 precondition failed</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="668.11926"
- y="463.37662"
- id="text5371-4-3-9-8"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9-9"
- x="668.11926"
- y="463.37662">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="549.12921"
- y="587.59863"
- id="text5371-4-4-9-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2"
- x="549.12921"
- y="587.59863">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="628.87946"
- id="text5371-2-391-5-5-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9"
- x="651.74426"
- y="628.87946">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="605.41809"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.57257"
- y="627.32867"
- id="text5371-43-2-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7"
- x="505.57257"
- y="627.32867">301 moved permanently</tspan></text>
- <g
- transform="translate(563.72619,353.12604)"
- id="g5650-2-2-65">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-5"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1032.2004,811.50699)"
- id="g5650-2-0-4-3-8-0-3-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8-1"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="687.83093"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.45535"
- y="709.62695"
- id="text5371-2-74-0-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8"
- x="505.45535"
- y="709.62695">moved_temporarily</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="549.12921"
- y="752.64056"
- id="text5371-4-4-9-3-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-6"
- x="549.12921"
- y="752.64056">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="651.74426"
- y="794.16199"
- id="text5371-2-391-5-5-1-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-2"
- x="651.74426"
- y="794.16199">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="770.70062"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.57257"
- y="792.61121"
- id="text5371-43-2-9-7"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8"
- x="505.57257"
- y="792.61121">307 moved temporarily</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-4"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="853.22168"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="505.97882"
- y="874.99164"
- id="text5371-43-2-9-7-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-7"
- x="505.97882"
- y="874.99164">410 gone</tspan></text>
- <g
- transform="translate(31.619614,4.2328831)"
- id="g5650-2-2-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="178.57137"
- y="505.21829"
- id="text5371-4-6-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0-9"
- x="178.57137"
- y="505.21829">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="522.89716"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="209.20485"
- y="544.80774"
- id="text5371-43-3-1"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-5"
- x="209.20485"
- y="544.80774">202 accepted</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-5"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="687.69843"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="208.6736"
- y="711.01917"
- id="text5371-43-3-9"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-8"
- x="208.6736"
- y="711.01917">204 no content</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="47.338913"
- y="711.15979"
- id="text5371-4-6-0-4"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0-9-4"
- x="47.338913"
- y="711.15979">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="30.901413"
- y="545.89758"
- id="text5371-2-391-6"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-9"
- x="30.901413"
- y="545.89758">true</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7-1"
- width="218.52127"
- height="34.993004"
- x="99.803589"
- y="357.85529"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="208.45485"
- y="381.31662"
- id="text5371-43-3-1-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-5-9"
- x="208.45485"
- y="381.31662">500 internal server error</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="159.54012"
- y="340.17645"
- id="text5371-2-8-9-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-4"
- x="159.54012"
- y="340.17645">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="47.338913"
- y="380.85568"
- id="text5371-4-4-9-2"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-1"
- x="47.338913"
- y="380.85568">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="159.54012"
- y="670.13989"
- id="text5371-2-391-6-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-9-1"
- x="159.54012"
- y="670.13989">false</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/2.1/guide/rest_flowcharts.asciidoc b/docs/en/cowboy/2.1/guide/rest_flowcharts.asciidoc
deleted file mode 100644
index b5697825..00000000
--- a/docs/en/cowboy/2.1/guide/rest_flowcharts.asciidoc
+++ /dev/null
@@ -1,248 +0,0 @@
-[[rest_flowcharts]]
-== REST flowcharts
-
-This chapter will explain the REST handler state machine through
-a number of different diagrams.
-
-There are four main paths that requests may follow. One for the
-method OPTIONS; one for the methods GET and HEAD; one for the
-methods PUT, POST and PATCH; and one for the method DELETE.
-
-All paths start with the "Start" diagram, and all paths excluding
-the OPTIONS path go through the "Content negotiation" diagram
-and optionally the "Conditional requests" diagram if the resource
-exists.
-
-The red squares refer to another diagram. The light green squares
-indicate a response. Other squares may be either a callback or a
-question answered by Cowboy itself. Green arrows tend to indicate
-the default behavior if the callback is undefined.
-
-=== Start
-
-All requests start from here.
-
-image::rest_start.png[REST starting flowchart]
-
-A series of callbacks are called in succession to perform
-a general checkup of the service, the request line and
-request headers.
-
-The request body, if any, is not expected to have been
-received for any of these steps. It is only processed
-at the end of the "PUT, POST and PATCH methods" diagram,
-when all conditions have been met.
-
-The `known_methods` and `allowed_methods` callbacks
-return a list of methods. Cowboy then checks if the request
-method is in the list, and stops otherwise.
-
-The `is_authorized` callback may be used to check that
-access to the resource is authorized. Authentication
-may also be performed as needed. When authorization is
-denied, the return value from the callback must include
-a challenge applicable to the requested resource, which
-will be sent back to the client in the www-authenticate
-header.
-
-This diagram is immediately followed by either the
-"OPTIONS method" diagram when the request method is
-OPTIONS, or the "Content negotiation" diagram otherwise.
-
-=== OPTIONS method
-
-This diagram only applies to OPTIONS requests.
-
-image::rest_options.png[REST OPTIONS method flowchart]
-
-The `options` callback may be used to add information
-about the resource, such as media types or languages
-provided; allowed methods; any extra information. A
-response body may also be set, although clients should
-not be expected to read it.
-
-If the `options` callback is not defined, Cowboy will
-send a response containing the list of allowed methods
-by default.
-
-=== Content negotiation
-
-This diagram applies to all request methods other than
-OPTIONS. It is executed right after the "Start" diagram
-is completed.
-
-image::rest_conneg.png[REST content negotiation flowchart]
-
-The purpose of these steps is to determine an appropriate
-representation to be sent back to the client.
-
-The request may contain any of the accept header; the
-accept-language header; or the accept-charset header.
-When present, Cowboy will parse the headers and then
-call the corresponding callback to obtain the list
-of provided content-type, language or charset for this
-resource. It then automatically select the best match
-based on the request.
-
-If a callback is not defined, Cowboy will select the
-content-type, language or charset that the client
-prefers.
-
-The `content_types_provided` also returns the name of
-a callback for every content-type it accepts. This
-callback will only be called at the end of the
-"GET and HEAD methods" diagram, when all conditions
-have been met.
-
-The selected content-type, language and charset are
-saved as meta values in the Req object. You *should*
-use the appropriate representation if you set a
-response body manually (alongside an error code,
-for example).
-
-This diagram is immediately followed by
-the "GET and HEAD methods" diagram,
-the "PUT, POST and PATCH methods" diagram,
-or the "DELETE method" diagram, depending on the
-method.
-
-=== GET and HEAD methods
-
-This diagram only applies to GET and HEAD requests.
-
-For a description of the `cond` step, please see
-the "Conditional requests" diagram.
-
-image::rest_get_head.png[REST GET/HEAD methods flowchart]
-
-When the resource exists, and the conditional steps
-succeed, the resource can be retrieved.
-
-Cowboy prepares the response by first retrieving
-metadata about the representation, then by calling
-the `ProvideResource` callback. This is the callback
-you defined for each content-types you returned from
-`content_types_provided`. This callback returns the body
-that will be sent back to the client, or a fun if the
-body must be streamed.
-
-When the resource does not exist, Cowboy will figure out
-whether the resource existed previously, and if so whether
-it was moved elsewhere in order to redirect the client to
-the new URI.
-
-The `moved_permanently` and `moved_temporarily` callbacks
-must return the new location of the resource if it was in
-fact moved.
-
-=== PUT, POST and PATCH methods
-
-This diagram only applies to PUT, POST and PATCH requests.
-
-For a description of the `cond` step, please see
-the "Conditional requests" diagram.
-
-image::rest_put_post_patch.png[REST PUT/POST/PATCH methods flowchart]
-
-When the resource exists, first the conditional steps
-are executed. When that succeeds, and the method is PUT,
-Cowboy will call the `is_conflict` callback. This function
-can be used to prevent potential race conditions, by locking
-the resource for example.
-
-Then all three methods reach the `content_types_accepted`
-step that we will describe in a few paragraphs.
-
-When the resource does not exist, and the method is PUT,
-Cowboy will check for conflicts and then move on to the
-`content_types_accepted` step. For other methods, Cowboy
-will figure out whether the resource existed previously,
-and if so whether it was moved elsewhere. If the resource
-is truly non-existent, the method is POST and the call
-for `allow_missing_post` returns `true`, then Cowboy will
-move on to the `content_types_accepted` step. Otherwise
-the request processing ends there.
-
-The `moved_permanently` and `moved_temporarily` callbacks
-must return the new location of the resource if it was in
-fact moved.
-
-The `content_types_accepted` returns a list of
-content-types it accepts, but also the name of a callback
-for each of them. Cowboy will select the appropriate
-callback for processing the request body and call it.
-
-This callback may return one of three different return
-values.
-
-If an error occurred while processing the request body,
-it must return `false` and Cowboy will send an
-appropriate error response.
-
-If the method is POST, then you may return `true` with
-an URI of where the resource has been created. This is
-especially useful for writing handlers for collections.
-
-Otherwise, return `true` to indicate success. Cowboy
-will select the appropriate response to be sent depending
-on whether a resource has been created, rather than
-modified, and on the availability of a location header
-or a body in the response.
-
-=== DELETE method
-
-This diagram only applies to DELETE requests.
-
-For a description of the `cond` step, please see
-the "Conditional requests" diagram.
-
-image::rest_delete.png[REST DELETE method flowchart]
-
-When the resource exists, and the conditional steps
-succeed, the resource can be deleted.
-
-Deleting the resource is a two steps process. First
-the callback `delete_resource` is executed. Use this
-callback to delete the resource.
-
-Because the resource may be cached, you must also
-delete all cached representations of this resource
-in the system. This operation may take a while though,
-so you may return before it finished.
-
-Cowboy will then call the `delete_completed` callback.
-If you know that the resource has been completely
-deleted from your system, including from caches, then
-you can return `true`. If any doubts persist, return
-`false`. Cowboy will assume `true` by default.
-
-To finish, Cowboy checks if you set a response body,
-and depending on that, sends the appropriate response.
-
-When the resource does not exist, Cowboy will figure out
-whether the resource existed previously, and if so whether
-it was moved elsewhere in order to redirect the client to
-the new URI.
-
-The `moved_permanently` and `moved_temporarily` callbacks
-must return the new location of the resource if it was in
-fact moved.
-
-=== Conditional requests
-
-This diagram applies to all request methods other than
-OPTIONS. It is executed right after the `resource_exists`
-callback, when the resource exists.
-
-image::rest_cond.png[REST conditional requests flowchart]
-
-A request becomes conditional when it includes either of
-the if-match header; the if-unmodified-since header; the
-if-none-match header; or the if-modified-since header.
-
-If the condition fails, the request ends immediately
-without any retrieval or modification of the resource.
-
-The `generate_etag` and `last_modified` are called as
-needed. Cowboy will only call them once and then cache
-the results for subsequent use.
diff --git a/docs/en/cowboy/2.1/guide/rest_flowcharts/index.html b/docs/en/cowboy/2.1/guide/rest_flowcharts/index.html
deleted file mode 100644
index 696de6e0..00000000
--- a/docs/en/cowboy/2.1/guide/rest_flowcharts/index.html
+++ /dev/null
@@ -1,242 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: REST flowcharts</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>REST flowcharts</span></h1>
-
-<p>This chapter will explain the REST handler state machine through a number of different diagrams.</p>
-<p>There are four main paths that requests may follow. One for the method OPTIONS; one for the methods GET and HEAD; one for the methods PUT, POST and PATCH; and one for the method DELETE.</p>
-<p>All paths start with the &quot;Start&quot; diagram, and all paths excluding the OPTIONS path go through the &quot;Content negotiation&quot; diagram and optionally the &quot;Conditional requests&quot; diagram if the resource exists.</p>
-<p>The red squares refer to another diagram. The light green squares indicate a response. Other squares may be either a callback or a question answered by Cowboy itself. Green arrows tend to indicate the default behavior if the callback is undefined.</p>
-<h2 id="_start">Start</h2>
-<p>All requests start from here.</p>
-<img src="../rest_start.png" alt="REST starting flowchart"/><p>A series of callbacks are called in succession to perform a general checkup of the service, the request line and request headers.</p>
-<p>The request body, if any, is not expected to have been received for any of these steps. It is only processed at the end of the &quot;PUT, POST and PATCH methods&quot; diagram, when all conditions have been met.</p>
-<p>The <code>known_methods</code> and <code>allowed_methods</code> callbacks return a list of methods. Cowboy then checks if the request method is in the list, and stops otherwise.</p>
-<p>The <code>is_authorized</code> callback may be used to check that access to the resource is authorized. Authentication may also be performed as needed. When authorization is denied, the return value from the callback must include a challenge applicable to the requested resource, which will be sent back to the client in the www-authenticate header.</p>
-<p>This diagram is immediately followed by either the &quot;OPTIONS method&quot; diagram when the request method is OPTIONS, or the &quot;Content negotiation&quot; diagram otherwise.</p>
-<h2 id="_options_method">OPTIONS method</h2>
-<p>This diagram only applies to OPTIONS requests.</p>
-<img src="../rest_options.png" alt="REST OPTIONS method flowchart"/><p>The <code>options</code> callback may be used to add information about the resource, such as media types or languages provided; allowed methods; any extra information. A response body may also be set, although clients should not be expected to read it.</p>
-<p>If the <code>options</code> callback is not defined, Cowboy will send a response containing the list of allowed methods by default.</p>
-<h2 id="_content_negotiation">Content negotiation</h2>
-<p>This diagram applies to all request methods other than OPTIONS. It is executed right after the &quot;Start&quot; diagram is completed.</p>
-<img src="../rest_conneg.png" alt="REST content negotiation flowchart"/><p>The purpose of these steps is to determine an appropriate representation to be sent back to the client.</p>
-<p>The request may contain any of the accept header; the accept-language header; or the accept-charset header. When present, Cowboy will parse the headers and then call the corresponding callback to obtain the list of provided content-type, language or charset for this resource. It then automatically select the best match based on the request.</p>
-<p>If a callback is not defined, Cowboy will select the content-type, language or charset that the client prefers.</p>
-<p>The <code>content_types_provided</code> also returns the name of a callback for every content-type it accepts. This callback will only be called at the end of the &quot;GET and HEAD methods&quot; diagram, when all conditions have been met.</p>
-<p>The selected content-type, language and charset are saved as meta values in the Req object. You <strong>should</strong> use the appropriate representation if you set a response body manually (alongside an error code, for example).</p>
-<p>This diagram is immediately followed by the &quot;GET and HEAD methods&quot; diagram, the &quot;PUT, POST and PATCH methods&quot; diagram, or the &quot;DELETE method&quot; diagram, depending on the method.</p>
-<h2 id="_get_and_head_methods">GET and HEAD methods</h2>
-<p>This diagram only applies to GET and HEAD requests.</p>
-<p>For a description of the <code>cond</code> step, please see the &quot;Conditional requests&quot; diagram.</p>
-<img src="../rest_get_head.png" alt="REST GET/HEAD methods flowchart"/><p>When the resource exists, and the conditional steps succeed, the resource can be retrieved.</p>
-<p>Cowboy prepares the response by first retrieving metadata about the representation, then by calling the <code>ProvideResource</code> callback. This is the callback you defined for each content-types you returned from <code>content_types_provided</code>. This callback returns the body that will be sent back to the client, or a fun if the body must be streamed.</p>
-<p>When the resource does not exist, Cowboy will figure out whether the resource existed previously, and if so whether it was moved elsewhere in order to redirect the client to the new URI.</p>
-<p>The <code>moved_permanently</code> and <code>moved_temporarily</code> callbacks must return the new location of the resource if it was in fact moved.</p>
-<h2 id="_put__post_and_patch_methods">PUT, POST and PATCH methods</h2>
-<p>This diagram only applies to PUT, POST and PATCH requests.</p>
-<p>For a description of the <code>cond</code> step, please see the &quot;Conditional requests&quot; diagram.</p>
-<img src="../rest_put_post_patch.png" alt="REST PUT/POST/PATCH methods flowchart"/><p>When the resource exists, first the conditional steps are executed. When that succeeds, and the method is PUT, Cowboy will call the <code>is_conflict</code> callback. This function can be used to prevent potential race conditions, by locking the resource for example.</p>
-<p>Then all three methods reach the <code>content_types_accepted</code> step that we will describe in a few paragraphs.</p>
-<p>When the resource does not exist, and the method is PUT, Cowboy will check for conflicts and then move on to the <code>content_types_accepted</code> step. For other methods, Cowboy will figure out whether the resource existed previously, and if so whether it was moved elsewhere. If the resource is truly non-existent, the method is POST and the call for <code>allow_missing_post</code> returns <code>true</code>, then Cowboy will move on to the <code>content_types_accepted</code> step. Otherwise the request processing ends there.</p>
-<p>The <code>moved_permanently</code> and <code>moved_temporarily</code> callbacks must return the new location of the resource if it was in fact moved.</p>
-<p>The <code>content_types_accepted</code> returns a list of content-types it accepts, but also the name of a callback for each of them. Cowboy will select the appropriate callback for processing the request body and call it.</p>
-<p>This callback may return one of three different return values.</p>
-<p>If an error occurred while processing the request body, it must return <code>false</code> and Cowboy will send an appropriate error response.</p>
-<p>If the method is POST, then you may return <code>true</code> with an URI of where the resource has been created. This is especially useful for writing handlers for collections.</p>
-<p>Otherwise, return <code>true</code> to indicate success. Cowboy will select the appropriate response to be sent depending on whether a resource has been created, rather than modified, and on the availability of a location header or a body in the response.</p>
-<h2 id="_delete_method">DELETE method</h2>
-<p>This diagram only applies to DELETE requests.</p>
-<p>For a description of the <code>cond</code> step, please see the &quot;Conditional requests&quot; diagram.</p>
-<img src="../rest_delete.png" alt="REST DELETE method flowchart"/><p>When the resource exists, and the conditional steps succeed, the resource can be deleted.</p>
-<p>Deleting the resource is a two steps process. First the callback <code>delete_resource</code> is executed. Use this callback to delete the resource.</p>
-<p>Because the resource may be cached, you must also delete all cached representations of this resource in the system. This operation may take a while though, so you may return before it finished.</p>
-<p>Cowboy will then call the <code>delete_completed</code> callback. If you know that the resource has been completely deleted from your system, including from caches, then you can return <code>true</code>. If any doubts persist, return <code>false</code>. Cowboy will assume <code>true</code> by default.</p>
-<p>To finish, Cowboy checks if you set a response body, and depending on that, sends the appropriate response.</p>
-<p>When the resource does not exist, Cowboy will figure out whether the resource existed previously, and if so whether it was moved elsewhere in order to redirect the client to the new URI.</p>
-<p>The <code>moved_permanently</code> and <code>moved_temporarily</code> callbacks must return the new location of the resource if it was in fact moved.</p>
-<h2 id="_conditional_requests">Conditional requests</h2>
-<p>This diagram applies to all request methods other than OPTIONS. It is executed right after the <code>resource_exists</code> callback, when the resource exists.</p>
-<img src="../rest_cond.png" alt="REST conditional requests flowchart"/><p>A request becomes conditional when it includes either of the if-match header; the if-unmodified-since header; the if-none-match header; or the if-modified-since header.</p>
-<p>If the condition fails, the request ends immediately without any retrieval or modification of the resource.</p>
-<p>The <code>generate_etag</code> and <code>last_modified</code> are called as needed. Cowboy will only call them once and then cache the results for subsequent use.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_handlers/">
- REST handlers
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/resource_design/">
- Designing a resource handler
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/rest_get_head.png b/docs/en/cowboy/2.1/guide/rest_get_head.png
deleted file mode 100644
index 211ab603..00000000
--- a/docs/en/cowboy/2.1/guide/rest_get_head.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/2.1/guide/rest_get_head.svg b/docs/en/cowboy/2.1/guide/rest_get_head.svg
deleted file mode 100644
index 92030cf3..00000000
--- a/docs/en/cowboy/2.1/guide/rest_get_head.svg
+++ /dev/null
@@ -1,1523 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.92.1 r"
- sodipodi:docname="rest_get_head.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.4142136"
- inkscape:cx="353.51266"
- inkscape:cy="522.73683"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="1920"
- inkscape:window-height="1043"
- inkscape:window-x="0"
- inkscape:window-y="0"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(416.63925,-305.0045)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,-59.451492)"
- id="g5650-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,22.975441)"
- id="g5650-94"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-71"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,105.29639)"
- id="g5650-93"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,187.81342)"
- id="g5650-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,270.7128)"
- id="g5650-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(270.88515,-141.93971)"
- id="g5650-0-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="275.4668"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="357.98779"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="440.50873"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="523.02966"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,-1,1,0,-314.06239,730.23773)"
- id="g5650-2-0-4-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="108.01281"
- y="605.5506"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,261.76354,-143.71473)"
- id="g5650-2-2-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-4"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="253.76691"
- y="112.69559"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(530.58261,-183.7816)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="114.39204"
- id="text5371"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="213.07524"
- y="379.78381"
- id="text5371-2-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="213.07524"
- y="379.78381"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">last_modified</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="212.74321"
- y="546.59912"
- id="text5371-2-3-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="212.74321"
- y="546.59912"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">ProvideCallback</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="359.14185"
- y="50.482433"
- id="text5371-4-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="359.14185"
- y="50.482433"
- id="tspan17171"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">conneg</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="212.77055"
- y="627.34662"
- id="text5371-2-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="212.77055"
- y="627.34662"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">multiple_choices</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="358.52466"
- y="134.49161"
- id="text5371-2-95"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="358.52466"
- y="134.49161"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">resource_exists</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="213.38774"
- y="296.80188"
- id="text5371-2-32"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="213.38774"
- y="296.80188"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">generate_etag</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="213.05571"
- y="462.5274"
- id="text5371-2-74"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18"
- x="213.05571"
- y="462.5274"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">expires</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="251.83722"
- y="175.92931"
- id="text5371-2-391"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="251.83722"
- y="175.92931"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="161.54012"
- y="670.38055"
- id="text5371-2-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="161.54012"
- y="670.38055"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="447.26678"
- y="176.39024"
- id="text5371-4-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="447.26678"
- y="176.39024"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="translate(563.72619,-141.76777)"
- id="g5650-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- transform="rotate(-90)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="46.409981"
- y="711.18011"
- id="text5371-4-3-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9"
- x="46.409981"
- y="711.18011"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="545.12921"
- y="257.43518"
- id="text5371-4-4-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6"
- x="545.12921"
- y="257.43518"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,547.47379,-62.310424)"
- id="g5650-9-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355-0"
- transform="translate(384.82851,-20.897068)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="213.38774"
- y="216.5154"
- id="text5371-4-0-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="213.38774"
- y="216.5154"
- id="tspan17171-6"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">cond</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-1"
- width="218.52127"
- height="34.993004"
- x="103.84195"
- y="770.70062"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="212.88774"
- y="792.61121"
- id="text5371-43-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-62"
- x="212.88774"
- y="792.61121"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">300 multiple choices</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8"
- width="218.52127"
- height="34.993004"
- x="103.84195"
- y="688.17969"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="212.35258"
- y="711.50043"
- id="text5371-43-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1"
- x="212.35258"
- y="711.50043"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">200 OK</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,1028.2004,317.70407)"
- id="g5650-2-0-4-3-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-4"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="192.94594"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="505.77957"
- y="216.51541"
- id="text5371-2-32-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8"
- x="505.77957"
- y="216.51541"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">has if-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="651.74426"
- y="299.27689"
- id="text5371-2-391-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7"
- x="651.74426"
- y="299.27689"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="translate(563.72619,22.800669)"
- id="g5650-0-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1027.6701,482.30508)"
- id="g5650-2-0-4-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-7"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="357.98779"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="505.94363"
- y="379.78381"
- id="text5371-2-32-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-1"
- x="505.94363"
- y="379.78381"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">previously_existed</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="440.37622"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="506.2796"
- y="463.83755"
- id="text5371-43-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9"
- x="506.2796"
- y="463.83755"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">404 not found</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="528.75421"
- y="422.69736"
- id="text5371-2-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4"
- x="528.75421"
- y="422.69736"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="translate(563.72619,187.85116)"
- id="g5650-2-2-17">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-0"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-45"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1027.4933,646.81763)"
- id="g5650-2-0-4-3-8-0-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="523.02966"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="505.45535"
- y="544.82568"
- id="text5371-2-74-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2"
- x="505.45535"
- y="544.82568"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">moved_permanently</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,347.00351,567.35686)"
- id="g5650-2-0-4-3-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-3"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="275.81555"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="506.2796"
- y="297.7261"
- id="text5371-43"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="506.2796"
- y="297.7261"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">412 precondition failed</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="668.11926"
- y="463.37662"
- id="text5371-4-3-9-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62-9-9"
- x="668.11926"
- y="463.37662"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="549.12921"
- y="587.59863"
- id="text5371-4-4-9-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2"
- x="549.12921"
- y="587.59863"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="651.74426"
- y="628.87946"
- id="text5371-2-391-5-5-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9"
- x="651.74426"
- y="628.87946"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="605.41809"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="505.57257"
- y="627.32867"
- id="text5371-43-2-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7"
- x="505.57257"
- y="627.32867"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">301 moved permanently</tspan></text>
- <g
- transform="translate(563.72619,353.12604)"
- id="g5650-2-2-65">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-5"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,1032.2004,811.50699)"
- id="g5650-2-0-4-3-8-0-3-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8-1"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1"
- width="210.17955"
- height="35.209244"
- x="400.85385"
- y="687.83093"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="505.45535"
- y="709.62695"
- id="text5371-2-74-0-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8"
- x="505.45535"
- y="709.62695"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">moved_temporarily</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="549.12921"
- y="752.64056"
- id="text5371-4-4-9-3-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-6"
- x="549.12921"
- y="752.64056"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="651.74426"
- y="794.16199"
- id="text5371-2-391-5-5-1-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-2"
- x="651.74426"
- y="794.16199"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="770.70062"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="505.57257"
- y="792.61121"
- id="text5371-43-2-9-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8"
- x="505.57257"
- y="792.61121"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">307 moved temporarily</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-4"
- width="218.52127"
- height="34.993004"
- x="396.68301"
- y="853.22168"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="505.97882"
- y="874.99164"
- id="text5371-43-2-9-7-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-7"
- x="505.97882"
- y="874.99164"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">410 gone</tspan></text>
- <g
- transform="translate(31.619614,4.2328831)"
- id="g5650-2-2-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- </g>
-</svg>
diff --git a/docs/en/cowboy/2.1/guide/rest_handlers.asciidoc b/docs/en/cowboy/2.1/guide/rest_handlers.asciidoc
deleted file mode 100644
index dab5bead..00000000
--- a/docs/en/cowboy/2.1/guide/rest_handlers.asciidoc
+++ /dev/null
@@ -1,138 +0,0 @@
-[[rest_handlers]]
-== REST handlers
-
-REST is implemented in Cowboy as a sub protocol. The request
-is handled as a state machine with many optional callbacks
-describing the resource and modifying the machine's behavior.
-
-The REST handler is the recommended way to handle HTTP requests.
-
-=== Initialization
-
-First, the `init/2` callback is called. This callback is common
-to all handlers. To use REST for the current request, this function
-must return a `cowboy_rest` tuple.
-
-[source,erlang]
-----
-init(Req, State) ->
- {cowboy_rest, Req, State}.
-----
-
-Cowboy will then switch to the REST protocol and start executing
-the state machine.
-
-After reaching the end of the flowchart, the `terminate/3` callback
-will be called if it is defined.
-
-=== Methods
-
-The REST component has code for handling the following HTTP methods:
-HEAD, GET, POST, PATCH, PUT, DELETE and OPTIONS.
-
-Other methods can be accepted, however they have no specific callback
-defined for them at this time.
-
-=== Callbacks
-
-All callbacks are optional. Some may become mandatory depending
-on what other defined callbacks return. The various flowcharts
-in the next chapter should be a useful to determine which callbacks
-you need.
-
-All callbacks take two arguments, the Req object and the State,
-and return a three-element tuple of the form `{Value, Req, State}`.
-
-Nearly all callbacks can also return `{stop, Req, State}` to
-stop execution of the request, and
-`{{switch_handler, Module}, Req, State}` or
-`{{switch_handler, Module, Opts}, Req, State}` to switch to
-a different handler type. The exceptions are `expires`
-`generate_etag`, `last_modified` and `variances`.
-
-The following table summarizes the callbacks and their default values.
-If the callback isn't defined, then the default value will be used.
-Please look at the flowcharts to find out the result of each return
-value.
-
-In the following table, "skip" means the callback is entirely skipped
-if it is undefined, moving directly to the next step. Similarly,
-"none" means there is no default value for this callback.
-
-[cols="<,^",options="header"]
-|===
-| Callback name | Default value
-| allowed_methods | `[<<"GET">>, <<"HEAD">>, <<"OPTIONS">>]`
-| allow_missing_post | `true`
-| charsets_provided | skip
-| content_types_accepted | none
-// @todo Space required for the time being: https://github.com/spf13/hugo/issues/2398
-| content_types_provided | `[{{ <<"text">>, <<"html">>, '*'}, to_html}]`
-| delete_completed | `true`
-| delete_resource | `false`
-| expires | `undefined`
-| forbidden | `false`
-| generate_etag | `undefined`
-| is_authorized | `true`
-| is_conflict | `false`
-| known_methods | `[<<"GET">>, <<"HEAD">>, <<"POST">>, <<"PUT">>, <<"PATCH">>, <<"DELETE">>, <<"OPTIONS">>]`
-| languages_provided | skip
-| last_modified | `undefined`
-| malformed_request | `false`
-| moved_permanently | `false`
-| moved_temporarily | `false`
-| multiple_choices | `false`
-| options | `ok`
-| previously_existed | `false`
-| resource_exists | `true`
-| service_available | `true`
-| uri_too_long | `false`
-| valid_content_headers | `true`
-| valid_entity_length | `true`
-| variances | `[]`
-|===
-
-As you can see, Cowboy tries to move on with the request whenever
-possible by using well thought out default values.
-
-In addition to these, there can be any number of user-defined
-callbacks that are specified through `content_types_accepted/2`
-and `content_types_provided/2`. They can take any name, however
-it is recommended to use a separate prefix for the callbacks of
-each function. For example, `from_html` and `to_html` indicate
-in the first case that we're accepting a resource given as HTML,
-and in the second case that we send one as HTML.
-
-=== Meta data
-
-Cowboy will set informative values to the Req object at various
-points of the execution. You can retrieve them by matching the
-Req object directly. The values are defined in the following table:
-
-[cols="<,<",options="header"]
-|===
-| Key | Details
-| media_type | The content-type negotiated for the response entity.
-| language | The language negotiated for the response entity.
-| charset | The charset negotiated for the response entity.
-|===
-
-They can be used to send a proper body with the response to a
-request that used a method other than HEAD or GET.
-
-=== Response headers
-
-Cowboy will set response headers automatically over the execution
-of the REST code. They are listed in the following table.
-
-[cols="<,<",options="header"]
-|===
-| Header name | Details
-| content-language | Language used in the response body
-| content-type | Media type and charset of the response body
-| etag | Etag of the resource
-| expires | Expiration date of the resource
-| last-modified | Last modification date for the resource
-| location | Relative or absolute URI to the requested resource
-| vary | List of headers that may change the representation of the resource
-|===
diff --git a/docs/en/cowboy/2.1/guide/rest_handlers/index.html b/docs/en/cowboy/2.1/guide/rest_handlers/index.html
deleted file mode 100644
index 3c44d02d..00000000
--- a/docs/en/cowboy/2.1/guide/rest_handlers/index.html
+++ /dev/null
@@ -1,340 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: REST handlers</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>REST handlers</span></h1>
-
-<p>REST is implemented in Cowboy as a sub protocol. The request is handled as a state machine with many optional callbacks describing the resource and modifying the machine&apos;s behavior.</p>
-<p>The REST handler is the recommended way to handle HTTP requests.</p>
-<h2 id="_initialization">Initialization</h2>
-<p>First, the <code>init/2</code> callback is called. This callback is common to all handlers. To use REST for the current request, this function must return a <code>cowboy_rest</code> tuple.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">cowboy_rest</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy will then switch to the REST protocol and start executing the state machine.</p>
-<p>After reaching the end of the flowchart, the <code>terminate/3</code> callback will be called if it is defined.</p>
-<h2 id="_methods">Methods</h2>
-<p>The REST component has code for handling the following HTTP methods: HEAD, GET, POST, PATCH, PUT, DELETE and OPTIONS.</p>
-<p>Other methods can be accepted, however they have no specific callback defined for them at this time.</p>
-<h2 id="_callbacks">Callbacks</h2>
-<p>All callbacks are optional. Some may become mandatory depending on what other defined callbacks return. The various flowcharts in the next chapter should be a useful to determine which callbacks you need.</p>
-<p>All callbacks take two arguments, the Req object and the State, and return a three-element tuple of the form <code>{Value, Req, State}</code>.</p>
-<p>Nearly all callbacks can also return <code>{stop, Req, State}</code> to stop execution of the request, and <code>{{switch_handler, Module}, Req, State}</code> or <code>{{switch_handler, Module, Opts}, Req, State}</code> to switch to a different handler type. The exceptions are <code>expires</code> <code>generate_etag</code>, <code>last_modified</code> and <code>variances</code>.</p>
-<p>The following table summarizes the callbacks and their default values. If the callback isn&apos;t defined, then the default value will be used. Please look at the flowcharts to find out the result of each return value.</p>
-<p>In the following table, &quot;skip&quot; means the callback is entirely skipped if it is undefined, moving directly to the next step. Similarly, &quot;none&quot; means there is no default value for this callback.</p>
-<table rules="all" width="100%" frame="border"
- cellspacing="0" cellpadding="4">
-<thead><tr><th>Callback name</th>
-<th>Default value</th>
-</tr></thead><tbody><tr><td>allowed_methods</td>
-<td><code>[&lt;&lt;&quot;GET&quot;&gt;&gt;, &lt;&lt;&quot;HEAD&quot;&gt;&gt;, &lt;&lt;&quot;OPTIONS&quot;&gt;&gt;]</code></td>
-</tr>
-<tr><td>allow_missing_post</td>
-<td><code>true</code></td>
-</tr>
-<tr><td>charsets_provided</td>
-<td>skip</td>
-</tr>
-<tr><td>content_types_accepted</td>
-<td>none</td>
-</tr>
-<tr><td>content_types_provided</td>
-<td><code>[{{ &lt;&lt;&quot;text&quot;&gt;&gt;, &lt;&lt;&quot;html&quot;&gt;&gt;, &apos;*&apos;}, to_html}]</code></td>
-</tr>
-<tr><td>delete_completed</td>
-<td><code>true</code></td>
-</tr>
-<tr><td>delete_resource</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>expires</td>
-<td><code>undefined</code></td>
-</tr>
-<tr><td>forbidden</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>generate_etag</td>
-<td><code>undefined</code></td>
-</tr>
-<tr><td>is_authorized</td>
-<td><code>true</code></td>
-</tr>
-<tr><td>is_conflict</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>known_methods</td>
-<td><code>[&lt;&lt;&quot;GET&quot;&gt;&gt;, &lt;&lt;&quot;HEAD&quot;&gt;&gt;, &lt;&lt;&quot;POST&quot;&gt;&gt;, &lt;&lt;&quot;PUT&quot;&gt;&gt;, &lt;&lt;&quot;PATCH&quot;&gt;&gt;, &lt;&lt;&quot;DELETE&quot;&gt;&gt;, &lt;&lt;&quot;OPTIONS&quot;&gt;&gt;]</code></td>
-</tr>
-<tr><td>languages_provided</td>
-<td>skip</td>
-</tr>
-<tr><td>last_modified</td>
-<td><code>undefined</code></td>
-</tr>
-<tr><td>malformed_request</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>moved_permanently</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>moved_temporarily</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>multiple_choices</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>options</td>
-<td><code>ok</code></td>
-</tr>
-<tr><td>previously_existed</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>resource_exists</td>
-<td><code>true</code></td>
-</tr>
-<tr><td>service_available</td>
-<td><code>true</code></td>
-</tr>
-<tr><td>uri_too_long</td>
-<td><code>false</code></td>
-</tr>
-<tr><td>valid_content_headers</td>
-<td><code>true</code></td>
-</tr>
-<tr><td>valid_entity_length</td>
-<td><code>true</code></td>
-</tr>
-<tr><td>variances</td>
-<td><code>[]</code></td>
-</tr>
-</tbody></table>
-<p>As you can see, Cowboy tries to move on with the request whenever possible by using well thought out default values.</p>
-<p>In addition to these, there can be any number of user-defined callbacks that are specified through <code>content_types_accepted/2</code> and <code>content_types_provided/2</code>. They can take any name, however it is recommended to use a separate prefix for the callbacks of each function. For example, <code>from_html</code> and <code>to_html</code> indicate in the first case that we&apos;re accepting a resource given as HTML, and in the second case that we send one as HTML.</p>
-<h2 id="_meta_data">Meta data</h2>
-<p>Cowboy will set informative values to the Req object at various points of the execution. You can retrieve them by matching the Req object directly. The values are defined in the following table:</p>
-<table rules="all" width="100%" frame="border"
- cellspacing="0" cellpadding="4">
-<thead><tr><th>Key</th>
-<th>Details</th>
-</tr></thead><tbody><tr><td>media_type</td>
-<td>The content-type negotiated for the response entity.</td>
-</tr>
-<tr><td>language</td>
-<td>The language negotiated for the response entity.</td>
-</tr>
-<tr><td>charset</td>
-<td>The charset negotiated for the response entity.</td>
-</tr>
-</tbody></table>
-<p>They can be used to send a proper body with the response to a request that used a method other than HEAD or GET.</p>
-<h2 id="_response_headers">Response headers</h2>
-<p>Cowboy will set response headers automatically over the execution of the REST code. They are listed in the following table.</p>
-<table rules="all" width="100%" frame="border"
- cellspacing="0" cellpadding="4">
-<thead><tr><th>Header name</th>
-<th>Details</th>
-</tr></thead><tbody><tr><td>content-language</td>
-<td>Language used in the response body</td>
-</tr>
-<tr><td>content-type</td>
-<td>Media type and charset of the response body</td>
-</tr>
-<tr><td>etag</td>
-<td>Etag of the resource</td>
-</tr>
-<tr><td>expires</td>
-<td>Expiration date of the resource</td>
-</tr>
-<tr><td>last-modified</td>
-<td>Last modification date for the resource</td>
-</tr>
-<tr><td>location</td>
-<td>Relative or absolute URI to the requested resource</td>
-</tr>
-<tr><td>vary</td>
-<td>List of headers that may change the representation of the resource</td>
-</tr>
-</tbody></table>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_principles/">
- REST principles
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_flowcharts/">
- REST flowcharts
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/rest_options.png b/docs/en/cowboy/2.1/guide/rest_options.png
deleted file mode 100644
index 90fd6f06..00000000
--- a/docs/en/cowboy/2.1/guide/rest_options.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/2.1/guide/rest_options.svg b/docs/en/cowboy/2.1/guide/rest_options.svg
deleted file mode 100644
index 496c050c..00000000
--- a/docs/en/cowboy/2.1/guide/rest_options.svg
+++ /dev/null
@@ -1,387 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_options.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.0000001"
- inkscape:cx="166.77748"
- inkscape:cy="548.36436"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(205.92143,-296.03137)"
- id="g5650-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,-212.00698)"
- id="g5650-9">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="204.67757"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="121.0042"
- rx="15" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(319.86479,-176.50006)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.00391"
- y="60.912468"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="147.00391"
- y="60.912468"
- id="tspan17171">start</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.13106"
- y="142.80627"
- id="text5371-2-95"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="148.13106"
- y="142.80627">options</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.80684"
- y="226.4736"
- id="text5371-2-32"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="147.80684"
- y="226.4736">200 OK</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/2.1/guide/rest_principles.asciidoc b/docs/en/cowboy/2.1/guide/rest_principles.asciidoc
deleted file mode 100644
index 66939cb7..00000000
--- a/docs/en/cowboy/2.1/guide/rest_principles.asciidoc
+++ /dev/null
@@ -1,160 +0,0 @@
-[[rest_principles]]
-== REST principles
-
-This chapter will attempt to define the concepts behind REST
-and explain what makes a service RESTful.
-
-REST is often confused with performing a distinct operation
-depending on the HTTP method, while using more than the GET
-and POST methods. That's highly misguided at best.
-
-We will first attempt to define REST and will look at what
-it means in the context of HTTP and the Web.
-For a more in-depth explanation of REST, you can read
-http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm[Roy T. Fielding's dissertation]
-as it does a great job explaining where it comes from and
-what it achieves.
-
-=== REST architecture
-
-REST is a *client-server* architecture. The client and the server
-both have a different set of concerns. The server stores and/or
-manipulates information and makes it available to the user in
-an efficient manner. The client takes that information and
-displays it to the user and/or uses it to perform subsequent
-requests for information. This separation of concerns allows both
-the client and the server to evolve independently as it only
-requires that the interface stays the same.
-
-REST is *stateless*. That means the communication between the
-client and the server always contains all the information needed
-to perform the request. There is no session state in the server,
-it is kept entirely on the client's side. If access to a resource
-requires authentication, then the client needs to authenticate
-itself with every request.
-
-REST is *cacheable*. The client, the server and any intermediary
-components can all cache resources in order to improve performance.
-
-REST provides a *uniform interface* between components. This
-simplifies the architecture, as all components follow the same
-rules to speak to one another. It also makes it easier to understand
-the interactions between the different components of the system.
-A number of constraints are required to achieve this. They are
-covered in the rest of the chapter.
-
-REST is a *layered system*. Individual components cannot see
-beyond the immediate layer with which they are interacting. This
-means that a client connecting to an intermediate component, like
-a proxy, has no knowledge of what lies beyond. This allows
-components to be independent and thus easily replaceable or
-extendable.
-
-REST optionally provides *code on demand*. Code may be downloaded
-to extend client functionality. This is optional however because
-the client may not be able to download or run this code, and so
-a REST component cannot rely on it being executed.
-
-=== Resources and resource identifiers
-
-A resource is an abstract concept. In a REST system, any information
-that can be named may be a resource. This includes documents, images,
-a collection of resources and any other information. Any information
-that can be the target of an hypertext link can be a resource.
-
-A resource is a conceptual mapping to a set of entities. The set of
-entities evolves over time; a resource doesn't. For example, a resource
-can map to "users who have logged in this past month" and another
-to "all users". At some point in time they may map to the same set of
-entities, because all users logged in this past month. But they are
-still different resources. Similarly, if nobody logged in recently,
-then the first resource may map to the empty set. This resource exists
-regardless of the information it maps to.
-
-Resources are identified by uniform resource identifiers, also known
-as URIs. Sometimes internationalized resource identifiers, or IRIs,
-may also be used, but these can be directly translated into a URI.
-
-In practice we will identify two kinds of resources. Individual
-resources map to a set of one element, for example "user Joe".
-Collection of resources map to a set of 0 to N elements,
-for example "all users".
-
-=== Resource representations
-
-The representation of a resource is a sequence of bytes associated
-with metadata.
-
-The metadata comes as a list of key-value pairs, where the name
-corresponds to a standard that defines the value's structure and
-semantics. With HTTP, the metadata comes in the form of request
-or response headers. The headers' structure and semantics are well
-defined in the HTTP standard. Metadata includes representation
-metadata, resource metadata and control data.
-
-The representation metadata gives information about the
-representation, such as its media type, the date of last
-modification, or even a checksum.
-
-Resource metadata could be link to related resources or
-information about additional representations of the resource.
-
-Control data allows parameterizing the request or response.
-For example, we may only want the representation returned if
-it is more recent than the one we have in cache. Similarly,
-we may want to instruct the client about how it should cache
-the representation. This isn't restricted to caching. We may,
-for example, want to store a new representation of a resource
-only if it wasn't modified since we first retrieved it.
-
-The data format of a representation is also known as the media
-type. Some media types are intended for direct rendering to the
-user, while others are intended for automated processing. The
-media type is a key component of the REST architecture.
-
-=== Self-descriptive messages
-
-Messages must be self-descriptive. That means that the data
-format of a representation must always come with its media
-type (and similarly requesting a resource involves choosing
-the media type of the representation returned). If you are
-sending HTML, then you must say it is HTML by sending the
-media type with the representation. In HTTP this is done
-using the content-type header.
-
-The media type is often an IANA registered media type, like
-`text/html` or `image/png`, but does not need to be. Exactly
-two things are important for respecting this constraint: that
-the media type is well specified, and that the sender and
-recipient agree about what the media type refers to.
-
-This means that you can create your own media types, like
-`application/x-mine`, and that as long as you write the
-specifications for it and that both endpoints agree about
-it then the constraint is respected.
-
-=== Hypermedia as the engine of application state
-
-The last constraint is generally where services that claim
-to be RESTful fail. Interactions with a server must be
-entirely driven by hypermedia. The client does not need
-any prior knowledge of the service in order to use it,
-other than an entry point and of course basic understanding
-of the media type of the representations, at the very least
-enough to find and identify hyperlinks and link relations.
-
-To give a simple example, if your service only works with
-the `application/json` media type then this constraint
-cannot be respected (as there are no concept of links in
-JSON) and thus your service isn't RESTful. This is the case
-for the majority of self-proclaimed REST services.
-
-On the other hand if you create a JSON based media type
-that has a concept of links and link relations, then
-your service might be RESTful.
-
-Respecting this constraint means that the entirety of the
-service becomes self-discoverable, not only the resources
-in it, but also the operations you can perform on it. This
-makes clients very thin as there is no need to implement
-anything specific to the service to operate on it.
diff --git a/docs/en/cowboy/2.1/guide/rest_principles/index.html b/docs/en/cowboy/2.1/guide/rest_principles/index.html
deleted file mode 100644
index e22d2499..00000000
--- a/docs/en/cowboy/2.1/guide/rest_principles/index.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: REST principles</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>REST principles</span></h1>
-
-<p>This chapter will attempt to define the concepts behind REST and explain what makes a service RESTful.</p>
-<p>REST is often confused with performing a distinct operation depending on the HTTP method, while using more than the GET and POST methods. That&apos;s highly misguided at best.</p>
-<p>We will first attempt to define REST and will look at what it means in the context of HTTP and the Web. For a more in-depth explanation of REST, you can read <a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm">Roy T. Fielding&apos;s dissertation</a> as it does a great job explaining where it comes from and what it achieves.</p>
-<h2 id="_rest_architecture">REST architecture</h2>
-<p>REST is a <strong>client-server</strong> architecture. The client and the server both have a different set of concerns. The server stores and/or manipulates information and makes it available to the user in an efficient manner. The client takes that information and displays it to the user and/or uses it to perform subsequent requests for information. This separation of concerns allows both the client and the server to evolve independently as it only requires that the interface stays the same.</p>
-<p>REST is <strong>stateless</strong>. That means the communication between the client and the server always contains all the information needed to perform the request. There is no session state in the server, it is kept entirely on the client&apos;s side. If access to a resource requires authentication, then the client needs to authenticate itself with every request.</p>
-<p>REST is <strong>cacheable</strong>. The client, the server and any intermediary components can all cache resources in order to improve performance.</p>
-<p>REST provides a <strong>uniform interface</strong> between components. This simplifies the architecture, as all components follow the same rules to speak to one another. It also makes it easier to understand the interactions between the different components of the system. A number of constraints are required to achieve this. They are covered in the rest of the chapter.</p>
-<p>REST is a <strong>layered system</strong>. Individual components cannot see beyond the immediate layer with which they are interacting. This means that a client connecting to an intermediate component, like a proxy, has no knowledge of what lies beyond. This allows components to be independent and thus easily replaceable or extendable.</p>
-<p>REST optionally provides <strong>code on demand</strong>. Code may be downloaded to extend client functionality. This is optional however because the client may not be able to download or run this code, and so a REST component cannot rely on it being executed.</p>
-<h2 id="_resources_and_resource_identifiers">Resources and resource identifiers</h2>
-<p>A resource is an abstract concept. In a REST system, any information that can be named may be a resource. This includes documents, images, a collection of resources and any other information. Any information that can be the target of an hypertext link can be a resource.</p>
-<p>A resource is a conceptual mapping to a set of entities. The set of entities evolves over time; a resource doesn&apos;t. For example, a resource can map to &quot;users who have logged in this past month&quot; and another to &quot;all users&quot;. At some point in time they may map to the same set of entities, because all users logged in this past month. But they are still different resources. Similarly, if nobody logged in recently, then the first resource may map to the empty set. This resource exists regardless of the information it maps to.</p>
-<p>Resources are identified by uniform resource identifiers, also known as URIs. Sometimes internationalized resource identifiers, or IRIs, may also be used, but these can be directly translated into a URI.</p>
-<p>In practice we will identify two kinds of resources. Individual resources map to a set of one element, for example &quot;user Joe&quot;. Collection of resources map to a set of 0 to N elements, for example &quot;all users&quot;.</p>
-<h2 id="_resource_representations">Resource representations</h2>
-<p>The representation of a resource is a sequence of bytes associated with metadata.</p>
-<p>The metadata comes as a list of key-value pairs, where the name corresponds to a standard that defines the value&apos;s structure and semantics. With HTTP, the metadata comes in the form of request or response headers. The headers&apos; structure and semantics are well defined in the HTTP standard. Metadata includes representation metadata, resource metadata and control data.</p>
-<p>The representation metadata gives information about the representation, such as its media type, the date of last modification, or even a checksum.</p>
-<p>Resource metadata could be link to related resources or information about additional representations of the resource.</p>
-<p>Control data allows parameterizing the request or response. For example, we may only want the representation returned if it is more recent than the one we have in cache. Similarly, we may want to instruct the client about how it should cache the representation. This isn&apos;t restricted to caching. We may, for example, want to store a new representation of a resource only if it wasn&apos;t modified since we first retrieved it.</p>
-<p>The data format of a representation is also known as the media type. Some media types are intended for direct rendering to the user, while others are intended for automated processing. The media type is a key component of the REST architecture.</p>
-<h2 id="_self_descriptive_messages">Self-descriptive messages</h2>
-<p>Messages must be self-descriptive. That means that the data format of a representation must always come with its media type (and similarly requesting a resource involves choosing the media type of the representation returned). If you are sending HTML, then you must say it is HTML by sending the media type with the representation. In HTTP this is done using the content-type header.</p>
-<p>The media type is often an IANA registered media type, like <code>text/html</code> or <code>image/png</code>, but does not need to be. Exactly two things are important for respecting this constraint: that the media type is well specified, and that the sender and recipient agree about what the media type refers to.</p>
-<p>This means that you can create your own media types, like <code>application/x-mine</code>, and that as long as you write the specifications for it and that both endpoints agree about it then the constraint is respected.</p>
-<h2 id="_hypermedia_as_the_engine_of_application_state">Hypermedia as the engine of application state</h2>
-<p>The last constraint is generally where services that claim to be RESTful fail. Interactions with a server must be entirely driven by hypermedia. The client does not need any prior knowledge of the service in order to use it, other than an entry point and of course basic understanding of the media type of the representations, at the very least enough to find and identify hyperlinks and link relations.</p>
-<p>To give a simple example, if your service only works with the <code>application/json</code> media type then this constraint cannot be respected (as there are no concept of links in JSON) and thus your service isn&apos;t RESTful. This is the case for the majority of self-proclaimed REST services.</p>
-<p>On the other hand if you create a JSON based media type that has a concept of links and link relations, then your service might be RESTful.</p>
-<p>Respecting this constraint means that the entirety of the service becomes self-discoverable, not only the resources in it, but also the operations you can perform on it. This makes clients very thin as there is no need to implement anything specific to the service to operate on it.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/multipart/">
- Multipart requests
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_handlers/">
- REST handlers
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/rest_put_post_patch.png b/docs/en/cowboy/2.1/guide/rest_put_post_patch.png
deleted file mode 100644
index 176650e9..00000000
--- a/docs/en/cowboy/2.1/guide/rest_put_post_patch.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/2.1/guide/rest_put_post_patch.svg b/docs/en/cowboy/2.1/guide/rest_put_post_patch.svg
deleted file mode 100644
index 06d55052..00000000
--- a/docs/en/cowboy/2.1/guide/rest_put_post_patch.svg
+++ /dev/null
@@ -1,2856 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448"
- height="1052.3622"
- id="svg2"
- version="1.1"
- inkscape:version="0.92.1 r"
- sodipodi:docname="rest_put_post_patch.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="0.70710678"
- inkscape:cx="201.51415"
- inkscape:cy="-214.71801"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="1920"
- inkscape:window-height="1043"
- inkscape:window-x="0"
- inkscape:window-y="0"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1"
- transform="translate(0,1.5472441e-4)">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(370.63925,-305.0045)"
- id="g5650-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,215.76354,-143.71473)"
- id="g5650-2-2-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-4"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="207.76691"
- y="112.69559"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g5650"
- transform="translate(229.41793,93.569228)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(484.58261,-183.7816)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="114.39204"
- id="text5371"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="313.14185"
- y="50.482433"
- id="text5371-4-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="313.14185"
- y="50.482433"
- id="tspan17171"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">conneg</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="312.52466"
- y="134.49161"
- id="text5371-2-95"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="312.52466"
- y="134.49161"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">resource_exists</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="205.83722"
- y="175.92931"
- id="text5371-2-391"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="205.83722"
- y="175.92931"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-586.85324,629.53436)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="401.26678"
- y="176.39024"
- id="text5371-4-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="401.26678"
- y="176.39024"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="translate(517.41793,-144.94975)"
- id="g5650-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- transform="rotate(-90)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">middlewares</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-508.93096,565.23553)"
- id="g5650-2-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="496.12921"
- y="255.81152"
- id="text5371-4-4-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6"
- x="496.12921"
- y="255.81152"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,501.47379,-62.310424)"
- id="g5650-9-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(-0.08419269,-0.81571201,-1.0857893,-0.07785618,667.56845,424.75412)"
- id="g5650-2-0-4-3-8-9-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g6634">
- <path
- inkscape:connector-curvature="0"
- id="path20172-9-8-9-3-7"
- d="m 18.652036,463.77088 c 0,0 65.81835,-170.39134 345.869384,-106.32083"
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(-0.44664484,-0.38224114,-0.38224114,0.44664484,110.28192,145.11277)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1-5-3-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-443.10758,753.30201)"
- id="g5650-2-0-4-3-8-9-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:1.98598707;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 530.36552,568.78955 c 0,0 -275.73145,-235.65993 -602.761737,-30.40772"
- id="path20172-9-8-9-3-1"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.29887498,0.50623478,-0.50623478,0.29887498,210.13685,523.56774)"
- inkscape:transform-center-y="-0.81224338"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="5.134315" />
- </g>
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355-0"
- transform="translate(343.36129,-20.897068)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="171.92052"
- y="216.5154"
- id="text5371-4-0-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="171.92052"
- y="216.5154"
- id="tspan17171-6"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">cond</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,983.2611,313.28465)"
- id="g5650-2-0-4-3-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-4"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="192.94588"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.47131"
- y="216.51535"
- id="text5371-2-32-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-8"
- x="459.47131"
- y="216.51535"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">has if-match?</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="609.12769"
- y="296.02957"
- id="text5371-2-391-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7"
- x="609.12769"
- y="296.02957"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="translate(517.41793,13.785058)"
- id="g5650-0-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-7"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="351.97443"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.47131"
- y="374.91498"
- id="text5371-2-32-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-1"
- x="459.47131"
- y="374.91498"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">method is POST/PATCH?</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="479.69171"
- y="414.84009"
- id="text5371-2-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4"
- x="479.69171"
- y="414.84009"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <g
- transform="translate(517.41793,490.80719)"
- id="g5650-0-6-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7-76"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3-7"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0.34202014,-0.93969262,-0.93969262,-0.34202014,1086.6042,1290.1092)"
- id="g5650-2-0-4-0-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 152.42141,615.5283 c 0,0 -73.650807,-184.33554 -245.781275,54.61093"
- id="path20172-9-3-4"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,178.4823,610.19901)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-0-2"
- style="opacity:0.80000000000000004;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <g
- transform="translate(517.41793,570.7504)"
- id="g5650-2-2-2-7-5">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-62-7-7"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-9-5-8"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="908.57428"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="matrix(0,1,-1,0,694.44282,904.44724)"
- id="g5650-2-2-6-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6-3"
- d="m -57.78256,339.02801 0,65.70583"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-59"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="829.06006"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.47131"
- y="852.62952"
- id="text5371-2-74-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2"
- x="459.47131"
- y="852.62952"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">method is POST?</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="272.56824"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="459.97131"
- y="294.47879"
- id="text5371-43"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="459.97131"
- y="294.47879"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">412 precondition failed</tspan></text>
- <g
- transform="translate(2.6196148,3.2328831)"
- id="g5650-2-2-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,1,-1,0,694.2803,507.19416)"
- id="g5650-0-6-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7-7"
- d="m -57.78256,340.48769 0,63.05283"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(517.41793,93.25206)"
- id="g5650-2-2-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-62"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28-7-6"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="431.48868"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.63538"
- y="453.2847"
- id="text5371-2-32-8-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27-1-2"
- x="459.63538"
- y="453.2847"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">previously_existed</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-5"
- width="218.52127"
- height="34.993004"
- x="62.374733"
- y="590.76849"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(229.41793,173.2314)"
- id="g5650-2-2-2-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-62-7"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-9-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="171.97131"
- y="614.22986"
- id="text5371-43-2-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-74"
- x="171.97131"
- y="614.22986"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">404 not found</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="296.84631"
- y="433.29703"
- id="text5371-2-8-9-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-8"
- x="296.84631"
- y="433.29703"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="translate(516.00372,173.10383)"
- id="g5650-2-2-17-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-0-3"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-45-2"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,983.3517,631.45158)"
- id="g5650-2-0-4-3-8-0-3-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8-9"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="500.12921"
- y="574.2605"
- id="text5371-4-4-9-3-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-8"
- x="500.12921"
- y="574.2605"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="607.7135"
- y="610.86951"
- id="text5371-2-391-5-5-1-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-5"
- x="607.7135"
- y="610.86951"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-29"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="590.76849"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="459.26428"
- y="612.67908"
- id="text5371-43-2-9-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-5"
- x="459.26428"
- y="612.67908"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">301 moved permanently</tspan></text>
- <g
- transform="translate(517.41793,332.05687)"
- id="g5650-2-2-65-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-5-9"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-5-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,982.4019,789.6002)"
- id="g5650-2-0-4-3-8-0-3-7-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-31-8-1-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-3-6-3-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-4"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="670.03149"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.14709"
- y="691.82751"
- id="text5371-2-74-0-7-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-9"
- x="459.14709"
- y="691.82751"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">moved_temporarily</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="500.12921"
- y="733.21747"
- id="text5371-4-4-9-3-2-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-6-6"
- x="500.12921"
- y="733.21747"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true*</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="607.7135"
- y="769.89801"
- id="text5371-2-391-5-5-1-0-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-2-8"
- x="607.7135"
- y="769.89801"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-1"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="749.65387"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="459.26428"
- y="771.56445"
- id="text5371-43-2-9-7-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-9"
- x="459.26428"
- y="771.56445"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">307 moved temporarily</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-4-1"
- width="218.52127"
- height="34.993004"
- x="495.25732"
- y="1220.3925"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="604.32263"
- y="1242.303"
- id="text5371-43-2-9-7-3-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-7-5"
- x="604.32263"
- y="1242.303"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">400 bad request</tspan></text>
- <g
- transform="matrix(-0.34202014,-0.93969262,0.93969262,-0.34202014,-311.11659,1246.6148)"
- id="g5650-2-0-4-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 251.64748,501.65559 c 0,0 -132.95279,-198.6035 -335.041098,15.43198"
- id="path20172-9-3"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,190.22636,455.7026)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="120.08566"
- y="891.92566"
- id="text5371-2-8-9-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-5"
- x="120.08566"
- y="891.92566"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,699.22962,550.33236)"
- id="g5650-2-0-4-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-1"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-5"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-3"
- width="210.17955"
- height="35.209244"
- x="66.545593"
- y="511.00293"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="167.39459"
- y="532.79895"
- id="text5371-2-74-0-7-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-94"
- x="167.39459"
- y="532.79895"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">allow_missing_post</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-5"
- width="210.17955"
- height="35.209244"
- x="66.545593"
- y="431.80698"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="175.2144"
- y="455.37643"
- id="text5371-2-74-0-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-6"
- x="175.2144"
- y="455.37643"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">method is POST?</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.35022"
- y="930.3703"
- id="text5371-2-74-0-7-1-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-94-5"
- x="459.35022"
- y="930.3703"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">allow_missing_post</tspan></text>
- <g
- transform="translate(229.41793,490.95885)"
- id="g5650-0-6-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5-7-2"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1-3-14"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19"
- width="210.17955"
- height="35.209244"
- x="66.545593"
- y="829.06006"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="166.63885"
- y="852.62952"
- id="text5371-2-74-0-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7"
- x="166.63885"
- y="852.62952"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">method is PUT?</tspan></text>
- <g
- transform="translate(229.41793,571.07045)"
- id="g5650-2-2-65-9">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-5-1"
- d="m -57.78256,343.20394 0,61.59661"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-5-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(-0.34202014,-0.93969262,-0.93969262,0.34202014,702.18987,886.11239)"
- id="g5650-2-0-4-05"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2.19573760000000018;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 96.51476,423.00572 c 0,0 -72.55269,-41.6703 -192.585744,26.04761"
- id="path20172-9-9"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.20642765,0.55044303,-0.55044303,0.20642765,176.90073,487.11794)"
- inkscape:transform-center-y="2.5699832"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-6"
- style="opacity:0.80000000000000004;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="6.2547481" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-8"
- width="210.17955"
- height="35.209244"
- x="66.545593"
- y="908.57428"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="166.24431"
- y="930.3703"
- id="text5371-2-74-0-7-15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-2"
- x="166.24431"
- y="930.3703"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">is_conflict</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="136.52316"
- y="971.55994"
- id="text5371-4-4-9-3-2-08"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-2-6-0"
- x="136.52316"
- y="971.55994"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-5-9-2-7"
- width="218.52127"
- height="34.993004"
- x="62.374733"
- y="988.43671"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="171.44006"
- y="1011.8981"
- id="text5371-43-2-9-7-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-9-7-8-0"
- x="171.44006"
- y="1011.8981"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">409 conflict</tspan></text>
- <g
- transform="translate(370.63925,803.79161)"
- id="g5650-93-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3-0"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-40"
- width="210.17955"
- height="35.209244"
- x="207.76691"
- y="1142.3002"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="313.14185"
- y="1164.0962"
- id="text5371-2-74-0-7-41"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-8-3"
- x="313.14185"
- y="1164.0962"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">content_types_accepted</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4-9"
- width="210.17955"
- height="35.209244"
- x="207.76691"
- y="1220.5249"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="313.21997"
- y="1242.2975"
- id="text5371-2-3-0-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-1"
- x="313.21997"
- y="1242.2975"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">AcceptCallback</tspan></text>
- <g
- transform="translate(233.45629,961.91953)"
- id="g5650-6-4-8-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5-5-2"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6-6-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-345.93614,1498.2457)"
- id="g5650-2-0-4-8-9-6-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 169.94368,422.8286 c 0,0 -94.23585,-64.78987 -206.003937,-8.35999"
- id="path20172-9-5-2-6-6"
- inkscape:connector-curvature="0" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8-7-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19-2"
- width="210.17955"
- height="35.209244"
- x="70.583946"
- y="1300.3734"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="175.50966"
- y="1323.8022"
- id="text5371-2-74-0-1-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7-4"
- x="175.50966"
- y="1323.8022"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">new resource?</tspan></text>
- <g
- transform="translate(517.41793,962.60627)"
- id="g5650-6-4-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,985.5699,1417.4167)"
- id="g5650-2-0-4-8-9-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5-2-6"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19-2-1"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="1300.3734"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.47131"
- y="1323.8022"
- id="text5371-2-74-0-1-3-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7-4-8"
- x="459.47131"
- y="1323.8022"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">new resource?</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="1380.1163"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="459.776"
- y="1403.5779"
- id="text5371-43-3-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-9"
- x="459.776"
- y="1403.5779"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">201 created</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7-4"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="1459.7511"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="459.03381"
- y="1483.2128"
- id="text5371-43-3-2-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-9-2"
- x="459.03381"
- y="1483.2128"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">303 see other</tspan></text>
- <g
- transform="matrix(0,1,1,0,-67.245042,1455.155)"
- id="g5650-2-2-6-6-7-9-1">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6-3-8-5-9"
- d="m -57.78256,339.02801 0,65.70583"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1-1-7-6-3"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(233.45629,1121.5376)"
- id="g5650-6-4-8-7-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5-5-2-8"
- d="m -57.78256,294.4515 0,109.76214"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6-6-6-7"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19-2-2"
- width="210.17955"
- height="35.209244"
- x="70.583946"
- y="1379.7678"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="175.50966"
- y="1401.7865"
- id="text5371-2-74-0-1-3-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7-4-9"
- x="175.50966"
- y="1401.7865"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">has resp location?</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7-4-7"
- width="218.52127"
- height="34.993004"
- x="62.374733"
- y="1619.0205"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- transform="translate(233.45629,1201.4108)"
- id="g5650-6-4-8-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5-5-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6-6-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,1,1,0,-63.162935,1614.665)"
- id="g5650-2-2-6-6-7-9">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6-3-8-5"
- d="m -57.78256,339.02801 0,65.70583"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1-1-7-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-19-2-2-4"
- width="210.17955"
- height="35.209244"
- x="70.583946"
- y="1539.2778"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="175.50966"
- y="1561.2965"
- id="text5371-2-74-0-1-3-7-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-7-4-9-5"
- x="175.50966"
- y="1561.2965"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">has resp body?</tspan></text>
- <g
- transform="translate(517.41793,1201.395)"
- id="g5650-6-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,-1,0,987.64405,1658.4266)"
- id="g5650-2-0-4-8-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-5-2"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-2-8"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87-8"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="1539.2778"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.30334"
- y="1561.0739"
- id="text5371-2-9-6"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8-6"
- x="459.30334"
- y="1561.0739"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">multiple_choices</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="479.75421"
- y="1602.6646"
- id="text5371-2-8-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7"
- x="479.75421"
- y="1602.6646"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-1-0"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="1698.6555"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="459.42053"
- y="1720.566"
- id="text5371-43-5-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-62-9"
- x="459.42053"
- y="1720.566"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">300 multiple choices</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-3"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="1619.0208"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="458.88538"
- y="1642.3412"
- id="text5371-43-3-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-3"
- x="458.88538"
- y="1642.3412"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">200 OK</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="171.24475"
- y="1642.3412"
- id="text5371-43-3-2-6-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-9-2-0"
- x="171.24475"
- y="1642.3412"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">204 no content</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="479.69171"
- y="891.92566"
- id="text5371-2-8-9-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-1"
- x="479.69171"
- y="891.92566"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <g
- id="g5650-4-8"
- transform="matrix(0.5,0.8660254,-0.8660254,0.5,204.7918,279.30499)">
- <path
- inkscape:connector-curvature="0"
- id="path5570-8-7"
- d="m -58.01975,316.62647 0,86.23385"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,72.919441,161.77521)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-3-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="496.12921"
- y="494.3544"
- id="text5371-4-4-9-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8"
- x="496.12921"
- y="494.3544"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8-9-1-3-4-8"
- width="210.17955"
- height="35.209244"
- x="354.54559"
- y="511.00293"
- rx="15"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="459.14709"
- y="532.79895"
- id="text5371-2-74-0-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18-2-9"
- x="459.14709"
- y="532.79895"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">moved_permanently</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:2.73499846;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1-8-7-9"
- width="218.52127"
- height="34.993004"
- x="350.37473"
- y="988.43671"
- rx="12.372616"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none"
- x="459.67053"
- y="1010.2067"
- id="text5371-43-3-2-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-3-1-9-5"
- x="459.67053"
- y="1010.2067"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">410 gone</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="260.04547"
- y="494.97446"
- id="text5371-4-4-9-1-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-2"
- x="260.04547"
- y="494.97446"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="120.08566"
- y="494.51349"
- id="text5371-2-8-9-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-55"
- x="120.08566"
- y="494.51349"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="133.92941"
- y="574.40112"
- id="text5371-4-4-9-1-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0"
- x="133.92941"
- y="574.40112"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="315.87756"
- y="828.86047"
- id="text5371-4-4-9-1-1-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1"
- x="315.87756"
- y="828.86047"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="498.78546"
- y="972.02087"
- id="text5371-4-4-9-1-1-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-2"
- x="498.78546"
- y="972.02087"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="458.9295"
- y="1217.7582"
- id="text5371-4-4-9-1-1-9-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2"
- x="458.9295"
- y="1217.7582"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="matrix(0,1,1,0,77.85132,1295.6715)"
- id="g5650-2-2-6-6-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1-6-3-8"
- d="m -57.78256,339.02801 0,65.70583"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-5-1-1-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="207.75119"
- y="1283.5576"
- id="text5371-2-391-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-4"
- x="207.75119"
- y="1283.5576"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,501.47379,1045.323)"
- id="g5650-9-9-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6-1"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="419.81369"
- y="1283.0615"
- id="text5371-2-391-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="419.81369"
- y="1283.0615"
- id="tspan5794"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true, URI*</tspan></text>
- <g
- transform="matrix(-0.70710678,0.70710678,0.70710678,0.70710678,124.04665,1045.323)"
- id="g5650-9-9-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7-6-8"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09-5-45"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="479.69171"
- y="1363.2994"
- id="text5371-2-8-4-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7-5"
- x="479.69171"
- y="1363.2994"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="626.74475"
- y="1403.5779"
- id="text5371-4-4-9-1-1-9-1-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-0"
- x="626.74475"
- y="1403.5779"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="624.0885"
- y="1642.0209"
- id="text5371-4-4-9-1-1-9-1-0"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-3"
- x="624.0885"
- y="1642.0209"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="317.91525"
- y="1538.8624"
- id="text5371-4-4-9-1-1-9-1-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-1"
- x="317.91525"
- y="1538.8624"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="190.83659"
- y="1602.2036"
- id="text5371-2-8-4-3-9"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7-5-9"
- x="190.83659"
- y="1602.2036"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="190.83659"
- y="1363.1792"
- id="text5371-2-8-4-3-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7-5-0"
- x="190.83659"
- y="1363.1792"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="7.9966321"
- y="1443.395"
- id="text5371-4-4-9-1-1-9-1-4-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-0-6"
- x="7.9966321"
- y="1443.395"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="317.86548"
- y="1379.0562"
- id="text5371-4-4-9-1-1-9-1-2-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-0-1-2-1-5"
- x="317.86548"
- y="1379.0562"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="190.83659"
- y="1482.6313"
- id="text5371-2-8-4-3-8-7"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-7-5-0-8"
- x="190.83659"
- y="1482.6313"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="85.095001"
- y="891.92566"
- id="text5371-4-4-9-1-4-2"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2-6-8-2-9"
- x="85.095001"
- y="891.92566"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="232.21094"
- y="971.55994"
- id="text5371-2-391-5-5-1-0-7-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63-7-9-9-2-8-8"
- x="232.21094"
- y="971.55994"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-359.02432,626.75367)"
- id="g5650-2-0-4-3-8-9-4"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <g
- id="g6614">
- <g
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- id="g5650-2-0-4-3-8-9"
- transform="matrix(0,-1,-1,0,347.00351,567.35686)">
- <path
- inkscape:transform-center-x="-3.1059024"
- sodipodi:type="star"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="path5576-12-1-7-58-6-1-4"
- sodipodi:sides="3"
- sodipodi:cx="-222.73865"
- sodipodi:cy="415.25897"
- sodipodi:r1="14.849242"
- sodipodi:r2="7.4246211"
- sodipodi:arg1="1.5707963"
- sodipodi:arg2="2.6179939"
- inkscape:flatsided="true"
- inkscape:rounded="0"
- inkscape:randomized="0"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:transform-center-y="6.2755376"
- transform="matrix(0.10770811,0.57792634,-0.57792634,0.10770811,224.52461,390.64831)" />
- </g>
- <path
- transform="translate(0,-1.5472441e-4)"
- inkscape:connector-curvature="0"
- id="path6438"
- d="M 72.831997,543.06854 C 17.500892,616.78442 35.178561,698.8088 35.178561,698.8088"
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="536.26642"
- y="972.02087"
- id="text5371-2-8-9-1-5"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-1-4"
- x="536.26642"
- y="972.02087"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- <g
- transform="matrix(0,-1,-1,0,347.71062,566.6496)"
- id="g5650-2-0-4-3-8-9-2-8"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643">
- <path
- style="fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
- d="m 146.3711,152.21525 c 0,0 -65.760927,60.81119 -8.48528,132.93608"
- id="path20172-9-8-9-3-7-4"
- inkscape:connector-curvature="0"
- transform="matrix(0,1,-1,0,248.85545,276.69312)" />
- <path
- transform="matrix(0.38224114,0.44664484,-0.44664484,0.38224114,233.48523,355.54168)"
- inkscape:transform-center-y="-1.0388082"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1-7-58-6-1-5-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star"
- inkscape:transform-center-x="4.5299474" />
- </g>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none"
- x="322.92551"
- y="375.54388"
- id="text5371-4-6-1"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0-8"
- x="322.92551"
- y="375.54388"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-style:normal;font-weight:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none"
- x="66.001251"
- y="574.40112"
- id="text5371-2-8-9-0-3"
- inkscape:export-filename="/home/essen/ninenines/cowboy/guide/rest_options.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3-4-55-3"
- x="66.001251"
- y="574.40112"
- style="font-size:16px;line-height:1.25;font-family:sans-serif">true</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/2.1/guide/rest_start.png b/docs/en/cowboy/2.1/guide/rest_start.png
deleted file mode 100644
index 1f1e312e..00000000
--- a/docs/en/cowboy/2.1/guide/rest_start.png
+++ /dev/null
Binary files differ
diff --git a/docs/en/cowboy/2.1/guide/rest_start.svg b/docs/en/cowboy/2.1/guide/rest_start.svg
deleted file mode 100644
index 076c6195..00000000
--- a/docs/en/cowboy/2.1/guide/rest_start.svg
+++ /dev/null
@@ -1,1356 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
- id="svg2"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="rest_start.svg"
- inkscape:export-filename="/home/essen/Dropbox/Public/drawing.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90">
- <defs
- id="defs4">
- <linearGradient
- id="linearGradient5265">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5267" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.58823532;"
- offset="1"
- id="stop5269" />
- </linearGradient>
- <linearGradient
- id="linearGradient5251">
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.78431374;"
- offset="0"
- id="stop5253" />
- <stop
- id="stop5263"
- offset="0.5"
- style="stop-color:#69d2e7;stop-opacity:1;" />
- <stop
- style="stop-color:#69d2e7;stop-opacity:0.39215687;"
- offset="1"
- id="stop5255" />
- </linearGradient>
- <linearGradient
- id="linearGradient5233"
- osb:paint="solid">
- <stop
- style="stop-color:#69d2e7;stop-opacity:1;"
- offset="0"
- id="stop5235" />
- </linearGradient>
- </defs>
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="1"
- inkscape:pageshadow="2"
- inkscape:zoom="1.0000001"
- inkscape:cx="171.11305"
- inkscape:cy="549.52821"
- inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:window-width="2560"
- inkscape:window-height="1402"
- inkscape:window-x="0"
- inkscape:window-y="38"
- inkscape:window-maximized="1"
- inkscape:snap-global="true"
- showguides="true">
- <inkscape:grid
- type="xygrid"
- id="grid5357"
- empspacing="5"
- visible="true"
- enabled="true"
- snapvisiblegridlinesonly="true" />
- </sodipodi:namedview>
- <metadata
- id="metadata7">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title />
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1">
- <path
- inkscape:export-ydpi="89.926643"
- inkscape:export-xdpi="89.926643"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:connector-curvature="0"
- id="use5777"
- d="m -360.31658,371.70113 203.00246,0.045"
- style="fill:none;stroke:#6d8e41;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1.99999999, 3.99999998;stroke-dashoffset:0" />
- <g
- transform="translate(205.92143,-296.03137)"
- id="g5650-7">
- <path
- inkscape:connector-curvature="0"
- id="path5570-9"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-0"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,-212.00698)"
- id="g5650-9">
- <path
- inkscape:connector-curvature="0"
- id="path5570-7"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-09"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,-129.04326)"
- id="g5650-0">
- <path
- inkscape:connector-curvature="0"
- id="path5570-5"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-1"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,-44.866334)"
- id="g5650-94">
- <path
- inkscape:connector-curvature="0"
- id="path5570-71"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-5"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,38.329623)"
- id="g5650-93">
- <path
- inkscape:connector-curvature="0"
- id="path5570-3"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-4"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,122.59665)"
- id="g5650-3">
- <path
- inkscape:connector-curvature="0"
- id="path5570-93"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-04"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,206.62103)"
- id="g5650-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-78"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-9"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,289.59516)"
- id="g5650-34">
- <path
- inkscape:connector-curvature="0"
- id="path5570-30"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-3"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,373.37691)"
- id="g5650-5">
- <path
- inkscape:connector-curvature="0"
- id="path5570-90"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-6"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="translate(205.92143,457.4117)"
- id="g5650-1">
- <path
- inkscape:connector-curvature="0"
- id="path5570-33"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-2"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,80.832304)"
- id="g5650-2-0">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-5"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-1"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,164.49956)"
- id="g5650-2-6">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-1"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-6"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,248.1668)"
- id="g5650-2-4">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-0"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-7"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,331.8341)"
- id="g5650-2-04">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-9"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-0"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,415.50138)"
- id="g5650-2-8">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-50"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-2"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,499.16862)"
- id="g5650-2-1">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-9"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,582.83589)"
- id="g5650-2-3">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-10"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-60"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,666.50315)"
- id="g5650-2-44">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-11"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-73"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <g
- transform="matrix(0,-1,1,0,-25.673146,750.17041)"
- id="g5650-2-12">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2-6"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12-04"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-28"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="204.67757"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-5"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="288.40311"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-8"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="372.01199"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-4"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="455.67929"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-87"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="539.34656"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-41"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="623.01385"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-7"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="706.68115"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-20"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="790.34839"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-3"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="874.01562"
- rx="15" />
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1"
- width="210.17955"
- height="35.209244"
- x="43.049091"
- y="121.0042"
- rx="15" />
- <g
- id="g5650"
- transform="translate(0,-0.47597102)">
- <path
- inkscape:connector-curvature="0"
- id="path5570"
- d="m -57.78256,351.41962 0,52.3259"
- style="opacity:0.8;fill:none;stroke:#6d8e41;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576"
- style="opacity:0.8;fill:#6d8e41;fill-opacity:1;fill-rule:nonzero;stroke:#6d8e41;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="29.41218"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="90.691978"
- rx="15" />
- <rect
- style="fill:#ffc48c;fill-opacity:1;fill-rule:nonzero;stroke:#d79c64;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-2"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="151.97169"
- rx="15" />
- <rect
- style="fill:#ff9f80;fill-opacity:1;fill-rule:nonzero;stroke:#d77758;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-22"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="213.25146"
- rx="15" />
- <rect
- style="fill:#f56991;fill-opacity:1;fill-rule:nonzero;stroke:#cd4169;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-8"
- width="104.5895"
- height="36.392323"
- x="-224.02068"
- y="274.53128"
- rx="15" />
- <use
- x="0"
- y="0"
- xlink:href="#rect5273-22"
- id="use5355"
- transform="translate(319.86479,-176.50006)"
- width="744.09448"
- height="1052.3622"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="114.39204"
- id="text5371"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373"
- x="-58.692513"
- y="114.39204">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="53.112247"
- id="text5371-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6"
- x="-58.692513"
- y="53.112247">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.18575"
- y="310.19913"
- id="text5371-2-3"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7"
- x="148.18575"
- y="310.19913">uri_too_long</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.60762"
- y="477.47531"
- id="text5371-2-3-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3"
- x="147.60762"
- y="477.47531">malformed_request</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-58.692513"
- y="236.95154"
- id="text5371-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9"
- x="-58.692513"
- y="236.95154">some text</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.00391"
- y="60.912468"
- id="text5371-4-0"
- sodipodi:linespacing="125%"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- x="147.00391"
- y="60.912468"
- id="tspan17171">init</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.11153"
- y="561.14258"
- id="text5371-2-9"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-8"
- x="148.11153"
- y="561.14258">is_authorized</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.64278"
- y="646.58331"
- id="text5371-2-7"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-2"
- x="148.64278"
- y="646.58331">forbidden</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.29512"
- y="728.47717"
- id="text5371-2-73"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-5"
- x="148.29512"
- y="728.47717">valid_content_headers</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.83809"
- y="812.14441"
- id="text5371-2-5"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-1"
- x="147.83809"
- y="812.14441">valid_entity_length</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.58809"
- y="895.81165"
- id="text5371-2-1"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-71"
- x="148.58809"
- y="895.81165">...</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.13106"
- y="142.80627"
- id="text5371-2-95"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-80"
- x="148.13106"
- y="142.80627">service_available</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="147.80684"
- y="226.4736"
- id="text5371-2-32"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-27"
- x="147.80684"
- y="226.4736">known_methods</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="148.05293"
- y="393.80801"
- id="text5371-2-74"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-18"
- x="148.05293"
- y="393.80801">allowed_methods</tspan></text>
- <rect
- style="fill:#d1f2a5;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-1-2"
- width="210.17955"
- height="35.209244"
- x="-489.75586"
- y="33.4944"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="185.95248"
- id="text5371-2-391"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-63"
- x="164.26562"
- y="185.95248">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="269.61978"
- id="text5371-2-954"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-808"
- x="164.26562"
- y="269.61978">known*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="353.28702"
- id="text5371-2-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-11"
- x="164.26562"
- y="353.28702">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="436.95425"
- id="text5371-2-92"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-4"
- x="164.26562"
- y="436.95425">allowed*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="520.62152"
- id="text5371-2-739"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-0"
- x="164.26562"
- y="520.62152">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="604.28876"
- id="text5371-2-8"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-3"
- x="164.26562"
- y="604.28876">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="687.95599"
- id="text5371-2-0"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-01"
- x="164.26562"
- y="687.95599">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="771.62329"
- id="text5371-2-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-33"
- x="164.26562"
- y="771.62329">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="164.26562"
- y="855.29053"
- id="text5371-2-21"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-6-9"
- x="164.26562"
- y="855.29053">true</tspan></text>
- <g
- transform="matrix(0,-1,1,0,-513.31414,353.05561)"
- id="g5650-2">
- <path
- inkscape:connector-curvature="0"
- id="path5570-2"
- d="m -57.78256,275.13761 0,129.13992"
- style="opacity:0.8;fill:none;stroke:#9b3b1c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
- <path
- transform="matrix(0.58787746,0,0,0.58787746,73.160466,163.35774)"
- inkscape:transform-center-y="2.1823437"
- d="m -222.73865,430.10821 -12.85982,-22.27386 25.71964,0 z"
- inkscape:randomized="0"
- inkscape:rounded="0"
- inkscape:flatsided="true"
- sodipodi:arg2="2.6179939"
- sodipodi:arg1="1.5707963"
- sodipodi:r2="7.4246211"
- sodipodi:r1="14.849242"
- sodipodi:cy="415.25897"
- sodipodi:cx="-222.73865"
- sodipodi:sides="3"
- id="path5576-12"
- style="opacity:0.8;fill:#9b3b1c;fill-opacity:1;fill-rule:nonzero;stroke:#9b3b1c;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- sodipodi:type="star" />
- </g>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="123.86062"
- id="text5371-4-6"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-0"
- x="315.26172"
- y="123.86062">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="207.30568"
- id="text5371-4-7"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-6"
- x="315.26172"
- y="207.30568">unknown*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="290.75076"
- id="text5371-4-2"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-01"
- x="315.26172"
- y="290.75076">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="374.19577"
- id="text5371-4-3"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-62"
- x="315.26172"
- y="374.19577">unallowed*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="457.64084"
- id="text5371-4-4"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-2"
- x="315.26172"
- y="457.64084">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="541.08588"
- id="text5371-4-5"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-09"
- x="315.26172"
- y="541.08588">false*</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="624.53094"
- id="text5371-4-61"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-69"
- x="315.26172"
- y="624.53094">true</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="707.97595"
- id="text5371-4-58"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-5"
- x="315.26172"
- y="707.97595">false</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#9b3b1c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="315.26172"
- y="791.42102"
- id="text5371-4-54"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-9-012"
- x="315.26172"
- y="791.42102">false</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="121.24477"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.53516"
- y="143.02283"
- id="text5371-6"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- x="524.53516"
- y="143.02283"
- id="tspan18994">503 service unavailable</tspan></text>
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-9"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="204.93674"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-6"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="288.62869"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-1"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="372.32065"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-90"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="456.01254"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-2"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="539.70447"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-3"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="623.39642"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-39"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="707.08838"
- rx="15" />
- <rect
- style="fill:#effab4;fill-opacity:1;fill-rule:nonzero;stroke:#c7d28c;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5273-7-3-5"
- width="264.92532"
- height="34.728001"
- x="392.03732"
- y="790.78027"
- rx="15" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="227.80464"
- id="text5371-7"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-69"
- x="524.26172"
- y="227.80464">501 not implemented</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="311.49661"
- id="text5371-9"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-5"
- x="524.26172"
- y="311.49661">414 request URI too long</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="395.18857"
- id="text5371-43"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-3"
- x="524.26172"
- y="395.18857">405 method not allowed</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="478.88046"
- id="text5371-3"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-67"
- x="524.26172"
- y="478.88046">400 bad request</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="562.57239"
- id="text5371-1"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-53"
- x="524.26172"
- y="562.57239">401 unauthorized</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="646.26434"
- id="text5371-27"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-64"
- x="524.26172"
- y="646.26434">403 forbidden</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="729.9563"
- id="text5371-21"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-58"
- x="524.26172"
- y="729.9563">501 not implemented</tspan></text>
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#77823c;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="524.26172"
- y="813.64819"
- id="text5371-5"
- sodipodi:linespacing="125%"><tspan
- sodipodi:role="line"
- id="tspan5373-60"
- x="524.26172"
- y="813.64819">413 request entity too large</tspan></text>
- <rect
- style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#a9ca7d;stroke-width:2.44279909;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- id="rect5367"
- width="207.05719"
- height="171.55719"
- x="-373.52859"
- y="458.58362"
- rx="11.072577"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643" />
- <text
- xml:space="preserve"
- style="font-size:16px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#6d8e41;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
- x="-544.69421"
- y="-354.17184"
- id="text5371-2-3-0-7"
- sodipodi:linespacing="125%"
- transform="matrix(0,-1,1,0,0,0)"
- inkscape:export-filename="/home/essen/extend/cowboy/guide/http_req_resp.png"
- inkscape:export-xdpi="89.926643"
- inkscape:export-ydpi="89.926643"><tspan
- sodipodi:role="line"
- id="tspan5373-6-7-3-9"
- x="-544.69421"
- y="-354.17184">middlewares</tspan></text>
- </g>
-</svg>
diff --git a/docs/en/cowboy/2.1/guide/routing.asciidoc b/docs/en/cowboy/2.1/guide/routing.asciidoc
deleted file mode 100644
index 47ef3c57..00000000
--- a/docs/en/cowboy/2.1/guide/routing.asciidoc
+++ /dev/null
@@ -1,222 +0,0 @@
-[[routing]]
-== Routing
-
-Cowboy does nothing by default.
-
-To make Cowboy useful, you need to map URIs to Erlang modules that will
-handle the requests. This is called routing.
-
-When Cowboy receives a request, it tries to match the requested host and
-path to the configured routes. When there's a match, the route's
-associated handler is executed.
-
-Routes need to be compiled before they can be used by Cowboy.
-The result of the compilation is the dispatch rules.
-
-=== Syntax
-
-The general structure for the routes is defined as follow.
-
-[source,erlang]
-Routes = [Host1, Host2, ... HostN].
-
-Each host contains matching rules for the host along with optional
-constraints, and a list of routes for the path component.
-
-[source,erlang]
-Host1 = {HostMatch, PathsList}.
-Host2 = {HostMatch, Constraints, PathsList}.
-
-The list of routes for the path component is defined similar to the
-list of hosts.
-
-[source,erlang]
-PathsList = [Path1, Path2, ... PathN].
-
-Finally, each path contains matching rules for the path along with
-optional constraints, and gives us the handler module to be used
-along with its initial state.
-
-[source,erlang]
-Path1 = {PathMatch, Handler, InitialState}.
-Path2 = {PathMatch, Constraints, Handler, InitialState}.
-
-Continue reading to learn more about the match syntax and the optional
-constraints.
-
-=== Match syntax
-
-The match syntax is used to associate host names and paths with their
-respective handlers.
-
-The match syntax is the same for host and path with a few subtleties.
-Indeed, the segments separator is different, and the host is matched
-starting from the last segment going to the first. All examples will
-feature both host and path match rules and explain the differences
-when encountered.
-
-Excluding special values that we will explain at the end of this section,
-the simplest match value is a host or a path. It can be given as either
-a `string()` or a `binary()`.
-
-[source,erlang]
-----
-PathMatch1 = "/".
-PathMatch2 = "/path/to/resource".
-
-HostMatch1 = "cowboy.example.org".
-----
-
-As you can see, all paths defined this way must start with a slash
-character. Note that these two paths are identical as far as routing
-is concerned.
-
-[source,erlang]
-PathMatch2 = "/path/to/resource".
-PathMatch3 = "/path/to/resource/".
-
-Hosts with and without a trailing dot are equivalent for routing.
-Similarly, hosts with and without a leading dot are also equivalent.
-
-[source,erlang]
-HostMatch1 = "cowboy.example.org".
-HostMatch2 = "cowboy.example.org.".
-HostMatch3 = ".cowboy.example.org".
-
-It is possible to extract segments of the host and path and to store
-the values in the `Req` object for later use. We call these kind of
-values bindings.
-
-The syntax for bindings is very simple. A segment that begins with
-the `:` character means that what follows until the end of the segment
-is the name of the binding in which the segment value will be stored.
-
-[source,erlang]
-PathMatch = "/hats/:name/prices".
-HostMatch = ":subdomain.example.org".
-
-If these two end up matching when routing, you will end up with two
-bindings defined, `subdomain` and `name`, each containing the
-segment value where they were defined. For example, the URL
-`http://test.example.org/hats/wild_cowboy_legendary/prices` will
-result in having the value `test` bound to the name `subdomain`
-and the value `wild_cowboy_legendary` bound to the name `name`.
-They can later be retrieved using `cowboy_req:binding/{2,3}`. The
-binding name must be given as an atom.
-
-There is a special binding name you can use to mimic the underscore
-variable in Erlang. Any match against the `_` binding will succeed
-but the data will be discarded. This is especially useful for
-matching against many domain names in one go.
-
-[source,erlang]
-HostMatch = "ninenines.:_".
-
-Similarly, it is possible to have optional segments. Anything
-between brackets is optional.
-
-[source,erlang]
-PathMatch = "/hats/[page/:number]".
-HostMatch = "[www.]ninenines.eu".
-
-You can also have imbricated optional segments.
-
-[source,erlang]
-PathMatch = "/hats/[page/[:number]]".
-
-You can retrieve the rest of the host or path using `[...]`.
-In the case of hosts it will match anything before, in the case
-of paths anything after the previously matched segments. It is
-a special case of optional segments, in that it can have
-zero, one or many segments. You can then find the segments using
-`cowboy_req:host_info/1` and `cowboy_req:path_info/1` respectively.
-They will be represented as a list of segments.
-
-[source,erlang]
-PathMatch = "/hats/[...]".
-HostMatch = "[...]ninenines.eu".
-
-If a binding appears twice in the routing rules, then the match
-will succeed only if they share the same value. This copies the
-Erlang pattern matching behavior.
-
-[source,erlang]
-PathMatch = "/hats/:name/:name".
-
-This is also true when an optional segment is present. In this
-case the two values must be identical only if the segment is
-available.
-
-[source,erlang]
-PathMatch = "/hats/:name/[:name]".
-
-If a binding is defined in both the host and path, then they must
-also share the same value.
-
-[source,erlang]
-PathMatch = "/:user/[...]".
-HostMatch = ":user.github.com".
-
-Finally, there are two special match values that can be used. The
-first is the atom `'_'` which will match any host or path.
-
-[source,erlang]
-PathMatch = '_'.
-HostMatch = '_'.
-
-The second is the special host match `"*"` which will match the
-wildcard path, generally used alongside the `OPTIONS` method.
-
-[source,erlang]
-HostMatch = "*".
-
-=== Constraints
-
-After the matching has completed, the resulting bindings can be tested
-against a set of constraints. Constraints are only tested when the
-binding is defined. They run in the order you defined them. The match
-will succeed only if they all succeed. If the match fails, then Cowboy
-tries the next route in the list.
-
-The format used for constraints is the same as match functions in
-`cowboy_req`: they are provided as a list of fields which may have
-one or more constraints. While the router accepts the same format,
-it will skip fields with no constraints and will also ignore default
-values, if any.
-
-Read more about xref:constraints[constraints].
-
-=== Compilation
-
-The routes must be compiled before Cowboy can use them. The compilation
-step normalizes the routes to simplify the code and speed up the
-execution, but the routes are still looked up one by one in the end.
-Faster compilation strategies could be to compile the routes directly
-to Erlang code, but would require heavier dependencies.
-
-To compile routes, just call the appropriate function:
-
-[source,erlang]
-----
-Dispatch = cowboy_router:compile([
- %% {HostMatch, list({PathMatch, Handler, InitialState})}
- {'_', [{'_', my_handler, #{}}]}
-]),
-%% Name, NbAcceptors, TransOpts, ProtoOpts
-cowboy:start_clear(my_http_listener,
- [{port, 8080}],
- #{env => #{dispatch => Dispatch}}
-).
-----
-
-=== Live update
-
-You can use the `cowboy:set_env/3` function for updating the dispatch
-list used by routing. This will apply to all new connections accepted
-by the listener:
-
-[source,erlang]
-Dispatch = cowboy_router:compile(Routes),
-cowboy:set_env(my_http_listener, dispatch, Dispatch).
-
-Note that you need to compile the routes again before updating.
diff --git a/docs/en/cowboy/2.1/guide/routing/index.html b/docs/en/cowboy/2.1/guide/routing/index.html
deleted file mode 100644
index d818235f..00000000
--- a/docs/en/cowboy/2.1/guide/routing/index.html
+++ /dev/null
@@ -1,359 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Routing</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Routing</span></h1>
-
-<p>Cowboy does nothing by default.</p>
-<p>To make Cowboy useful, you need to map URIs to Erlang modules that will handle the requests. This is called routing.</p>
-<p>When Cowboy receives a request, it tries to match the requested host and path to the configured routes. When there&apos;s a match, the route&apos;s associated handler is executed.</p>
-<p>Routes need to be compiled before they can be used by Cowboy. The result of the compilation is the dispatch rules.</p>
-<h2 id="_syntax">Syntax</h2>
-<p>The general structure for the routes is defined as follow.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Routes</font> <font color="#990000">=</font> [<font color="#009900">Host1</font>, <font color="#009900">Host2</font>, <font color="#990000">...</font> <font color="#009900">HostN</font>]<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Each host contains matching rules for the host along with optional constraints, and a list of routes for the path component.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Host1</font> <font color="#990000">=</font> {<font color="#009900">HostMatch</font>, <font color="#009900">PathsList</font>}<font color="#990000">.</font>
-<font color="#009900">Host2</font> <font color="#990000">=</font> {<font color="#009900">HostMatch</font>, <font color="#009900">Constraints</font>, <font color="#009900">PathsList</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The list of routes for the path component is defined similar to the list of hosts.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathsList</font> <font color="#990000">=</font> [<font color="#009900">Path1</font>, <font color="#009900">Path2</font>, <font color="#990000">...</font> <font color="#009900">PathN</font>]<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Finally, each path contains matching rules for the path along with optional constraints, and gives us the handler module to be used along with its initial state.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Path1</font> <font color="#990000">=</font> {<font color="#009900">PathMatch</font>, <font color="#009900">Handler</font>, <font color="#009900">InitialState</font>}<font color="#990000">.</font>
-<font color="#009900">Path2</font> <font color="#990000">=</font> {<font color="#009900">PathMatch</font>, <font color="#009900">Constraints</font>, <font color="#009900">Handler</font>, <font color="#009900">InitialState</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Continue reading to learn more about the match syntax and the optional constraints.</p>
-<h2 id="_match_syntax">Match syntax</h2>
-<p>The match syntax is used to associate host names and paths with their respective handlers.</p>
-<p>The match syntax is the same for host and path with a few subtleties. Indeed, the segments separator is different, and the host is matched starting from the last segment going to the first. All examples will feature both host and path match rules and explain the differences when encountered.</p>
-<p>Excluding special values that we will explain at the end of this section, the simplest match value is a host or a path. It can be given as either a <code>string()</code> or a <code>binary()</code>.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch1</font> <font color="#990000">=</font> <font color="#FF0000">"/"</font><font color="#990000">.</font>
-<font color="#009900">PathMatch2</font> <font color="#990000">=</font> <font color="#FF0000">"/path/to/resource"</font><font color="#990000">.</font>
-
-<font color="#009900">HostMatch1</font> <font color="#990000">=</font> <font color="#FF0000">"cowboy.example.org"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>As you can see, all paths defined this way must start with a slash character. Note that these two paths are identical as far as routing is concerned.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch2</font> <font color="#990000">=</font> <font color="#FF0000">"/path/to/resource"</font><font color="#990000">.</font>
-<font color="#009900">PathMatch3</font> <font color="#990000">=</font> <font color="#FF0000">"/path/to/resource/"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Hosts with and without a trailing dot are equivalent for routing. Similarly, hosts with and without a leading dot are also equivalent.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">HostMatch1</font> <font color="#990000">=</font> <font color="#FF0000">"cowboy.example.org"</font><font color="#990000">.</font>
-<font color="#009900">HostMatch2</font> <font color="#990000">=</font> <font color="#FF0000">"cowboy.example.org."</font><font color="#990000">.</font>
-<font color="#009900">HostMatch3</font> <font color="#990000">=</font> <font color="#FF0000">".cowboy.example.org"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>It is possible to extract segments of the host and path and to store the values in the <code>Req</code> object for later use. We call these kind of values bindings.</p>
-<p>The syntax for bindings is very simple. A segment that begins with the <code>:</code> character means that what follows until the end of the segment is the name of the binding in which the segment value will be stored.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch</font> <font color="#990000">=</font> <font color="#FF0000">"/hats/:name/prices"</font><font color="#990000">.</font>
-<font color="#009900">HostMatch</font> <font color="#990000">=</font> <font color="#FF0000">":subdomain.example.org"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>If these two end up matching when routing, you will end up with two bindings defined, <code>subdomain</code> and <code>name</code>, each containing the segment value where they were defined. For example, the URL <code>http://test.example.org/hats/wild_cowboy_legendary/prices</code> will result in having the value <code>test</code> bound to the name <code>subdomain</code> and the value <code>wild_cowboy_legendary</code> bound to the name <code>name</code>. They can later be retrieved using <code>cowboy_req:binding/{2,3}</code>. The binding name must be given as an atom.</p>
-<p>There is a special binding name you can use to mimic the underscore variable in Erlang. Any match against the <code>_</code> binding will succeed but the data will be discarded. This is especially useful for matching against many domain names in one go.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">HostMatch</font> <font color="#990000">=</font> <font color="#FF0000">"ninenines.:_"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Similarly, it is possible to have optional segments. Anything between brackets is optional.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch</font> <font color="#990000">=</font> <font color="#FF0000">"/hats/[page/:number]"</font><font color="#990000">.</font>
-<font color="#009900">HostMatch</font> <font color="#990000">=</font> <font color="#FF0000">"[www.]ninenines.eu"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You can also have imbricated optional segments.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch</font> <font color="#990000">=</font> <font color="#FF0000">"/hats/[page/[:number]]"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You can retrieve the rest of the host or path using <code>[...]</code>. In the case of hosts it will match anything before, in the case of paths anything after the previously matched segments. It is a special case of optional segments, in that it can have zero, one or many segments. You can then find the segments using <code>cowboy_req:host_info/1</code> and <code>cowboy_req:path_info/1</code> respectively. They will be represented as a list of segments.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch</font> <font color="#990000">=</font> <font color="#FF0000">"/hats/[...]"</font><font color="#990000">.</font>
-<font color="#009900">HostMatch</font> <font color="#990000">=</font> <font color="#FF0000">"[...]ninenines.eu"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>If a binding appears twice in the routing rules, then the match will succeed only if they share the same value. This copies the Erlang pattern matching behavior.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch</font> <font color="#990000">=</font> <font color="#FF0000">"/hats/:name/:name"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>This is also true when an optional segment is present. In this case the two values must be identical only if the segment is available.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch</font> <font color="#990000">=</font> <font color="#FF0000">"/hats/:name/[:name]"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>If a binding is defined in both the host and path, then they must also share the same value.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch</font> <font color="#990000">=</font> <font color="#FF0000">"/:user/[...]"</font><font color="#990000">.</font>
-<font color="#009900">HostMatch</font> <font color="#990000">=</font> <font color="#FF0000">":user.github.com"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Finally, there are two special match values that can be used. The first is the atom <code>&apos;_&apos;</code> which will match any host or path.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathMatch</font> <font color="#990000">=</font> <font color="#FF6600">'_'</font><font color="#990000">.</font>
-<font color="#009900">HostMatch</font> <font color="#990000">=</font> <font color="#FF6600">'_'</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The second is the special host match <code>&quot;*&quot;</code> which will match the wildcard path, generally used alongside the <code>OPTIONS</code> method.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">HostMatch</font> <font color="#990000">=</font> <font color="#FF0000">"*"</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_constraints">Constraints</h2>
-<p>After the matching has completed, the resulting bindings can be tested against a set of constraints. Constraints are only tested when the binding is defined. They run in the order you defined them. The match will succeed only if they all succeed. If the match fails, then Cowboy tries the next route in the list.</p>
-<p>The format used for constraints is the same as match functions in <code>cowboy_req</code>: they are provided as a list of fields which may have one or more constraints. While the router accepts the same format, it will skip fields with no constraints and will also ignore default values, if any.</p>
-<p>Read more about <a href="../constraints">constraints</a>.</p>
-<h2 id="_compilation">Compilation</h2>
-<p>The routes must be compiled before Cowboy can use them. The compilation step normalizes the routes to simplify the code and speed up the execution, but the routes are still looked up one by one in the end. Faster compilation strategies could be to compile the routes directly to Erlang code, but would require heavier dependencies.</p>
-<p>To compile routes, just call the appropriate function:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>([
- <i><font color="#9A1900">%% {HostMatch, list({PathMatch, Handler, InitialState})}</font></i>
- {<font color="#FF6600">'_'</font>, [{<font color="#FF6600">'_'</font>, <font color="#FF6600">my_handler</font>, #{}}]}
-]),
-<i><font color="#9A1900">%% Name, NbAcceptors, TransOpts, ProtoOpts</font></i>
-<b><font color="#000000">cowboy:start_clear</font></b>(<font color="#FF6600">my_http_listener</font>,
- [{<font color="#FF6600">port</font>, <font color="#993399">8080</font>}],
- #{<font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}}
-)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_live_update">Live update</h2>
-<p>You can use the <code>cowboy:set_env/3</code> function for updating the dispatch list used by routing. This will apply to all new connections accepted by the listener:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>(<font color="#009900">Routes</font>),
-<b><font color="#000000">cowboy:set_env</font></b>(<font color="#FF6600">my_http_listener</font>, <font color="#FF6600">dispatch</font>, <font color="#009900">Dispatch</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Note that you need to compile the routes again before updating.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/listeners/">
- Listeners
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/constraints/">
- Constraints
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/specs.asciidoc b/docs/en/cowboy/2.1/guide/specs.asciidoc
deleted file mode 100644
index ec101fbd..00000000
--- a/docs/en/cowboy/2.1/guide/specs.asciidoc
+++ /dev/null
@@ -1,189 +0,0 @@
-[appendix]
-== HTTP and other specifications
-
-This chapter intends to list all the specification documents
-for or related to HTTP.
-
-=== HTTP
-
-==== IANA Registries
-
-* https://www.iana.org/assignments/http-methods/http-methods.xhtml[HTTP Method Registry]
-* https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml[HTTP Status Code Registry]
-* https://www.iana.org/assignments/message-headers/message-headers.xhtml[Message Headers]
-* https://www.iana.org/assignments/http-parameters/http-parameters.xhtml[HTTP Parameters]
-* https://www.iana.org/assignments/http-alt-svc-parameters/http-alt-svc-parameters.xhtml[HTTP Alt-Svc Parameter Registry]
-* https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml[HTTP Authentication Scheme Registry]
-* https://www.iana.org/assignments/http-cache-directives/http-cache-directives.xhtml[HTTP Cache Directive Registry]
-* https://www.iana.org/assignments/http-dig-alg/http-dig-alg.xhtml[HTTP Digest Algorithm Values]
-* https://www.iana.org/assignments/hoba-device-identifiers/hoba-device-identifiers.xhtml[HTTP Origin-Bound Authentication Device Identifier Types]
-* https://www.iana.org/assignments/http-upgrade-tokens/http-upgrade-tokens.xhtml[HTTP Upgrade Token Registry]
-* https://www.iana.org/assignments/http-warn-codes/http-warn-codes.xhtml[HTTP Warn Codes]
-* https://www.iana.org/assignments/http2-parameters/http2-parameters.xhtml[HTTP/2 Parameters]
-* https://www.ietf.org/assignments/websocket/websocket.xml[WebSocket Protocol Registries]
-
-==== Current
-
-* http://www.w3.org/TR/cors/[CORS]: Cross-Origin Resource Sharing
-* http://www.w3.org/TR/CSP2/[CSP2]: Content Security Policy Level 2
-* http://www.w3.org/TR/tracking-dnt/[DNT]: Tracking Preference Expression (DNT)
-* http://www.w3.org/TR/eventsource/[eventsource]: Server-Sent Events
-* https://www.w3.org/TR/html4/interact/forms.html#h-17.13.4[Form content types]: Form content types
-* https://www.w3.org/TR/preload/[Preload]: Preload
-* http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm[REST]: Fielding's Dissertation
-* https://tools.ietf.org/html/rfc1945[RFC 1945]: HTTP/1.0
-* https://tools.ietf.org/html/rfc1951[RFC 1951]: DEFLATE Compressed Data Format Specification version 1.3
-* https://tools.ietf.org/html/rfc1952[RFC 1952]: GZIP file format specification version 4.3
-* https://tools.ietf.org/html/rfc2046#section-5.1[RFC 2046]: Multipart media type (in MIME Part Two: Media Types)
-* https://tools.ietf.org/html/rfc2295[RFC 2295]: Transparent Content Negotiation in HTTP
-* https://tools.ietf.org/html/rfc2296[RFC 2296]: HTTP Remote Variant Selection Algorithm: RVSA/1.0
-* https://tools.ietf.org/html/rfc2817[RFC 2817]: Upgrading to TLS Within HTTP/1.1
-* https://tools.ietf.org/html/rfc2818[RFC 2818]: HTTP Over TLS
-* https://tools.ietf.org/html/rfc3230[RFC 3230]: Instance Digests in HTTP
-* https://tools.ietf.org/html/rfc4559[RFC 4559]: SPNEGO-based Kerberos and NTLM HTTP Authentication in Microsoft Windows
-* https://tools.ietf.org/html/rfc5789[RFC 5789]: PATCH Method for HTTP
-* https://tools.ietf.org/html/rfc5843[RFC 5843]: Additional Hash Algorithms for HTTP Instance Digests
-* https://tools.ietf.org/html/rfc5861[RFC 5861]: HTTP Cache-Control Extensions for Stale Content
-* https://tools.ietf.org/html/rfc5988[RFC 5988]: Web Linking
-* https://tools.ietf.org/html/rfc6265[RFC 6265]: HTTP State Management Mechanism
-* https://tools.ietf.org/html/rfc6266[RFC 6266]: Use of the Content-Disposition Header Field
-* https://tools.ietf.org/html/rfc6454[RFC 6454]: The Web Origin Concept
-* https://tools.ietf.org/html/rfc6455[RFC 6455]: The WebSocket Protocol
-* https://tools.ietf.org/html/rfc6585[RFC 6585]: Additional HTTP Status Codes
-* https://tools.ietf.org/html/rfc6750[RFC 6750]: The OAuth 2.0 Authorization Framework: Bearer Token Usage
-* https://tools.ietf.org/html/rfc6797[RFC 6797]: HTTP Strict Transport Security (HSTS)
-* https://tools.ietf.org/html/rfc6903[RFC 6903]: Additional Link Relation Types
-* https://tools.ietf.org/html/rfc7034[RFC 7034]: HTTP Header Field X-Frame-Options
-* https://tools.ietf.org/html/rfc7089[RFC 7089]: Time-Based Access to Resource States: Memento
-* https://tools.ietf.org/html/rfc7230[RFC 7230]: HTTP/1.1 Message Syntax and Routing
-* https://tools.ietf.org/html/rfc7231[RFC 7231]: HTTP/1.1 Semantics and Content
-* https://tools.ietf.org/html/rfc7232[RFC 7232]: HTTP/1.1 Conditional Requests
-* https://tools.ietf.org/html/rfc7233[RFC 7233]: HTTP/1.1 Range Requests
-* https://tools.ietf.org/html/rfc7234[RFC 7234]: HTTP/1.1 Caching
-* https://tools.ietf.org/html/rfc7235[RFC 7235]: HTTP/1.1 Authentication
-* https://tools.ietf.org/html/rfc7239[RFC 7239]: Forwarded HTTP Extension
-* https://tools.ietf.org/html/rfc7240[RFC 7240]: Prefer Header for HTTP
-* https://tools.ietf.org/html/rfc7469[RFC 7469]: Public Key Pinning Extension for HTTP
-* https://tools.ietf.org/html/rfc7486[RFC 7486]: HTTP Origin-Bound Authentication (HOBA)
-* https://tools.ietf.org/html/rfc7538[RFC 7538]: HTTP Status Code 308 (Permanent Redirect)
-* https://tools.ietf.org/html/rfc7540[RFC 7540]: Hypertext Transfer Protocol Version 2 (HTTP/2)
-* https://tools.ietf.org/html/rfc7541[RFC 7541]: HPACK: Header Compression for HTTP/2
-* https://tools.ietf.org/html/rfc7578[RFC 7578]: Returning Values from Forms: multipart/form-data
-* https://tools.ietf.org/html/rfc7615[RFC 7615]: HTTP Authentication-Info and Proxy-Authentication-Info Response Header Fields
-* https://tools.ietf.org/html/rfc7616[RFC 7616]: HTTP Digest Access Authentication
-* https://tools.ietf.org/html/rfc7617[RFC 7617]: The 'Basic' HTTP Authentication Scheme
-* https://tools.ietf.org/html/rfc7639[RFC 7639]: The ALPN HTTP Header Field
-* https://tools.ietf.org/html/rfc7692[RFC 7692]: Compression Extensions for WebSocket
-* https://tools.ietf.org/html/rfc7694[RFC 7694]: HTTP Client-Initiated Content-Encoding
-* https://tools.ietf.org/html/rfc7725[RFC 7725]: An HTTP Status Code to Report Legal Obstacles
-* https://tools.ietf.org/html/rfc7804[RFC 7804]: Salted Challenge Response HTTP Authentication Mechanism
-* https://tools.ietf.org/html/rfc7838[RFC 7838]: HTTP Alternative Services
-* https://tools.ietf.org/html/rfc7932[RFC 7932]: Brotli Compressed Data Format
-* https://tools.ietf.org/html/rfc7936[RFC 7936]: Clarifying Registry Procedures for the WebSocket Subprotocol Name Registry
-* https://tools.ietf.org/html/rfc8053[RFC 8053]: HTTP Authentication Extensions for Interactive Clients
-* https://tools.ietf.org/html/rfc8164[RFC 8164]: Opportunistic Security for HTTP/2
-* https://tools.ietf.org/html/rfc8187[RFC 8187]: Indicating Character Encoding and Language for HTTP Header Field Parameters
-* https://tools.ietf.org/html/rfc8188[RFC 8188]: Encrypted Content-Encoding for HTTP
-* https://tools.ietf.org/html/rfc8246[RFC 8246]: HTTP Immutable Responses
-* https://www.w3.org/TR/webmention/[Webmention]: Webmention
-
-==== Upcoming
-
-* https://www.w3.org/TR/csp-cookies/[Content Security Policy: Cookie Controls]
-* https://www.w3.org/TR/csp-embedded-enforcement/[Content Security Policy: Embedded Enforcement]
-* https://www.w3.org/TR/CSP3/[Content Security Policy Level 3]
-* https://www.w3.org/TR/csp-pinning/[Content Security Policy Pinning]
-* http://www.w3.org/TR/referrer-policy/[Referrer Policy]
-* http://www.w3.org/TR/UISecurity/[User Interface Security Directives for Content Security Policy]
-
-==== Informative
-
-* http://www.w3.org/TR/webarch/[Architecture of the World Wide Web]
-* https://tools.ietf.org/html/rfc2936[RFC 2936]: HTTP MIME Type Handler Detection
-* https://tools.ietf.org/html/rfc2964[RFC 2964]: Use of HTTP State Management
-* https://tools.ietf.org/html/rfc3143[RFC 3143]: Known HTTP Proxy/Caching Problems
-* https://tools.ietf.org/html/rfc6202[RFC 6202]: Known Issues and Best Practices for the Use of Long Polling and Streaming in Bidirectional HTTP
-* https://tools.ietf.org/html/rfc6838[RFC 6838]: Media Type Specifications and Registration Procedures
-* https://tools.ietf.org/html/rfc7478[RFC 7478]: Web Real-Time Communication Use Cases and Requirements
-
-==== Related
-
-* http://www.w3.org/TR/app-uri/[app: URL Scheme]
-* http://www.w3.org/TR/beacon/[Beacon]
-* http://www.w3.org/TR/FileAPI/[File API]
-* https://tools.ietf.org/html/rfc8030[Generic Event Delivery Using HTTP Push]
-* http://www.w3.org/TR/capability-urls/[Good Practices for Capability URLs]
-* https://html.spec.whatwg.org/multipage/[HTML Living Standard]
-* https://developers.whatwg.org/[HTML Living Standard for Web developers]
-* http://www.w3.org/TR/html401/[HTML4.01]
-* http://www.w3.org/TR/html5/[HTML5]
-* http://www.w3.org/TR/html51/[HTML5.1]
-* https://www.w3.org/TR/html52/[HTML5.2]
-* http://www.w3.org/TR/media-frags/[Media Fragments URI 1.0]
-* https://tools.ietf.org/html/rfc6690[RFC 6690]: Constrained RESTful Environments (CoRE) Link Format
-* https://tools.ietf.org/html/rfc7807[RFC 7807]: Problem Details for HTTP APIs
-* https://tools.ietf.org/html/rfc6906[RFC 6906]: The 'profile' Link Relation Type
-* http://www.w3.org/TR/SRI/[Subresource Integrity]
-* http://www.w3.org/TR/tracking-compliance/[Tracking Compliance and Scope]
-* http://www.w3.org/TR/media-frags-reqs/[Use cases and requirements for Media Fragments]
-* http://www.w3.org/TR/webrtc/[WebRTC 1.0: Real-time Communication Between Browsers]
-* http://www.w3.org/TR/websockets/[Websocket API]
-* http://www.w3.org/TR/XMLHttpRequest/[XMLHttpRequest Level 1]
-* https://xhr.spec.whatwg.org/[XMLHttpRequest Living Standard]
-
-==== Seemingly obsolete
-
-* https://tools.ietf.org/html/rfc2227[RFC 2227]: Simple Hit-Metering and Usage-Limiting for HTTP
-* https://tools.ietf.org/html/rfc2310[RFC 2310]: The Safe Response Header Field
-* https://tools.ietf.org/html/rfc2324[RFC 2324]: Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0)
-* https://tools.ietf.org/html/rfc2660[RFC 2660]: The Secure HyperText Transfer Protocol
-* https://tools.ietf.org/html/rfc2774[RFC 2774]: An HTTP Extension Framework
-* https://tools.ietf.org/html/rfc2965[RFC 2965]: HTTP State Management Mechanism (Cookie2)
-* https://tools.ietf.org/html/rfc3229[RFC 3229]: Delta encoding in HTTP
-* https://tools.ietf.org/html/rfc7168[RFC 7168]: The Hyper Text Coffee Pot Control Protocol for Tea Efflux Appliances (HTCPCP-TEA)
-* http://dev.chromium.org/spdy/spdy-protocol[SPDY]: SPDY Protocol
-* https://tools.ietf.org/html/draft-tyoshino-hybi-websocket-perframe-deflate-06[x-webkit-deflate-frame]: Deprecated Websocket compression
-
-=== URL
-
-* https://tools.ietf.org/html/rfc3986[RFC 3986]: URI Generic Syntax
-* https://tools.ietf.org/html/rfc6570[RFC 6570]: URI Template
-* https://tools.ietf.org/html/rfc6874[RFC 6874]: Representing IPv6 Zone Identifiers in Address Literals and URIs
-* https://tools.ietf.org/html/rfc7320[RFC 7320]: URI Design and Ownership
-* http://www.w3.org/TR/url-1/[URL]
-* https://url.spec.whatwg.org/[URL Living Standard]
-
-=== WebDAV
-
-* https://tools.ietf.org/html/rfc3253[RFC 3253]: Versioning Extensions to WebDAV
-* https://tools.ietf.org/html/rfc3648[RFC 3648]: WebDAV Ordered Collections Protocol
-* https://tools.ietf.org/html/rfc3744[RFC 3744]: WebDAV Access Control Protocol
-* https://tools.ietf.org/html/rfc4316[RFC 4316]: Datatypes for WebDAV Properties
-* https://tools.ietf.org/html/rfc4331[RFC 4331]: Quota and Size Properties for DAV Collections
-* https://tools.ietf.org/html/rfc4437[RFC 4437]: WebDAV Redirect Reference Resources
-* https://tools.ietf.org/html/rfc4709[RFC 4709]: Mounting WebDAV Servers
-* https://tools.ietf.org/html/rfc4791[RFC 4791]: Calendaring Extensions to WebDAV (CalDAV)
-* https://tools.ietf.org/html/rfc4918[RFC 4918]: HTTP Extensions for WebDAV
-* https://tools.ietf.org/html/rfc5323[RFC 5323]: WebDAV SEARCH
-* https://tools.ietf.org/html/rfc5397[RFC 5397]: WebDAV Current Principal Extension
-* https://tools.ietf.org/html/rfc5689[RFC 5689]: Extended MKCOL for WebDAV
-* https://tools.ietf.org/html/rfc5842[RFC 5842]: Binding Extensions to WebDAV
-* https://tools.ietf.org/html/rfc5995[RFC 5995]: Using POST to Add Members to WebDAV Collections
-* https://tools.ietf.org/html/rfc6352[RFC 6352]: CardDAV: vCard Extensions to WebDAV
-* https://tools.ietf.org/html/rfc6578[RFC 6578]: Collection Synchronization for WebDAV
-* https://tools.ietf.org/html/rfc6638[RFC 6638]: Scheduling Extensions to CalDAV
-* https://tools.ietf.org/html/rfc6764[RFC 6764]: Locating Services for Calendaring Extensions to WebDAV (CalDAV) and vCard Extensions to WebDAV (CardDAV)
-* https://tools.ietf.org/html/rfc7809[RFC 7809]: Calendaring Extensions to WebDAV (CalDAV): Time Zones by Reference
-* https://tools.ietf.org/html/rfc7953[RFC 7953]: Calendar Availability
-* https://tools.ietf.org/html/rfc8144[RFC 8144]: Use of the Prefer Header Field in WebDAV
-
-=== CoAP
-
-* https://tools.ietf.org/html/rfc7252[RFC 7252]: The Constrained Application Protocol (CoAP)
-* https://tools.ietf.org/html/rfc7390[RFC 7390]: Group Communication for CoAP
-* https://tools.ietf.org/html/rfc7641[RFC 7641]: Observing Resources in CoAP
-* https://tools.ietf.org/html/rfc7650[RFC 7650]: A CoAP Usage for REsource LOcation And Discovery (RELOAD)
-* https://tools.ietf.org/html/rfc7959[RFC 7959]: Block-Wise Transfers in CoAP
-* https://tools.ietf.org/html/rfc7967[RFC 7967]: CoAP Option for No Server Response
-* https://tools.ietf.org/html/rfc8075[RFC 8075]: Guidelines for Mapping Implementations: HTTP to CoAP
-* https://tools.ietf.org/html/rfc8132[RFC 8132]: PATCH and FETCH Methods for CoAP
diff --git a/docs/en/cowboy/2.1/guide/specs/index.html b/docs/en/cowboy/2.1/guide/specs/index.html
deleted file mode 100644
index a1c07c7e..00000000
--- a/docs/en/cowboy/2.1/guide/specs/index.html
+++ /dev/null
@@ -1,511 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: HTTP and other specifications</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>HTTP and other specifications</span></h1>
-
-<p>This chapter intends to list all the specification documents for or related to HTTP.</p>
-<h2 id="_http">HTTP</h2>
-<h4 id="_iana_registries">IANA Registries</h4>
-<ul><li><a href="https://www.iana.org/assignments/http-methods/http-methods.xhtml">HTTP Method Registry</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml">HTTP Status Code Registry</a>
-</li>
-<li><a href="https://www.iana.org/assignments/message-headers/message-headers.xhtml">Message Headers</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http-parameters/http-parameters.xhtml">HTTP Parameters</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http-alt-svc-parameters/http-alt-svc-parameters.xhtml">HTTP Alt-Svc Parameter Registry</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml">HTTP Authentication Scheme Registry</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http-cache-directives/http-cache-directives.xhtml">HTTP Cache Directive Registry</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http-dig-alg/http-dig-alg.xhtml">HTTP Digest Algorithm Values</a>
-</li>
-<li><a href="https://www.iana.org/assignments/hoba-device-identifiers/hoba-device-identifiers.xhtml">HTTP Origin-Bound Authentication Device Identifier Types</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http-upgrade-tokens/http-upgrade-tokens.xhtml">HTTP Upgrade Token Registry</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http-warn-codes/http-warn-codes.xhtml">HTTP Warn Codes</a>
-</li>
-<li><a href="https://www.iana.org/assignments/http2-parameters/http2-parameters.xhtml">HTTP/2 Parameters</a>
-</li>
-<li><a href="https://www.ietf.org/assignments/websocket/websocket.xml">WebSocket Protocol Registries</a>
-</li>
-</ul>
-<h4 id="_current">Current</h4>
-<ul><li><a href="http://www.w3.org/TR/cors/">CORS</a>: Cross-Origin Resource Sharing
-</li>
-<li><a href="http://www.w3.org/TR/CSP2/">CSP2</a>: Content Security Policy Level 2
-</li>
-<li><a href="http://www.w3.org/TR/tracking-dnt/">DNT</a>: Tracking Preference Expression (DNT)
-</li>
-<li><a href="http://www.w3.org/TR/eventsource/">eventsource</a>: Server-Sent Events
-</li>
-<li><a href="https://www.w3.org/TR/html4/interact/forms.html#h-17.13.4">Form content types</a>: Form content types
-</li>
-<li><a href="https://www.w3.org/TR/preload/">Preload</a>: Preload
-</li>
-<li><a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm">REST</a>: Fielding&apos;s Dissertation
-</li>
-<li><a href="https://tools.ietf.org/html/rfc1945">RFC 1945</a>: HTTP/1.0
-</li>
-<li><a href="https://tools.ietf.org/html/rfc1951">RFC 1951</a>: DEFLATE Compressed Data Format Specification version 1.3
-</li>
-<li><a href="https://tools.ietf.org/html/rfc1952">RFC 1952</a>: GZIP file format specification version 4.3
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2046#section-5.1">RFC 2046</a>: Multipart media type (in MIME Part Two: Media Types)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2295">RFC 2295</a>: Transparent Content Negotiation in HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2296">RFC 2296</a>: HTTP Remote Variant Selection Algorithm: RVSA/1.0
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2817">RFC 2817</a>: Upgrading to TLS Within HTTP/1.1
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2818">RFC 2818</a>: HTTP Over TLS
-</li>
-<li><a href="https://tools.ietf.org/html/rfc3230">RFC 3230</a>: Instance Digests in HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc4559">RFC 4559</a>: SPNEGO-based Kerberos and NTLM HTTP Authentication in Microsoft Windows
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5789">RFC 5789</a>: PATCH Method for HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5843">RFC 5843</a>: Additional Hash Algorithms for HTTP Instance Digests
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5861">RFC 5861</a>: HTTP Cache-Control Extensions for Stale Content
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5988">RFC 5988</a>: Web Linking
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6265">RFC 6265</a>: HTTP State Management Mechanism
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6266">RFC 6266</a>: Use of the Content-Disposition Header Field
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6454">RFC 6454</a>: The Web Origin Concept
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6455">RFC 6455</a>: The WebSocket Protocol
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6585">RFC 6585</a>: Additional HTTP Status Codes
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6750">RFC 6750</a>: The OAuth 2.0 Authorization Framework: Bearer Token Usage
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6797">RFC 6797</a>: HTTP Strict Transport Security (HSTS)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6903">RFC 6903</a>: Additional Link Relation Types
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7034">RFC 7034</a>: HTTP Header Field X-Frame-Options
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7089">RFC 7089</a>: Time-Based Access to Resource States: Memento
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7230">RFC 7230</a>: HTTP/1.1 Message Syntax and Routing
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7231">RFC 7231</a>: HTTP/1.1 Semantics and Content
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7232">RFC 7232</a>: HTTP/1.1 Conditional Requests
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7233">RFC 7233</a>: HTTP/1.1 Range Requests
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7234">RFC 7234</a>: HTTP/1.1 Caching
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7235">RFC 7235</a>: HTTP/1.1 Authentication
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7239">RFC 7239</a>: Forwarded HTTP Extension
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7240">RFC 7240</a>: Prefer Header for HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7469">RFC 7469</a>: Public Key Pinning Extension for HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7486">RFC 7486</a>: HTTP Origin-Bound Authentication (HOBA)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7538">RFC 7538</a>: HTTP Status Code 308 (Permanent Redirect)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7540">RFC 7540</a>: Hypertext Transfer Protocol Version 2 (HTTP/2)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7541">RFC 7541</a>: HPACK: Header Compression for HTTP/2
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7578">RFC 7578</a>: Returning Values from Forms: multipart/form-data
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7615">RFC 7615</a>: HTTP Authentication-Info and Proxy-Authentication-Info Response Header Fields
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7616">RFC 7616</a>: HTTP Digest Access Authentication
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7617">RFC 7617</a>: The <em>Basic</em> HTTP Authentication Scheme
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7639">RFC 7639</a>: The ALPN HTTP Header Field
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7692">RFC 7692</a>: Compression Extensions for WebSocket
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7694">RFC 7694</a>: HTTP Client-Initiated Content-Encoding
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7725">RFC 7725</a>: An HTTP Status Code to Report Legal Obstacles
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7804">RFC 7804</a>: Salted Challenge Response HTTP Authentication Mechanism
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7838">RFC 7838</a>: HTTP Alternative Services
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7932">RFC 7932</a>: Brotli Compressed Data Format
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7936">RFC 7936</a>: Clarifying Registry Procedures for the WebSocket Subprotocol Name Registry
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8053">RFC 8053</a>: HTTP Authentication Extensions for Interactive Clients
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8164">RFC 8164</a>: Opportunistic Security for HTTP/2
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8187">RFC 8187</a>: Indicating Character Encoding and Language for HTTP Header Field Parameters
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8188">RFC 8188</a>: Encrypted Content-Encoding for HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8246">RFC 8246</a>: HTTP Immutable Responses
-</li>
-<li><a href="https://www.w3.org/TR/webmention/">Webmention</a>: Webmention
-</li>
-</ul>
-<h4 id="_upcoming">Upcoming</h4>
-<ul><li><a href="https://www.w3.org/TR/csp-cookies/">Content Security Policy: Cookie Controls</a>
-</li>
-<li><a href="https://www.w3.org/TR/csp-embedded-enforcement/">Content Security Policy: Embedded Enforcement</a>
-</li>
-<li><a href="https://www.w3.org/TR/CSP3/">Content Security Policy Level 3</a>
-</li>
-<li><a href="https://www.w3.org/TR/csp-pinning/">Content Security Policy Pinning</a>
-</li>
-<li><a href="http://www.w3.org/TR/referrer-policy/">Referrer Policy</a>
-</li>
-<li><a href="http://www.w3.org/TR/UISecurity/">User Interface Security Directives for Content Security Policy</a>
-</li>
-</ul>
-<h4 id="_informative">Informative</h4>
-<ul><li><a href="http://www.w3.org/TR/webarch/">Architecture of the World Wide Web</a>
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2936">RFC 2936</a>: HTTP MIME Type Handler Detection
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2964">RFC 2964</a>: Use of HTTP State Management
-</li>
-<li><a href="https://tools.ietf.org/html/rfc3143">RFC 3143</a>: Known HTTP Proxy/Caching Problems
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6202">RFC 6202</a>: Known Issues and Best Practices for the Use of Long Polling and Streaming in Bidirectional HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6838">RFC 6838</a>: Media Type Specifications and Registration Procedures
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7478">RFC 7478</a>: Web Real-Time Communication Use Cases and Requirements
-</li>
-</ul>
-<h4 id="_related">Related</h4>
-<ul><li><a href="http://www.w3.org/TR/app-uri/">app: URL Scheme</a>
-</li>
-<li><a href="http://www.w3.org/TR/beacon/">Beacon</a>
-</li>
-<li><a href="http://www.w3.org/TR/FileAPI/">File API</a>
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8030">Generic Event Delivery Using HTTP Push</a>
-</li>
-<li><a href="http://www.w3.org/TR/capability-urls/">Good Practices for Capability URLs</a>
-</li>
-<li><a href="https://html.spec.whatwg.org/multipage/">HTML Living Standard</a>
-</li>
-<li><a href="https://developers.whatwg.org/">HTML Living Standard for Web developers</a>
-</li>
-<li><a href="http://www.w3.org/TR/html401/">HTML4.01</a>
-</li>
-<li><a href="http://www.w3.org/TR/html5/">HTML5</a>
-</li>
-<li><a href="http://www.w3.org/TR/html51/">HTML5.1</a>
-</li>
-<li><a href="https://www.w3.org/TR/html52/">HTML5.2</a>
-</li>
-<li><a href="http://www.w3.org/TR/media-frags/">Media Fragments URI 1.0</a>
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6690">RFC 6690</a>: Constrained RESTful Environments (CoRE) Link Format
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7807">RFC 7807</a>: Problem Details for HTTP APIs
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6906">RFC 6906</a>: The <em>profile</em> Link Relation Type
-</li>
-<li><a href="http://www.w3.org/TR/SRI/">Subresource Integrity</a>
-</li>
-<li><a href="http://www.w3.org/TR/tracking-compliance/">Tracking Compliance and Scope</a>
-</li>
-<li><a href="http://www.w3.org/TR/media-frags-reqs/">Use cases and requirements for Media Fragments</a>
-</li>
-<li><a href="http://www.w3.org/TR/webrtc/">WebRTC 1.0: Real-time Communication Between Browsers</a>
-</li>
-<li><a href="http://www.w3.org/TR/websockets/">Websocket API</a>
-</li>
-<li><a href="http://www.w3.org/TR/XMLHttpRequest/">XMLHttpRequest Level 1</a>
-</li>
-<li><a href="https://xhr.spec.whatwg.org/">XMLHttpRequest Living Standard</a>
-</li>
-</ul>
-<h4 id="_seemingly_obsolete">Seemingly obsolete</h4>
-<ul><li><a href="https://tools.ietf.org/html/rfc2227">RFC 2227</a>: Simple Hit-Metering and Usage-Limiting for HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2310">RFC 2310</a>: The Safe Response Header Field
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2324">RFC 2324</a>: Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2660">RFC 2660</a>: The Secure HyperText Transfer Protocol
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2774">RFC 2774</a>: An HTTP Extension Framework
-</li>
-<li><a href="https://tools.ietf.org/html/rfc2965">RFC 2965</a>: HTTP State Management Mechanism (Cookie2)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc3229">RFC 3229</a>: Delta encoding in HTTP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7168">RFC 7168</a>: The Hyper Text Coffee Pot Control Protocol for Tea Efflux Appliances (HTCPCP-TEA)
-</li>
-<li><a href="http://dev.chromium.org/spdy/spdy-protocol">SPDY</a>: SPDY Protocol
-</li>
-<li><a href="https://tools.ietf.org/html/draft-tyoshino-hybi-websocket-perframe-deflate-06">x-webkit-deflate-frame</a>: Deprecated Websocket compression
-</li>
-</ul>
-<h2 id="_url">URL</h2>
-<ul><li><a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>: URI Generic Syntax
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6570">RFC 6570</a>: URI Template
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6874">RFC 6874</a>: Representing IPv6 Zone Identifiers in Address Literals and URIs
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7320">RFC 7320</a>: URI Design and Ownership
-</li>
-<li><a href="http://www.w3.org/TR/url-1/">URL</a>
-</li>
-<li><a href="https://url.spec.whatwg.org/">URL Living Standard</a>
-</li>
-</ul>
-<h2 id="_webdav">WebDAV</h2>
-<ul><li><a href="https://tools.ietf.org/html/rfc3253">RFC 3253</a>: Versioning Extensions to WebDAV
-</li>
-<li><a href="https://tools.ietf.org/html/rfc3648">RFC 3648</a>: WebDAV Ordered Collections Protocol
-</li>
-<li><a href="https://tools.ietf.org/html/rfc3744">RFC 3744</a>: WebDAV Access Control Protocol
-</li>
-<li><a href="https://tools.ietf.org/html/rfc4316">RFC 4316</a>: Datatypes for WebDAV Properties
-</li>
-<li><a href="https://tools.ietf.org/html/rfc4331">RFC 4331</a>: Quota and Size Properties for DAV Collections
-</li>
-<li><a href="https://tools.ietf.org/html/rfc4437">RFC 4437</a>: WebDAV Redirect Reference Resources
-</li>
-<li><a href="https://tools.ietf.org/html/rfc4709">RFC 4709</a>: Mounting WebDAV Servers
-</li>
-<li><a href="https://tools.ietf.org/html/rfc4791">RFC 4791</a>: Calendaring Extensions to WebDAV (CalDAV)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc4918">RFC 4918</a>: HTTP Extensions for WebDAV
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5323">RFC 5323</a>: WebDAV SEARCH
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5397">RFC 5397</a>: WebDAV Current Principal Extension
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5689">RFC 5689</a>: Extended MKCOL for WebDAV
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5842">RFC 5842</a>: Binding Extensions to WebDAV
-</li>
-<li><a href="https://tools.ietf.org/html/rfc5995">RFC 5995</a>: Using POST to Add Members to WebDAV Collections
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6352">RFC 6352</a>: CardDAV: vCard Extensions to WebDAV
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6578">RFC 6578</a>: Collection Synchronization for WebDAV
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6638">RFC 6638</a>: Scheduling Extensions to CalDAV
-</li>
-<li><a href="https://tools.ietf.org/html/rfc6764">RFC 6764</a>: Locating Services for Calendaring Extensions to WebDAV (CalDAV) and vCard Extensions to WebDAV (CardDAV)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7809">RFC 7809</a>: Calendaring Extensions to WebDAV (CalDAV): Time Zones by Reference
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7953">RFC 7953</a>: Calendar Availability
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8144">RFC 8144</a>: Use of the Prefer Header Field in WebDAV
-</li>
-</ul>
-<h2 id="_coap">CoAP</h2>
-<ul><li><a href="https://tools.ietf.org/html/rfc7252">RFC 7252</a>: The Constrained Application Protocol (CoAP)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7390">RFC 7390</a>: Group Communication for CoAP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7641">RFC 7641</a>: Observing Resources in CoAP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7650">RFC 7650</a>: A CoAP Usage for REsource LOcation And Discovery (RELOAD)
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7959">RFC 7959</a>: Block-Wise Transfers in CoAP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc7967">RFC 7967</a>: CoAP Option for No Server Response
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8075">RFC 8075</a>: Guidelines for Mapping Implementations: HTTP to CoAP
-</li>
-<li><a href="https://tools.ietf.org/html/rfc8132">RFC 8132</a>: PATCH and FETCH Methods for CoAP
-</li>
-</ul>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/migrating_from_1.0/">
- Migrating from Cowboy 1.0 to 2.0
- </a>
-
-
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/static_files.asciidoc b/docs/en/cowboy/2.1/guide/static_files.asciidoc
deleted file mode 100644
index 9d9b8cc2..00000000
--- a/docs/en/cowboy/2.1/guide/static_files.asciidoc
+++ /dev/null
@@ -1,163 +0,0 @@
-[[static_files]]
-== Static files
-
-Cowboy comes with a ready to use handler for serving static
-files. It is provided as a convenience for serving files
-during development.
-
-For systems in production, consider using one of the many
-Content Distribution Network (CDN) available on the market,
-as they are the best solution for serving files.
-
-The static handler can serve either one file or all files
-from a given directory. The etag generation and mime types
-can be configured.
-
-=== Serve one file
-
-You can use the static handler to serve one specific file
-from an application's private directory. This is particularly
-useful to serve an 'index.html' file when the client requests
-the `/` path, for example. The path configured is relative
-to the given application's private directory.
-
-The following rule will serve the file 'static/index.html'
-from the application `my_app`'s priv directory whenever the
-path `/` is accessed:
-
-[source,erlang]
-{"/", cowboy_static, {priv_file, my_app, "static/index.html"}}
-
-You can also specify the absolute path to a file, or the
-path to the file relative to the current directory:
-
-[source,erlang]
-{"/", cowboy_static, {file, "/var/www/index.html"}}
-
-=== Serve all files from a directory
-
-You can also use the static handler to serve all files that
-can be found in the configured directory. The handler will
-use the `path_info` information to resolve the file location,
-which means that your route must end with a `[...]` pattern
-for it to work. All files are served, including the ones that
-may be found in subfolders.
-
-You can specify the directory relative to an application's
-private directory.
-
-The following rule will serve any file found in the application
-`my_app`'s priv directory inside the `static/assets` folder
-whenever the requested path begins with `/assets/`:
-
-[source,erlang]
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets"}}
-
-You can also specify the absolute path to the directory or
-set it relative to the current directory:
-
-[source,erlang]
-{"/assets/[...]", cowboy_static, {dir, "/var/www/assets"}}
-
-=== Customize the mimetype detection
-
-By default, Cowboy will attempt to recognize the mimetype
-of your static files by looking at the extension.
-
-You can override the function that figures out the mimetype
-of the static files. It can be useful when Cowboy is missing
-a mimetype you need to handle, or when you want to reduce
-the list to make lookups faster. You can also give a
-hard-coded mimetype that will be used unconditionally.
-
-Cowboy comes with two functions built-in. The default
-function only handles common file types used when building
-Web applications. The other function is an extensive list
-of hundreds of mimetypes that should cover almost any need
-you may have. You can of course create your own function.
-
-To use the default function, you should not have to configure
-anything, as it is the default. If you insist, though, the
-following will do the job:
-
-[source,erlang]
-----
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{mimetypes, cow_mimetypes, web}]}}
-----
-
-As you can see, there is an optional field that may contain
-a list of less used options, like mimetypes or etag. All option
-types have this optional field.
-
-To use the function that will detect almost any mimetype,
-the following configuration will do:
-
-[source,erlang]
-----
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{mimetypes, cow_mimetypes, all}]}}
-----
-
-You probably noticed the pattern by now. The configuration
-expects a module and a function name, so you can use any
-of your own functions instead:
-
-[source,erlang]
-----
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{mimetypes, Module, Function}]}}
-----
-
-The function that performs the mimetype detection receives
-a single argument that is the path to the file on disk. It
-is recommended to return the mimetype in tuple form, although
-a binary string is also allowed (but will require extra
-processing). If the function can't figure out the mimetype,
-then it should return `{<<"application">>, <<"octet-stream">>, []}`.
-
-When the static handler fails to find the extension,
-it will send the file as `application/octet-stream`.
-A browser receiving such file will attempt to download it
-directly to disk.
-
-Finally, the mimetype can be hard-coded for all files.
-This is especially useful in combination with the `file`
-and `priv_file` options as it avoids needless computation:
-
-[source,erlang]
-----
-{"/", cowboy_static, {priv_file, my_app, "static/index.html",
- [{mimetypes, {<<"text">>, <<"html">>, []}}]}}
-----
-
-=== Generate an etag
-
-By default, the static handler will generate an etag header
-value based on the size and modified time. This solution
-can not be applied to all systems though. It would perform
-rather poorly over a cluster of nodes, for example, as the
-file metadata will vary from server to server, giving a
-different etag on each server.
-
-You can however change the way the etag is calculated:
-
-[source,erlang]
-----
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{etag, Module, Function}]}}
-----
-
-This function will receive three arguments: the path to the
-file on disk, the size of the file and the last modification
-time. In a distributed setup, you would typically use the
-file path to retrieve an etag value that is identical across
-all your servers.
-
-You can also completely disable etag handling:
-
-[source,erlang]
-----
-{"/assets/[...]", cowboy_static, {priv_dir, my_app, "static/assets",
- [{etag, false}]}}
-----
diff --git a/docs/en/cowboy/2.1/guide/static_files/index.html b/docs/en/cowboy/2.1/guide/static_files/index.html
deleted file mode 100644
index 0e52fbe8..00000000
--- a/docs/en/cowboy/2.1/guide/static_files/index.html
+++ /dev/null
@@ -1,279 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Static files</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Static files</span></h1>
-
-<p>Cowboy comes with a ready to use handler for serving static files. It is provided as a convenience for serving files during development.</p>
-<p>For systems in production, consider using one of the many Content Distribution Network (CDN) available on the market, as they are the best solution for serving files.</p>
-<p>The static handler can serve either one file or all files from a given directory. The etag generation and mime types can be configured.</p>
-<h2 id="_serve_one_file">Serve one file</h2>
-<p>You can use the static handler to serve one specific file from an application&apos;s private directory. This is particularly useful to serve an <em>index.html</em> file when the client requests the <code>/</code> path, for example. The path configured is relative to the given application&apos;s private directory.</p>
-<p>The following rule will serve the file <em>static/index.html</em> from the application <code>my_app</code>&apos;s priv directory whenever the path <code>/</code> is accessed:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">priv_file</font>, <font color="#FF6600">my_app</font>, <font color="#FF0000">"static/index.html"</font>}}</tt></pre>
-</div></div>
-<p>You can also specify the absolute path to a file, or the path to the file relative to the current directory:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">file</font>, <font color="#FF0000">"/var/www/index.html"</font>}}</tt></pre>
-</div></div>
-<h2 id="_serve_all_files_from_a_directory">Serve all files from a directory</h2>
-<p>You can also use the static handler to serve all files that can be found in the configured directory. The handler will use the <code>path_info</code> information to resolve the file location, which means that your route must end with a <code>[...]</code> pattern for it to work. All files are served, including the ones that may be found in subfolders.</p>
-<p>You can specify the directory relative to an application&apos;s private directory.</p>
-<p>The following rule will serve any file found in the application <code>my_app</code>&apos;s priv directory inside the <code>static/assets</code> folder whenever the requested path begins with <code>/assets/</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/assets/[...]"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">priv_dir</font>, <font color="#FF6600">my_app</font>, <font color="#FF0000">"static/assets"</font>}}</tt></pre>
-</div></div>
-<p>You can also specify the absolute path to the directory or set it relative to the current directory:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/assets/[...]"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">dir</font>, <font color="#FF0000">"/var/www/assets"</font>}}</tt></pre>
-</div></div>
-<h2 id="_customize_the_mimetype_detection">Customize the mimetype detection</h2>
-<p>By default, Cowboy will attempt to recognize the mimetype of your static files by looking at the extension.</p>
-<p>You can override the function that figures out the mimetype of the static files. It can be useful when Cowboy is missing a mimetype you need to handle, or when you want to reduce the list to make lookups faster. You can also give a hard-coded mimetype that will be used unconditionally.</p>
-<p>Cowboy comes with two functions built-in. The default function only handles common file types used when building Web applications. The other function is an extensive list of hundreds of mimetypes that should cover almost any need you may have. You can of course create your own function.</p>
-<p>To use the default function, you should not have to configure anything, as it is the default. If you insist, though, the following will do the job:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/assets/[...]"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">priv_dir</font>, <font color="#FF6600">my_app</font>, <font color="#FF0000">"static/assets"</font>,
- [{<font color="#FF6600">mimetypes</font>, <font color="#FF6600">cow_mimetypes</font>, <font color="#FF6600">web</font>}]}}</tt></pre>
-</div></div>
-<p>As you can see, there is an optional field that may contain a list of less used options, like mimetypes or etag. All option types have this optional field.</p>
-<p>To use the function that will detect almost any mimetype, the following configuration will do:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/assets/[...]"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">priv_dir</font>, <font color="#FF6600">my_app</font>, <font color="#FF0000">"static/assets"</font>,
- [{<font color="#FF6600">mimetypes</font>, <font color="#FF6600">cow_mimetypes</font>, <font color="#FF6600">all</font>}]}}</tt></pre>
-</div></div>
-<p>You probably noticed the pattern by now. The configuration expects a module and a function name, so you can use any of your own functions instead:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/assets/[...]"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">priv_dir</font>, <font color="#FF6600">my_app</font>, <font color="#FF0000">"static/assets"</font>,
- [{<font color="#FF6600">mimetypes</font>, <font color="#009900">Module</font>, <font color="#009900">Function</font>}]}}</tt></pre>
-</div></div>
-<p>The function that performs the mimetype detection receives a single argument that is the path to the file on disk. It is recommended to return the mimetype in tuple form, although a binary string is also allowed (but will require extra processing). If the function can&apos;t figure out the mimetype, then it should return <code>{&lt;&lt;&quot;application&quot;&gt;&gt;, &lt;&lt;&quot;octet-stream&quot;&gt;&gt;, []}</code>.</p>
-<p>When the static handler fails to find the extension, it will send the file as <code>application/octet-stream</code>. A browser receiving such file will attempt to download it directly to disk.</p>
-<p>Finally, the mimetype can be hard-coded for all files. This is especially useful in combination with the <code>file</code> and <code>priv_file</code> options as it avoids needless computation:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">priv_file</font>, <font color="#FF6600">my_app</font>, <font color="#FF0000">"static/index.html"</font>,
- [{<font color="#FF6600">mimetypes</font>, {<font color="#990000">&lt;&lt;</font><font color="#FF0000">"text"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"html"</font><font color="#990000">&gt;&gt;</font>, []}}]}}</tt></pre>
-</div></div>
-<h2 id="_generate_an_etag">Generate an etag</h2>
-<p>By default, the static handler will generate an etag header value based on the size and modified time. This solution can not be applied to all systems though. It would perform rather poorly over a cluster of nodes, for example, as the file metadata will vary from server to server, giving a different etag on each server.</p>
-<p>You can however change the way the etag is calculated:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/assets/[...]"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">priv_dir</font>, <font color="#FF6600">my_app</font>, <font color="#FF0000">"static/assets"</font>,
- [{<font color="#FF6600">etag</font>, <font color="#009900">Module</font>, <font color="#009900">Function</font>}]}}</tt></pre>
-</div></div>
-<p>This function will receive three arguments: the path to the file on disk, the size of the file and the last modification time. In a distributed setup, you would typically use the file path to retrieve an etag value that is identical across all your servers.</p>
-<p>You can also completely disable etag handling:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF0000">"/assets/[...]"</font>, <font color="#FF6600">cowboy_static</font>, {<font color="#FF6600">priv_dir</font>, <font color="#FF6600">my_app</font>, <font color="#FF0000">"static/assets"</font>,
- [{<font color="#FF6600">etag</font>, <font color="#000080">false</font>}]}}</tt></pre>
-</div></div>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/loop_handlers/">
- Loop handlers
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/req/">
- The Req object
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/streams.asciidoc b/docs/en/cowboy/2.1/guide/streams.asciidoc
deleted file mode 100644
index 841a9712..00000000
--- a/docs/en/cowboy/2.1/guide/streams.asciidoc
+++ /dev/null
@@ -1,65 +0,0 @@
-[[streams]]
-== Streams
-
-A stream is the set of messages that form an HTTP
-request/response pair.
-
-The term stream comes from HTTP/2. In Cowboy, it is
-also used when talking about HTTP/1.1 or HTTP/1.0.
-It should not be confused with streaming the request
-or response body.
-
-All versions of HTTP allow clients to initiate
-streams. HTTP/2 is the only one also allowing servers,
-through its server push feature. Both client and
-server-initiated streams go through the same process
-in Cowboy.
-
-=== Stream handlers
-
-Stream handlers must implement five different callbacks.
-Four of them are directly related; one is special.
-
-All callbacks receives the stream ID as first argument.
-
-Most of them can return a list of commands to be executed
-by Cowboy. When callbacks are chained, it is possible to
-intercept and modify these commands. This can be useful
-for modifying responses for example.
-
-The `init/3` callback is invoked when a new request
-comes in. It receives the Req object and the protocol options
-for this listener.
-
-The `data/4` callback is invoked when data from the request
-body is received. It receives both this data and a flag
-indicating whether more is to be expected.
-
-The `info/3` callback is invoked when an Erlang message is
-received for this stream. They will typically be messages
-sent by the request process.
-
-Finally the `terminate/3` callback is invoked with the
-terminate reason for the stream. The return value is ignored.
-Note that as with all terminate callbacks in Erlang, there
-is no strong guarantee that it will be called.
-
-The special callback `early_error/5` is called when an error
-occurs before the request headers were fully received and
-Cowboy is sending a response. It receives the partial Req
-object, the error reason, the protocol options and the response
-Cowboy will send. This response must be returned, possibly
-modified.
-
-=== Built-in handlers
-
-Cowboy comes with two handlers.
-
-`cowboy_stream_h` is the default stream handler.
-It is the core of much of the functionality of Cowboy.
-All chains of stream handlers should call it last.
-
-`cowboy_compress_h` will automatically compress
-responses when possible. It is not enabled by default.
-It is a good example for writing your own handlers
-that will modify responses.
diff --git a/docs/en/cowboy/2.1/guide/streams/index.html b/docs/en/cowboy/2.1/guide/streams/index.html
deleted file mode 100644
index e696e24f..00000000
--- a/docs/en/cowboy/2.1/guide/streams/index.html
+++ /dev/null
@@ -1,201 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Streams</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Streams</span></h1>
-
-<p>A stream is the set of messages that form an HTTP request/response pair.</p>
-<p>The term stream comes from HTTP/2. In Cowboy, it is also used when talking about HTTP/1.1 or HTTP/1.0. It should not be confused with streaming the request or response body.</p>
-<p>All versions of HTTP allow clients to initiate streams. HTTP/2 is the only one also allowing servers, through its server push feature. Both client and server-initiated streams go through the same process in Cowboy.</p>
-<h2 id="_stream_handlers">Stream handlers</h2>
-<p>Stream handlers must implement five different callbacks. Four of them are directly related; one is special.</p>
-<p>All callbacks receives the stream ID as first argument.</p>
-<p>Most of them can return a list of commands to be executed by Cowboy. When callbacks are chained, it is possible to intercept and modify these commands. This can be useful for modifying responses for example.</p>
-<p>The <code>init/3</code> callback is invoked when a new request comes in. It receives the Req object and the protocol options for this listener.</p>
-<p>The <code>data/4</code> callback is invoked when data from the request body is received. It receives both this data and a flag indicating whether more is to be expected.</p>
-<p>The <code>info/3</code> callback is invoked when an Erlang message is received for this stream. They will typically be messages sent by the request process.</p>
-<p>Finally the <code>terminate/3</code> callback is invoked with the terminate reason for the stream. The return value is ignored. Note that as with all terminate callbacks in Erlang, there is no strong guarantee that it will be called.</p>
-<p>The special callback <code>early_error/5</code> is called when an error occurs before the request headers were fully received and Cowboy is sending a response. It receives the partial Req object, the error reason, the protocol options and the response Cowboy will send. This response must be returned, possibly modified.</p>
-<h2 id="_built_in_handlers">Built-in handlers</h2>
-<p>Cowboy comes with two handlers.</p>
-<p><code>cowboy_stream_h</code> is the default stream handler. It is the core of much of the functionality of Cowboy. All chains of stream handlers should call it last.</p>
-<p><code>cowboy_compress_h</code> will automatically compress responses when possible. It is not enabled by default. It is a good example for writing your own handlers that will modify responses.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/ws_handlers/">
- Websocket handlers
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/middlewares/">
- Middlewares
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/ws_handlers.asciidoc b/docs/en/cowboy/2.1/guide/ws_handlers.asciidoc
deleted file mode 100644
index a79d7e29..00000000
--- a/docs/en/cowboy/2.1/guide/ws_handlers.asciidoc
+++ /dev/null
@@ -1,269 +0,0 @@
-[[ws_handlers]]
-== Websocket handlers
-
-Websocket handlers provide an interface for upgrading HTTP/1.1
-connections to Websocket and sending or receiving frames on
-the Websocket connection.
-
-As Websocket connections are established through the HTTP/1.1
-upgrade mechanism, Websocket handlers need to be able to first
-receive the HTTP request for the upgrade, before switching to
-Websocket and taking over the connection. They can then receive
-or send Websocket frames, handle incoming Erlang messages or
-close the connection.
-
-=== Upgrade
-
-The `init/2` callback is called when the request is received.
-To establish a Websocket connection, you must switch to the
-`cowboy_websocket` module:
-
-[source,erlang]
-----
-init(Req, State) ->
- {cowboy_websocket, Req, State}.
-----
-
-Cowboy will perform the Websocket handshake immediately. Note
-that the handshake will fail if the client did not request an
-upgrade to Websocket.
-
-The Req object becomes unavailable after this function returns.
-Any information required for proper execution of the Websocket
-handler must be saved in the state.
-
-=== Subprotocol
-
-The client may provide a list of Websocket subprotocols it
-supports in the sec-websocket-protocol header. The server *must*
-select one of them and send it back to the client or the
-handshake will fail.
-
-For example, a client could understand both STOMP and MQTT over
-Websocket, and provide the header:
-
-----
-sec-websocket-protocol: v12.stomp, mqtt
-----
-
-If the server only understands MQTT it can return:
-
-----
-sec-websocket-protocol: mqtt
-----
-
-This selection must be done in `init/2`. An example usage could
-be:
-
-[source,erlang]
-----
-init(Req0, State) ->
- case cowboy_req:parse_header(<<"sec-websocket-protocol">>, Req0) of
- undefined ->
- {cowboy_websocket, Req0, State};
- Subprotocols ->
- case lists:keymember(<<"mqtt">>, 1, Subprotocols) of
- true ->
- Req = cowboy_req:set_resp_header(<<"sec-websocket-protocol">>,
- <<"mqtt">>, Req0),
- {cowboy_websocket, Req, State};
- false ->
- Req = cowboy_req:reply(400, Req0),
- {ok, Req, State}
- end
- end.
-----
-
-=== Post-upgrade initialization
-
-Cowboy has separate processes for handling the connection
-and requests. Because Websocket takes over the connection,
-the Websocket protocol handling occurs in a different
-process than the request handling.
-
-This is reflected in the different callbacks Websocket
-handlers have. The `init/2` callback is called from the
-temporary request process and the `websocket_` callbacks
-from the connection process.
-
-This means that some initialization cannot be done from
-`init/2`. Anything that would require the current pid,
-or be tied to the current pid, will not work as intended.
-The optional `websocket_init/1` can be used instead:
-
-[source,erlang]
-----
-websocket_init(State) ->
- erlang:start_timer(1000, self(), <<"Hello!">>),
- {ok, State}.
-----
-
-All Websocket callbacks share the same return values. This
-means that we can send frames to the client right after
-the upgrade:
-
-[source,erlang]
-----
-websocket_init(State) ->
- {reply, {text, <<"Hello!">>}, State}.
-----
-
-=== Receiving frames
-
-Cowboy will call `websocket_handle/2` whenever a text, binary,
-ping or pong frame arrives from the client.
-
-The handler can handle or ignore the frames. It can also
-send frames back to the client or stop the connection.
-
-The following snippet echoes back any text frame received and
-ignores all others:
-
-[source,erlang]
-----
-websocket_handle(Frame = {text, _}, State) ->
- {reply, Frame, State};
-websocket_handle(_Frame, State) ->
- {ok, State}.
-----
-
-Note that ping and pong frames require no action from the
-handler as Cowboy will automatically reply to ping frames.
-They are provided for informative purposes only.
-
-=== Receiving Erlang messages
-
-Cowboy will call `websocket_info/2` whenever an Erlang message
-arrives.
-
-The handler can handle or ignore the messages. It can also
-send frames to the client or stop the connection.
-
-The following snippet forwards log messages to the client
-and ignores all others:
-
-[source,erlang]
-----
-websocket_info({log, Text}, State) ->
- {reply, {text, Text}, State};
-websocket_info(_Info, State) ->
- {ok, State}.
-----
-
-=== Sending frames
-
-// @todo This will be deprecated and eventually replaced with a
-// {Commands, State} interface that allows providing more
-// functionality easily.
-
-All `websocket_` callbacks share return values. They may
-send zero, one or many frames to the client.
-
-To send nothing, just return an ok tuple:
-
-[source,erlang]
-----
-websocket_info(_Info, State) ->
- {ok, State}.
-----
-
-To send one frame, return a reply tuple with the frame to send:
-
-[source,erlang]
-----
-websocket_info(_Info, State) ->
- {reply, {text, <<"Hello!">>}, State}.
-----
-
-You can send frames of any type: text, binary, ping, pong
-or close frames.
-
-To send many frames at once, return a reply tuple with the
-list of frames to send:
-
-[source,erlang]
-----
-websocket_info(_Info, State) ->
- {reply, [
- {text, "Hello"},
- {text, <<"world!">>},
- {binary, <<0:8000>>}
- ], State}.
-----
-
-They are sent in the given order.
-
-=== Keeping the connection alive
-
-Cowboy will automatically respond to ping frames sent by
-the client. They are still forwarded to the handler for
-informative purposes, but no further action is required.
-
-Cowboy does not send ping frames itself. The handler can
-do it if required. A better solution in most cases is to
-let the client handle pings. Doing it from the handler
-would imply having an additional timer per connection and
-this can be a considerable cost for servers that need to
-handle large numbers of connections.
-
-Cowboy can be configured to close idle connections
-automatically. It is highly recommended to configure
-a timeout here, to avoid having processes linger longer
-than needed.
-
-The `init/2` callback can set the timeout to be used
-for the connection. For example, this would make Cowboy
-close connections idle for more than 30 seconds:
-
-[source,erlang]
-----
-init(Req, State) ->
- {cowboy_websocket, Req, State, #{
- idle_timeout => 30000}}.
-----
-
-This value cannot be changed once it is set. It defaults to
-`60000`.
-
-=== Saving memory
-
-The Websocket connection process can be set to hibernate
-after the callback returns.
-
-Simply add an `hibernate` field to the ok or reply tuples:
-
-[source,erlang]
-----
-websocket_init(State) ->
- {ok, State, hibernate}.
-
-websocket_handle(_Frame, State) ->
- {ok, State, hibernate}.
-
-websocket_info(_Info, State) ->
- {reply, {text, <<"Hello!">>}, State, hibernate}.
-----
-
-It is highly recommended to write your handlers with
-hibernate enabled, as this allows to greatly reduce the
-memory usage. Do note however that an increase in the
-CPU usage or latency can be observed instead, in particular
-for the more busy connections.
-
-=== Closing the connection
-
-The connection can be closed at any time, either by telling
-Cowboy to stop it or by sending a close frame.
-
-To tell Cowboy to close the connection, use a stop tuple:
-
-[source,erlang]
-----
-websocket_info(_Info, State) ->
- {stop, State}.
-----
-
-Sending a `close` frame will immediately initiate the closing
-of the Websocket connection. Note that when sending a list of
-frames that include a close frame, any frame found after the
-close frame will not be sent.
diff --git a/docs/en/cowboy/2.1/guide/ws_handlers/index.html b/docs/en/cowboy/2.1/guide/ws_handlers/index.html
deleted file mode 100644
index 925eb011..00000000
--- a/docs/en/cowboy/2.1/guide/ws_handlers/index.html
+++ /dev/null
@@ -1,349 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Websocket handlers</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Websocket handlers</span></h1>
-
-<p>Websocket handlers provide an interface for upgrading HTTP/1.1 connections to Websocket and sending or receiving frames on the Websocket connection.</p>
-<p>As Websocket connections are established through the HTTP/1.1 upgrade mechanism, Websocket handlers need to be able to first receive the HTTP request for the upgrade, before switching to Websocket and taking over the connection. They can then receive or send Websocket frames, handle incoming Erlang messages or close the connection.</p>
-<h2 id="_upgrade">Upgrade</h2>
-<p>The <code>init/2</code> callback is called when the request is received. To establish a Websocket connection, you must switch to the <code>cowboy_websocket</code> module:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">cowboy_websocket</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Cowboy will perform the Websocket handshake immediately. Note that the handshake will fail if the client did not request an upgrade to Websocket.</p>
-<p>The Req object becomes unavailable after this function returns. Any information required for proper execution of the Websocket handler must be saved in the state.</p>
-<h2 id="_subprotocol">Subprotocol</h2>
-<p>The client may provide a list of Websocket subprotocols it supports in the sec-websocket-protocol header. The server <strong>must</strong> select one of them and send it back to the client or the handshake will fail.</p>
-<p>For example, a client could understand both STOMP and MQTT over Websocket, and provide the header:</p>
-<div class="listingblock"><div class="content"><pre>sec-websocket-protocol: v12.stomp, mqtt</pre></div></div>
-<p>If the server only understands MQTT it can return:</p>
-<div class="listingblock"><div class="content"><pre>sec-websocket-protocol: mqtt</pre></div></div>
-<p>This selection must be done in <code>init/2</code>. An example usage could be:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req0</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sec-websocket-protocol"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- <font color="#000080">undefined</font> <font color="#990000">-&gt;</font>
- {<font color="#FF6600">cowboy_websocket</font>, <font color="#009900">Req0</font>, <font color="#009900">State</font>};
- <font color="#009900">Subprotocols</font> <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">lists:keymember</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"mqtt"</font><font color="#990000">&gt;&gt;</font>, <font color="#993399">1</font>, <font color="#009900">Subprotocols</font>) <b><font color="#0000FF">of</font></b>
- <font color="#000080">true</font> <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sec-websocket-protocol"</font><font color="#990000">&gt;&gt;</font>,
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"mqtt"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>),
- {<font color="#FF6600">cowboy_websocket</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>};
- <font color="#000080">false</font> <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">400</font>, <font color="#009900">Req0</font>),
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
- <b><font color="#0000FF">end</font></b>
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_post_upgrade_initialization">Post-upgrade initialization</h2>
-<p>Cowboy has separate processes for handling the connection and requests. Because Websocket takes over the connection, the Websocket protocol handling occurs in a different process than the request handling.</p>
-<p>This is reflected in the different callbacks Websocket handlers have. The <code>init/2</code> callback is called from the temporary request process and the <code>websocket_</code> callbacks from the connection process.</p>
-<p>This means that some initialization cannot be done from <code>init/2</code>. Anything that would require the current pid, or be tied to the current pid, will not work as intended. The optional <code>websocket_init/1</code> can be used instead:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_init</font></b>(<font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <b><font color="#000000">erlang:start_timer</font></b>(<font color="#993399">1000</font>, <b><font color="#000080">self</font></b>(), <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello!"</font><font color="#990000">&gt;&gt;</font>),
- {<font color="#FF6600">ok</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>All Websocket callbacks share the same return values. This means that we can send frames to the client right after the upgrade:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_init</font></b>(<font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">reply</font>, {<font color="#FF6600">text</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello!"</font><font color="#990000">&gt;&gt;</font>}, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_receiving_frames">Receiving frames</h2>
-<p>Cowboy will call <code>websocket_handle/2</code> whenever a text, binary, ping or pong frame arrives from the client.</p>
-<p>The handler can handle or ignore the frames. It can also send frames back to the client or stop the connection.</p>
-<p>The following snippet echoes back any text frame received and ignores all others:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_handle</font></b>(<font color="#009900">Frame</font> <font color="#990000">=</font> {<font color="#FF6600">text</font>, <font color="#990000">_</font>}, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">reply</font>, <font color="#009900">Frame</font>, <font color="#009900">State</font>};
-<b><font color="#000000">websocket_handle</font></b>(<font color="#009900">_Frame</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Note that ping and pong frames require no action from the handler as Cowboy will automatically reply to ping frames. They are provided for informative purposes only.</p>
-<h2 id="_receiving_erlang_messages">Receiving Erlang messages</h2>
-<p>Cowboy will call <code>websocket_info/2</code> whenever an Erlang message arrives.</p>
-<p>The handler can handle or ignore the messages. It can also send frames to the client or stop the connection.</p>
-<p>The following snippet forwards log messages to the client and ignores all others:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_info</font></b>({<b><font color="#000080">log</font></b>, <font color="#009900">Text</font>}, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">reply</font>, {<font color="#FF6600">text</font>, <font color="#009900">Text</font>}, <font color="#009900">State</font>};
-<b><font color="#000000">websocket_info</font></b>(<font color="#009900">_Info</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_sending_frames">Sending frames</h2>
-<!-- @todo This will be deprecated and eventually replaced with a-->
-<!-- {Commands, State} interface that allows providing more-->
-<!-- functionality easily.-->
-<p>All <code>websocket_</code> callbacks share return values. They may send zero, one or many frames to the client.</p>
-<p>To send nothing, just return an ok tuple:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_info</font></b>(<font color="#009900">_Info</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>To send one frame, return a reply tuple with the frame to send:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_info</font></b>(<font color="#009900">_Info</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">reply</font>, {<font color="#FF6600">text</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello!"</font><font color="#990000">&gt;&gt;</font>}, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You can send frames of any type: text, binary, ping, pong or close frames.</p>
-<p>To send many frames at once, return a reply tuple with the list of frames to send:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_info</font></b>(<font color="#009900">_Info</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">reply</font>, [
- {<font color="#FF6600">text</font>, <font color="#FF0000">"Hello"</font>},
- {<font color="#FF6600">text</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"world!"</font><font color="#990000">&gt;&gt;</font>},
- {<b><font color="#000080">binary</font></b>, <font color="#990000">&lt;&lt;</font><font color="#993399">0</font><font color="#990000">:</font><font color="#993399">8000</font><font color="#990000">&gt;&gt;</font>}
- ], <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>They are sent in the given order.</p>
-<h2 id="_keeping_the_connection_alive">Keeping the connection alive</h2>
-<p>Cowboy will automatically respond to ping frames sent by the client. They are still forwarded to the handler for informative purposes, but no further action is required.</p>
-<p>Cowboy does not send ping frames itself. The handler can do it if required. A better solution in most cases is to let the client handle pings. Doing it from the handler would imply having an additional timer per connection and this can be a considerable cost for servers that need to handle large numbers of connections.</p>
-<p>Cowboy can be configured to close idle connections automatically. It is highly recommended to configure a timeout here, to avoid having processes linger longer than needed.</p>
-<p>The <code>init/2</code> callback can set the timeout to be used for the connection. For example, this would make Cowboy close connections idle for more than 30 seconds:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">cowboy_websocket</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>, #{
- <font color="#0000FF">idle_timeout</font> <font color="#990000">=&gt;</font> <font color="#993399">30000</font>}}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>This value cannot be changed once it is set. It defaults to <code>60000</code>.</p>
-<h2 id="_saving_memory">Saving memory</h2>
-<p>The Websocket connection process can be set to hibernate after the callback returns.</p>
-<p>Simply add an <code>hibernate</code> field to the ok or reply tuples:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_init</font></b>(<font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}<font color="#990000">.</font>
-
-<b><font color="#000000">websocket_handle</font></b>(<font color="#009900">_Frame</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}<font color="#990000">.</font>
-
-<b><font color="#000000">websocket_info</font></b>(<font color="#009900">_Info</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">reply</font>, {<font color="#FF6600">text</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello!"</font><font color="#990000">&gt;&gt;</font>}, <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>It is highly recommended to write your handlers with hibernate enabled, as this allows to greatly reduce the memory usage. Do note however that an increase in the CPU usage or latency can be observed instead, in particular for the more busy connections.</p>
-<h2 id="_closing_the_connection">Closing the connection</h2>
-<p>The connection can be closed at any time, either by telling Cowboy to stop it or by sending a close frame.</p>
-<p>To tell Cowboy to close the connection, use a stop tuple:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">websocket_info</font></b>(<font color="#009900">_Info</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">stop</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Sending a <code>close</code> frame will immediately initiate the closing of the Websocket connection. Note that when sending a list of frames that include a close frame, any frame found after the close frame will not be sent.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/ws_protocol/">
- The Websocket protocol
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/streams/">
- Streams
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/guide/ws_protocol.asciidoc b/docs/en/cowboy/2.1/guide/ws_protocol.asciidoc
deleted file mode 100644
index 8fa0673d..00000000
--- a/docs/en/cowboy/2.1/guide/ws_protocol.asciidoc
+++ /dev/null
@@ -1,69 +0,0 @@
-[[ws_protocol]]
-== The Websocket protocol
-
-This chapter explains what Websocket is and why it is
-a vital component of soft realtime Web applications.
-
-=== Description
-
-Websocket is an extension to HTTP that emulates plain TCP
-connections between the client, typically a Web browser,
-and the server. It uses the HTTP Upgrade mechanism to
-establish the connection.
-
-Websocket connections are fully asynchronous, unlike
-HTTP/1.1 (synchronous) and HTTP/2 (asynchronous, but the
-server can only initiate streams in response to requests).
-With Websocket, the client and the server can both send
-frames at any time without any restriction. It is closer
-to TCP than any of the HTTP protocols.
-
-Websocket is an IETF standard. Cowboy supports the standard
-and all drafts that were previously implemented by browsers,
-excluding the initial flawed draft sometimes known as
-"version 0".
-
-=== Websocket vs HTTP/2
-
-For a few years Websocket was the only way to have a
-bidirectional asynchronous connection with the server.
-This changed when HTTP/2 was introduced. While HTTP/2
-requires the client to first perform a request before
-the server can push data, this is only a minor restriction
-as the client can do so just as it connects.
-
-Websocket was designed as a kind-of-TCP channel to a
-server. It only defines the framing and connection
-management and lets the developer implement a protocol
-on top of it. For example you could implement IRC over
-Websocket and use a Javascript IRC client to speak to
-the server.
-
-HTTP/2 on the other hand is just an improvement over
-the HTTP/1.1 connection and request/response mechanism.
-It has the same semantics as HTTP/1.1.
-
-If all you need is to access an HTTP API, then HTTP/2
-should be your first choice. On the other hand, if what
-you need is a different protocol, then you can use
-Websocket to implement it.
-
-=== Implementation
-
-Cowboy implements Websocket as a protocol upgrade. Once the
-upgrade is performed from the `init/2` callback, Cowboy
-switches to Websocket. Please consult the next chapter for
-more information on initiating and handling Websocket
-connections.
-
-The implementation of Websocket in Cowboy is validated using
-the Autobahn test suite, which is an extensive suite of tests
-covering all aspects of the protocol. Cowboy passes the
-suite with 100% success, including all optional tests.
-
-Cowboy's Websocket implementation also includes the
-permessage-deflate and x-webkit-deflate-frame compression
-extensions.
-
-Cowboy will automatically use compression when the
-`compress` option is returned from the `init/2` function.
diff --git a/docs/en/cowboy/2.1/guide/ws_protocol/index.html b/docs/en/cowboy/2.1/guide/ws_protocol/index.html
deleted file mode 100644
index 26f1c27f..00000000
--- a/docs/en/cowboy/2.1/guide/ws_protocol/index.html
+++ /dev/null
@@ -1,200 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: The Websocket protocol</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>The Websocket protocol</span></h1>
-
-<p>This chapter explains what Websocket is and why it is a vital component of soft realtime Web applications.</p>
-<h2 id="_description">Description</h2>
-<p>Websocket is an extension to HTTP that emulates plain TCP connections between the client, typically a Web browser, and the server. It uses the HTTP Upgrade mechanism to establish the connection.</p>
-<p>Websocket connections are fully asynchronous, unlike HTTP/1.1 (synchronous) and HTTP/2 (asynchronous, but the server can only initiate streams in response to requests). With Websocket, the client and the server can both send frames at any time without any restriction. It is closer to TCP than any of the HTTP protocols.</p>
-<p>Websocket is an IETF standard. Cowboy supports the standard and all drafts that were previously implemented by browsers, excluding the initial flawed draft sometimes known as &quot;version 0&quot;.</p>
-<h2 id="_websocket_vs_http_2">Websocket vs HTTP/2</h2>
-<p>For a few years Websocket was the only way to have a bidirectional asynchronous connection with the server. This changed when HTTP/2 was introduced. While HTTP/2 requires the client to first perform a request before the server can push data, this is only a minor restriction as the client can do so just as it connects.</p>
-<p>Websocket was designed as a kind-of-TCP channel to a server. It only defines the framing and connection management and lets the developer implement a protocol on top of it. For example you could implement IRC over Websocket and use a Javascript IRC client to speak to the server.</p>
-<p>HTTP/2 on the other hand is just an improvement over the HTTP/1.1 connection and request/response mechanism. It has the same semantics as HTTP/1.1.</p>
-<p>If all you need is to access an HTTP API, then HTTP/2 should be your first choice. On the other hand, if what you need is a different protocol, then you can use Websocket to implement it.</p>
-<h2 id="_implementation">Implementation</h2>
-<p>Cowboy implements Websocket as a protocol upgrade. Once the upgrade is performed from the <code>init/2</code> callback, Cowboy switches to Websocket. Please consult the next chapter for more information on initiating and handling Websocket connections.</p>
-<p>The implementation of Websocket in Cowboy is validated using the Autobahn test suite, which is an extensive suite of tests covering all aspects of the protocol. Cowboy passes the suite with 100% success, including all optional tests.</p>
-<p>Cowboy&apos;s Websocket implementation also includes the permessage-deflate and x-webkit-deflate-frame compression extensions.</p>
-<p>Cowboy will automatically use compression when the <code>compress</code> option is returned from the <code>init/2</code> function.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/resource_design/">
- Designing a resource handler
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/cowboy/2.1/guide/ws_handlers/">
- Websocket handlers
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/guide">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/guide">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/guide">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/guide">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/index.html b/docs/en/cowboy/2.1/index.html
new file mode 100644
index 00000000..71a16573
--- /dev/null
+++ b/docs/en/cowboy/2.1/index.html
@@ -0,0 +1 @@
+<!DOCTYPE html><html><head><title>https://ninenines.eu/docs/</title><link rel="canonical" href="https://ninenines.eu/docs/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://ninenines.eu/docs/" /></head></html> \ No newline at end of file
diff --git a/docs/en/cowboy/2.1/manual/cowboy.set_env/index.html b/docs/en/cowboy/2.1/manual/cowboy.set_env/index.html
deleted file mode 100644
index a642bcb1..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy.set_env/index.html
+++ /dev/null
@@ -1,215 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy:set_env(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy:set_env(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy:set_env - Update a listener&apos;s environment value</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">set_env</font></b>(<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>(),
- <font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>(),
- <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>())
- <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font></tt></pre>
-</div></div>
-<p>Set or update an environment value for a previously started listener.</p>
-<p>This is most useful for updating the routes dynamically, without having to restart the listener.</p>
-<p>The new value will only be available to new connections. Pre-existing connections will still use the old value.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>The name of the listener to update.</p>
-<p>The name of the listener is the first argument given to the <a href="../cowboy.start_clear">cowboy:start_clear(3)</a>, <a href="../cowboy.start_tls">cowboy:start_tls(3)</a> or <a href="../ranch.start_listener">ranch:start_listener(3)</a> function.</p>
-</dd>
-<dt>Key</dt>
-<dd><p>The key in the environment map. Common keys include <code>dispatch</code> and <code>middlewares</code>.</p>
-</dd>
-<dt>Value</dt>
-<dd><p>The new value.</p>
-<p>The type of the value differs depending on the key.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The atom <code>ok</code> is returned on success.</p>
-<p>An <code>exit:badarg</code> exception is thrown when the listener does not exist.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Update a listener&apos;s routes</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>([
- {<font color="#FF6600">'_'</font>, [
- {<font color="#FF0000">"/"</font>, <font color="#FF6600">toppage_h</font>, []},
- {<font color="#FF0000">"/ws"</font>, <font color="#FF6600">websocket_h</font>, []}
- ]}
-]),
-
-<b><font color="#000000">cowboy:set_env</font></b>(<font color="#FF6600">example</font>, <font color="#FF6600">dispatch</font>, <font color="#009900">Dispatch</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy">cowboy(3)</a>, <a href="../cowboy.start_clear">cowboy:start_clear(3)</a>, <a href="../cowboy.start_tls">cowboy:start_tls(3)</a>, <a href="../ranch.set_protocol_options">ranch:set_protocol_options(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy.start_clear/index.html b/docs/en/cowboy/2.1/manual/cowboy.start_clear/index.html
deleted file mode 100644
index 66e6506c..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy.start_clear/index.html
+++ /dev/null
@@ -1,233 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy:start_clear(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy:start_clear(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy:start_clear - Listen for connections using plain TCP</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">start_clear</font></b>(<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>(),
- <font color="#009900">TransportOpts</font> <font color="#990000">::</font> <b><font color="#000000">ranch_tcp:opts</font></b>(),
- <font color="#009900">ProtocolOpts</font> <font color="#990000">::</font> <b><font color="#000000">opts</font></b>())
- <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">ListenerPid</font> <font color="#990000">::</font> <b><font color="#000080">pid</font></b>()}
- | {<font color="#FF6600">error</font>, <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>Start listening for connections over a clear TCP channel.</p>
-<p>Both HTTP/1.1 and HTTP/2 are supported on this listener. HTTP/2 has two methods of establishing a connection over a clear TCP channel. Both the upgrade and the prior knowledge methods are supported.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>The listener name is used to refer to this listener in future calls, for example when stopping it or when updating the routes defined.</p>
-<p>It can be any Erlang term. An atom is generally good enough, for example <code>api</code>, <code>my_app_clear</code> or <code>my_app_tls</code>.</p>
-</dd>
-<dt>TransportOpts</dt>
-<dd><p>The transport options are where the TCP options, including the listener&apos;s port number, are defined. Transport options are provided as a list of keys and values, for example <code>[{port, 8080}]</code>.</p>
-<p>The available options are documented in the <a href="../ranch_tcp">ranch_tcp(3)</a> manual.</p>
-</dd>
-<dt>ProtocolOpts</dt>
-<dd><p>The protocol options are in a map containing all the options for the different protocols that may be involved when connecting to the listener, including HTTP/1.1 and HTTP/2.</p>
-<p>The HTTP/1.1 options are documented in the <a href="../cowboy_http">cowboy_http(3)</a> manual; and the HTTP/2 options in <a href="../cowboy_http2">cowboy_http2(3)</a>.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>An ok tuple is returned on success. It contains the pid of the top-level supervisor for the listener.</p>
-<p>An error tuple is returned on error. The error reason may be any Erlang term.</p>
-<p>A common error is <code>eaddrinuse</code>. It indicates that the port configured for Cowboy is already in use.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: HTTP/2 support added.
-</li>
-<li><strong>2.0</strong>: Function introduced. Replaces <code>cowboy:start_http/4</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Start a listener</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>([
- {<font color="#FF6600">'_'</font>, [
- {<font color="#FF0000">"/"</font>, <font color="#FF6600">toppage_h</font>, []}
- ]}
-]),
-
-{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_clear</font></b>(<font color="#FF6600">example</font>, [{<font color="#FF6600">port</font>, <font color="#993399">8080</font>}], #{
- <font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}
-})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Start a listener on a random port</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Name</font> <font color="#990000">=</font> <font color="#FF6600">example</font>,
-
-{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_clear</font></b>(<font color="#009900">Name</font>, [], #{
- <font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}
-}),
-
-<font color="#009900">Port</font> <font color="#990000">=</font> <b><font color="#000000">ranch:get_port</font></b>(<font color="#009900">Name</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy">cowboy(3)</a>, <a href="../cowboy.start_tls">cowboy:start_tls(3)</a>, <a href="../cowboy.stop_listener">cowboy:stop_listener(3)</a>, <a href="../ranch">ranch(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy.start_tls/index.html b/docs/en/cowboy/2.1/manual/cowboy.start_tls/index.html
deleted file mode 100644
index 31a7b7b7..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy.start_tls/index.html
+++ /dev/null
@@ -1,238 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy:start_tls(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy:start_tls(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy:start_tls - Listen for connections using TLS</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">start_tls</font></b>(<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>(),
- <font color="#009900">TransportOpts</font> <font color="#990000">::</font> <b><font color="#000000">ranch_ssl:opts</font></b>(),
- <font color="#009900">ProtocolOpts</font> <font color="#990000">::</font> <b><font color="#000000">opts</font></b>())
- <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">ListenerPid</font> <font color="#990000">::</font> <b><font color="#000080">pid</font></b>()}
- | {<font color="#FF6600">error</font>, <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>Start listening for connections over a secure TLS channel.</p>
-<p>Both HTTP/1.1 and HTTP/2 are supported on this listener. The ALPN TLS extension must be used to initiate an HTTP/2 connection.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>The listener name is used to refer to this listener in future calls, for example when stopping it or when updating the routes defined.</p>
-<p>It can be any Erlang term. An atom is generally good enough, for example <code>api</code>, <code>my_app_clear</code> or <code>my_app_tls</code>.</p>
-</dd>
-<dt>TransportOpts</dt>
-<dd><p>The transport options are where the TCP options, including the listener&apos;s port number, are defined. They also contain the TLS options, like the server&apos;s certificate. Transport options are provided as a list of keys and values, for example <code>[{port, 8443}, {certfile, &quot;path/to/cert.pem&quot;}]</code>.</p>
-<p>The available options are documented in the <a href="../ranch_ssl">ranch_ssl(3)</a> manual.</p>
-</dd>
-<dt>ProtocolOpts</dt>
-<dd><p>The protocol options are in a map containing all the options for the different protocols that may be involved when connecting to the listener, including HTTP/1.1 and HTTP/2.</p>
-<p>The HTTP/1.1 options are documented in the <a href="../cowboy_http">cowboy_http(3)</a> manual; and the HTTP/2 options in <a href="../cowboy_http2">cowboy_http2(3)</a>.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>An ok tuple is returned on success. It contains the pid of the top-level supervisor for the listener.</p>
-<p>An error tuple is returned on error. The error reason may be any Erlang term.</p>
-<p>A common error is <code>eaddrinuse</code>. It indicates that the port configured for Cowboy is already in use.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: HTTP/2 support added.
-</li>
-<li><strong>2.0</strong>: Function introduced. Replaces <code>cowboy:start_https/4</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Start a listener</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>([
- {<font color="#FF6600">'_'</font>, [
- {<font color="#FF0000">"/"</font>, <font color="#FF6600">toppage_h</font>, []}
- ]}
-]),
-
-{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_tls</font></b>(<font color="#FF6600">example</font>, [
- {<font color="#FF6600">port</font>, <font color="#993399">8443</font>},
- {<font color="#FF6600">cert</font>, <font color="#FF0000">"path/to/cert.pem"</font>}
-], #{
- <font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}
-})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Start a listener on a random port</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Name</font> <font color="#990000">=</font> <font color="#FF6600">example</font>,
-
-{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_tls</font></b>(<font color="#009900">Name</font>, [
- {<font color="#FF6600">cert</font>, <font color="#FF0000">"path/to/cert.pem"</font>}
-], #{
- <font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}
-}),
-
-<font color="#009900">Port</font> <font color="#990000">=</font> <b><font color="#000000">ranch:get_port</font></b>(<font color="#009900">Name</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy">cowboy(3)</a>, <a href="../cowboy.start_clear">cowboy:start_clear(3)</a>, <a href="../cowboy.stop_listener">cowboy:stop_listener(3)</a>, <a href="../ranch">ranch(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy/index.html b/docs/en/cowboy/2.1/manual/cowboy/index.html
deleted file mode 100644
index ba2c6c3a..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy/index.html
+++ /dev/null
@@ -1,232 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy - HTTP server</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy</code> provides convenience functions for manipulating Ranch listeners.</p>
-<h2 id="_exports">Exports</h2>
-<ul><li><a href="../cowboy.start_clear">cowboy:start_clear(3)</a> - Listen for connections using plain TCP
-</li>
-<li><a href="../cowboy.start_tls">cowboy:start_tls(3)</a> - Listen for connections using TLS
-</li>
-<li><a href="../cowboy.stop_listener">cowboy:stop_listener(3)</a> - Stop the given listener
-</li>
-<li><a href="../cowboy.set_env">cowboy:set_env(3)</a> - Update a listener&apos;s environment value
-</li>
-</ul>
-<h2 id="_types">Types</h2>
-<h3 id="_fields">fields()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">fields</font></b>() <font color="#990000">::</font> [<font color="#009900">Name</font>
- | {<font color="#009900">Name</font>, <font color="#009900">Constraints</font>}
- | {<font color="#009900">Name</font>, <font color="#009900">Constraints</font>, <font color="#009900">Default</font>}]
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>()
-<font color="#009900">Constraints</font> <font color="#990000">::</font> <font color="#009900">Constraint</font> | [<font color="#009900">Constraint</font>]
-<font color="#009900">Constraint</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_constraints:constraint</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
-</div></div>
-<p>Fields description for match operations.</p>
-<p>This type is used in <a href="../cowboy_router">cowboy_router(3)</a> for matching bindings and in the match functions found in <a href="../cowboy_req">cowboy_req(3)</a>.</p>
-<h3 id="_http_headers">http_headers()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">http_headers</font></b>() <font color="#990000">::</font> #{<b><font color="#000080">binary</font></b>() <font color="#990000">=&gt;</font> <b><font color="#000000">iodata</font></b>()}</tt></pre>
-</div></div>
-<p>HTTP headers.</p>
-<h3 id="_http_status">http_status()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">http_status</font></b>() <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>() | <b><font color="#000080">binary</font></b>()</tt></pre>
-</div></div>
-<p>HTTP response status.</p>
-<p>A binary status can be used to set a reason phrase. Note however that HTTP/2 only sends the status code and drops the reason phrase entirely.</p>
-<h3 id="_http_version">http_version()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">http_version</font></b>() <font color="#990000">::</font> <font color="#FF6600">'HTTP/2'</font> | <font color="#FF6600">'HTTP/1.1'</font> | <font color="#FF6600">'HTTP/1.0'</font></tt></pre>
-</div></div>
-<p>HTTP version.</p>
-<p>Note that semantically, HTTP/1.1 and HTTP/2 are equivalent.</p>
-<h3 id="_opts">opts()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">opts</font></b>() <font color="#990000">::</font> <b><font color="#000000">map</font></b>()</tt></pre>
-</div></div>
-<p>Options for the HTTP/1.1, HTTP/2 and Websocket protocols.</p>
-<p>The protocol options are in a map containing all the options for the different protocols that may be involved when connecting to the listener, including HTTP/1.1 and HTTP/2.</p>
-<p>The HTTP/1.1 options are documented in the <a href="../cowboy_http">cowboy_http(3)</a> manual and the HTTP/2 options in <a href="../cowboy_http2">cowboy_http2(3)</a>.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../ranch">ranch(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_app/index.html b/docs/en/cowboy/2.1/manual/cowboy_app/index.html
deleted file mode 100644
index b28899de..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_app/index.html
+++ /dev/null
@@ -1,233 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy(7)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy(7)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy - Small, fast, modern HTTP server for Erlang/OTP</p>
-<h2 id="_description">Description</h2>
-<p>Cowboy is an HTTP server for Erlang/OTP with support for the HTTP/1.1, HTTP/2 and Websocket protocols.</p>
-<p>Cowboy aims to provide a complete HTTP stack. This includes the implementation of the HTTP RFCs but also any directly related standards, like Websocket or Server-Sent Events.</p>
-<h2 id="_modules">Modules</h2>
-<p>Functions:</p>
-<ul><li><a href="../cowboy">cowboy(3)</a> - Listener management
-</li>
-<li><a href="../cowboy_req">cowboy_req(3)</a> - Request and response
-</li>
-<li><a href="../cowboy_router">cowboy_router(3)</a> - Router
-</li>
-<li><a href="../cowboy_constraints">cowboy_constraints(3)</a> - Constraints
-</li>
-</ul>
-<p>Protocols:</p>
-<ul><li><a href="../cowboy_http">cowboy_http(3)</a> - HTTP/1.1
-</li>
-<li><a href="../cowboy_http2">cowboy_http2(3)</a> - HTTP/2
-</li>
-<li><a href="../cowboy_websocket">cowboy_websocket(3)</a> - Websocket
-</li>
-</ul>
-<p>Handlers:</p>
-<ul><li><a href="../cowboy_static">cowboy_static(3)</a> - Static file handler
-</li>
-</ul>
-<p>Behaviors:</p>
-<ul><li><a href="../cowboy_handler">cowboy_handler(3)</a> - Plain HTTP handlers
-</li>
-<li><a href="../cowboy_loop">cowboy_loop(3)</a> - Loop handlers
-</li>
-<li><a href="../cowboy_middleware">cowboy_middleware(3)</a> - Middlewares
-</li>
-<li><a href="../cowboy_rest">cowboy_rest(3)</a> - REST handlers
-</li>
-<li><a href="../cowboy_stream">cowboy_stream(3)</a> - Stream handlers
-</li>
-<li><a href="../cowboy_websocket">cowboy_websocket(3)</a> - Websocket handlers
-</li>
-</ul>
-<p>Middlewares:</p>
-<ul><li><a href="../cowboy_router">cowboy_router(3)</a> - Router middleware
-</li>
-<li><a href="../cowboy_handler">cowboy_handler(3)</a> - Handler middleware
-</li>
-</ul>
-<!-- @todo http_status_codes is not linked to; what to do with it?-->
-<h2 id="_dependencies">Dependencies</h2>
-<ul><li><a href="../ranch">ranch(7)</a> - Socket acceptor pool for TCP protocols
-</li>
-<li><a href="../cowlib">cowlib(7)</a> - Support library for manipulating Web protocols
-</li>
-<li>ssl - Secure communication over sockets
-</li>
-<li>crypto - Crypto functions
-</li>
-</ul>
-<p>All these applications must be started before the <code>cowboy</code> application. To start Cowboy and all dependencies at once:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">application:ensure_all_started</font></b>(<font color="#FF6600">cowboy</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_environment">Environment</h2>
-<p>The <code>cowboy</code> application does not define any application environment configuration parameters.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="../ranch">ranch(7)</a>, <a href="../cowlib">cowlib(7)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_constraints.int/index.html b/docs/en/cowboy/2.1/manual/cowboy_constraints.int/index.html
deleted file mode 100644
index ab04bbc2..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_constraints.int/index.html
+++ /dev/null
@@ -1,208 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_constraints:int(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_constraints:int(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_constraints:int - Integer constraint</p>
-<h2 id="_description">Description</h2>
-<p>Constraint functions implement a number of different operations.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">int</font></b>(<font color="#FF6600">forward</font>, <font color="#009900">Bin</font>) <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Int</font>} | {<font color="#FF6600">error</font>, <font color="#FF6600">not_an_integer</font>}
-
-<font color="#009900">Bin</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()
-<font color="#009900">Int</font> <font color="#990000">::</font> <b><font color="#000080">integer</font></b>()</tt></pre>
-</div></div>
-<p>Validate and convert the text representation of an integer.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">int</font></b>(<font color="#FF6600">reverse</font>, <font color="#009900">Int</font>) <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Bin</font>} | {<font color="#FF6600">error</font>, <font color="#FF6600">not_an_integer</font>}</tt></pre>
-</div></div>
-<p>Convert an integer back to its text representation.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">int</font></b>(<font color="#FF6600">format_error</font>, <font color="#009900">Error</font>) <font color="#990000">-&gt;</font> <font color="#009900">HumanReadable</font>
-
-<font color="#009900">Error</font> <font color="#990000">::</font> {<font color="#FF6600">not_an_integer</font>, <font color="#009900">Bin</font> | <font color="#009900">Int</font>}
-<font color="#009900">HumanReadable</font> <font color="#990000">::</font> <b><font color="#000000">iolist</font></b>()</tt></pre>
-</div></div>
-<p>Generate a human-readable error message.</p>
-<h2 id="_arguments">Arguments</h2>
-<p>Arguments vary depending on the operation. Constraint functions always take the operation type as first argument, and the value as second argument.</p>
-<h2 id="_return_value">Return value</h2>
-<p>The return value varies depending on the operation.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Interface modified to allow for a variety of operations.
-</li>
-<li><strong>1.0</strong>: Constraint introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<p>This function is not meant to be called directly.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_constraints">cowboy_constraints(3)</a>, <a href="../cowboy_constraints.nonempty">cowboy_constraints:nonempty(3)</a>, <a href="../cowboy_router">cowboy_router(3)</a>, <a href="../cowboy_req.match_cookies">cowboy_req:match_cookies(3)</a>, <a href="../cowboy_req.match_qs">cowboy_req:match_qs(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_constraints.nonempty/index.html b/docs/en/cowboy/2.1/manual/cowboy_constraints.nonempty/index.html
deleted file mode 100644
index 4320a123..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_constraints.nonempty/index.html
+++ /dev/null
@@ -1,207 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_constraints:nonempty(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_constraints:nonempty(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_constraints:nonempty - Non-empty constraint</p>
-<h2 id="_description">Description</h2>
-<p>Constraint functions implement a number of different operations.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">nonempty</font></b>(<font color="#FF6600">forward</font> | <font color="#FF6600">reverse</font>, <font color="#990000">&lt;&lt;&gt;&gt;</font>) <font color="#990000">-&gt;</font> {<font color="#FF6600">error</font>, <font color="#FF6600">empty</font>}</tt></pre>
-</div></div>
-<p>Reject empty values.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">nonempty</font></b>(<font color="#FF6600">forward</font> | <font color="#FF6600">reverse</font>, <font color="#009900">Bin</font>) <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Bin</font>}
-
-<font color="#009900">Bin</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()</tt></pre>
-</div></div>
-<p>Accept any other binary values.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">nonempty</font></b>(<font color="#FF6600">format_error</font>, <font color="#009900">Error</font>) <font color="#990000">-&gt;</font> <font color="#009900">HumanReadable</font>
-
-<font color="#009900">Error</font> <font color="#990000">::</font> {<font color="#FF6600">empty</font>, <font color="#009900">Bin</font>}
-<font color="#009900">HumanReadable</font> <font color="#990000">::</font> <b><font color="#000000">iolist</font></b>()</tt></pre>
-</div></div>
-<p>Generate a human-readable error message.</p>
-<h2 id="_arguments">Arguments</h2>
-<p>Arguments vary depending on the operation. Constraint functions always take the operation type as first argument, and the value as second argument.</p>
-<h2 id="_return_value">Return value</h2>
-<p>The return value varies depending on the operation.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Interface modified to allow for a variety of operations.
-</li>
-<li><strong>1.0</strong>: Constraint introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<p>This function is not meant to be called directly.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_constraints">cowboy_constraints(3)</a>, <a href="../cowboy_constraints.int">cowboy_constraints:int(3)</a>, <a href="../cowboy_router">cowboy_router(3)</a>, <a href="../cowboy_req.match_cookies">cowboy_req:match_cookies(3)</a>, <a href="../cowboy_req.match_qs">cowboy_req:match_qs(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_constraints/index.html b/docs/en/cowboy/2.1/manual/cowboy_constraints/index.html
deleted file mode 100644
index 12dd3003..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_constraints/index.html
+++ /dev/null
@@ -1,199 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_constraints(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_constraints(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_constraints - Constraints</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_constraints</code> defines the built-in constraints in Cowboy and provides an interface for manipulating these constraints.</p>
-<p>Constraints are functions that define what type of input is allowed. They are used throughout Cowboy, from the router to query strings to cookies.</p>
-<h2 id="_exports">Exports</h2>
-<p>Built-in constraints:</p>
-<ul><li><a href="../cowboy_constraints.int">cowboy_constraints:int(3)</a> - Integer constraint
-</li>
-<li><a href="../cowboy_constraints.nonempty">cowboy_constraints:nonempty(3)</a> - Non-empty constraint
-</li>
-</ul>
-<h2 id="_types">Types</h2>
-<h3 id="_constraint">constraint()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">constraint</font></b>() <font color="#990000">::</font> <font color="#FF6600">int</font> | <font color="#FF6600">nonempty</font> | <b><font color="#0000FF">fun</font></b>()</tt></pre>
-</div></div>
-<p>A constraint function.</p>
-<p>The atom constraints are built-in, see the corresponding function in the exports list above.</p>
-<h3 id="_reason">reason()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">reason</font></b>() <font color="#990000">::</font> {<b><font color="#000000">constraint</font></b>(), <font color="#009900">Reason</font>, <font color="#009900">Value</font>}
-
-<font color="#009900">Reason</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
-</div></div>
-<p>Reason for the constraint failure.</p>
-<p>It includes the constraint function in question, a machine-readable error reason and the value that made the constraint fail.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy">cowboy(3)</a>, <a href="../cowboy_router">cowboy_router(3)</a>, <a href="../cowboy_req.match_cookies">cowboy_req:match_cookies(3)</a>, <a href="../cowboy_req.match_qs">cowboy_req:match_qs(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_handler.terminate/index.html b/docs/en/cowboy/2.1/manual/cowboy_handler.terminate/index.html
deleted file mode 100644
index 9a805e17..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_handler.terminate/index.html
+++ /dev/null
@@ -1,210 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_handler:terminate(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_handler:terminate(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_handler:terminate - Terminate the handler</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">terminate</font></b>(<font color="#009900">Reason</font>, <font color="#009900">PartialReq</font>, <font color="#009900">State</font>, <font color="#009900">Handler</font>) <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font>
-
-<font color="#009900">Reason</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">PartialReq</font> <font color="#990000">::</font> <b><font color="#000000">map</font></b>()
-<font color="#009900">State</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Handler</font> <font color="#990000">::</font> <b><font color="#000000">module</font></b>()</tt></pre>
-</div></div>
-<p>Call the optional terminate callback if it is defined.</p>
-<p>Make sure to use this function at the end of the execution of modules that implement custom handler behaviors.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Reason</dt>
-<dd><p>Reason for termination.</p>
-</dd>
-<dt>PartialReq</dt>
-<dd><p>The Req object.</p>
-<p>It is possible to remove fields from the Req object to save memory when the handler has no concept of requests/responses. The only requirement is that a map is provided.</p>
-</dd>
-<dt>State</dt>
-<dd><p>Handler state.</p>
-</dd>
-<dt>Handler</dt>
-<dd><p>Handler module.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The atom <code>ok</code> is always returned. It can be safely ignored.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Terminate a handler normally</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_handler:terminate</font></b>(<b><font color="#000080">normal</font></b>, <font color="#009900">Req</font>, <font color="#009900">State</font>, <font color="#009900">Handler</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_handler">cowboy_handler(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_handler/index.html b/docs/en/cowboy/2.1/manual/cowboy_handler/index.html
deleted file mode 100644
index 19fc4cd4..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_handler/index.html
+++ /dev/null
@@ -1,202 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_handler(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_handler(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_handler - Plain HTTP handlers</p>
-<h2 id="_description">Description</h2>
-<p>The <code>cowboy_handler</code> middleware executes the handler selected by the router or any other preceding middleware.</p>
-<p>This middleware takes the handler module and initial state from the <code>handler</code> and <code>handler_opts</code> environment values, respectively. On completion, it adds a <code>result</code> value to the middleware environment, containing the return value of the <code>terminate/3</code> callback (if defined) and <code>ok</code> otherwise.</p>
-<p>This module also defines a callback interface for handling HTTP requests.</p>
-<h2 id="_callbacks">Callbacks</h2>
-<p>Plain HTTP handlers implement the following interface:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<b><font color="#000000">terminate</font></b>(<font color="#009900">Reason</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> <i><font color="#9A1900">%% optional</font></i>
-
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">State</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Reason</font> <font color="#990000">::</font> <b><font color="#000080">normal</font></b>
- | {<font color="#FF6600">crash</font>, <font color="#FF6600">error</font> | <b><font color="#000080">exit</font></b> | <b><font color="#000080">throw</font></b>, <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>These two callbacks are common to all handlers.</p>
-<p>Plain HTTP handlers do all their work in the <code>init/2</code> callback. Returning <code>ok</code> terminates the handler. If no response is sent, Cowboy will send a <code>204 No Content</code>.</p>
-<p>The optional <code>terminate/3</code> callback will ultimately be called with the reason for the termination of the handler. Cowboy will terminate the process right after this. There is no need to perform any cleanup in this callback.</p>
-<p>The following terminate reasons are defined for plain HTTP handlers:</p>
-<dl><dt>normal</dt>
-<dd><p>The connection was closed normally.</p>
-</dd>
-<dt>{crash, Class, Reason}</dt>
-<dd><p>A crash occurred in the handler. <code>Class</code> and <code>Reason</code> can be used to obtain more information about the crash. The function <code>erlang:get_stacktrace/0</code> can also be called to obtain the stacktrace of the process when the crash occurred.</p>
-</dd>
-</dl>
-<h2 id="_exports">Exports</h2>
-<p>The following function should be called by modules implementing custom handlers to execute the optional terminate callback:</p>
-<ul><li><a href="../cowboy_handler.terminate">cowboy_handler:terminate(3)</a> - Terminate the handler
-</li>
-</ul>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_http/index.html b/docs/en/cowboy/2.1/manual/cowboy_http/index.html
deleted file mode 100644
index e626af11..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_http/index.html
+++ /dev/null
@@ -1,266 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_http(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_http(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_http - HTTP/1.1</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_http</code> implements HTTP/1.1 and HTTP/1.0 as a Ranch protocol.</p>
-<h2 id="_options">Options</h2>
-<!-- @todo Might be worth moving cowboy_clear/tls/stream_h options-->
-<!-- to their respective manual, when they are added.-->
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">opts</font></b>() <font color="#990000">::</font> #{
- <font color="#0000FF">connection_type</font> <font color="#990000">=&gt;</font> <font color="#FF6600">worker</font> | <font color="#FF6600">supervisor</font>,
- <font color="#0000FF">env</font> <font color="#990000">=&gt;</font> <b><font color="#000000">cowboy_middleware:env</font></b>(),
- <font color="#0000FF">idle_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
- <font color="#0000FF">inactivity_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
- <font color="#0000FF">max_empty_lines</font> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">max_header_name_length</font> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">max_header_value_length</font> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">max_headers</font> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">max_keepalive</font> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">max_method_length</font> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">max_request_line_length</font> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">middlewares</font> <font color="#990000">=&gt;</font> [<b><font color="#000000">module</font></b>()],
- <font color="#0000FF">request_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
- <font color="#000080">shutdown</font><font color="#009900">_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
- <font color="#0000FF">stream_handlers</font> <font color="#990000">=&gt;</font> [<b><font color="#000000">module</font></b>()]
-}</tt></pre>
-</div></div>
-<p>Configuration for the HTTP/1.1 protocol.</p>
-<p>This configuration is passed to Cowboy when starting listeners using <code>cowboy:start_clear/3</code> or <code>cowboy:start_tls/3</code> functions.</p>
-<p>It can be updated without restarting listeners using the Ranch functions <code>ranch:get_protocol_options/1</code> and <code>ranch:set_protocol_options/2</code>.</p>
-<p>The default value is given next to the option name:</p>
-<dl><dt>connection_type (supervisor)</dt>
-<dd><p>Whether the connection process also acts as a supervisor.</p>
-</dd>
-<dt>env (#{})</dt>
-<dd><p>Middleware environment.</p>
-</dd>
-<dt>idle_timeout (60000)</dt>
-<dd><p>Time in ms with no data received before Cowboy closes the connection.</p>
-</dd>
-<dt>inactivity_timeout (300000)</dt>
-<dd><p>Time in ms with nothing received at all before Cowboy closes the connection.</p>
-</dd>
-<dt>max_empty_lines (5)</dt>
-<dd><p>Maximum number of empty lines before a request.</p>
-</dd>
-<dt>max_header_name_length (64)</dt>
-<dd><p>Maximum length of header names.</p>
-</dd>
-<dt>max_header_value_length (4096)</dt>
-<dd><p>Maximum length of header values.</p>
-</dd>
-<dt>max_headers (100)</dt>
-<dd><p>Maximum number of headers allowed per request.</p>
-</dd>
-<dt>max_keepalive (100)</dt>
-<dd><p>Maximum number of requests allowed per connection.</p>
-</dd>
-<dt>max_method_length (32)</dt>
-<dd><p>Maximum length of the method.</p>
-</dd>
-<dt>max_request_line_length (8000)</dt>
-<dd><p>Maximum length of the request line.</p>
-</dd>
-<dt>middlewares ([cowboy_router, cowboy_handler])</dt>
-<dd><p>Middlewares to run for every request.</p>
-</dd>
-<dt>request_timeout (5000)</dt>
-<dd><p>Time in ms with no requests before Cowboy closes the connection.</p>
-</dd>
-<dt>shutdown_timeout (5000)</dt>
-<dd><p>Time in ms Cowboy will wait for child processes to shut down before killing them.</p>
-</dd>
-<dt>stream_handlers ([cowboy_stream_h])</dt>
-<dd><p>Ordered list of stream handlers that will handle all stream events.</p>
-</dd>
-</dl>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: The <code>timeout</code> option was renamed <code>request_timeout</code>.
-</li>
-<li><strong>2.0</strong>: The <code>idle_timeout</code>, <code>inactivity_timeout</code> and <code>shutdown_timeout</code> options were added.
-</li>
-<li><strong>2.0</strong>: The <code>max_method_length</code> option was added.
-</li>
-<li><strong>2.0</strong>: The <code>max_request_line_length</code> default was increased from 4096 to 8000.
-</li>
-<li><strong>2.0</strong>: The <code>connection_type</code> option was added.
-</li>
-<li><strong>2.0</strong>: The <code>env</code> option is now a map instead of a proplist.
-</li>
-<li><strong>2.0</strong>: The <code>stream_handlers</code> option was added.
-</li>
-<li><strong>2.0</strong>: The <code>compress</code> option was removed in favor of the <code>cowboy_compress_h</code> stream handler.
-</li>
-<li><strong>2.0</strong>: Options are now a map instead of a proplist.
-</li>
-<li><strong>2.0</strong>: Protocol introduced. Replaces <code>cowboy_protocol</code>.
-</li>
-</ul>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy_http2">cowboy_http2(3)</a>, <a href="../cowboy_websocket">cowboy_websocket(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_http2/index.html b/docs/en/cowboy/2.1/manual/cowboy_http2/index.html
deleted file mode 100644
index 17149979..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_http2/index.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_http2(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_http2(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_http2 - HTTP/2</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_http2</code> implements HTTP/2 as a Ranch protocol.</p>
-<h2 id="_options">Options</h2>
-<!-- @todo Might be worth moving cowboy_clear/tls/stream_h options-->
-<!-- to their respective manual, when they are added.-->
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">opts</font></b>() <font color="#990000">::</font> #{
- <font color="#0000FF">connection_type</font> <font color="#990000">=&gt;</font> <font color="#FF6600">worker</font> | <font color="#FF6600">supervisor</font>,
- <font color="#0000FF">env</font> <font color="#990000">=&gt;</font> <b><font color="#000000">cowboy_middleware:env</font></b>(),
- <font color="#0000FF">inactivity_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
- <font color="#0000FF">middlewares</font> <font color="#990000">=&gt;</font> [<b><font color="#000000">module</font></b>()],
- <font color="#0000FF">preface_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
- <font color="#000080">shutdown</font><font color="#009900">_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
- <font color="#0000FF">stream_handlers</font> <font color="#990000">=&gt;</font> [<b><font color="#000000">module</font></b>()]
-}</tt></pre>
-</div></div>
-<p>Configuration for the HTTP/2 protocol.</p>
-<p>This configuration is passed to Cowboy when starting listeners using <code>cowboy:start_clear/3</code> or <code>cowboy:start_tls/3</code> functions.</p>
-<p>It can be updated without restarting listeners using the Ranch functions <code>ranch:get_protocol_options/1</code> and <code>ranch:set_protocol_options/2</code>.</p>
-<p>The default value is given next to the option name:</p>
-<dl><dt>connection_type (supervisor)</dt>
-<dd><p>Whether the connection process also acts as a supervisor.</p>
-</dd>
-<dt>env (#{})</dt>
-<dd><p>Middleware environment.</p>
-</dd>
-<dt>inactivity_timeout (300000)</dt>
-<dd><p>Time in ms with nothing received at all before Cowboy closes the connection.</p>
-</dd>
-<dt>middlewares ([cowboy_router, cowboy_handler])</dt>
-<dd><p>Middlewares to run for every request.</p>
-</dd>
-<dt>preface_timeout (5000)</dt>
-<dd><p>Time in ms Cowboy is willing to wait for the connection preface.</p>
-</dd>
-<dt>shutdown_timeout (5000)</dt>
-<dd><p>Time in ms Cowboy will wait for child processes to shut down before killing them.</p>
-</dd>
-<dt>stream_handlers ([cowboy_stream_h])</dt>
-<dd><p>Ordered list of stream handlers that will handle all stream events.</p>
-</dd>
-</dl>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Protocol introduced.
-</li>
-</ul>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy_http">cowboy_http(3)</a>, <a href="../cowboy_websocket">cowboy_websocket(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_loop/index.html b/docs/en/cowboy/2.1/manual/cowboy_loop/index.html
deleted file mode 100644
index e07b312e..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_loop/index.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_loop(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_loop(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_loop - Loop handlers</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_loop</code> defines a callback interface for long running HTTP connections.</p>
-<p>You should switch to this behavior for long polling, server-sent events and similar long-running requests.</p>
-<p>There are generally two usage patterns:</p>
-<ul><li>Loop until receiving a specific message, then send a response and stop execution (for example long polling);
-</li>
-<li>Or initiate a response in <code>init/2</code> and stream the body in <code>info/3</code> as necessary (for example server-sent events).
-</li>
-</ul>
-<h2 id="_callbacks">Callbacks</h2>
-<p>Loop handlers implement the following interface:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">cowboy_loop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
- | {<font color="#FF6600">cowboy_loop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}
-
-<b><font color="#000000">info</font></b>(<font color="#009900">Info</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
- | {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}
- | {<font color="#FF6600">stop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<b><font color="#000000">terminate</font></b>(<font color="#009900">Reason</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> <i><font color="#9A1900">%% optional</font></i>
-
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">State</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Info</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Reason</font> <font color="#990000">::</font> <font color="#FF6600">stop</font>
- | {<font color="#FF6600">crash</font>, <font color="#FF6600">error</font> | <b><font color="#000080">exit</font></b> | <b><font color="#000080">throw</font></b>, <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>The <code>init/2</code> callback is common to all handlers. To switch to the loop behavior, it must return <code>cowboy_loop</code> as the first element of the tuple.</p>
-<p>The <code>info/3</code> callback will be called for every Erlang message received. It may choose to continue the receive loop or stop it.</p>
-<p>The optional <code>terminate/3</code> callback will ultimately be called with the reason for the termination of the handler. Cowboy will terminate the process right after this. There is no need to perform any cleanup in this callback.</p>
-<p>The following terminate reasons are defined for loop handlers:</p>
-<dl><dt>stop</dt>
-<dd><p>The handler requested to close the connection by returning a <code>stop</code> tuple.</p>
-</dd>
-<dt>{crash, Class, Reason}</dt>
-<dd><p>A crash occurred in the handler. <code>Class</code> and <code>Reason</code> can be used to obtain more information about the crash. The function <code>erlang:get_stacktrace/0</code> can also be called to obtain the stacktrace of the process when the crash occurred.</p>
-</dd>
-</dl>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Loop handlers no longer need to handle overflow/timeouts.
-</li>
-<li><strong>1.0</strong>: Behavior introduced.
-</li>
-</ul>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy_handler">cowboy_handler(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_middleware/index.html b/docs/en/cowboy/2.1/manual/cowboy_middleware/index.html
deleted file mode 100644
index b31388ca..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_middleware/index.html
+++ /dev/null
@@ -1,212 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_middleware(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_middleware(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_middleware - Middlewares</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_middleware</code> defines a callback interface for Cowboy middlewares.</p>
-<p>Middlewares process the request sequentially in the order they are configured.</p>
-<h2 id="_callbacks">Callbacks</h2>
-<p>Middlewares implement the following interface:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">execute</font></b>(<font color="#009900">Req</font>, <font color="#009900">Env</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">Env</font>}
- | {<font color="#FF6600">suspend</font>, <b><font color="#000000">module</font></b>(), <b><font color="#000080">atom</font></b>(), [<b><font color="#000000">any</font></b>()]}
- | {<font color="#FF6600">stop</font>, <font color="#009900">Req</font>}
-
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">Env</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_middleware:env</font></b>()</tt></pre>
-</div></div>
-<p>The <code>execute/2</code> is the only callback that needs to be implemented. It must execute the middleware and return with instructions for Cowboy.</p>
-<dl><dt>ok</dt>
-<dd><p>Cowboy should continue processing the request using the returned Req object and environment.</p>
-</dd>
-<dt>suspend</dt>
-<dd><p>Cowboy will hibernate the process. When resuming, Cowboy will apply the returned module, function and arguments.</p>
-</dd>
-<dt>stop</dt>
-<dd><p>Cowboy will stop middleware execution. No other middleware will be executed. This effectively ends the processing of the request.</p>
-</dd>
-</dl>
-<h2 id="_types">Types</h2>
-<h3 id="_env">env()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">env</font></b>() <font color="#990000">::</font> #{<b><font color="#000080">atom</font></b>() <font color="#990000">=&gt;</font> <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>Middleware environment.</p>
-<p>A new environment is created for every request. The initial environment contained the user configured environment values (like <code>dispatch</code> for example) plus the <code>listener</code> value which contains the name of the listener for this connection.</p>
-<p>Middlewares may modify the environment as necessary.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: The <code>env</code> type is now a map instead of a proplist.
-</li>
-<li><strong>1.0</strong>: Behavior introduced.
-</li>
-</ul>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.binding/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.binding/index.html
deleted file mode 100644
index 45479004..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.binding/index.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:binding(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:binding(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:binding - Access a value bound from the route</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">binding</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">binding</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>, <font color="#000080">undefined</font>)
-<b><font color="#000000">binding</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>, <font color="#009900">Default</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">any</font></b>() | <font color="#009900">Default</font>
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>()
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
-</div></div>
-<p>Return the value for the given binding.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>Desired binding name as an atom.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Default</dt>
-<dd><p>Default value returned when the binding is missing.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>By default the value is a case sensitive binary string, however constraints may change the type of this value (for example automatically converting numbers to integer).</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the value is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the username from the path</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% Route is "/users/:user"</font></i>
-<font color="#009900">Username</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:binding</font></b>(<font color="#FF6600">user</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Get the branch name, with a default</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% Route is "/log[/:branch]"</font></i>
-<font color="#009900">Branch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:binding</font></b>(<font color="#FF6600">branch</font>, <font color="#009900">Req</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"master"</font><font color="#990000">&gt;&gt;</font>)</tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.bindings">cowboy_req:bindings(3)</a>, <a href="../cowboy_req.host_info">cowboy_req:host_info(3)</a>, <a href="../cowboy_req.path_info">cowboy_req:path_info(3)</a>, <a href="../cowboy_router">cowboy_router(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.bindings/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.bindings/index.html
deleted file mode 100644
index 0ca4e0a9..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.bindings/index.html
+++ /dev/null
@@ -1,196 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:bindings(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:bindings(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:bindings - Access all values bound from the route</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">bindings</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">cowboy_router:bindings</font></b>()</tt></pre>
-</div></div>
-<p>Return a map containing all bindings.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>By default values are case sensitive binary strings, however constraints may change the type of this value (for example automatically converting numbers to integer).</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the values are returned, they are no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get all bindings</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Bindings</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:bindings</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.binding">cowboy_req:binding(3)</a>, <a href="../cowboy_req.host_info">cowboy_req:host_info(3)</a>, <a href="../cowboy_req.path_info">cowboy_req:path_info(3)</a>, <a href="../cowboy_router">cowboy_router(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.body_length/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.body_length/index.html
deleted file mode 100644
index 477cd926..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.body_length/index.html
+++ /dev/null
@@ -1,197 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:body_length(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:body_length(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:body_length - Body length</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">body_length</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#000080">undefined</font> | <b><font color="#000000">non_neg_integer</font></b>()</tt></pre>
-</div></div>
-<p>Return the length of the request body.</p>
-<p>The length is not always known before reading the body. In those cases Cowboy will return <code>undefined</code>. The body length is available after the body has been fully read.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The length of the request body, or <code>undefined</code> if it is not known.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the length is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the body length</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Length</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:body_length</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.has_body">cowboy_req:has_body(3)</a>, <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a>, <a href="../cowboy_req.read_urlencoded_body">cowboy_req:read_urlencoded_body(3)</a>, <a href="../cowboy_req.read_part">cowboy_req:read_part(3)</a>, <a href="../cowboy_req.read_part_body">cowboy_req:read_part_body(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.cert/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.cert/index.html
deleted file mode 100644
index 2db6afe2..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.cert/index.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:cert(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:cert(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:cert - Client TLS certificate</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cert</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000080">binary</font></b>() | <font color="#000080">undefined</font></tt></pre>
-</div></div>
-<p>Return the peer&apos;s TLS certificate.</p>
-<p>Using the default configuration this function will always return <code>undefined</code>. You need to explicitly configure Cowboy to request the client certificate. To do this you need to set the <code>verify</code> transport option to <code>verify_peer</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_tls</font></b>(<font color="#FF6600">example</font>, [
- {<font color="#FF6600">port</font>, <font color="#993399">8443</font>},
- {<font color="#FF6600">cert</font>, <font color="#FF0000">"path/to/cert.pem"</font>},
- {<font color="#FF6600">verify</font>, <font color="#FF6600">verify_peer</font>}
-], #{
- <font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}
-})<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You may also want to customize the <code>verify_fun</code> function. Please consult the <code>ssl</code> application&apos;s manual for more details.</p>
-<p>TCP connections do not allow a certificate and this function will therefore always return <code>undefined</code>.</p>
-<p>The certificate can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">cert</font> <font color="#990000">:=</font> <font color="#009900">Cert</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The client TLS certificate.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.1</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the client TLS certificate.</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Cert</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:cert</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.peer">cowboy_req:peer(3)</a>, <a href="../cowboy_req.sock">cowboy_req:sock(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.delete_resp_header/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.delete_resp_header/index.html
deleted file mode 100644
index d3d2551b..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.delete_resp_header/index.html
+++ /dev/null
@@ -1,201 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:delete_resp_header(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:delete_resp_header(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:delete_resp_header - Delete a response header</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">delete_resp_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Req</font>
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% lowercase; case insensitive</font></i></tt></pre>
-</div></div>
-<p>Delete the given response header.</p>
-<p>The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>Header name as a lowercase binary string.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A new Req object is returned.</p>
-<p>The returned Req object must be used from that point onward, otherwise the header will still be sent in the response.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Remove the content-type header from the response</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:delete_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>),</tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a>, <a href="../cowboy_req.has_resp_header">cowboy_req:has_resp_header(3)</a>, <a href="../cowboy_req.resp_header">cowboy_req:resp_header(3)</a>, <a href="../cowboy_req.resp_headers">cowboy_req:resp_headers(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.has_resp_body/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.has_resp_body/index.html
deleted file mode 100644
index 71f15111..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.has_resp_body/index.html
+++ /dev/null
@@ -1,199 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:has_resp_body(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:has_resp_body(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:has_resp_body - Is there a response body?</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">has_resp_body</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">boolean</font></b>()</tt></pre>
-</div></div>
-<p>Return whether a response body has been set.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A boolean indicating whether a response body has been set.</p>
-<p>This function will return <code>false</code> when an empty response body has been set.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Check whether a body has been set</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#000080">false</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:has_resp_body</font></b>(<font color="#009900">Req0</font>),
-<font color="#009900">Req1</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_body</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello!"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>),
-<font color="#000080">true</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:has_resp_body</font></b>(<font color="#009900">Req1</font>),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_body</font></b>(<font color="#990000">&lt;&lt;&gt;&gt;</font>, <font color="#009900">Req1</font>),
-<font color="#000080">false</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:has_resp_body</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_body">cowboy_req:set_resp_body(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.has_resp_header/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.has_resp_header/index.html
deleted file mode 100644
index 4f47b686..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.has_resp_header/index.html
+++ /dev/null
@@ -1,202 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:has_resp_header(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:has_resp_header(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:has_resp_header - Is the given response header set?</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">has_resp_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">boolean</font></b>()
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% lowercase; case insensitive</font></i></tt></pre>
-</div></div>
-<p>Return whether the given response header has been set.</p>
-<p>The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>Header name as a lowercase binary string.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A boolean indicating whether the given response header has been set.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Check whether the content-type header has been set</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#000080">false</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:has_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/html"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>),
-<font color="#000080">true</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:has_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a>, <a href="../cowboy_req.resp_header">cowboy_req:resp_header(3)</a>, <a href="../cowboy_req.resp_headers">cowboy_req:resp_headers(3)</a>, <a href="../cowboy_req.delete_resp_header">cowboy_req:delete_resp_header(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.header/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.header/index.html
deleted file mode 100644
index 40726431..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.header/index.html
+++ /dev/null
@@ -1,223 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:header(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:header(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:header - HTTP header</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>, <font color="#000080">undefined</font>)
-<b><font color="#000000">header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>, <font color="#009900">Default</font>) <font color="#990000">-&gt;</font> <b><font color="#000080">binary</font></b>() | <font color="#009900">Default</font>
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
-</div></div>
-<p>Return the value for the given HTTP header.</p>
-<p>The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<p>Headers can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">headers</font> <font color="#990000">:=</font> #{<font color="#009900">Name</font> <font color="#990000">:=</font> <font color="#009900">Value</font>}} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Note that this snippet will crash if the header is missing.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>Desired HTTP header name as a lowercase binary string.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Default</dt>
-<dd><p>Default value returned when the header is missing.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The header value is returned as a binary string. When the header is missing, the default argument is returned.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the header value is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the accept header</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Accept</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Get the content-length header with a default value</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Length</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-length"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"0"</font><font color="#990000">&gt;&gt;</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.headers">cowboy_req:headers(3)</a>, <a href="../cowboy_req.parse_header">cowboy_req:parse_header(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.headers/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.headers/index.html
deleted file mode 100644
index 062cc1aa..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.headers/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:headers(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:headers(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:headers - HTTP headers</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">headers</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">cowboy:http_headers</font></b>()</tt></pre>
-</div></div>
-<p>Return all request headers.</p>
-<p>Request headers can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">headers</font> <font color="#990000">:=</font> <font color="#009900">Headers</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>Headers are returned as a map with keys being lowercase binary strings, and values as binary strings.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the headers are returned, they are no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get all headers</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Headers</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:headers</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.header">cowboy_req:header(3)</a>, <a href="../cowboy_req.parse_header">cowboy_req:parse_header(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.host/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.host/index.html
deleted file mode 100644
index 681dda7e..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.host/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:host(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:host(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:host - URI host name</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">host</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Host</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()</tt></pre>
-</div></div>
-<p>Return the host name of the effective request URI.</p>
-<p>The host name can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">host</font> <font color="#990000">:=</font> <font color="#009900">Host</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The host name is returned as a lowercase binary string. It is case insensitive.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the host name is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the effective request URI&apos;s host name</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Host</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:host</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.binding">cowboy_req:binding(3)</a>, <a href="../cowboy_req.bindings">cowboy_req:bindings(3)</a>, <a href="../cowboy_req.host_info">cowboy_req:host_info(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.host_info/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.host_info/index.html
deleted file mode 100644
index 285178bb..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.host_info/index.html
+++ /dev/null
@@ -1,197 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:host_info(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:host_info(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:host_info - Access the route&apos;s heading host segments</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">host_info</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">cowboy_router:tokens</font></b>()</tt></pre>
-</div></div>
-<p>Return the tokens for the heading host segments.</p>
-<p>This is the part of the host name that was matched using the <code>...</code> notation.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The tokens are returned as a list of case insensitive binary strings.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the tokens are returned, they are no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the host_info tokens</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">HostInfo</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:host_info</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.binding">cowboy_req:binding(3)</a>, <a href="../cowboy_req.bindings">cowboy_req:bindings(3)</a>, <a href="../cowboy_req.path_info">cowboy_req:path_info(3)</a>, <a href="../cowboy_router">cowboy_router(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.match_cookies/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.match_cookies/index.html
deleted file mode 100644
index 7035ffef..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.match_cookies/index.html
+++ /dev/null
@@ -1,223 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:match_cookies(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:match_cookies(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:match_cookies - Match cookies against constraints</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">match_cookies</font></b>(<font color="#009900">Fields</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:fields</font></b>(), <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> #{<b><font color="#000080">atom</font></b>() <font color="#990000">=&gt;</font> <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>Parse the cookies and match specific values against constraints.</p>
-<p>Cowboy will only return the cookie values specified in the fields list, and ignore all others. Fields can be either the name of the cookie requested; the name along with a list of constraints; or the name, a list of constraints and a default value in case the cookie is missing.</p>
-<p>This function will crash if the cookie is missing and no default value is provided. This function will also crash if a constraint fails.</p>
-<p>The name of the cookie must be provided as an atom. The key of the returned map will be that atom. The value may be converted through the use of constraints, making this function able to extract, validate and convert values all in one step.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Fields</dt>
-<dd><p>Cookies to retrieve.</p>
-<p>See <a href="../cowboy">cowboy(3)</a> for a complete description.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>Desired values are returned as a map. The key is the atom that was given in the list of fields, and the value is the optionally converted value after applying constraints.</p>
-<p>The map contains the same keys that were given in the fields.</p>
-<p>An exception is triggered when the match fails.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Match fields</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% ID and Lang are binaries.</font></i>
-#{<font color="#FF6600">id</font> <font color="#990000">:=</font> <font color="#009900">ID</font>, <font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>}
- <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_cookies</font></b>([<font color="#FF6600">id</font>, <font color="#FF6600">lang</font>], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Match fields and apply constraints</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% ID is an integer and Lang a non-empty binary.</font></i>
-#{<font color="#FF6600">id</font> <font color="#990000">:=</font> <font color="#009900">ID</font>, <font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>}
- <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_cookies</font></b>([{<font color="#FF6600">id</font>, <font color="#FF6600">int</font>}, {<font color="#FF6600">lang</font>, <font color="#FF6600">nonempty</font>}], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Match fields with default values</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>}
- <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_cookies</font></b>([{<font color="#FF6600">lang</font>, [], <font color="#990000">&lt;&lt;</font><font color="#FF0000">"en-US"</font><font color="#990000">&gt;&gt;</font>}], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.parse_cookies">cowboy_req:parse_cookies(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.match_qs/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.match_qs/index.html
deleted file mode 100644
index 27ea5bc9..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.match_qs/index.html
+++ /dev/null
@@ -1,223 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:match_qs(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:match_qs(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:match_qs - Match the query string against constraints</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">match_qs</font></b>(<font color="#009900">Fields</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:fields</font></b>(), <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> #{<b><font color="#000080">atom</font></b>() <font color="#990000">=&gt;</font> <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>Parse the query string and match specific values against constraints.</p>
-<p>Cowboy will only return the query string values specified in the fields list, and ignore all others. Fields can be either the key requested; the key along with a list of constraints; or the key, a list of constraints and a default value in case the key is missing.</p>
-<p>This function will crash if the key is missing and no default value is provided. This function will also crash if a constraint fails.</p>
-<p>The key must be provided as an atom. The key of the returned map will be that atom. The value may be converted through the use of constraints, making this function able to extract, validate and convert values all in one step.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Fields</dt>
-<dd><p>Fields to retrieve from the query string.</p>
-<p>See <a href="../cowboy">cowboy(3)</a> for a complete description.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>Desired values are returned as a map. The key is the atom that was given in the list of fields, and the value is the optionally converted value after applying constraints.</p>
-<p>The map contains the same keys that were given in the fields.</p>
-<p>An exception is triggered when the match fails.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Match fields</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% ID and Lang are binaries.</font></i>
-#{<font color="#FF6600">id</font> <font color="#990000">:=</font> <font color="#009900">ID</font>, <font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>}
- <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_qs</font></b>([<font color="#FF6600">id</font>, <font color="#FF6600">lang</font>], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Match fields and apply constraints</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% ID is an integer and Lang a non-empty binary.</font></i>
-#{<font color="#FF6600">id</font> <font color="#990000">:=</font> <font color="#009900">ID</font>, <font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>}
- <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_qs</font></b>([{<font color="#FF6600">id</font>, <font color="#FF6600">int</font>}, {<font color="#FF6600">lang</font>, <font color="#FF6600">nonempty</font>}], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Match fields with default values</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">lang</font> <font color="#990000">:=</font> <font color="#009900">Lang</font>}
- <font color="#990000">=</font> <b><font color="#000000">cowboy_req:match_qs</font></b>([{<font color="#FF6600">lang</font>, [], <font color="#990000">&lt;&lt;</font><font color="#FF0000">"en-US"</font><font color="#990000">&gt;&gt;</font>}], <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.qs">cowboy_req:qs(3)</a>, <a href="../cowboy_req.parse_qs">cowboy_req:parse_qs(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.method/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.method/index.html
deleted file mode 100644
index b22aa661..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.method/index.html
+++ /dev/null
@@ -1,214 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:method(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:method(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:method - HTTP method</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">method</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Method</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()</tt></pre>
-</div></div>
-<p>Return the request&apos;s HTTP method.</p>
-<p>The method can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">method</font> <font color="#990000">:=</font> <font color="#009900">Method</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The request&apos;s HTTP method is returned as a binary string. While methods are case sensitive, standard methods are always uppercase.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the method is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Ensure the request&apos;s method is GET</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#990000">&lt;&lt;</font><font color="#FF0000">"GET"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:method</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Allow methods from list</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">lists:member</font></b>(<b><font color="#000000">cowboy_req:method</font></b>(<font color="#009900">Req</font>), [<font color="#990000">&lt;&lt;</font><font color="#FF0000">"GET"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"POST"</font><font color="#990000">&gt;&gt;</font>]) <b><font color="#0000FF">of</font></b>
- <font color="#000080">true</font> <font color="#990000">-&gt;</font> <b><font color="#000000">handle</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>);
- <font color="#000080">false</font> <font color="#990000">-&gt;</font> <b><font color="#000000">method_not_allowed</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>)
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.parse_cookies/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.parse_cookies/index.html
deleted file mode 100644
index 83dd2777..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.parse_cookies/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:parse_cookies(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:parse_cookies(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:parse_cookies - Parse cookie headers</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_cookies</font></b>(<font color="#009900">Req</font>) <font color="#990000">-&gt;</font> [{<font color="#009900">Name</font>, <font color="#009900">Value</font>}]
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i></tt></pre>
-</div></div>
-<p>Parse cookie headers.</p>
-<p>Alias for <a href="../cowboy_req.parse_header">cowboy_req:parse_header(&lt;&lt;&quot;cookie&quot;&gt;&gt;, Req)</a>.</p>
-<p>When the cookie header is missing, <code>[]</code> is returned.</p>
-<p>While an empty cookie header is not valid, some clients do send it. Cowboy will in this case also return <code>[]</code>.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The cookies are returned as a list of key/values. Keys and values are case sensitive binary strings.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the parsed header value is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>2.0</strong>: Function introduced. Replaces <code>cookie/2,3</code> and <code>cookies/1</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Look for a specific cookie</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Cookies</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:parse_cookies</font></b>(<font color="#009900">Req</font>),
-{<font color="#990000">_</font>, <font color="#009900">Token</font>} <font color="#990000">=</font> <b><font color="#000000">lists:keyfind</font></b>(<font color="#FF6600">token</font>, <font color="#993399">1</font>, <font color="#009900">Cookies</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.parse_header">cowboy_req:parse_header(3)</a>, <a href="../cowboy_req.match_cookies">cowboy_req:match_cookies(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.parse_header/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.parse_header/index.html
deleted file mode 100644
index 8b54f4e6..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.parse_header/index.html
+++ /dev/null
@@ -1,374 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:parse_header(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:parse_header(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:parse_header - Parse the given HTTP header</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> <font color="#009900">ParsedValue</font> | <font color="#009900">Default</font>
-<b><font color="#000000">parse_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>, <font color="#009900">Default</font>) <font color="#990000">-&gt;</font> <font color="#009900">ParsedValue</font> | <font color="#009900">Default</font>
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">ParsedValue</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
-</div></div>
-<p>Parse the given HTTP header.</p>
-<p>The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<p>The type of the parsed value varies depending on the header. Similarly, the default value when calling <code>cowboy_req:parse_header/2</code> differs depending on the header.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>Desired HTTP header name as a lowercase binary string.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Default</dt>
-<dd><p>Default value returned when the header is missing.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The parsed header value varies depending on the header. When the header is missing, the default argument is returned.</p>
-<h2 id="_headers">Headers</h2>
-<p>The following snippets detail the types returned by the different headers. Unless mentioned otherwise, the default value when the header is missing will be <code>undefined</code>:</p>
-<div class="listingblock"><div class="title">accept</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)
- <font color="#990000">-&gt;</font> [{{<font color="#009900">Type</font>, <font color="#009900">SubType</font>, <font color="#009900">Params</font>}, <font color="#009900">Quality</font>, <font color="#009900">AcceptExt</font>}]
-
-<font color="#009900">Type</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case insensitive</font></i>
-<font color="#009900">SubType</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case insensitive</font></i>
-<font color="#009900">Params</font> <font color="#990000">::</font> [{<font color="#009900">Key</font>, <font color="#009900">Value</font>}]
-<font color="#009900">Quality</font> <font color="#990000">::</font> <font color="#993399">0</font><font color="#990000">..</font><font color="#993399">1000</font>
-<font color="#009900">AcceptExt</font> <font color="#990000">::</font> [<font color="#009900">Key</font> | {<font color="#009900">Key</font>, <font color="#009900">Value</font>}]
-<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case insensitive</font></i>
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">accept-charset, accept-encoding and accept-language</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> [{<font color="#009900">Value</font>, <font color="#009900">Quality</font>}]
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept-charset"</font><font color="#990000">&gt;&gt;</font>
- | <font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept-encoding"</font><font color="#990000">&gt;&gt;</font>
- | <font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept-language"</font><font color="#990000">&gt;&gt;</font>
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case insensitive</font></i>
-<font color="#009900">Quality</font> <font color="#990000">::</font> <font color="#993399">0</font><font color="#990000">..</font><font color="#993399">1000</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">authorization</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"authorization"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">basic</font>, <font color="#009900">Username</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Password</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()}
- | {<font color="#FF6600">bearer</font>, <font color="#009900">Token</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()}
- | {<font color="#FF6600">digest</font>, [{<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()}]}</tt></pre>
-</div></div>
-<!-- @todo Currently also parses connection. Do we want this? Should it be documented? Use case?-->
-<div class="listingblock"><div class="title">content-length</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-length"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">non_neg_integer</font></b>()</tt></pre>
-</div></div>
-<p>When the content-length header is missing, <code>0</code> is returned.</p>
-<div class="listingblock"><div class="title">content-type</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)
- <font color="#990000">-&gt;</font> {<font color="#009900">Type</font>, <font color="#009900">SubType</font>, <font color="#009900">Params</font>}
-
-<font color="#009900">Type</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case insensitive</font></i>
-<font color="#009900">SubType</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case insensitive</font></i>
-<font color="#009900">Params</font> <font color="#990000">::</font> [{<font color="#009900">Key</font>, <font color="#009900">Value</font>}]
-<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case insensitive</font></i>
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive;</font></i></tt></pre>
-</div></div>
-<p>Note that the value for the charset parameter is case insensitive and returned as a lowercase binary string.</p>
-<div class="listingblock"><div class="title">cookie</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"cookie"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> [{<font color="#009900">Name</font>, <font color="#009900">Value</font>}]
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i></tt></pre>
-</div></div>
-<p>When the cookie header is missing, <code>[]</code> is returned.</p>
-<p>While an empty cookie header is not valid, some clients do send it. Cowboy will in this case also return <code>[]</code>.</p>
-<div class="listingblock"><div class="title">expect</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"expect"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> <font color="#FF6600">continue</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">if-match and if-none-match</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>)
- <font color="#990000">-&gt;</font> <font color="#FF6600">'*'</font> | [{<font color="#FF6600">weak</font> | <font color="#FF6600">strong</font>, <font color="#009900">OpaqueTag</font>}]
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"if-match"</font><font color="#990000">&gt;&gt;</font>
- | <font color="#990000">&lt;&lt;</font><font color="#FF0000">"if-none-match"</font><font color="#990000">&gt;&gt;</font>
-<font color="#009900">OpaqueTag</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">if-modified-since and if-unmodified-since</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">calendar:datetime</font></b>()</tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">range</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"range"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> {<font color="#009900">From</font>, <font color="#009900">To</font>} | <font color="#009900">Final</font>
-
-<font color="#009900">From</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>()
-<font color="#009900">To</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>() | <font color="#FF6600">infinity</font>
-<font color="#009900">Final</font> <font color="#990000">::</font> <b><font color="#000000">neg_integer</font></b>()</tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">sec-websocket-extensions</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sec-websocket-extensions"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)
- <font color="#990000">-&gt;</font> [{<font color="#009900">Extension</font>, <font color="#009900">Params</font>}]
-
-<font color="#009900">Extension</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Params</font> <font color="#990000">::</font> [<font color="#009900">Key</font> | {<font color="#009900">Key</font>, <font color="#009900">Value</font>}]
-<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">sec-websocket-protocol and upgrade</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> [<font color="#009900">Token</font>]
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"sec-websocket-protocol"</font><font color="#990000">&gt;&gt;</font>
- | <font color="#990000">&lt;&lt;</font><font color="#FF0000">"upgrade"</font><font color="#990000">&gt;&gt;</font>
-<font color="#009900">Token</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case insensitive</font></i></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">x-forwarded-for</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"x-forwarded-for"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> [<font color="#009900">Token</font>]
-
-<font color="#009900">Token</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Unknown headers</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_header</font></b>(<font color="#990000">_</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> {<font color="#000080">undefined</font>, <font color="#009900">RawValue</font>}</tt></pre>
-</div></div>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the parsed header value is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Parse the accept header with a custom default value</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% Accept everything when header is missing.</font></i>
-<font color="#009900">Accept</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:parse_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>,
- [{{ <font color="#990000">&lt;&lt;</font><font color="#FF0000">"*"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"*"</font><font color="#990000">&gt;&gt;</font>, []}, <font color="#993399">1000</font>, []}])<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Parse the content-length header</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% Default content-length is 0.</font></i>
-<font color="#009900">Length</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-length"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.header">cowboy_req:header(3)</a>, <a href="../cowboy_req.headers">cowboy_req:headers(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.parse_qs/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.parse_qs/index.html
deleted file mode 100644
index 5719aabe..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.parse_qs/index.html
+++ /dev/null
@@ -1,211 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:parse_qs(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:parse_qs(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:parse_qs - Parse the query string</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">parse_qs</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> [{<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() | <font color="#000080">true</font>}]</tt></pre>
-</div></div>
-<p>Parse the query string as a list of key/value pairs.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The parsed query string is returned as a list of key/value pairs. The key is a binary string. The value is either a binary string, or the atom <code>true</code>. Both key and value are case sensitive.</p>
-<p>The atom <code>true</code> is returned when a key is present in the query string without a value. For example, in the following URIs the key <code>&lt;&lt;&quot;edit&quot;&gt;&gt;</code> will always have the value <code>true</code>:</p>
-<ul><li><code>/posts/42?edit</code>
-</li>
-<li><code>/posts/42?edit&amp;exclusive=1</code>
-</li>
-<li><code>/posts/42?exclusive=1&amp;edit</code>
-</li>
-<li><code>/posts/42?exclusive=1&amp;edit&amp;from=web</code>
-</li>
-</ul>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: The parsed value is not longer cached in the Req object.
-</li>
-<li><strong>2.0</strong>: Only the parsed query string is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>2.0</strong>: Function introduced. Replaces <code>qs_val/1</code> and <code>qs_vals/1</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Parse the query string and convert the keys to atoms</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">ParsedQs</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:parse_qs</font></b>(<font color="#009900">Req</font>),
-<font color="#009900">AtomsQs</font> <font color="#990000">=</font> [{<b><font color="#000000">binary_to_existing_atom</font></b>(<font color="#009900">K</font>, <font color="#FF6600">latin1</font>), <font color="#009900">V</font>}
- || {<font color="#009900">K</font>, <font color="#009900">V</font>} <font color="#990000">&lt;-</font> <font color="#009900">ParsedQs</font>]<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.qs">cowboy_req:qs(3)</a>, <a href="../cowboy_req.match_qs">cowboy_req:match_qs(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.path/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.path/index.html
deleted file mode 100644
index b816e8e6..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.path/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:path(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:path(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:path - URI path</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">path</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Path</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()</tt></pre>
-</div></div>
-<p>Return the path of the effective request URI.</p>
-<p>The path can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">path</font> <font color="#990000">:=</font> <font color="#009900">Path</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The path is returned as a binary string. It is case sensitive.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the path is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the effective request URI&apos;s path</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Path</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:path</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.binding">cowboy_req:binding(3)</a>, <a href="../cowboy_req.bindings">cowboy_req:bindings(3)</a>, <a href="../cowboy_req.path_info">cowboy_req:path_info(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.path_info/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.path_info/index.html
deleted file mode 100644
index d3da9a3c..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.path_info/index.html
+++ /dev/null
@@ -1,197 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:path_info(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:path_info(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:path_info - Access the route&apos;s trailing path segments</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">path_info</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">cowboy_router:tokens</font></b>()</tt></pre>
-</div></div>
-<p>Return the tokens for the trailing path segments.</p>
-<p>This is the part of the host name that was matched using the <code>...</code> notation.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The tokens are returned as a list of case sensitive binary strings.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the tokens are returned, they are no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the path_info tokens</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathInfo</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:path_info</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.binding">cowboy_req:binding(3)</a>, <a href="../cowboy_req.bindings">cowboy_req:bindings(3)</a>, <a href="../cowboy_req.host_info">cowboy_req:host_info(3)</a>, <a href="../cowboy_router">cowboy_router(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.port/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.port/index.html
deleted file mode 100644
index 179e7a89..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.port/index.html
+++ /dev/null
@@ -1,204 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:port(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:port(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:port - URI port number</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">port</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Port</font> <font color="#990000">::</font> <b><font color="#000000">inet:port_number</font></b>()</tt></pre>
-</div></div>
-<p>Return the port number of the effective request URI.</p>
-<p>Note that the port number returned by this function is obtained by parsing the host header. It may be different from the port the peer used to connect to Cowboy.</p>
-<p>The port number can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">port</font> <font color="#990000">:=</font> <font color="#009900">Port</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The port number is returned as an integer.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the port number is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the effective request URI&apos;s port number</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Port</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:port</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.push/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.push/index.html
deleted file mode 100644
index fc060c07..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.push/index.html
+++ /dev/null
@@ -1,230 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:push(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:push(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:push - Push a resource to the client</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">push</font></b>(<font color="#009900">Path</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">push</font></b>(<font color="#009900">Path</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font>, #{})
-
-<b><font color="#000000">push</font></b>(<font color="#009900">Path</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>(), <font color="#009900">Opts</font>)
- <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font>
-
-<font color="#009900">Path</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>() <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Headers</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:http_headers</font></b>()
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:push_opts</font></b>()</tt></pre>
-</div></div>
-<p>Push a resource to the client.</p>
-<p>Cowboy handles push requests the same way as if they came from the client, including the creation of a request handling process, routing and middlewares and so on.</p>
-<p>This function does nothing when the HTTP/1.1 protocol is used. You may call it safely without first checking whether the connection uses HTTP/2.</p>
-<p>The header names must be given as lowercase binary strings. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<p>Note that the headers must be the headers the client is expected to send if it were to perform the request. They are therefore request headers, and not response headers.</p>
-<p>By default, Cowboy will use the GET method, an empty query string, and take the scheme, host and port directly from the current request&apos;s URI. You can override them by passing options.</p>
-<p>It is not possible to push resources after sending a response. Any attempt will result in an error.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Path</dt>
-<dd><p>The status code for the response.</p>
-</dd>
-<dt>Headers</dt>
-<dd><p>The response headers.</p>
-</dd>
-</dl>
-<p>Header names must be given as lowercase binary strings.</p>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Opts</dt>
-<dd><p>Customize the HTTP method or the URI scheme, host, port or query string.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The atom <code>ok</code> is always returned. It can be safely ignored.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Push a resource</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:push</font></b>(<font color="#FF0000">"/static/style.css"</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/css"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req</font>),</tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Push a resource with a custom host</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:push</font></b>(<font color="#FF0000">"/static/style.css"</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/css"</font><font color="#990000">&gt;&gt;</font>
-}, #{<font color="#0000FF">host</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"cdn.example.org"</font><font color="#990000">&gt;&gt;</font>}, <font color="#009900">Req</font>),</tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.inform">cowboy_req:inform(3)</a>, <a href="../cowboy_req.reply">cowboy_req:reply(3)</a>, <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.qs/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.qs/index.html
deleted file mode 100644
index 4becfd9b..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.qs/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:qs(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:qs(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:qs - URI query string</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">qs</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Qs</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()</tt></pre>
-</div></div>
-<p>Return the query string of the effective request URI.</p>
-<p>The query string can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">qs</font> <font color="#990000">:=</font> <font color="#009900">Qs</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The query string is returned as a binary string. It is case sensitive.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the query string is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the effective request URI&apos;s query string</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Qs</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:qs</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.parse_qs">cowboy_req:parse_qs(3)</a>, <a href="../cowboy_req.match_qs">cowboy_req:match_qs(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.read_body/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.read_body/index.html
deleted file mode 100644
index a25f18d8..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.read_body/index.html
+++ /dev/null
@@ -1,228 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:read_body(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:read_body(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:read_body - Read the request body</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">read_body</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">read_body</font></b>(<font color="#009900">Req</font>, #{})
-
-<b><font color="#000000">read_body</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>(), <font color="#009900">Opts</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Data</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Req</font>}
- | {<font color="#FF6600">more</font>, <font color="#009900">Data</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Req</font>}
-
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:read_body_opts</font></b>()</tt></pre>
-</div></div>
-<p>Read the request body.</p>
-<p>This function reads a chunk of the request body. A <code>more</code> tuple is returned when more data remains to be read. Call the function repeatedly until an <code>ok</code> tuple is returned to read the entire body.</p>
-<p>An <code>ok</code> tuple with empty data is returned when the request has no body, or when calling this function again after the body has already been read. It is therefore safe to call this function directly. Note that the body can only be read once.</p>
-<p>This function reads the request body from the connection process. The connection process is responsible for reading from the socket. The exact behavior varies depending on the protocol.</p>
-<p>The options therefore are only related to the communication between the request process and the connection process.</p>
-<p>Cowboy will automatically handle protocol details including the expect header, chunked transfer-encoding and others.</p>
-<p>Once the body has been read fully, Cowboy sets the content-length header if it was not previously provided.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Opts</dt>
-<dd><p>A map of body reading options.</p>
-<p>The <code>length</code> option can be used to request smaller or bigger chunks of data to be sent. It is a best effort approach, Cowboy may send more data than configured on occasions. It defaults to 8MB.</p>
-<p>The <code>period</code> indicates how long the connection process will wait before it provides us with the data it received. It defaults to 15 seconds.</p>
-<p>The connection process sends data to the request process when either the <code>length</code> of data or the <code>period</code> of time is reached.</p>
-<p>The <code>timeout</code> option is a safeguard in case the connection process becomes unresponsive. The function will crash if no message was received in that interval. The timeout should be larger than the period. It defaults to the period + 1 second.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A <code>more</code> tuple is returned when there are more data to be read.</p>
-<p>An <code>ok</code> tuple is returned when there are no more data to be read, either because this is the last chunk of data, the body has already been read, or there was no body to begin with.</p>
-<p>The data is always returned as a binary.</p>
-<p>The Req object returned in the tuple must be used for that point onward. It contains a more up to date representation of the request. For example it may have an added content-length header once the body has been read.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced. Replaces <code>body/1,2</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Read the entire body</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">read_body</font></b>(<font color="#009900">Req0</font>, <font color="#009900">Acc</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_body</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#990000">&lt;&lt;</font> <font color="#009900">Acc</font><font color="#990000">/</font><b><font color="#000080">binary</font></b>, <font color="#009900">Data</font><font color="#990000">/</font><b><font color="#000080">binary</font></b> <font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>};
- {<font color="#FF6600">more</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font> <b><font color="#000000">read_body</font></b>(<font color="#009900">Req</font>, <font color="#990000">&lt;&lt;</font> <font color="#009900">Acc</font><font color="#990000">/</font><b><font color="#000080">binary</font></b>, <font color="#009900">Data</font><font color="#990000">/</font><b><font color="#000080">binary</font></b> <font color="#990000">&gt;&gt;</font>)
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Read the body in small chunks</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_req:read_body</font></b>(<font color="#009900">Req</font>, #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#993399">64000</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.has_body">cowboy_req:has_body(3)</a>, <a href="../cowboy_req.body_length">cowboy_req:body_length(3)</a>, <a href="../cowboy_req.read_urlencoded_body">cowboy_req:read_urlencoded_body(3)</a>, <a href="../cowboy_req.read_part">cowboy_req:read_part(3)</a>, <a href="../cowboy_req.read_part_body">cowboy_req:read_part_body(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.read_part/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.read_part/index.html
deleted file mode 100644
index ab5aa120..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.read_part/index.html
+++ /dev/null
@@ -1,250 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:read_part(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:read_part(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:read_part - Read the next multipart headers</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">read_part</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">read_part</font></b>(<font color="#009900">Req</font>, #{})
-
-<b><font color="#000000">read_part</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>(), <font color="#009900">Opts</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font>} | {<font color="#FF6600">done</font>, <font color="#009900">Req</font>}
-
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:read_body_opts</font></b>()
-<font color="#009900">Headers</font> <font color="#990000">::</font> #{<b><font color="#000080">binary</font></b>() <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>()}</tt></pre>
-</div></div>
-<p>Read the next part of a multipart body.</p>
-<p>This function reads the request body and parses it as multipart. Each parts of a multipart representation have their own headers and body. This function parses and returns headers. Examples of multipart media types are <code>multipart/form-data</code> and <code>multipart/byteranges</code>.</p>
-<p>Cowboy will skip any data remaining until the beginning of the next part. This includes the preamble to the multipart message but also the body of a previous part if it hasn&apos;t been read. Both are skipped automatically when calling this function.</p>
-<p>Cowboy will read the body before parsing in chunks of size up to 64KB, with a period of 5 seconds. This is tailored for reading part headers and might not be the most efficient for skipping the previous part&apos;s body.</p>
-<p>The headers returned are MIME headers, <strong>NOT</strong> HTTP headers. They can be parsed using the functions from the <code>cow_multipart</code> module. In addition, the <code>cow_multipart:form_data/1</code> function can be used to quickly extract information from <code>multipart/form-data</code> representations.</p>
-<!-- @todo Proper link to cow_multipart:form_data.-->
-<p>Once a part has been read, it can not be read again.</p>
-<p>Once the body has been read, Cowboy sets the content-length header if it was not previously provided.</p>
-<!-- @todo Limit the maximum size of multipart headers.-->
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Opts</dt>
-<dd><p>A map of body reading options. Please refer to <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a> for details about each option.</p>
-<p>This function defaults the <code>length</code> to 64KB and the <code>period</code> to 5 seconds.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>An <code>ok</code> tuple is returned containing the next part&apos;s headers as a map.</p>
-<p>A <code>done</code> tuple is returned if there are no more parts to read.</p>
-<p>The Req object returned in the tuple must be used for that point onward. It contains a more up to date representation of the request. For example it may have an added content-length header once the body has been read.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced. Replaces <code>part/1,2</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Read all parts</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">acc_multipart</font></b>(<font color="#009900">Req0</font>, <font color="#009900">Acc</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_part</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">Headers</font>, <font color="#009900">Req1</font>} <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">Body</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">stream_body</font></b>(<font color="#009900">Req1</font>, <font color="#990000">&lt;&lt;&gt;&gt;</font>),
- <b><font color="#000000">acc_multipart</font></b>(<font color="#009900">Req</font>, [{<font color="#009900">Headers</font>, <font color="#009900">Body</font>}|<font color="#009900">Acc</font>]);
- {<font color="#FF6600">done</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- {<b><font color="#000000">lists:reverse</font></b>(<font color="#009900">Acc</font>), <font color="#009900">Req</font>}
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font>
-
-<b><font color="#000000">stream_body</font></b>(<font color="#009900">Req0</font>, <font color="#009900">Acc</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_part_body</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">more</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">stream_body</font></b>(<font color="#009900">Req</font>, <font color="#990000">&lt;&lt;</font> <font color="#009900">Acc</font><font color="#990000">/</font><b><font color="#000080">binary</font></b>, <font color="#009900">Data</font><font color="#990000">/</font><b><font color="#000080">binary</font></b> <font color="#990000">&gt;&gt;</font>);
- {<font color="#FF6600">ok</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#990000">&lt;&lt;</font> <font color="#009900">Acc</font><font color="#990000">/</font><b><font color="#000080">binary</font></b>, <font color="#009900">Data</font><font color="#990000">/</font><b><font color="#000080">binary</font></b> <font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>}
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Read all part headers, skipping bodies</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">skip_body_multipart</font></b>(<font color="#009900">Req0</font>, <font color="#009900">Acc</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_part</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">skip_body_multipart</font></b>(<font color="#009900">Req</font>, [<font color="#009900">Headers</font>|<font color="#009900">Acc</font>]);
- {<font color="#FF6600">done</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- {<b><font color="#000000">lists:reverse</font></b>(<font color="#009900">Acc</font>), <font color="#009900">Req</font>}
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Read a part header in larger chunks</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_part</font></b>(<font color="#009900">Req0</font>, #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#993399">1000000</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.has_body">cowboy_req:has_body(3)</a>, <a href="../cowboy_req.body_length">cowboy_req:body_length(3)</a>, <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a>, <a href="../cowboy_req.read_urlencoded_body">cowboy_req:read_urlencoded_body(3)</a>, <a href="../cowboy_req.read_part_body">cowboy_req:read_part_body(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.read_part_body/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.read_part_body/index.html
deleted file mode 100644
index e210292a..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.read_part_body/index.html
+++ /dev/null
@@ -1,226 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:read_part_body(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:read_part_body(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:read_part_body - Read the current part&apos;s body</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">read_part_body</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">read_part_body</font></b>(<font color="#009900">Req</font>, #{})
-
-<b><font color="#000000">read_part_body</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>(), <font color="#009900">Opts</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Data</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Req</font>}
- | {<font color="#FF6600">more</font>, <font color="#009900">Data</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Req</font>}
-
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:read_body_opts</font></b>()</tt></pre>
-</div></div>
-<p>Read the body of the current part of the multipart message.</p>
-<p>This function reads the request body and parses it as multipart. Each parts of a multipart representation have their own headers and body. This function returns the body of the current part. Examples of multipart media types are <code>multipart/form-data</code> and <code>multipart/byteranges</code>.</p>
-<p>This function reads a chunk of the part&apos;s body. A <code>more</code> tuple is returned when more data remains to be read. Call the function repeatedly until an <code>ok</code> tuple is returned to read the entire body.</p>
-<p>Once a part has been read, it can not be read again.</p>
-<p>Once the body has been read, Cowboy sets the content-length header if it was not previously provided.</p>
-<!-- @todo Limit the maximum size of multipart headers.-->
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Opts</dt>
-<dd><p>A map of body reading options. Please refer to <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a> for details about each option.</p>
-<p>This function uses the same default options as the <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a> function.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A <code>more</code> tuple is returned when there are more data to be read.</p>
-<p>An <code>ok</code> tuple is returned when there are no more data to be read.</p>
-<p>The data is always returned as a binary.</p>
-<p>The Req object returned in the tuple must be used for that point onward. It contains a more up to date representation of the request. For example it may have an added content-length header once the body has been read.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced. Replaces <code>part_body/1,2</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Read a full part&apos;s body</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">stream_body</font></b>(<font color="#009900">Req0</font>, <font color="#009900">Acc</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">cowboy_req:read_part_body</font></b>(<font color="#009900">Req0</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">more</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">stream_body</font></b>(<font color="#009900">Req</font>, <font color="#990000">&lt;&lt;</font> <font color="#009900">Acc</font><font color="#990000">/</font><b><font color="#000080">binary</font></b>, <font color="#009900">Data</font><font color="#990000">/</font><b><font color="#000080">binary</font></b> <font color="#990000">&gt;&gt;</font>);
- {<font color="#FF6600">ok</font>, <font color="#009900">Data</font>, <font color="#009900">Req</font>} <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#990000">&lt;&lt;</font> <font color="#009900">Acc</font><font color="#990000">/</font><b><font color="#000080">binary</font></b>, <font color="#009900">Data</font><font color="#990000">/</font><b><font color="#000080">binary</font></b> <font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>}
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Ensure a part&apos;s body is smaller than 64KB</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">Body</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_part_body</font></b>(<font color="#009900">Req0</font>, #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#993399">64000</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.has_body">cowboy_req:has_body(3)</a>, <a href="../cowboy_req.body_length">cowboy_req:body_length(3)</a>, <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a>, <a href="../cowboy_req.read_urlencoded_body">cowboy_req:read_urlencoded_body(3)</a>, <a href="../cowboy_req.read_part">cowboy_req:read_part(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.read_urlencoded_body/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.read_urlencoded_body/index.html
deleted file mode 100644
index 7b842984..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.read_urlencoded_body/index.html
+++ /dev/null
@@ -1,220 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:read_urlencoded_body(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:read_urlencoded_body(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:read_urlencoded_body - Read and parse a urlencoded request body</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">read_urlencoded_body</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">read_urlencoded_body</font></b>(<font color="#009900">Req</font>, #{})
-
-<b><font color="#000000">read_urlencoded_body</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>(), <font color="#009900">Opts</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Body</font>, <font color="#009900">Req</font>}
-
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:read_body_opts</font></b>()
-<font color="#009900">Body</font> <font color="#990000">::</font> [{<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() | <font color="#000080">true</font>}]</tt></pre>
-</div></div>
-<p>Read and parse a urlencoded request body.</p>
-<p>This function reads the request body and parses it as <code>application/x-www-form-urlencoded</code>. It returns a list of key/values.</p>
-<p>The urlencoded media type is used by Web browsers when submitting HTML forms using the POST method.</p>
-<p>Cowboy needs to read the full body before parsing. By default it will read bodies of size up to 64KB. It is possible to provide options to read larger bodies if required.</p>
-<p>Cowboy will automatically handle protocol details including the expect header, chunked transfer-encoding and others.</p>
-<p>Once the body has been read, Cowboy sets the content-length header if it was not previously provided.</p>
-<p>This function can only be called once. Calling it again will result in undefined behavior.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Opts</dt>
-<dd><p>A map of body reading options. Please refer to <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a> for details about each option.</p>
-<p>This function defaults the <code>length</code> to 64KB and the <code>period</code> to 5 seconds.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>An <code>ok</code> tuple is returned containing a list of key/values found in the body.</p>
-<p>The Req object returned in the tuple must be used for that point onward. It contains a more up to date representation of the request. For example it may have an added content-length header once the body has been read.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced. Replaces <code>body_qs/1,2</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Read a urlencoded body</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">Body</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_urlencoded_body</font></b>(<font color="#009900">Req0</font>),
-{<font color="#990000">_</font>, <font color="#009900">Lang</font>} <font color="#990000">=</font> <b><font color="#000000">lists:keyfind</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"lang"</font><font color="#990000">&gt;&gt;</font>, <font color="#993399">1</font>, <font color="#009900">Body</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Allow large urlencoded bodies</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">Body</font>, <font color="#009900">Req</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:read_urlencoded_body</font></b>(<font color="#009900">Req0</font>, #{<b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <font color="#993399">1000000</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.has_body">cowboy_req:has_body(3)</a>, <a href="../cowboy_req.body_length">cowboy_req:body_length(3)</a>, <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a>, <a href="../cowboy_req.read_part">cowboy_req:read_part(3)</a>, <a href="../cowboy_req.read_part_body">cowboy_req:read_part_body(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.reply/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.reply/index.html
deleted file mode 100644
index 55426956..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.reply/index.html
+++ /dev/null
@@ -1,243 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:reply(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:reply(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:reply - Send the response</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">reply</font></b>(<font color="#009900">Status</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">reply</font></b>(<font color="#009900">StatusCode</font>, #{}, <font color="#009900">Req</font>)
-
-<b><font color="#000000">reply</font></b>(<font color="#009900">Status</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <font color="#009900">Req</font>
-
-<b><font color="#000000">reply</font></b>(<font color="#009900">Status</font>, <font color="#009900">Headers</font>, <font color="#009900">Body</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <font color="#009900">Req</font>
-
-<font color="#009900">Status</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:http_status</font></b>()
-<font color="#009900">Headers</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:http_headers</font></b>()
-<font color="#009900">Body</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:resp_body</font></b>()</tt></pre>
-</div></div>
-<p>Send the response.</p>
-<p>The header names must be given as lowercase binary strings. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<p>Cowboy does not allow duplicate header names. Headers set by this function may overwrite those set by <code>set_resp_header/3</code> and <code>set_resp_headers/2</code>.</p>
-<p>Use <a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a> instead of this function to set cookies.</p>
-<p>The <code>reply/2,3</code> functions will send the body set previously, if any. The <code>reply/4</code> function always sends the given body, overriding any previously set.</p>
-<p>You do not need to set the content-length header when sending a response body. Cowboy takes care of it automatically. You should however provide a content-type header.</p>
-<p>No further data can be transmitted after this function returns. This includes the push mechanism. Attempting to send two replies, or to push resources after a reply has been sent, will result in an error.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Status</dt>
-<dd><p>The status code for the response.</p>
-</dd>
-<dt>Headers</dt>
-<dd><p>The response headers.</p>
-</dd>
-</dl>
-<p>Header names must be given as lowercase binary strings.</p>
-<dl><dt>Body</dt>
-<dd><p>The body can be either a binary value, an iolist or a <code>sendfile</code> tuple telling Cowboy to send the contents of a file.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A new Req object is returned.</p>
-<p>The returned Req object should be used from that point onward as it contains updated information about the state of the request.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the Req is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Reply</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">404</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Reply with custom headers</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">401</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"www-authenticate"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Basic realm=\"erlang.org\""</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Reply with custom headers and a body</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/plain"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#FF0000">"Hello world!"</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a>, <a href="../cowboy_req.set_resp_body">cowboy_req:set_resp_body(3)</a>, <a href="../cowboy_req.inform">cowboy_req:inform(3)</a>, <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a>, <a href="../cowboy_req.push">cowboy_req:push(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.resp_header/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.resp_header/index.html
deleted file mode 100644
index b3e874d5..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.resp_header/index.html
+++ /dev/null
@@ -1,214 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:resp_header(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:resp_header(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:resp_header - Response header</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">resp_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">resp_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>, <font color="#000080">undefined</font>)
-<b><font color="#000000">resp_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>, <font color="#009900">Default</font>) <font color="#990000">-&gt;</font> <b><font color="#000080">binary</font></b>() | <font color="#009900">Default</font>
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
-</div></div>
-<p>Return the value for the given response header.</p>
-<p>The response header must have been set previously using <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a> or <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a>.</p>
-<p>The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>Desired response header name as a lowercase binary string.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Default</dt>
-<dd><p>Default value returned when the header is missing.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The header value is returned as a binary string. When the header is missing, the default argument is returned.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the content-type response header</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Type</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Get the content-type response header with a default value</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Type</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/html"</font><font color="#990000">&gt;&gt;</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.resp_headers">cowboy_req:resp_headers(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_body/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_body/index.html
deleted file mode 100644
index 75d06b22..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_body/index.html
+++ /dev/null
@@ -1,235 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:set_resp_body(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:set_resp_body(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:set_resp_body - Set the response body</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">set_resp_body</font></b>(<font color="#009900">Body</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <font color="#009900">Req</font>
-
-<font color="#009900">Body</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:resp_body</font></b>()</tt></pre>
-</div></div>
-<p>Set the response body.</p>
-<p>The response body will be sent when a reply is initiated. Note that the functions <code>stream_reply/2,3</code> and <code>reply/4</code> will override the body set by this function.</p>
-<p>This function can also be used to remove a response body that was set previously. To do so, simply call this function with an empty body.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Body</dt>
-<dd><p>The body can be either a binary value, an iolist or a <code>sendfile</code> tuple telling Cowboy to send the contents of a file.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A new Req object is returned.</p>
-<p>The returned Req object must be used from that point onward, otherwise the body will not be sent in the response.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: The function now accepts a <code>sendfile</code> tuple.
-</li>
-<li><strong>2.0</strong>: The <code>set_resp_body_fun/2,3</code> functions were removed.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Set the response body</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_body</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello world!"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Set the response body as an iolist</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_body</font></b>([
- <font color="#FF0000">"&lt;html&gt;&lt;head&gt;&lt;title&gt;"</font>,
- <b><font color="#000000">page_title</font></b>(),
- <font color="#FF0000">"&lt;/title&gt;&lt;/head&gt;&lt;body&gt;"</font>,
- <b><font color="#000000">page_body</font></b>(),
- <font color="#FF0000">"&lt;/body&gt;&lt;/html&gt;"</font>
-], <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Tell Cowboy to send data from a file</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#008080">#file_info</font>{<b><font color="#000080">size</font></b><font color="#990000">=</font><font color="#009900">Size</font>}} <font color="#990000">=</font> <b><font color="#000000">file:read_file_info</font></b>(<font color="#009900">Filename</font>),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_body</font></b>({<font color="#FF6600">sendfile</font>, <font color="#993399">0</font>, <font color="#009900">Size</font>, <font color="#009900">Filename</font>}, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Clear any previously set response body</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_body</font></b>(<font color="#990000">&lt;&lt;&gt;&gt;</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a>, <a href="../cowboy_req.reply">cowboy_req:reply(3)</a>, <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_cookie/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_cookie/index.html
deleted file mode 100644
index 4d92126a..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_cookie/index.html
+++ /dev/null
@@ -1,260 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:set_resp_cookie(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:set_resp_cookie(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:set_resp_cookie - Set a cookie</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">set_resp_cookie</font></b>(<font color="#009900">Name</font>, <font color="#009900">Value</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">set_resp_cookie</font></b>(<font color="#009900">Name</font>, <font color="#009900">Value</font>, [], <font color="#009900">Req</font>)
-
-<b><font color="#000000">set_resp_cookie</font></b>(<font color="#009900">Name</font>, <font color="#009900">Value</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>(), <font color="#009900">Opts</font>)
- <font color="#990000">-&gt;</font> <font color="#009900">Req</font>
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>() <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">cow_cookie:cookie_opts</font></b>()</tt></pre>
-</div></div>
-<p>Set a cookie to be sent with the response.</p>
-<p>Note that cookie names are case sensitive.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>Cookie name.</p>
-</dd>
-<dt>Value</dt>
-<dd><p>Cookie value.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Opts</dt>
-<dd><p>Cookie options.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A new Req object is returned.</p>
-<p>The returned Req object must be used from that point onward, otherwise the cookie will not be sent in the response.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: <code>set_resp_cookie/3</code> introduced as an alias to <code>set_resp_cookie/4</code> with no options.
-</li>
-<li><strong>2.0</strong>: The first argument type is now <code>binary()</code> instead of <code>iodata()</code>.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Set a session cookie</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SessionID</font> <font color="#990000">=</font> <b><font color="#000000">base64:encode</font></b>(<b><font color="#000000">crypto:strong_rand_bytes</font></b>(<font color="#993399">32</font>)),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">SessionID</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Set a cookie with an expiration time</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"lang"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"fr-FR"</font><font color="#990000">&gt;&gt;</font>,
- <font color="#009900">Req0</font>, #{<font color="#0000FF">max_age</font> <font color="#990000">=&gt;</font> <font color="#993399">3600</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Delete a cookie</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;&gt;&gt;</font>,
- <font color="#009900">Req0</font>, #{<font color="#0000FF">max_age</font> <font color="#990000">=&gt;</font> <font color="#993399">0</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Set a cookie for a specific domain and path</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"inaccount"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"1"</font><font color="#990000">&gt;&gt;</font>,
- <font color="#009900">Req0</font>, #{<font color="#0000FF">domain</font> <font color="#990000">=&gt;</font> <font color="#FF0000">"my.example.org"</font>, <font color="#0000FF">path</font> <font color="#990000">=&gt;</font> <font color="#FF0000">"/account"</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Restrict a cookie to HTTPS</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SessionID</font> <font color="#990000">=</font> <b><font color="#000000">base64:encode</font></b>(<b><font color="#000000">crypto:strong_rand_bytes</font></b>(<font color="#993399">32</font>)),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">SessionID</font>,
- <font color="#009900">Req0</font>, #{<font color="#0000FF">secure</font> <font color="#990000">=&gt;</font> <font color="#000080">true</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Restrict a cookie to HTTP</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SessionID</font> <font color="#990000">=</font> <b><font color="#000000">base64:encode</font></b>(<b><font color="#000000">crypto:strong_rand_bytes</font></b>(<font color="#993399">32</font>)),
-<font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_cookie</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"sessionid"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">SessionID</font>,
- <font color="#009900">Req0</font>, #{<font color="#0000FF">http_only</font> <font color="#990000">=&gt;</font> <font color="#000080">true</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a>, <a href="../cowboy_req.reply">cowboy_req:reply(3)</a>, <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_header/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_header/index.html
deleted file mode 100644
index 6029cc78..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_header/index.html
+++ /dev/null
@@ -1,216 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:set_resp_header(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:set_resp_header(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:set_resp_header - Set a response header</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">set_resp_header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Value</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <font color="#009900">Req</font>
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
-<font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>() <i><font color="#9A1900">%% case depends on header</font></i></tt></pre>
-</div></div>
-<p>Set a header to be sent with the response.</p>
-<p>The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<p>Cowboy does not allow duplicate header names. Headers set by this function may be overwritten by those set from the reply functions.</p>
-<p>Use <a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a> instead of this function to set cookies.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>Header name as a lowercase binary string.</p>
-</dd>
-<dt>Value</dt>
-<dd><p>Header value.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A new Req object is returned.</p>
-<p>The returned Req object must be used from that point onward, otherwise the header will not be sent in the response.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Set a header in the response</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"allow"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF0000">"GET"</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Construct a header using iolists</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"allow"</font><font color="#990000">&gt;&gt;</font>,
- [<b><font color="#000000">allowed_methods</font></b>(), <font color="#FF0000">", OPTIONS"</font>], <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a>, <a href="../cowboy_req.has_resp_header">cowboy_req:has_resp_header(3)</a>, <a href="../cowboy_req.resp_header">cowboy_req:resp_header(3)</a>, <a href="../cowboy_req.resp_headers">cowboy_req:resp_headers(3)</a>, <a href="../cowboy_req.delete_resp_header">cowboy_req:delete_resp_header(3)</a>, <a href="../cowboy_req.reply">cowboy_req:reply(3)</a>, <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_headers/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_headers/index.html
deleted file mode 100644
index ab588226..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_headers/index.html
+++ /dev/null
@@ -1,207 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:set_resp_headers(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:set_resp_headers(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:set_resp_headers - Set several response headers</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">set_resp_headers</font></b>(<font color="#009900">Headers</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <font color="#009900">Req</font>
-
-<font color="#009900">Headers</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:http_headers</font></b>()</tt></pre>
-</div></div>
-<p>Set several headers to be sent with the response.</p>
-<p>The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<p>Cowboy does not allow duplicate header names. Headers set by this function may be overwritten by those set from the reply functions. Likewise, headers set by this function may overwrite headers that were set previously.</p>
-<p>Use <a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a> instead of this function to set cookies.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Headers</dt>
-<dd><p>Headers as a map with keys being lowercase binary strings, and values as binary strings.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A new Req object is returned.</p>
-<p>The returned Req object must be used from that point onward, otherwise the headers will not be sent in the response.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Set several response headers</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:set_resp_headers</font></b>(#{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/html"</font><font color="#990000">&gt;&gt;</font>,
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-encoding"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"gzip"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.has_resp_header">cowboy_req:has_resp_header(3)</a>, <a href="../cowboy_req.resp_header">cowboy_req:resp_header(3)</a>, <a href="../cowboy_req.resp_headers">cowboy_req:resp_headers(3)</a>, <a href="../cowboy_req.delete_resp_header">cowboy_req:delete_resp_header(3)</a>, <a href="../cowboy_req.reply">cowboy_req:reply(3)</a>, <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.sock/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.sock/index.html
deleted file mode 100644
index 41ef30c3..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.sock/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:sock(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:sock(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:sock - Socket address and port</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">sock</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Info</font>
-
-<font color="#009900">Info</font> <font color="#990000">::</font> {<b><font color="#000000">inet:ip_address</font></b>(), <b><font color="#000000">inet:port_number</font></b>()}</tt></pre>
-</div></div>
-<p>Return the socket&apos;s IP address and port number.</p>
-<p>The socket information can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">sock</font> <font color="#990000">:=</font> {<font color="#009900">IP</font>, <font color="#009900">Port</font>}} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The socket&apos;s local IP address and port number.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.1</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the socket&apos;s IP address and port number.</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#009900">IP</font>, <font color="#009900">Port</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:sock</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.peer">cowboy_req:peer(3)</a>, <a href="../cowboy_req.cert">cowboy_req:cert(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.stream_body/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.stream_body/index.html
deleted file mode 100644
index e340eb8a..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.stream_body/index.html
+++ /dev/null
@@ -1,212 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:stream_body(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:stream_body(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:stream_body - Stream the response body</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">stream_body</font></b>(<font color="#009900">Data</font>, <font color="#009900">IsFin</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font>
-
-<font color="#009900">Data</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>()
-<font color="#009900">IsFin</font> <font color="#990000">::</font> <font color="#FF6600">fin</font> | <font color="#FF6600">nofin</font></tt></pre>
-</div></div>
-<p>Stream the response body.</p>
-<p>This function may be called as many times as needed after initiating a response using the <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a> function.</p>
-<p>The second argument indicates if this call is the final call. Use the <code>nofin</code> value until you know no more data will be sent. The final call should use <code>fin</code> (possibly with an empty data value).</p>
-<p>Note that not using <code>fin</code> for the final call is not an error; Cowboy will take care of it when the request handler terminates if needed. Depending on the resource it may however be more efficient to do it as early as possible.</p>
-<p>You do not need to handle HEAD requests specifically as Cowboy will ensure no data is sent when you call this function.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Data</dt>
-<dd><p>The data to be sent.</p>
-</dd>
-<dt>IsFin</dt>
-<dd><p>A flag indicating whether this is the final piece of data to be sent.</p>
-</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The atom <code>ok</code> is always returned. It can be safely ignored.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced. Replaces <code>chunk/2</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Stream the response body</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:stream_reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/plain"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>),
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello\n"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF6600">nofin</font>, <font color="#009900">Req</font>),
-<b><font color="#000000">timer:sleep</font></b>(<font color="#993399">1000</font>),
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"World!\n"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF6600">fin</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.stream_reply/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.stream_reply/index.html
deleted file mode 100644
index c377a302..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.stream_reply/index.html
+++ /dev/null
@@ -1,232 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:stream_reply(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:stream_reply(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:stream_reply - Send the response headers</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">stream_reply</font></b>(<font color="#009900">Status</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">stream_reply</font></b>(<font color="#009900">StatusCode</font>, #{}, <font color="#009900">Req</font>)
-
-<b><font color="#000000">stream_reply</font></b>(<font color="#009900">Status</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <font color="#009900">Req</font>
-
-<font color="#009900">Status</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:http_status</font></b>()
-<font color="#009900">Headers</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:http_headers</font></b>()</tt></pre>
-</div></div>
-<p>Send the response headers.</p>
-<p>The header names must be given as lowercase binary strings. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<p>Cowboy does not allow duplicate header names. Headers set by this function may overwrite those set by <code>set_resp_header/3</code>.</p>
-<p>Use <a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a> instead of this function to set cookies.</p>
-<p>If a response body was set before calling this function, it will not be sent.</p>
-<p>Use <a href="../cowboy_req.stream_body">cowboy_req:stream_body(3)</a> to stream the response body.</p>
-<p>You may want to set the content-length header when using this function, if it is known in advance. This will allow clients using HTTP/2 and HTTP/1.0 to process the response more efficiently.</p>
-<p>The streaming method varies depending on the protocol being used. HTTP/2 will use the usual DATA frames. HTTP/1.1 will use chunked transfer-encoding. HTTP/1.0 will send the body unmodified and close the connection at the end if no content-length was set.</p>
-<p>It is not possible to push resources after this function returns. Any attempt will result in an error.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Status</dt>
-<dd><p>The status code for the response.</p>
-</dd>
-<dt>Headers</dt>
-<dd><p>The response headers.</p>
-</dd>
-</dl>
-<p>Header names must be given as lowercase binary strings.</p>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>A new Req object is returned.</p>
-<p>The returned Req object must be used from that point onward in order to be able to stream the response body.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the Req is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>2.0</strong>: Function introduced. Replaces <code>chunked_reply/1,2</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Initiate the response</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:stream_reply</font></b>(<font color="#993399">200</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Stream the response with custom headers</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:stream_reply</font></b>(<font color="#993399">200</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-type"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text/plain"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>),
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"Hello\n"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF6600">nofin</font>, <font color="#009900">Req</font>),
-<b><font color="#000000">timer:sleep</font></b>(<font color="#993399">1000</font>),
-<b><font color="#000000">cowboy_req:stream_body</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"World!\n"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF6600">fin</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a>, <a href="../cowboy_req.inform">cowboy_req:inform(3)</a>, <a href="../cowboy_req.reply">cowboy_req:reply(3)</a>, <a href="../cowboy_req.stream_body">cowboy_req:stream_body(3)</a>, <a href="../cowboy_req.push">cowboy_req:push(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.uri/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.uri/index.html
deleted file mode 100644
index 220a1fdf..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.uri/index.html
+++ /dev/null
@@ -1,262 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:uri(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:uri(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:uri - Reconstructed URI</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">uri</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">uri</font></b>(<font color="#009900">Req</font>, #{})
-<b><font color="#000000">uri</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>(), <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font> <font color="#009900">URI</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>()
-
-<font color="#009900">Opts</font> <font color="#990000">::</font> #{
- <font color="#0000FF">scheme</font> <font color="#990000">=&gt;</font> <b><font color="#000000">iodata</font></b>() | <font color="#000080">undefined</font>,
- <font color="#0000FF">host</font> <font color="#990000">=&gt;</font> <b><font color="#000000">iodata</font></b>() | <font color="#000080">undefined</font>,
- <font color="#0000FF">port</font> <font color="#990000">=&gt;</font> <b><font color="#000000">inet:port_number</font></b>() | <font color="#000080">undefined</font>,
- <font color="#0000FF">path</font> <font color="#990000">=&gt;</font> <b><font color="#000000">iodata</font></b>() | <font color="#000080">undefined</font>,
- <font color="#0000FF">qs</font> <font color="#990000">=&gt;</font> <b><font color="#000000">iodata</font></b>() | <font color="#000080">undefined</font>,
- <font color="#0000FF">fragment</font> <font color="#990000">=&gt;</font> <b><font color="#000000">iodata</font></b>() | <font color="#000080">undefined</font>
-}</tt></pre>
-</div></div>
-<p>Reconstruct the effective request URI, optionally modifying components.</p>
-<p>By default Cowboy will build a URI using the components found in the request. Options allow disabling or replacing individual components.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Opts</dt>
-<dd><p>Map for overriding individual components.</p>
-<p>To replace a component, provide its new value as a binary string or an iolist. To disable a component, set its value to <code>undefined</code>.</p>
-<p>As this function always returns a valid URI, there are some things to note:</p>
-<ul><li>Disabling the host also disables the scheme and port.
-</li>
-<li>There is no fragment component by default as these are not sent with the request.
-</li>
-<li>The port number may not appear in the resulting URI if it is the default port for the given scheme (http: 80; https: 443).
-</li>
-</ul>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The reconstructed URI is returned as an iolist or a binary string.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Individual components can be replaced or disabled.
-</li>
-<li><strong>2.0</strong>: Only the URI is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>2.0</strong>: Function introduced. Replaces <code>host_url/1</code> and <code>url/1</code>.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<p>With an effective request URI <a href="http://example.org/path/to/res?edit=1">http://example.org/path/to/res?edit=1</a> we can have:</p>
-<div class="listingblock"><div class="title">Protocol relative form</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% //example.org/path/to/res?edit=1</font></i>
-<b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">scheme</font> <font color="#990000">=&gt;</font> <font color="#000080">undefined</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Serialized origin for use in the origin header</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% </font></i><u><font color="#0000FF">http://example.org</font></u>
-<b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">path</font> <font color="#990000">=&gt;</font> <font color="#000080">undefined</font>, <font color="#0000FF">qs</font> <font color="#990000">=&gt;</font> <font color="#000080">undefined</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">HTTP/1.1 origin form (path and query string only)</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% /path/to/res?edit=1</font></i>
-<b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">host</font> <font color="#990000">=&gt;</font> <font color="#000080">undefined</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Add a fragment to the URI</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% </font></i><u><font color="#0000FF">http://example.org/path/to/res</font></u><i><font color="#9A1900">?edit=1#errors</font></i>
-<b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">fragment</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"errors"</font><font color="#990000">&gt;&gt;</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Ensure the scheme is HTTPS</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% </font></i><u><font color="#0000FF">https://example.org/path/to/res</font></u><i><font color="#9A1900">?edit=1</font></i>
-<b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">scheme</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"https"</font><font color="#990000">&gt;&gt;</font>})<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Convert the URI to a binary string</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">iolist_to_binary</font></b>(<b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>))<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.scheme">cowboy_req:scheme(3)</a>, <a href="../cowboy_req.host">cowboy_req:host(3)</a>, <a href="../cowboy_req.port">cowboy_req:port(3)</a>, <a href="../cowboy_req.path">cowboy_req:path(3)</a>, <a href="../cowboy_req.qs">cowboy_req:qs(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.version/index.html b/docs/en/cowboy/2.1/manual/cowboy_req.version/index.html
deleted file mode 100644
index 01cb02cd..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req.version/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req:version(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req:version(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req:version - HTTP version</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">version</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Version</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:http_version</font></b>()</tt></pre>
-</div></div>
-<p>Return the HTTP version used for the request.</p>
-<p>The version can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">version</font> <font color="#990000">:=</font> <font color="#009900">Version</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>The HTTP version used for the request is returned as an atom. It is provided for informative purposes only.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the version is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the HTTP version</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Version</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:version</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req/index.html b/docs/en/cowboy/2.1/manual/cowboy_req/index.html
deleted file mode 100644
index ceb5b328..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_req/index.html
+++ /dev/null
@@ -1,372 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_req(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_req(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_req - HTTP request and response</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_req</code> provides functions to access, manipulate and respond to requests.</p>
-<p>There are four types of functions in this module. They can be differentiated by their name and their return type:</p>
-<table rules="all" width="100%" frame="border"
- cellspacing="0" cellpadding="4">
-<thead><tr><th>Type</th>
-<th>Name pattern</th>
-<th>Return type</th>
-</tr></thead><tbody><tr><td>access</td>
-<td>no verb, parse_*, match_*</td>
-<td><code>Value</code></td>
-</tr>
-<tr><td>question</td>
-<td>has_*</td>
-<td><code>boolean()</code></td>
-</tr>
-<tr><td>modification</td>
-<td>set_*</td>
-<td><code>Req</code></td>
-</tr>
-<tr><td>action</td>
-<td>any other verb</td>
-<td><code>ok | {Result, Value, Req}</code></td>
-</tr>
-</tbody></table>
-<p>Any <code>Req</code> returned must be used in place of the one passed as argument. Functions that perform an action in particular write state in the Req object to make sure you are using the function correctly. For example, it&apos;s only possible to send one response, and to read the body once.</p>
-<h2 id="_exports">Exports</h2>
-<p>Connection:</p>
-<ul><li><a href="../cowboy_req.peer">cowboy_req:peer(3)</a> - Peer address and port
-</li>
-<li><a href="../cowboy_req.sock">cowboy_req:sock(3)</a> - Socket address and port
-</li>
-<li><a href="../cowboy_req.cert">cowboy_req:cert(3)</a> - Client TLS certificate
-</li>
-</ul>
-<p>Raw request:</p>
-<ul><li><a href="../cowboy_req.method">cowboy_req:method(3)</a> - HTTP method
-</li>
-<li><a href="../cowboy_req.version">cowboy_req:version(3)</a> - HTTP version
-</li>
-<li><a href="../cowboy_req.scheme">cowboy_req:scheme(3)</a> - URI scheme
-</li>
-<li><a href="../cowboy_req.host">cowboy_req:host(3)</a> - URI host name
-</li>
-<li><a href="../cowboy_req.port">cowboy_req:port(3)</a> - URI port number
-</li>
-<li><a href="../cowboy_req.path">cowboy_req:path(3)</a> - URI path
-</li>
-<li><a href="../cowboy_req.qs">cowboy_req:qs(3)</a> - URI query string
-</li>
-<li><a href="../cowboy_req.uri">cowboy_req:uri(3)</a> - Reconstructed URI
-</li>
-<li><a href="../cowboy_req.header">cowboy_req:header(3)</a> - HTTP header
-</li>
-<li><a href="../cowboy_req.headers">cowboy_req:headers(3)</a> - HTTP headers
-</li>
-</ul>
-<p>Processed request:</p>
-<ul><li><a href="../cowboy_req.parse_qs">cowboy_req:parse_qs(3)</a> - Parse the query string
-</li>
-<li><a href="../cowboy_req.match_qs">cowboy_req:match_qs(3)</a> - Match the query string against constraints
-</li>
-<li><a href="../cowboy_req.parse_header">cowboy_req:parse_header(3)</a> - Parse the given HTTP header
-</li>
-<li><a href="../cowboy_req.parse_cookies">cowboy_req:parse_cookies(3)</a> - Parse cookie headers
-</li>
-<li><a href="../cowboy_req.match_cookies">cowboy_req:match_cookies(3)</a> - Match cookies against constraints
-</li>
-<li><a href="../cowboy_req.binding">cowboy_req:binding(3)</a> - Access a value bound from the route
-</li>
-<li><a href="../cowboy_req.bindings">cowboy_req:bindings(3)</a> - Access all values bound from the route
-</li>
-<li><a href="../cowboy_req.host_info">cowboy_req:host_info(3)</a> - Access the route&apos;s heading host segments
-</li>
-<li><a href="../cowboy_req.path_info">cowboy_req:path_info(3)</a> - Access the route&apos;s trailing path segments
-</li>
-</ul>
-<p>Request body:</p>
-<ul><li><a href="../cowboy_req.has_body">cowboy_req:has_body(3)</a> - Is there a request body?
-</li>
-<li><a href="../cowboy_req.body_length">cowboy_req:body_length(3)</a> - Body length
-</li>
-<li><a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a> - Read the request body
-</li>
-<li><a href="../cowboy_req.read_urlencoded_body">cowboy_req:read_urlencoded_body(3)</a> - Read and parse a urlencoded request body
-</li>
-<li><a href="../cowboy_req.read_part">cowboy_req:read_part(3)</a> - Read the next multipart headers
-</li>
-<li><a href="../cowboy_req.read_part_body">cowboy_req:read_part_body(3)</a> - Read the current part&apos;s body
-</li>
-</ul>
-<p>Response:</p>
-<ul><li><a href="../cowboy_req.set_resp_cookie">cowboy_req:set_resp_cookie(3)</a> - Set a cookie
-</li>
-<li><a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a> - Set a response header
-</li>
-<li><a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a> - Set several response headers
-</li>
-<li><a href="../cowboy_req.has_resp_header">cowboy_req:has_resp_header(3)</a> - Is the given response header set?
-</li>
-<li><a href="../cowboy_req.resp_header">cowboy_req:resp_header(3)</a> - Response header
-</li>
-<li><a href="../cowboy_req.resp_headers">cowboy_req:resp_headers(3)</a> - Response headers
-</li>
-<li><a href="../cowboy_req.delete_resp_header">cowboy_req:delete_resp_header(3)</a> - Delete a response header
-</li>
-<li><a href="../cowboy_req.set_resp_body">cowboy_req:set_resp_body(3)</a> - Set the response body
-</li>
-<li><a href="../cowboy_req.has_resp_body">cowboy_req:has_resp_body(3)</a> - Is there a response body?
-</li>
-<li><a href="../cowboy_req.inform">cowboy_req:inform(3)</a> - Send an informational response
-</li>
-<li><a href="../cowboy_req.reply">cowboy_req:reply(3)</a> - Send the response
-</li>
-<li><a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a> - Send the response headers
-</li>
-<li><a href="../cowboy_req.stream_body">cowboy_req:stream_body(3)</a> - Stream the response body
-</li>
-<li><a href="../cowboy_req.push">cowboy_req:push(3)</a> - Push a resource to the client
-</li>
-</ul>
-<h2 id="_types">Types</h2>
-<h3 id="_push_opts">push_opts()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">push_opts</font></b>() <font color="#990000">::</font> #{
- <font color="#0000FF">method</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% case sensitive</font></i>
- <font color="#0000FF">scheme</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
- <font color="#0000FF">host</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
- <font color="#0000FF">port</font> <font color="#990000">=&gt;</font> <b><font color="#000000">inet:port_number</font></b>(),
- <font color="#0000FF">qs</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% case sensitive</font></i>
-}</tt></pre>
-</div></div>
-<p>Push options.</p>
-<p>By default, Cowboy will use the GET method, an empty query string, and take the scheme, host and port directly from the current request&apos;s URI.</p>
-<h3 id="_read_body_opts">read_body_opts()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">read_body_opts</font></b>() <font color="#990000">::</font> #{
- <b><font color="#000080">length</font></b> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">period</font> <font color="#990000">=&gt;</font> <b><font color="#000000">non_neg_integer</font></b>(),
- <font color="#0000FF">timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>()
-}</tt></pre>
-</div></div>
-<p>Body reading options.</p>
-<p>The defaults are function-specific.</p>
-<h3 id="_req">req()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">req</font></b>() <font color="#990000">::</font> #{
- <font color="#FF6600">method</font> <font color="#990000">:=</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% case sensitive</font></i>
- <font color="#FF6600">version</font> <font color="#990000">:=</font> <b><font color="#000000">cowboy:http_version</font></b>() | <b><font color="#000080">atom</font></b>(),
- <font color="#FF6600">scheme</font> <font color="#990000">:=</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
- <font color="#FF6600">host</font> <font color="#990000">:=</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
- <font color="#FF6600">port</font> <font color="#990000">:=</font> <b><font color="#000000">inet:port_number</font></b>(),
- <font color="#FF6600">path</font> <font color="#990000">:=</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% case sensitive</font></i>
- <font color="#FF6600">qs</font> <font color="#990000">:=</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% case sensitive</font></i>
- <font color="#FF6600">headers</font> <font color="#990000">:=</font> <b><font color="#000000">cowboy:http_headers</font></b>(),
- <font color="#FF6600">peer</font> <font color="#990000">:=</font> {<b><font color="#000000">inet:ip_address</font></b>(), <b><font color="#000000">inet:port_number</font></b>()},
- <font color="#FF6600">sock</font> <font color="#990000">:=</font> {<b><font color="#000000">inet:ip_address</font></b>(), <b><font color="#000000">inet:port_number</font></b>()},
- <font color="#FF6600">cert</font> <font color="#990000">:=</font> <b><font color="#000080">binary</font></b>() | <font color="#000080">undefined</font>
-}</tt></pre>
-</div></div>
-<p>The Req object.</p>
-<p>Contains information about the request and response. While some fields are publicly documented, others aren&apos;t and shouldn&apos;t be used.</p>
-<p>You may add custom fields if required. Make sure to namespace them by prepending an underscore and the name of your application:</p>
-<div class="listingblock"><div class="title">Setting a custom field</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font>#{<font color="#009900">_myapp_auth_method</font> <font color="#990000">=&gt;</font> <font color="#FF6600">pubkey</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<h3 id="_resp_body">resp_body()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">resp_body</font></b>() <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>()
- | {<font color="#FF6600">sendfile</font>, <font color="#009900">Offset</font>, <font color="#009900">Length</font>, <font color="#009900">Filename</font>}
-
-<font color="#009900">Offset</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>()
-<font color="#009900">Length</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>()
-<font color="#009900">Filename</font> <font color="#990000">::</font> <b><font color="#000000">file:name_all</font></b>()</tt></pre>
-</div></div>
-<p>Response body.</p>
-<p>It can take two forms: the actual data to be sent or a tuple indicating which file to send.</p>
-<p>When sending data directly, the type is either a binary or an iolist. Iolists are an efficient way to build output. Instead of concatenating strings or binaries, you can simply build a list containing the fragments you want to send in the order they should be sent:</p>
-<div class="listingblock"><div class="title">Example iolists usage</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#993399">1</font><font color="#990000">&gt;</font> <font color="#009900">RespBody</font> <font color="#990000">=</font> [<font color="#FF0000">"Hello "</font>, [<font color="#990000">&lt;&lt;</font><font color="#FF0000">"world"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF0000">$!</font>]]<font color="#990000">.</font>
-[<font color="#FF0000">"Hello "</font>,[<font color="#990000">&lt;&lt;</font><font color="#FF0000">"world"</font><font color="#990000">&gt;&gt;</font>,<font color="#993399">33</font>]]
-<font color="#993399">2</font><font color="#990000">&gt;</font> <b><font color="#000000">io:format</font></b>(<font color="#FF0000">"~s~n"</font>, [<font color="#009900">RespBody</font>])<font color="#990000">.</font>
-<font color="#009900">Hello</font> <font color="#FF6600">world</font><font color="#990000">!</font></tt></pre>
-</div></div>
-<p>Note that the length must be greater than zero for any data to be sent. Cowboy will send an empty body when the length is zero.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_rest/index.html b/docs/en/cowboy/2.1/manual/cowboy_rest/index.html
deleted file mode 100644
index 3376b3a5..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_rest/index.html
+++ /dev/null
@@ -1,631 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_rest(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_rest(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_rest - REST handlers</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_rest</code> implements the HTTP state machine.</p>
-<p>Implementing REST handlers is not enough to provide a REST interface; this interface must also follow the REST constraints including HATEOAS (hypermedia as the engine of application state).</p>
-<h2 id="_callbacks">Callbacks</h2>
-<p>REST handlers implement the following interface:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">cowboy_rest</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Callback</font>(<font color="#009900">Req</font>, <font color="#009900">State</font>)
- <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
- | {<font color="#FF6600">stop</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
- | {{<font color="#FF6600">switch_handler</font>, <font color="#009900">Module</font>}, <font color="#009900">Req</font>, <font color="#009900">State</font>}
- | {{<font color="#FF6600">switch_handler</font>, <font color="#009900">Module</font>, <font color="#009900">Opts</font>}, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<b><font color="#000000">terminate</font></b>(<font color="#009900">Reason</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> <i><font color="#9A1900">%% optional</font></i>
-
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">State</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Module</font> <font color="#990000">::</font> <b><font color="#000000">module</font></b>()
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Reason</font> <font color="#990000">::</font> <b><font color="#000080">normal</font></b>
- | {<font color="#FF6600">crash</font>, <font color="#FF6600">error</font> | <b><font color="#000080">exit</font></b> | <b><font color="#000080">throw</font></b>, <b><font color="#000000">any</font></b>()}
-
-<font color="#009900">Callback</font> <font color="#990000">-</font> <font color="#FF6600">see</font> <font color="#FF6600">below</font>
-<font color="#009900">Result</font> <font color="#990000">-</font> <font color="#FF6600">see</font> <font color="#FF6600">below</font>
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#FF6600">see</font> <font color="#FF6600">below</font></tt></pre>
-</div></div>
-<p>The <code>init/2</code> callback is common to all handlers. To switch to the REST handler behavior, it must return <code>cowboy_rest</code> as the first element of the tuple.</p>
-<p>The <code>Callback/2</code> above represents all the REST-specific callbacks. They are described in the following section of this manual. REST-specific callbacks differ by their name, semantics, result and default values. The default value is the one used when the callback has not been implemented. They otherwise all follow the same interface.</p>
-<p>The <code>stop</code> tuple can be returned to stop REST processing. If no response was sent before then, Cowboy will send a <em>204 No Content</em>. The <code>stop</code> tuple can be returned from any callback, excluding <code>expires</code>, <code>generate_etag</code>, <code>last_modified</code> and <code>variances</code>.</p>
-<p>A <code>switch_handler</code> tuple can be returned from these same callbacks to stop REST processing and switch to a different handler type. This is very useful to, for example, to stream the response body.</p>
-<p>The optional <code>terminate/3</code> callback will ultimately be called with the reason for the termination of the handler. Cowboy will terminate the process right after this. There is no need to perform any cleanup in this callback.</p>
-<p>The following terminate reasons are defined for loop handlers:</p>
-<dl><dt>normal</dt>
-<dd><p>The handler terminated normally.</p>
-</dd>
-<dt>{crash, Class, Reason}</dt>
-<dd><p>A crash occurred in the handler. <code>Class</code> and <code>Reason</code> can be used to obtain more information about the crash. The function <code>erlang:get_stacktrace/0</code> can also be called to obtain the stacktrace of the process when the crash occurred.</p>
-</dd>
-</dl>
-<h2 id="_rest_callbacks">REST callbacks</h2>
-<h3 id="_acceptcallback">AcceptCallback</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">AcceptCallback</font>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <font color="#000080">true</font> | {<font color="#000080">true</font>, <font color="#009900">URI</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>()} | <font color="#000080">false</font>}
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#FF6600">crash</font></tt></pre>
-</div></div>
-<p>Process the request body.</p>
-<p>This function should create or update the resource using the request body.</p>
-<p>For PUT requests, the body is a representation of the resource that is being created or replaced.</p>
-<p>For POST requests, the body is typically application-specific instructions on how to process the request, but it may also be a representation of the resource. When creating a new resource with POST at a different location, return <code>{true, URI}</code> with <code>URI</code> the new location.</p>
-<p>For PATCH requests, the body is a series of instructions on how to update the resource. Patch files or JSON Patch are examples of such media types.</p>
-<p>A response body may be sent. The appropriate media type, charset and language for the response can be retrieved from the Req object using the <code>media_type</code>, <code>charset</code> and <code>language</code> keys, respectively. The body can be set using <a href="../cowboy_req.set_resp_body">cowboy_req:set_resp_body(3)</a>.</p>
-<h3 id="_allowed_methods">allowed_methods</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">allowed_methods</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> [<b><font color="#000080">binary</font></b>()] <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Default</font> <font color="#990000">::</font> [<font color="#990000">&lt;&lt;</font><font color="#FF0000">"GET"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"HEAD"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"OPTIONS"</font><font color="#990000">&gt;&gt;</font>]</tt></pre>
-</div></div>
-<p>Return the list of allowed methods.</p>
-<h3 id="_allow_missing_post">allow_missing_post</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">allow_missing_post</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">true</font></tt></pre>
-</div></div>
-<p>Return whether POST is allowed when the resource doesn&apos;t exist.</p>
-<p>Returning <code>true</code> here means that a new resource will be created. The URI for the newly created resource should be returned from the <code>AcceptCallback</code> function.</p>
-<h3 id="_charsets_provided">charsets_provided</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">charsets_provided</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> [<b><font color="#000080">binary</font></b>()] <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#FF6600">skip</font> <font color="#FF6600">this</font> <font color="#FF6600">step</font></tt></pre>
-</div></div>
-<p>Return the list of charsets the resource provides in order of preference.</p>
-<p>During content negotiation Cowboy will pick the most appropriate charset for the client. The client advertises charsets it prefers with the accept-charset header. When that header is missing, Cowboy picks the first charset from the resource.</p>
-<!-- @todo We should explain precisely how charsets are picked.-->
-<p>Cowboy will add the negotiated <code>charset</code> to the Req object after this step completes:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">req</font></b>() <font color="#990000">::</font> #{
- <font color="#0000FF">charset</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
-}</tt></pre>
-</div></div>
-<h3 id="_content_types_accepted">content_types_accepted</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">content_types_accepted</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> [{<b><font color="#000080">binary</font></b>() | <font color="#009900">ParsedMime</font>, <font color="#009900">AcceptCallback</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>()}]
-<font color="#009900">ParsedMime</font> <font color="#990000">::</font> {<font color="#009900">Type</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">SubType</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#FF6600">'*'</font> | <font color="#009900">Params</font>}
-<font color="#009900">Params</font> <font color="#990000">::</font> [{<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()}]
-
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#FF6600">crash</font></tt></pre>
-</div></div>
-<!-- @todo Case sensitivity of parsed mime content?-->
-<p>Return the list of media types the resource accepts in order of preference.</p>
-<p>A media type is made of different parts. The media type <code>text/html;charset=utf-8</code> is of type <code>text</code>, subtype <code>html</code> and has a single parameter <code>charset</code> with value <code>utf-8</code>.</p>
-<!-- @todo Cowboy needs to ignore the boundary parameter for-->
-<!-- multipart, as we never want to match against it. Or allow-->
-<!-- ignoring specific parameters at the very least.-->
-<p>Cowboy will match the content-type request header against the media types the server accepts and select the appropriate callback. When that header is missing, or when the server does not accept this media type, the request fails and an error response is returned. Cowboy will execute the callback immediately otherwise.</p>
-<!-- @todo We should explain precisely how media types are picked.-->
-<p>An empty parameters list <code>[]</code> means that no parameters will be accepted. When any parameter is acceptable, the tuple form should be used with parameters as the atom <code>&apos;*&apos;</code>.</p>
-<p>Cowboy treats all parameters as case sensitive, except for the <code>charset</code> parameter, which is known to be case insensitive. You should therefore always provide the charset as a lowercase binary string.</p>
-<!-- @todo Maybe this should be in the user guide instead.-->
-<!-- This function will be called for POST, PUT and PATCH requests.-->
-<!-- It is entirely possible to define different callbacks for different-->
-<!-- methods if the handling of the request differs. Simply verify-->
-<!-- what the method is with `cowboy_req:method/1` and return a-->
-<!-- different list for each methods.-->
-<h3 id="_content_types_provided">content_types_provided</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">content_types_provided</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> [{<b><font color="#000080">binary</font></b>() | <font color="#009900">ParsedMime</font>, <font color="#009900">ProvideCallback</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>()}]
-<font color="#009900">ParsedMime</font> <font color="#990000">::</font> {<font color="#009900">Type</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">SubType</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#FF6600">'*'</font> | <font color="#009900">Params</font>}
-<font color="#009900">Params</font> <font color="#990000">::</font> [{<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()}]
-
-<font color="#009900">Default</font> <font color="#990000">-</font> [{{ <font color="#990000">&lt;&lt;</font><font color="#FF0000">"text"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"html"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF6600">'*'</font>}, <font color="#FF6600">to_html</font>}]</tt></pre>
-</div></div>
-<!-- @todo Case sensitivity of parsed mime content?-->
-<!-- @todo Space required for the time being: https://github.com/spf13/hugo/issues/2398-->
-<p>Return the list of media types the resource provides in order of preference.</p>
-<p>A media type is made of different parts. The media type <code>text/html;charset=utf-8</code> is of type <code>text</code>, subtype <code>html</code> and has a single parameter <code>charset</code> with value <code>utf-8</code>.</p>
-<!-- @todo Cowboy needs to ignore the boundary parameter for-->
-<!-- multipart, as we never want to match against it. Or allow-->
-<!-- ignoring specific parameters at the very least.-->
-<p>During content negotiation Cowboy will pick the most appropriate media type for the client. The client advertises media types it prefers with the accept header. When that header is missing, the content negotiation fails and an error response is returned.</p>
-<p>The callback given for the selected media type will be called at the end of the execution of GET and HEAD requests when a representation must be sent to the client.</p>
-<!-- @todo We should explain precisely how media types are picked.-->
-<p>An empty parameters list <code>[]</code> means that no parameters will be accepted. When any parameter is acceptable, the tuple form should be used with parameters as the atom <code>&apos;*&apos;</code>.</p>
-<p>Cowboy treats all parameters as case sensitive, except for the <code>charset</code> parameter, which is known to be case insensitive. You should therefore always provide the charset as a lowercase binary string.</p>
-<p>Cowboy will add the negotiated <code>media_type</code> to the Req object after this step completes:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">req</font></b>() <font color="#990000">::</font> #{
- <font color="#0000FF">media_type</font> <font color="#990000">=&gt;</font> <font color="#009900">ParsedMime</font>
-}</tt></pre>
-</div></div>
-<!-- @todo Case sensitivity of parsed mime content?-->
-<h3 id="_delete_completed">delete_completed</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">delete_completed</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">true</font></tt></pre>
-</div></div>
-<p>Return whether the resource has been fully deleted from the system, including from any internal cache.</p>
-<p>Returning <code>false</code> will result in a <em>202 Accepted</em> response being sent instead of a <em>200 OK</em> or <em>204 No Content</em>.</p>
-<h3 id="_delete_resource">delete_resource</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">delete_resource</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Delete the resource.</p>
-<p>Cowboy will send an error response when this function returns <code>false</code>.</p>
-<h3 id="_expires">expires</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">expires</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">calendar:datetime</font></b>() | <b><font color="#000080">binary</font></b>() | <font color="#000080">undefined</font>
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">undefined</font></tt></pre>
-</div></div>
-<p>Return the resource&apos;s expiration date.</p>
-<h3 id="_forbidden">forbidden</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">forbidden</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Return whether access to the resource is forbidden.</p>
-<p>A <em>403 Forbidden</em> response will be sent if this function returns <code>true</code>. This status code means that access is forbidden regardless of authentication, and that the request shouldn&apos;t be repeated.</p>
-<h3 id="_generate_etag">generate_etag</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">generate_etag</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() | {<font color="#FF6600">weak</font> | <font color="#FF6600">strong</font>, <b><font color="#000080">binary</font></b>()}
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#FF6600">no</font> <font color="#FF6600">etag</font> <font color="#FF6600">value</font></tt></pre>
-</div></div>
-<p>Return the entity tag of the resource.</p>
-<p>When a binary is returned, the value is automatically parsed to a tuple. The binary must be in the same format as the etag header, including quotes.</p>
-<h3 id="_is_authorized">is_authorized</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">is_authorized</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <font color="#000080">true</font> | {<font color="#000080">false</font>, <font color="#009900">AuthHeader</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>()}
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#000080">true</font></tt></pre>
-</div></div>
-<p>Return whether the user is authorized to perform the action.</p>
-<p>This function should be used to perform any necessary authentication of the user before attempting to perform any action on the resource.</p>
-<p>When authentication fails, the <code>AuthHeader</code> value will be sent in the www-authenticate header for the <em>401 Unauthorized</em> response.</p>
-<h3 id="_is_conflict">is_conflict</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">is_conflict</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Return whether the PUT request results in a conflict.</p>
-<p>A <em>409 Conflict</em> response is sent when <code>true</code>.</p>
-<h3 id="_known_methods">known_methods</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">known_methods</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> [<b><font color="#000080">binary</font></b>()] <i><font color="#9A1900">%% case sensitive</font></i>
-<font color="#009900">Default</font> <font color="#990000">::</font> [<font color="#990000">&lt;&lt;</font><font color="#FF0000">"GET"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"HEAD"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"POST"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"PUT"</font><font color="#990000">&gt;&gt;</font>,
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"PATCH"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"DELETE"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"OPTIONS"</font><font color="#990000">&gt;&gt;</font>]</tt></pre>
-</div></div>
-<p>Return the list of known methods.</p>
-<p>The full list of methods known by the server should be returned, regardless of their use in the resource.</p>
-<p>The default value lists the methods Cowboy knows and implement in <code>cowboy_rest</code>.</p>
-<h3 id="_languages_provided">languages_provided</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">languages_provided</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> [<b><font color="#000080">binary</font></b>()] <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#FF6600">skip</font> <font color="#FF6600">this</font> <font color="#FF6600">step</font></tt></pre>
-</div></div>
-<p>Return the list of languages the resource provides in order of preference.</p>
-<p>During content negotiation Cowboy will pick the most appropriate language for the client. The client advertises languages it prefers with the accept-language header. When that header is missing, Cowboy picks the first language from the resource.</p>
-<!-- @todo We should explain precisely how languages are picked.-->
-<p>Cowboy will add the negotiated <code>language</code> to the Req object after this step completes:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">req</font></b>() <font color="#990000">::</font> #{
- <font color="#0000FF">language</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
-}</tt></pre>
-</div></div>
-<h3 id="_last_modified">last_modified</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">last_modified</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">calendar:datetime</font></b>()
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#FF6600">no</font> <font color="#FF6600">last</font> <font color="#FF6600">modified</font> <font color="#FF6600">value</font></tt></pre>
-</div></div>
-<p>Return the resource&apos;s last modification date.</p>
-<p>This date will be used to test against the if-modified-since and if-unmodified-since headers, and sent as the last-modified header in the response to GET and HEAD requests.</p>
-<h3 id="_malformed_request">malformed_request</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">malformed_request</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Return whether the request is malformed.</p>
-<p>A request is malformed when a component required by the resource is invalid. This may include the query string or individual headers. They should be parsed and validated in this function. The body should not be read at this point.</p>
-<h3 id="_moved_permanently">moved_permanently</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">moved_permanently</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> {<font color="#000080">true</font>, <font color="#009900">URI</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>()} | <font color="#000080">false</font>
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Return whether the resource was permanently moved, and what its new location is.</p>
-<h3 id="_moved_temporarily">moved_temporarily</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">moved_temporarily</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> {<font color="#000080">true</font>, <font color="#009900">URI</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>()} | <font color="#000080">false</font>
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Return whether the resource was temporarily moved, and what its new location is.</p>
-<h3 id="_multiple_choices">multiple_choices</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">multiple_choices</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Return whether the client should engage in reactive negotiation.</p>
-<p>Return <code>true</code> when the server has multiple representations of a resource, each with their specific identifier, but is unable to determine which is best for the client. For example an image might have different sizes and the server is unable to determine the capabilities of the client.</p>
-<p>When returning <code>true</code> the server should send a body with links to the different representations. If the server has a preferred representation it can send its link inside a location header.</p>
-<h3 id="_options">options</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">options</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}</tt></pre>
-</div></div>
-<p>Respond to an OPTIONS request.</p>
-<p>The response should inform the client the communication options available for this resource. By default Cowboy will send a <em>200 OK</em> response with the allow header set.</p>
-<h3 id="_previously_existed">previously_existed</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">previously_existed</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Return whether the resource existed previously.</p>
-<h3 id="_providecallback">ProvideCallback</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">ProvideCallback</font>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:resp_body</font></b>()
-<font color="#009900">Default</font> <font color="#990000">-</font> <font color="#FF6600">crash</font></tt></pre>
-</div></div>
-<p>Return the response body.</p>
-<p>The response body can be provided either as the actual data to be sent or a tuple indicating which file to send.</p>
-<p>This function is called for both GET and HEAD requests. For the latter the body is not sent, however.</p>
-<!-- @todo Perhaps we can optimize HEAD requests and just-->
-<!-- allow calculating the length instead of returning the-->
-<!-- whole thing.-->
-<p>Note that there used to be a way to stream the response body. It was temporarily removed and will be added back in a later release.</p>
-<!-- @todo Add a way to switch to loop handler for streaming the body.-->
-<h3 id="_resource_exists">resource_exists</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">resource_exists</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">true</font></tt></pre>
-</div></div>
-<p>Return whether the resource exists.</p>
-<h3 id="_service_available">service_available</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">service_available</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">true</font></tt></pre>
-</div></div>
-<p>Return whether the service is available.</p>
-<p>A <em>503 Service Unavailable</em> response will be sent when this function returns <code>false</code>.</p>
-<h3 id="_uri_too_long">uri_too_long</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">uri_too_long</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">false</font></tt></pre>
-</div></div>
-<p>Return whether the requested URI is too long.</p>
-<p>This function can be used to further restrict the length of the URI for this specific resource.</p>
-<h3 id="_valid_content_headers">valid_content_headers</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">valid_content_headers</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">true</font></tt></pre>
-</div></div>
-<p>Return whether the content headers are valid.</p>
-<p>This callback can be used to reject requests that have invalid content header values, for example an unsupported content-encoding.</p>
-<h3 id="_valid_entity_length">valid_entity_length</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">valid_entity_length</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> <b><font color="#000000">boolean</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <font color="#000080">true</font></tt></pre>
-</div></div>
-<p>Return whether the request body length is within acceptable boundaries.</p>
-<p>A <em>413 Request Entity Too Large</em> response will be sent if this function returns <code>false</code>.</p>
-<h3 id="_variances">variances</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">variances</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Result</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Result</font> <font color="#990000">::</font> [<b><font color="#000080">binary</font></b>()] <i><font color="#9A1900">%% case insensitive</font></i>
-<font color="#009900">Default</font> <font color="#990000">::</font> []</tt></pre>
-</div></div>
-<p>Return the list of request headers that affect the representation of the resource.</p>
-<p>Cowboy automatically adds the accept, accept-charset and accept-language headers when necessary.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.1</strong>: The <code>switch_handler</code> return value was added.
-</li>
-<li><strong>1.0</strong>: Behavior introduced.
-</li>
-</ul>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy_handler">cowboy_handler(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_router.compile/index.html b/docs/en/cowboy/2.1/manual/cowboy_router.compile/index.html
deleted file mode 100644
index 2aaf68f7..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_router.compile/index.html
+++ /dev/null
@@ -1,204 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_router:compile(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_router:compile(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_router:compile - Compile routes to the resources</p>
-<h2 id="_description">Description</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">compile</font></b>(<b><font color="#000000">cowboy_router:routes</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">cowboy_router:dispatch_rules</font></b>()</tt></pre>
-</div></div>
-<p>Compile routes to the resources.</p>
-<p>Takes a human readable list of routes and transforms it into a form more efficient to process.</p>
-<h2 id="_arguments">Arguments</h2>
-<dl><dt>Routes</dt>
-<dd><p>Human readable list of routes.</p>
-</dd>
-</dl>
-<h2 id="_return_value">Return value</h2>
-<p>An opaque dispatch rules value is returned. This value must be given to Cowboy as a middleware environment value.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Compile routes and start a listener</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>([
- {<font color="#FF6600">'_'</font>, [
- {<font color="#FF0000">"/"</font>, <font color="#FF6600">toppage_h</font>, []},
- {<font color="#FF0000">"/[...], cowboy_static, {priv_dir, my_example_app, ""}}</font>
-<font color="#FF0000"> ]}</font>
-<font color="#FF0000">]),</font>
-
-<font color="#FF0000">{ok, _} = cowboy:start_clear(example, [{port, 8080}], #{</font>
-<font color="#FF0000"> env =&gt; #{dispatch =&gt; Dispatch}</font>
-<font color="#FF0000">}).</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_router">cowboy_router(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_router/index.html b/docs/en/cowboy/2.1/manual/cowboy_router/index.html
deleted file mode 100644
index 97cf9b10..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_router/index.html
+++ /dev/null
@@ -1,221 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_router(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_router(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_router - Router middleware</p>
-<h2 id="_description">Description</h2>
-<p>The <code>cowboy_router</code> middleware maps the requested host and path to the handler to be used for processing the request.</p>
-<p>The router takes the <code>dispatch</code> rules as input from the middleware environment. Dispatch rules are generated by calling the <a href="../cowboy_router.compile">cowboy_router:compile(3)</a> function.</p>
-<p>When a route matches, the router sets the <code>handler</code> and <code>handler_opts</code> middleware environment values containing the handler module and initial state, respectively.</p>
-<p>The router will stop execution when no route matches. It will send a 400 response if no host was found, and a 404 response otherwise.</p>
-<h2 id="_exports">Exports</h2>
-<ul><li><a href="../cowboy_router.compile">cowboy_router:compile(3)</a> - Compile routes to the resources
-</li>
-</ul>
-<h2 id="_types">Types</h2>
-<h3 id="_bindings">bindings()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">bindings</font></b>() <font color="#990000">::</font> #{<b><font color="#000080">atom</font></b>() <font color="#990000">=&gt;</font> <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>Bindings found during routing.</p>
-<h3 id="_dispatch_rules">dispatch_rules()</h3>
-<p>Opaque type containing the compiled routes.</p>
-<h3 id="_routes">routes()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">routes</font></b>() <font color="#990000">=</font> [
- {<font color="#009900">Host</font>, <font color="#009900">PathList</font>} |
- {<font color="#009900">Host</font>, <font color="#009900">Fields</font>, <font color="#009900">PathList</font>}
-]
-
-<font color="#009900">PathList</font> <font color="#990000">::</font> [
- {<font color="#009900">Path</font>, <font color="#009900">Handler</font>, <font color="#009900">InitialState</font>} |
- {<font color="#009900">Path</font>, <font color="#009900">Fields</font>, <font color="#009900">Handler</font>, <font color="#009900">InitialState</font>}
-]
-
-<font color="#009900">Host</font> <font color="#990000">::</font> <font color="#FF6600">'_'</font> | <b><font color="#000000">iodata</font></b>()
-<font color="#009900">Path</font> <font color="#990000">::</font> <font color="#FF6600">'_'</font> | <b><font color="#000000">iodata</font></b>()
-<font color="#009900">Fields</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:fields</font></b>()
-<font color="#009900">Handler</font> <font color="#990000">::</font> <b><font color="#000000">module</font></b>()
-<font color="#009900">InitialState</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
-</div></div>
-<p>Human readable list of routes to handlers.</p>
-<p>Cowboy uses this list to map hosts and paths, optionally augmented with constraints applied to the bindings, to handler modules.</p>
-<p>The syntax for routes is currently defined in the user guide.</p>
-<!-- @todo The syntax should probably be in this module,-->
-<!-- and the user guide show more practical examples.-->
-<h3 id="_tokens">tokens()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">tokens</font></b>() <font color="#990000">::</font> [<b><font color="#000080">binary</font></b>()]</tt></pre>
-</div></div>
-<p>List of <code>host_info</code> and <code>path_info</code> tokens that were found using the <code>...</code> syntax.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy_req.binding">cowboy_req:binding(3)</a>, <a href="../cowboy_req.bindings">cowboy_req:bindings(3)</a>, <a href="../cowboy_req.host_info">cowboy_req:host_info(3)</a>, <a href="../cowboy_req.path_info">cowboy_req:path_info(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_static/index.html b/docs/en/cowboy/2.1/manual/cowboy_static/index.html
deleted file mode 100644
index 7210b034..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_static/index.html
+++ /dev/null
@@ -1,266 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_static(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_static(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_static - Static file handler</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_static</code> implements file serving capabilities using the REST semantics provided by <code>cowboy_rest</code>.</p>
-<p>The static file handler is a pre-written handler coming with Cowboy. To serve files, use it in your routes.</p>
-<h2 id="_options">Options</h2>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">opts</font></b>() <font color="#990000">::</font> {<font color="#FF6600">priv_file</font>, <font color="#009900">App</font>, <font color="#009900">Path</font>}
- | {<font color="#FF6600">priv_file</font>, <font color="#009900">App</font>, <font color="#009900">Path</font>, <font color="#009900">Extra</font>}
- | {<font color="#FF6600">file</font>, <font color="#009900">Path</font>}
- | {<font color="#FF6600">file</font>, <font color="#009900">Path</font>, <font color="#009900">Extra</font>}
- | {<font color="#FF6600">priv_dir</font>, <font color="#009900">App</font>, <font color="#009900">Path</font>}
- | {<font color="#FF6600">priv_dir</font>, <font color="#009900">App</font>, <font color="#009900">Path</font>, <font color="#009900">Extra</font>}
- | {<font color="#FF6600">dir</font>, <font color="#009900">Path</font>}
- | {<font color="#FF6600">dir</font>, <font color="#009900">Path</font>, <font color="#009900">Extra</font>}
-
-<font color="#009900">App</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>()
-<font color="#009900">Path</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() | <b><font color="#000000">string</font></b>()
-<font color="#009900">Extra</font> <font color="#990000">::</font> [<font color="#009900">Etag</font> | <font color="#009900">Mimetypes</font>]
-
-<font color="#009900">Etag</font> <font color="#990000">::</font> {<font color="#FF6600">etag</font>, <b><font color="#000000">module</font></b>(), <b><font color="#000080">function</font></b>()}
- | {<font color="#FF6600">etag</font>, <font color="#000080">false</font>}
-
-<font color="#009900">Mimetypes</font> <font color="#990000">::</font> {<font color="#FF6600">mimetypes</font>, <b><font color="#000000">module</font></b>(), <b><font color="#000080">function</font></b>()}
- | {<font color="#FF6600">mimetypes</font>, <b><font color="#000080">binary</font></b>() | <font color="#009900">ParsedMime</font>}
-
-<font color="#009900">ParsedMime</font> <font color="#990000">::</font> {<font color="#009900">Type</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">SubType</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Params</font>}
-<font color="#009900">Params</font> <font color="#990000">::</font> [{<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()}]</tt></pre>
-</div></div>
-<p>Static handler configuration.</p>
-<dl><dt>priv_file</dt>
-<dd><p>Send a file.</p>
-<p>The path is relative to the given application&apos;s private directory.</p>
-</dd>
-<dt>file</dt>
-<dd><p>Send a file.</p>
-<p>The path is either absolute or relative to the Erlang node&apos;s current directory.</p>
-</dd>
-<dt>priv_dir</dt>
-<dd><p>Recursively serve files from a directory.</p>
-<p>The path is relative to the given application&apos;s private directory.</p>
-</dd>
-<dt>dir</dt>
-<dd><p>Recursively serve files from a directory.</p>
-<p>The path is either absolute or relative to the Erlang node&apos;s current directory.</p>
-</dd>
-</dl>
-<p>The extra options allow you to define how the etag should be calculated and how the MIME type of files should be detected.</p>
-<p>By default the static handler will generate an etag based on the size and modification time of the file. You may disable the etag entirely with <code>{etag, false}</code> or provide a module and function that will be called when needed:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">generate_etag</font></b>(<font color="#009900">Path</font>, <font color="#009900">Size</font>, <font color="#009900">Mtime</font>) <font color="#990000">-&gt;</font> {<font color="#FF6600">strong</font> | <font color="#FF6600">weak</font>, <b><font color="#000080">binary</font></b>()}
-
-<font color="#009900">Path</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()
-<font color="#009900">Size</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>()
-<font color="#009900">Mtime</font> <font color="#990000">::</font> <b><font color="#000000">file:date_time</font></b>()</tt></pre>
-</div></div>
-<p>By default the static handler will detect Web-related MIME types by looking at the file extension. You can provide a specific MIME type that will always be used, or a module and function that will be called when needed:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">detect_mimetype</font></b>(<font color="#009900">Path</font>) <font color="#990000">-&gt;</font> <font color="#009900">ParsedMime</font>
-
-<font color="#009900">Path</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()
-<font color="#009900">ParsedMime</font> <font color="#990000">::</font> {<font color="#009900">Type</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">SubType</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Params</font>}
-<font color="#009900">Params</font> <font color="#990000">::</font> [{<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>(), <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()}]</tt></pre>
-</div></div>
-<!-- @todo Case sensitivity of parsed mime content?-->
-<p>Cowboy comes with two such functions; the default function <code>cow_mimetypes:web/1</code>, and a second function generated from the Apache <em>mime.types</em> file, <code>cow_mimetypes:all/1</code>.</p>
-<p>The MIME type function should return <code>{&lt;&lt;&quot;application&quot;&gt;&gt;, &lt;&lt;&quot;octet-stream&quot;&gt;&gt;, []}</code> when it fails to detect a file&apos;s MIME type.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Handler introduced.
-</li>
-</ul>
-<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Custom etag function</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">generate_etag</font></b>(<font color="#009900">Path</font>, <font color="#009900">Size</font>, <font color="#009900">Mtime</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">strong</font>, <b><font color="#000000">integer_to_binary</font></b>(
- <b><font color="#000000">erlang:phash2</font></b>({<font color="#009900">Path</font>, <font color="#009900">Size</font>, <font color="#009900">Mtime</font>}, <font color="#993399">16#ffffffff</font>))}<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Custom MIME type function</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">always_octet_stream</font></b>(<font color="#009900">_Path</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">filename:extension</font></b>(<font color="#009900">Path</font>) <b><font color="#0000FF">of</font></b>
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">".erl"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">-&gt;</font> {<font color="#990000">&lt;&lt;</font><font color="#FF0000">"text"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"plain"</font><font color="#990000">&gt;&gt;</font>, []};
- <font color="#990000">_</font> <font color="#990000">-&gt;</font> {<font color="#990000">&lt;&lt;</font><font color="#FF0000">"application"</font><font color="#990000">&gt;&gt;</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"octet-stream"</font><font color="#990000">&gt;&gt;</font>, []}
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy_router">cowboy_router(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_stream/index.html b/docs/en/cowboy/2.1/manual/cowboy_stream/index.html
deleted file mode 100644
index 3c779949..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_stream/index.html
+++ /dev/null
@@ -1,438 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_stream(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_stream(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_handler - Stream handlers</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_stream</code> defines a callback interface and a protocol for handling HTTP streams.</p>
-<p>An HTTP request and its associated response is called a stream. A connection may have many streams. In HTTP/1.1 they are executed sequentially, while in HTTP/2 they are executed concurrently.</p>
-<p>Cowboy calls the stream handler for nearly all events related to a stream. Exceptions vary depending on the protocol.</p>
-<p>Extra care must be taken when implementing stream handlers to ensure compatibility. While some modification of the events and commands is allowed, it is generally not a good idea to completely omit them.</p>
-<h2 id="_callbacks">Callbacks</h2>
-<p>Stream handlers must implement the following interface:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">StreamID</font>, <font color="#009900">Req</font>, <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Commands</font>, <font color="#009900">State</font>}
-<b><font color="#000000">data</font></b>(<font color="#009900">StreamID</font>, <font color="#009900">IsFin</font>, <font color="#009900">Data</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Commands</font>, <font color="#009900">State</font>}
-<b><font color="#000000">info</font></b>(<font color="#009900">StreamID</font>, <font color="#009900">Info</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> {<font color="#009900">Commands</font>, <font color="#009900">State</font>}
-<b><font color="#000000">terminate</font></b>(<font color="#009900">StreamID</font>, <font color="#009900">Reason</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">any</font></b>()
-<b><font color="#000000">early_error</font></b>(<font color="#009900">StreamID</font>, <font color="#009900">Reason</font>, <font color="#009900">PartialReq</font>, <font color="#009900">Resp</font>, <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font> <font color="#009900">Resp</font>
-
-<font color="#009900">StreamID</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_stream:streamid</font></b>()
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:opts</font></b>()
-<font color="#009900">Commands</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_stream:commands</font></b>()
-<font color="#009900">State</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">IsFin</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_stream:fin</font></b>()
-<font color="#009900">Data</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()
-<font color="#009900">Info</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Reason</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_stream:reason</font></b>()
-<font color="#009900">PartialReq</font> <font color="#990000">-</font> <b><font color="#000000">cowboy_req:req</font></b>(), <font color="#FF6600">except</font> <font color="#FF6600">all</font> <font color="#FF6600">fields</font> <font color="#FF6600">are</font> <font color="#FF6600">optional</font>
-<font color="#009900">Resp</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_stream:resp_command</font></b>()</tt></pre>
-</div></div>
-<p>HTTP/1.1 will initialize a stream only when the request-line and all headers have been received. When errors occur before that point Cowboy will call the callback <code>early_error/5</code> with a partial request, the error reason and the response Cowboy intends to send. All other events go throuh the stream handler using the normal callbacks.</p>
-<p>HTTP/2 will initialize the stream when the <code>HEADERS</code> block has been fully received and decoded. Any protocol error occuring before that will not result in a response being sent and will therefore not go through the stream handler. In addition Cowboy may terminate streams without sending an HTTP response back.</p>
-<p>The stream is initialized by calling <code>init/3</code>. All streams that are initialized will eventually be terminated by calling <code>terminate/3</code>.</p>
-<p>When Cowboy receives data for the stream it will call <code>data/4</code>. The data given is the request body after any transfer decoding has been applied.</p>
-<p>When Cowboy receives a message addressed to a stream, or when Cowboy needs to inform the stream handler that an internal event has occurred, it will call <code>info/3</code>.</p>
-<h2 id="commands">Commands</h2>
-<p>Stream handlers can return a list of commands to be executed from the <code>init/3</code>, <code>data/4</code> and <code>info/3</code> callbacks. In addition, the <code>early_error/5</code> callback must return a response command.</p>
-<!-- @todo We need a &apos;log&apos; command that would call error_logger.-->
-<!-- It&apos;s better than doing in the handlers directly because-->
-<!-- then we can have other stream handlers manipulate those logs.-->
-<!-- @todo We need a command to send a message so that other-->
-<!-- stream handlers can manipulate these messages if necessary.-->
-<p>The following commands are defined:</p>
-<h3 id="response_command">response</h3>
-<p>Send a response to the client.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">response</font>, <b><font color="#000000">cowboy:http_status</font></b>(), <b><font color="#000000">cowboy:http_headers</font></b>(),
- <b><font color="#000000">cowboy_req:resp_body</font></b>()}</tt></pre>
-</div></div>
-<p>No more data can be sent after this command.</p>
-<h3 id="headers_command">headers</h3>
-<p>Initiate a response to the client.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">headers</font>, <b><font color="#000000">cowboy:http_status</font></b>(), <b><font color="#000000">cowboy:http_headers</font></b>()}</tt></pre>
-</div></div>
-<p>This initiates a response to the client. The stream will end when a data command with the <code>fin</code> flag is returned.</p>
-<h3 id="data_command">data</h3>
-<p>Send data to the client.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">data</font>, <b><font color="#000000">fin</font></b>(), <b><font color="#000000">iodata</font></b>()}</tt></pre>
-</div></div>
-<h3 id="push_command">push</h3>
-<p>Push a resource to the client.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">push</font>, <font color="#009900">Method</font>, <font color="#009900">Scheme</font>, <font color="#009900">Host</font>, <b><font color="#000000">inet:port_number</font></b>(),
- <font color="#009900">Path</font>, <font color="#009900">Qs</font>, <b><font color="#000000">cowboy:http_headers</font></b>()}
-
-<font color="#009900">Method</font> <font color="#990000">=</font> <font color="#009900">Scheme</font> <font color="#990000">=</font> <font color="#009900">Host</font> <font color="#990000">=</font> <font color="#009900">Path</font> <font color="#990000">=</font> <font color="#009900">Qs</font> <font color="#990000">=</font> <b><font color="#000080">binary</font></b>()</tt></pre>
-</div></div>
-<p>The command will be ignored if the protocol does not provide any server push mechanism.</p>
-<h3 id="_flow">flow</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">flow</font>, <b><font color="#000000">pos_integer</font></b>()}</tt></pre>
-</div></div>
-<p>Request more data to be read from the request body. The exact behavior depends on the protocol.</p>
-<h3 id="_spawn">spawn</h3>
-<p>Inform Cowboy that a process was spawned and should be supervised.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<b><font color="#000080">spawn</font></b>, <b><font color="#000080">pid</font></b>(), <b><font color="#000000">timeout</font></b>()}</tt></pre>
-</div></div>
-<h3 id="_error_response">error_response</h3>
-<p>Send an error response if no response was sent previously.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">error_response</font>, <b><font color="#000000">cowboy:http_status</font></b>(), <b><font color="#000000">cowboy:http_headers</font></b>(), <b><font color="#000000">iodata</font></b>()}</tt></pre>
-</div></div>
-<h3 id="switch_protocol_command">switch_protocol</h3>
-<p>Switch to a different protocol.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">switch_protocol</font>, <b><font color="#000000">cowboy:http_headers</font></b>(), <b><font color="#000000">module</font></b>(), <b><font color="#000000">state</font></b>()}</tt></pre>
-</div></div>
-<p>Contains the headers that will be sent in the 101 response, along with the module implementing the protocol we are switching to and its initial state.</p>
-<h3 id="_stop">stop</h3>
-<p>Stop the stream.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#FF6600">stop</font></tt></pre>
-</div></div>
-<p>While no more data can be sent after the <code>fin</code> flag was set, the stream is still tracked by Cowboy until it is stopped by the handler.</p>
-<p>The behavior when stopping a stream for which no response has been sent will vary depending on the protocol. The stream will end successfully as far as the client is concerned.</p>
-<p>To indicate that an error occurred, either use <code>error_response</code> before stopping, or use <code>internal_error</code>.</p>
-<h3 id="_internal_error">internal_error</h3>
-<p>Stop the stream with an error.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">internal_error</font>, <font color="#009900">Reason</font>, <font color="#009900">HumanReadable</font>}
-
-<font color="#009900">Reason</font> <font color="#990000">=</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">HumanReadable</font> <font color="#990000">=</font> <b><font color="#000080">atom</font></b>()</tt></pre>
-</div></div>
-<p>This command should be used when the stream cannot continue because of an internal error. An <code>error_response</code> command may be sent before that to advertise to the client why the stream is dropped.</p>
-<h2 id="_predefined_events">Predefined events</h2>
-<p>Cowboy will forward all messages sent to the stream to the <code>info/3</code> callback. To send a message to a stream, send a message to the connection process with the form <code>{{Pid, StreamID}, Msg}</code>. The connection process will then forward <code>Msg</code> to the stream handlers.</p>
-<p>Cowboy will also forward the exit signals for the processes that the stream spawned.</p>
-<h3 id="_exit">EXIT</h3>
-<!-- info(_StreamID, {&apos;EXIT&apos;, Pid, normal}, State=#state{pid=Pid}) -&gt;-->
-<!-- info(_StreamID, {&apos;EXIT&apos;, Pid, {_Reason, [_, {cow_http_hd, _, _, _}|_]}}, State=#state{pid=Pid}) -&gt;-->
-<!-- info(StreamID, Exit = {&apos;EXIT&apos;, Pid, {Reason, Stacktrace}}, State=#state{ref=Ref, pid=Pid}) -&gt;-->
-<p>A process spawned by this stream has exited.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#000080">'EXIT'</font>, <b><font color="#000080">pid</font></b>(), <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>This is the raw exit message without any modification.</p>
-<!-- === read_body-->
-<!-- -->
-<!-- //info(_StreamID, {read_body, Ref, Length, _},-->
-<!-- //info(StreamID, {read_body, Ref, Length, Period}, State) -&gt;-->
-<!-- -->
-<!-- TODO yeah I am not actually sure this one should be public just yet-->
-<!-- TODO if it is, then we probably shouldn&apos;t send a message directly,-->
-<!-- TODO but rather return a command that will end up sending the message-->
-<!-- -->
-<!-- TODO The problem being that no stream handler has access to that-->
-<!-- TODO message if we send it directly. So we should have a command-->
-<!-- TODO send_message or something that can be seen from all handlers.-->
-<!-- -->
-<!-- TODO The thing is that stream handlers can have 0 to N processes-->
-<!-- TODO so we have to make it easy to say which process should-->
-<!-- TODO receive the message, and perhaps *identify* which process-->
-<!-- TODO gets it?-->
-<h3 id="_response">response</h3>
-<p>Same as the <a href="../response_command">response command</a>.</p>
-<p>Usually sent when the request process replies to the client. May also be sent by Cowboy internally.</p>
-<h3 id="_headers">headers</h3>
-<p>Same as the <a href="../headers_command">headers command</a>.</p>
-<p>Sent when the request process starts replying to the client.</p>
-<h3 id="_data">data</h3>
-<p>Same as the <a href="../data_command">data command</a>.</p>
-<p>Sent when the request process streams data to the client.</p>
-<h3 id="_push">push</h3>
-<p>Same as the <a href="../push_command">push command</a>.</p>
-<p>Sent when the request process pushes a resource to the client.</p>
-<h3 id="_switch_protocol">switch_protocol</h3>
-<p>Same as the <a href="../switch_protocol_command">switch_protocol command</a>.</p>
-<!-- @todo Not done for HTTP/2 yet.-->
-<p>Sent when switching to the HTTP/2 or Websocket protocol.</p>
-<h2 id="_exports">Exports</h2>
-<p>The following function should be called by modules implementing stream handlers to execute the next stream handler in the list:</p>
-<ul><li><a href="../cowboy_stream.init">cowboy_stream:init(3)</a> - Initialize a stream
-</li>
-<li><a href="../cowboy_stream.data">cowboy_stream:data(3)</a> - Handle data for a stream
-</li>
-<li><a href="../cowboy_stream.info">cowboy_stream:info(3)</a> - Handle a message for a stream
-</li>
-<li><a href="../cowboy_stream.terminate">cowboy_stream:terminate(3)</a> - Terminate a stream
-</li>
-<li><a href="../cowboy_stream.early_error">cowboy_stream:early_error(3)</a> - Handle an early error for a stream
-</li>
-</ul>
-<h2 id="_types">Types</h2>
-<h3 id="_commands">commands()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">commands</font></b>() <font color="#990000">::</font> [<font color="#009900">Command</font>]</tt></pre>
-</div></div>
-<p>See the <a href="../commands">list of commands</a> for details.</p>
-<h3 id="_fin">fin()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">fin</font></b>() <font color="#990000">::</font> <font color="#FF6600">fin</font> | <font color="#FF6600">nofin</font></tt></pre>
-</div></div>
-<p>Used in commands and events to indicate that this is the end of the stream.</p>
-<h3 id="_partial_req">partial_req()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">req</font></b>() <font color="#990000">::</font> #{
- <font color="#0000FF">method</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% case sensitive</font></i>
- <font color="#0000FF">version</font> <font color="#990000">=&gt;</font> <b><font color="#000000">cowboy:http_version</font></b>() | <b><font color="#000080">atom</font></b>(),
- <font color="#0000FF">scheme</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
- <font color="#0000FF">host</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
- <font color="#0000FF">port</font> <font color="#990000">=&gt;</font> <b><font color="#000000">inet:port_number</font></b>(),
- <font color="#0000FF">path</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% case sensitive</font></i>
- <font color="#0000FF">qs</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% case sensitive</font></i>
- <font color="#0000FF">headers</font> <font color="#990000">=&gt;</font> <b><font color="#000000">cowboy:http_headers</font></b>(),
- <font color="#0000FF">peer</font> <font color="#990000">=&gt;</font> {<b><font color="#000000">inet:ip_address</font></b>(), <b><font color="#000000">inet:port_number</font></b>()}
-}</tt></pre>
-</div></div>
-<p>Partial request information received when an early error is detected.</p>
-<h3 id="_reason">reason()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">reason</font></b>() <font color="#990000">::</font> <b><font color="#000080">normal</font></b> | <font color="#FF6600">switch_protocol</font>
- | {<font color="#FF6600">internal_error</font>, <font color="#FF6600">timeout</font> | {<font color="#FF6600">error</font> | <b><font color="#000080">exit</font></b> | <b><font color="#000080">throw</font></b>, <b><font color="#000000">any</font></b>()}, <font color="#009900">HumanReadable</font>}
- | {<font color="#FF6600">socket_error</font>, <font color="#FF6600">closed</font> | <b><font color="#000080">atom</font></b>(), <font color="#009900">HumanReadable</font>}
- | {<font color="#FF6600">stream_error</font>, <font color="#009900">Error</font>, <font color="#009900">HumanReadable</font>}
- | {<font color="#FF6600">connection_error</font>, <font color="#009900">Error</font>, <font color="#009900">HumanReadable</font>}
- | {<font color="#FF6600">stop</font>, <b><font color="#000000">cow_http2:frame</font></b>(), <font color="#009900">HumanReadable</font>}
-
-<font color="#009900">Error</font> <font color="#990000">=</font> <b><font color="#000080">atom</font></b>()
-<font color="#009900">HumanReadable</font> <font color="#990000">=</font> <b><font color="#000080">atom</font></b>()</tt></pre>
-</div></div>
-<p>Reason for the stream termination.</p>
-<h3 id="_resp_command">resp_command()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">resp_command</font></b>() <font color="#990000">::</font> {<font color="#FF6600">response</font>, <b><font color="#000000">cowboy:http_status</font></b>(),
- <b><font color="#000000">cowboy:http_headers</font></b>(), <b><font color="#000000">cowboy_req:resp_body</font></b>()}</tt></pre>
-</div></div>
-<p>See the <a href="../response_command">response command</a> for details.</p>
-<h3 id="_streamid">streamid()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">streamid</font></b>() <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
-</div></div>
-<p>The identifier for this stream.</p>
-<p>The identifier is unique over the connection process. It is possible to form a unique identifier node-wide and cluster-wide by wrapping it in a <code>{self(), StreamID}</code> tuple.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Module introduced.
-</li>
-</ul>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy_http">cowboy_http(3)</a>, <a href="../cowboy_http2">cowboy_http2(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/cowboy_websocket/index.html b/docs/en/cowboy/2.1/manual/cowboy_websocket/index.html
deleted file mode 100644
index d7466a69..00000000
--- a/docs/en/cowboy/2.1/manual/cowboy_websocket/index.html
+++ /dev/null
@@ -1,300 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: cowboy_websocket(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>cowboy_websocket(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy_websocket - Websocket</p>
-<h2 id="_description">Description</h2>
-<p>The module <code>cowboy_websocket</code> implements Websocket as a Ranch protocol. It also defines a callback interface for handling Websocket connections.</p>
-<h2 id="_callbacks">Callbacks</h2>
-<p>Websocket handlers must implement the following callback interface:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>)
- <font color="#990000">-&gt;</font> {<font color="#FF6600">cowboy_websocket</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}
- | {<font color="#FF6600">cowboy_websocket</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>, <font color="#009900">Opts</font>}
-
-<b><font color="#000000">websocket_init</font></b>(<font color="#009900">State</font>) <font color="#990000">-&gt;</font> <font color="#009900">CallResult</font> <i><font color="#9A1900">%% optional</font></i>
-<b><font color="#000000">websocket_handle</font></b>(<font color="#009900">InFrame</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> <font color="#009900">CallResult</font>
-<b><font color="#000000">websocket_info</font></b>(<font color="#009900">Info</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> <font color="#009900">CallResult</font>
-
-<b><font color="#000000">terminate</font></b>(<font color="#009900">Reason</font>, <font color="#009900">PartialReq</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> <i><font color="#9A1900">%% optional</font></i>
-
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">PartialReq</font> <font color="#990000">::</font> <b><font color="#000000">map</font></b>()
-<font color="#009900">State</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_websocket:opts</font></b>()
-<font color="#009900">InFrame</font> <font color="#990000">::</font> {<font color="#FF6600">text</font> | <b><font color="#000080">binary</font></b> | <font color="#FF6600">ping</font> | <font color="#FF6600">pong</font>, <b><font color="#000080">binary</font></b>()}
-<font color="#009900">OutFrame</font> <font color="#990000">::</font> <b><font color="#000000">cow_ws:frame</font></b>() <i><font color="#9A1900">%% see types below</font></i>
-<font color="#009900">Info</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-
-<font color="#009900">CallResult</font> <font color="#990000">::</font> {<font color="#FF6600">ok</font>, <font color="#009900">State</font>}
- | {<font color="#FF6600">ok</font>, <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}
- | {<font color="#FF6600">reply</font>, <font color="#009900">OutFrame</font> | [<font color="#009900">OutFrame</font>], <font color="#009900">State</font>}
- | {<font color="#FF6600">reply</font>, <font color="#009900">OutFrame</font> | [<font color="#009900">OutFrame</font>], <font color="#009900">State</font>, <font color="#FF6600">hibernate</font>}
- | {<font color="#FF6600">stop</font>, <font color="#009900">State</font>}
-
-<font color="#009900">Reason</font> <font color="#990000">::</font> <b><font color="#000080">normal</font></b> | <font color="#FF6600">stop</font> | <font color="#FF6600">timeout</font>
- | <font color="#FF6600">remote</font> | {<font color="#FF6600">remote</font>, <b><font color="#000000">cow_ws:close_code</font></b>(), <b><font color="#000080">binary</font></b>()}
- | {<font color="#FF6600">error</font>, <font color="#FF6600">badencoding</font> | <font color="#FF6600">badframe</font> | <font color="#FF6600">closed</font> | <b><font color="#000080">atom</font></b>()}
- | {<font color="#FF6600">crash</font>, <font color="#FF6600">error</font> | <b><font color="#000080">exit</font></b> | <b><font color="#000080">throw</font></b>, <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>The <code>init/2</code> callback is common to all handlers. To upgrade the connection to Websocket, it must return <code>cowboy_websocket</code> as the first element of the tuple.</p>
-<p>Any operation requiring the HTTP request must be done in the <code>init/2</code> function, as the Req object will not be available after it returns. Websocket sub-protocol selection should therefore be done in this function.</p>
-<p>The optional <code>websocket_init/1</code> callback will be called once the connection has been upgraded to Websocket. It can be used to perform any required initialization of the handler.</p>
-<p>Note that the <code>init/2</code> function does not run in the same process as the Websocket callbacks. Any Websocket-specific initialization must be done in <code>websocket_init/1</code>.</p>
-<p>The <code>websocket_handle/2</code> callback will be called for every frame received. The <code>websocket_info/2</code> callback will be called for every Erlang message received.</p>
-<p>All three Websocket callbacks may send one or more frames back to the client (by returning a <code>reply</code> tuple) or terminate the connection (by sending a <code>close</code> frame or returning a <code>stop</code> tuple).</p>
-<p>The optional <code>terminate/3</code> callback will ultimately be called with the reason for the termination of the connection. This callback is common to all handlers. Note that Websocket will not provide the full Req object by default, to save memory.</p>
-<p>Cowboy will terminate the process right after closing the Websocket connection. This means that there is no need to perform any cleanup in the <code>terminate/3</code> callback.</p>
-<p>The following terminate reasons are defined for Websocket connections:</p>
-<dl><dt>normal</dt>
-<dd><p>The connection was closed normally before establishing a Websocket connection. This typically happens if an <code>ok</code> tuple is returned from the <code>init/2</code> callback.</p>
-</dd>
-<dt>remote</dt>
-<dd><p>The remote endpoint closed the connection without giving any further details.</p>
-</dd>
-<dt>{remote, Code, Payload}</dt>
-<dd><p>The remote endpoint closed the connection with the given <code>Code</code> and <code>Payload</code> as the reason.</p>
-</dd>
-<dt>stop</dt>
-<dd><p>The handler requested to close the connection, either by returning a <code>stop</code> tuple or by sending a <code>close</code> frame.</p>
-</dd>
-<dt>timeout</dt>
-<dd><p>The connection has been closed due to inactivity. The timeout value can be configured from <code>init/2</code>.</p>
-</dd>
-<dt>{crash, Class, Reason}</dt>
-<dd><p>A crash occurred in the handler. <code>Class</code> and <code>Reason</code> can be used to obtain more information about the crash. The function <code>erlang:get_stacktrace/0</code> can also be called to obtain the stacktrace of the process when the crash occurred.</p>
-</dd>
-<dt>{error, badencoding}</dt>
-<dd><p>A text frame was sent by the client with invalid encoding. All text frames must be valid UTF-8.</p>
-</dd>
-<dt>{error, badframe}</dt>
-<dd><p>A protocol error has been detected.</p>
-</dd>
-<dt>{error, closed}</dt>
-<dd><p>The socket has been closed brutally without a close frame being received first.</p>
-</dd>
-<dt>{error, Reason}</dt>
-<dd><p>A socket error ocurred.</p>
-</dd>
-</dl>
-<h2 id="_types">Types</h2>
-<h4 id="_cow_ws_frame">cow_ws:frame()</h4>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">frame</font></b>() <font color="#990000">::</font> {<font color="#FF6600">text</font>, <b><font color="#000000">iodata</font></b>()}
- | {<b><font color="#000080">binary</font></b>, <b><font color="#000000">iodata</font></b>()}
- | <font color="#FF6600">ping</font> | {<font color="#FF6600">ping</font>, <b><font color="#000000">iodata</font></b>()}
- | <font color="#FF6600">pong</font> | {<font color="#FF6600">pong</font>, <b><font color="#000000">iodata</font></b>()}
- | <font color="#FF6600">close</font> | {<font color="#FF6600">close</font>, <b><font color="#000000">iodata</font></b>()} | {<font color="#FF6600">close</font>, <b><font color="#000000">close_code</font></b>(), <b><font color="#000000">iodata</font></b>()}
-
-<b><font color="#000000">close_code</font></b>() <font color="#990000">::</font> <font color="#993399">1000</font><font color="#990000">..</font><font color="#993399">1003</font> | <font color="#993399">1006</font><font color="#990000">..</font><font color="#993399">1011</font> | <font color="#993399">3000</font><font color="#990000">..</font><font color="#993399">4999</font></tt></pre>
-</div></div>
-<p>Websocket frames that can be sent as a response.</p>
-<p>Note that there is no need to send pong frames back as Cowboy does it automatically for you.</p>
-<h3 id="_opts">opts()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">opts</font></b>() <font color="#990000">::</font> #{
- <font color="#0000FF">compress</font> <font color="#990000">=&gt;</font> <b><font color="#000000">boolean</font></b>(),
- <font color="#0000FF">idle_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
- <font color="#0000FF">req_filter</font> <font color="#990000">=&gt;</font> <b><font color="#0000FF">fun</font></b>((<b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">map</font></b>())
-}</tt></pre>
-</div></div>
-<p>Websocket handler options.</p>
-<p>This configuration is passed to Cowboy from the <code>init/2</code> function:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Opts</font> <font color="#990000">=</font> #{<font color="#0000FF">compress</font> <font color="#990000">=&gt;</font> <font color="#000080">true</font>},
- {<font color="#FF6600">cowboy_websocket</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>, <font color="#009900">Opts</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The default value is given next to the option name:</p>
-<dl><dt>compress (false)</dt>
-<dd><p>Whether to enable the Websocket frame compression extension. Frames will only be compressed for the clients that support this extension.</p>
-</dd>
-<dt>idle_timeout (60000)</dt>
-<dd><p>Time in milliseconds that Cowboy will keep the connection open without receiving anything from the client.</p>
-</dd>
-<dt>req_filter</dt>
-<dd><p>A function applied to the Req to compact it and only keep required information. The Req is only given back in the <code>terminate/3</code> callback. By default it keeps the method, version, URI components and peer information.</p>
-</dd>
-</dl>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: The Req object is no longer passed to Websocket callbacks.
-</li>
-<li><strong>2.0</strong>: The callback <code>websocket_terminate/3</code> was removed in favor of <code>terminate/3</code>.
-</li>
-<li><strong>1.0</strong>: Protocol introduced.
-</li>
-</ul>
-<h2 id="_see_also">See also</h2>
-<p><a href="..">cowboy(7)</a>, <a href="../cowboy_handler">cowboy_handler(3)</a>, <a href="../cowboy_http">cowboy_http(3)</a>, <a href="../cowboy_http2">cowboy_http2(3)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/http_status_codes/index.html b/docs/en/cowboy/2.1/manual/http_status_codes/index.html
deleted file mode 100644
index 4663543c..00000000
--- a/docs/en/cowboy/2.1/manual/http_status_codes/index.html
+++ /dev/null
@@ -1,248 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: HTTP status codes(7)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>HTTP status codes(7)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>HTTP status codes - status codes used by Cowboy</p>
-<h2 id="_description">Description</h2>
-<p>This chapter aims to list all HTTP status codes that Cowboy may return, with details on the reasons why. The list given here only includes the replies that Cowboy sends, not user replies.</p>
-<h2 id="_100_continue">100 Continue</h2>
-<p>When the client sends an <code>expect: 100-continue</code> header, Cowboy automatically sends a this status code before trying to read the request body. This behavior can be disabled using the appropriate body option.</p>
-<h2 id="_101_switching_protocols">101 Switching Protocols</h2>
-<p>This is the status code sent when switching to the Websocket protocol.</p>
-<h2 id="_200_ok">200 OK</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_201_created">201 Created</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_202_accepted">202 Accepted</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_204_no_content">204 No Content</h2>
-<p>This status code is sent when the processing of a request ends without any reply having been sent. It may also be sent by <code>cowboy_rest</code> under normal conditions.</p>
-<h2 id="_300_multiple_choices">300 Multiple Choices</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_301_moved_permanently">301 Moved Permanently</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_303_see_other">303 See Other</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_304_not_modified">304 Not Modified</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_307_temporary_redirect">307 Temporary Redirect</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_400_bad_request">400 Bad Request</h2>
-<p>Cowboy will send this status code for any of the following reasons:</p>
-<ul><li>Too many empty lines were sent before the request.
-</li>
-<li>The request-line could not be parsed.
-</li>
-<li>Too many headers were sent.
-</li>
-<li>A header name was too long.
-</li>
-<li>A header value was too long.
-</li>
-<li>The host header was missing from an HTTP/1.1 request.
-</li>
-<li>The host header could not be parsed.
-</li>
-<li>The requested host was not found.
-</li>
-<li>The requested path could not be parsed.
-</li>
-<li>The accept header could not be parsed when using REST.
-</li>
-<li>REST under normal conditions.
-</li>
-<li>A Websocket upgrade failed.
-</li>
-</ul>
-<h2 id="_401_unauthorized">401 Unauthorized</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_403_forbidden">403 Forbidden</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_404_not_found">404 Not Found</h2>
-<p>This status code is sent when the router successfully resolved the host but didn&apos;t find a matching path for the request. It may also be sent by <code>cowboy_rest</code> under normal conditions.</p>
-<h2 id="_405_method_not_allowed">405 Method Not Allowed</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_406_not_acceptable">406 Not Acceptable</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_408_request_timeout">408 Request Timeout</h2>
-<p>Cowboy will send this status code to the client if the client started to send a request, indicated by the request-line being received fully, but failed to send all headers in a reasonable time.</p>
-<h2 id="_409_conflict">409 Conflict</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_410_gone">410 Gone</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_412_precondition_failed">412 Precondition Failed</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_413_request_entity_too_large">413 Request Entity Too Large</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_414_request_uri_too_long">414 Request-URI Too Long</h2>
-<p>Cowboy will send this status code to the client if the request-line is too long. It may also be sent by <code>cowboy_rest</code> under normal conditions.</p>
-<h2 id="_415_unsupported_media_type">415 Unsupported Media Type</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_500_internal_server_error">500 Internal Server Error</h2>
-<p>This status code is sent when a crash occurs in HTTP, loop or REST handlers, or when an invalid return value is returned. It may also be sent by <code>cowboy_rest</code> under normal conditions.</p>
-<h2 id="_501_not_implemented">501 Not Implemented</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_503_service_unavailable">503 Service Unavailable</h2>
-<p>This status code is sent by <code>cowboy_rest</code>.</p>
-<h2 id="_505_http_version_not_supported">505 HTTP Version Not Supported</h2>
-<p>Cowboy only supports the versions 1.0 and 1.1 of HTTP. In all other cases this status code is sent back to the client and the connection is closed.</p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.1/manual/index.html b/docs/en/cowboy/2.1/manual/index.html
deleted file mode 100644
index 0b6ce4a8..00000000
--- a/docs/en/cowboy/2.1/manual/index.html
+++ /dev/null
@@ -1,233 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Cowboy Function Reference</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Cowboy Function Reference</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>cowboy - Small, fast, modern HTTP server for Erlang/OTP</p>
-<h2 id="_description">Description</h2>
-<p>Cowboy is an HTTP server for Erlang/OTP with support for the HTTP/1.1, HTTP/2 and Websocket protocols.</p>
-<p>Cowboy aims to provide a complete HTTP stack. This includes the implementation of the HTTP RFCs but also any directly related standards, like Websocket or Server-Sent Events.</p>
-<h2 id="_modules">Modules</h2>
-<p>Functions:</p>
-<ul><li><a href="cowboy">cowboy(3)</a> - Listener management
-</li>
-<li><a href="cowboy_req">cowboy_req(3)</a> - Request and response
-</li>
-<li><a href="cowboy_router">cowboy_router(3)</a> - Router
-</li>
-<li><a href="cowboy_constraints">cowboy_constraints(3)</a> - Constraints
-</li>
-</ul>
-<p>Protocols:</p>
-<ul><li><a href="cowboy_http">cowboy_http(3)</a> - HTTP/1.1
-</li>
-<li><a href="cowboy_http2">cowboy_http2(3)</a> - HTTP/2
-</li>
-<li><a href="cowboy_websocket">cowboy_websocket(3)</a> - Websocket
-</li>
-</ul>
-<p>Handlers:</p>
-<ul><li><a href="cowboy_static">cowboy_static(3)</a> - Static file handler
-</li>
-</ul>
-<p>Behaviors:</p>
-<ul><li><a href="cowboy_handler">cowboy_handler(3)</a> - Plain HTTP handlers
-</li>
-<li><a href="cowboy_loop">cowboy_loop(3)</a> - Loop handlers
-</li>
-<li><a href="cowboy_middleware">cowboy_middleware(3)</a> - Middlewares
-</li>
-<li><a href="cowboy_rest">cowboy_rest(3)</a> - REST handlers
-</li>
-<li><a href="cowboy_stream">cowboy_stream(3)</a> - Stream handlers
-</li>
-<li><a href="cowboy_websocket">cowboy_websocket(3)</a> - Websocket handlers
-</li>
-</ul>
-<p>Middlewares:</p>
-<ul><li><a href="cowboy_router">cowboy_router(3)</a> - Router middleware
-</li>
-<li><a href="cowboy_handler">cowboy_handler(3)</a> - Handler middleware
-</li>
-</ul>
-<!-- @todo http_status_codes is not linked to; what to do with it?-->
-<h2 id="_dependencies">Dependencies</h2>
-<ul><li><a href="ranch_app">ranch(7)</a> - Socket acceptor pool for TCP protocols
-</li>
-<li><a href="cowlib_app">cowlib(7)</a> - Support library for manipulating Web protocols
-</li>
-<li>ssl - Secure communication over sockets
-</li>
-<li>crypto - Crypto functions
-</li>
-</ul>
-<p>All these applications must be started before the <code>cowboy</code> application. To start Cowboy and all dependencies at once:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">application:ensure_all_started</font></b>(<font color="#FF6600">cowboy</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_environment">Environment</h2>
-<p>The <code>cowboy</code> application does not define any application environment configuration parameters.</p>
-<h2 id="_see_also">See also</h2>
-<p><a href="ranch_app">ranch(7)</a>, <a href="cowlib_app">cowlib(7)</a></p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Cowboy
- 2.1
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
-
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/cowboy/2.2/guide/constraints/index.html b/docs/en/cowboy/2.2/guide/constraints/index.html
index c7624544..120d3e48 100644
--- a/docs/en/cowboy/2.2/guide/constraints/index.html
+++ b/docs/en/cowboy/2.2/guide/constraints/index.html
@@ -208,12 +208,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/cookies/index.html b/docs/en/cowboy/2.2/guide/cookies/index.html
index 8ee9c1d4..4c2a7a7d 100644
--- a/docs/en/cowboy/2.2/guide/cookies/index.html
+++ b/docs/en/cowboy/2.2/guide/cookies/index.html
@@ -225,12 +225,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/erlang_web/index.html b/docs/en/cowboy/2.2/guide/erlang_web/index.html
index 8a9ae9de..cf2fb25d 100644
--- a/docs/en/cowboy/2.2/guide/erlang_web/index.html
+++ b/docs/en/cowboy/2.2/guide/erlang_web/index.html
@@ -174,12 +174,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/flow_diagram/index.html b/docs/en/cowboy/2.2/guide/flow_diagram/index.html
index ff5e71d9..a1234a41 100644
--- a/docs/en/cowboy/2.2/guide/flow_diagram/index.html
+++ b/docs/en/cowboy/2.2/guide/flow_diagram/index.html
@@ -152,12 +152,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/getting_started/index.html b/docs/en/cowboy/2.2/guide/getting_started/index.html
index 6eb4acd1..eb0e9f32 100644
--- a/docs/en/cowboy/2.2/guide/getting_started/index.html
+++ b/docs/en/cowboy/2.2/guide/getting_started/index.html
@@ -226,12 +226,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/handlers/index.html b/docs/en/cowboy/2.2/guide/handlers/index.html
index 6eeebc14..4af10791 100644
--- a/docs/en/cowboy/2.2/guide/handlers/index.html
+++ b/docs/en/cowboy/2.2/guide/handlers/index.html
@@ -179,12 +179,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/index.html b/docs/en/cowboy/2.2/guide/index.html
index f458662a..eb37b7a4 100644
--- a/docs/en/cowboy/2.2/guide/index.html
+++ b/docs/en/cowboy/2.2/guide/index.html
@@ -185,12 +185,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/introduction/index.html b/docs/en/cowboy/2.2/guide/introduction/index.html
index 310e303b..fbae4605 100644
--- a/docs/en/cowboy/2.2/guide/introduction/index.html
+++ b/docs/en/cowboy/2.2/guide/introduction/index.html
@@ -162,12 +162,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</pre></div></div>
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/listeners/index.html b/docs/en/cowboy/2.2/guide/listeners/index.html
index d48fbb0f..f0791936 100644
--- a/docs/en/cowboy/2.2/guide/listeners/index.html
+++ b/docs/en/cowboy/2.2/guide/listeners/index.html
@@ -183,12 +183,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/loop_handlers/index.html b/docs/en/cowboy/2.2/guide/loop_handlers/index.html
index 7924e7d9..fc3a5520 100644
--- a/docs/en/cowboy/2.2/guide/loop_handlers/index.html
+++ b/docs/en/cowboy/2.2/guide/loop_handlers/index.html
@@ -194,12 +194,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/middlewares/index.html b/docs/en/cowboy/2.2/guide/middlewares/index.html
index 24b10792..00a01755 100644
--- a/docs/en/cowboy/2.2/guide/middlewares/index.html
+++ b/docs/en/cowboy/2.2/guide/middlewares/index.html
@@ -160,12 +160,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/migrating_from_1.0/index.html b/docs/en/cowboy/2.2/guide/migrating_from_1.0/index.html
index f09923f9..e447ebfd 100644
--- a/docs/en/cowboy/2.2/guide/migrating_from_1.0/index.html
+++ b/docs/en/cowboy/2.2/guide/migrating_from_1.0/index.html
@@ -242,12 +242,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/migrating_from_2.0/index.html b/docs/en/cowboy/2.2/guide/migrating_from_2.0/index.html
index 694cf1b2..4af4e203 100644
--- a/docs/en/cowboy/2.2/guide/migrating_from_2.0/index.html
+++ b/docs/en/cowboy/2.2/guide/migrating_from_2.0/index.html
@@ -177,12 +177,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/migrating_from_2.1/index.html b/docs/en/cowboy/2.2/guide/migrating_from_2.1/index.html
index 38623c48..9709214d 100644
--- a/docs/en/cowboy/2.2/guide/migrating_from_2.1/index.html
+++ b/docs/en/cowboy/2.2/guide/migrating_from_2.1/index.html
@@ -188,12 +188,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/migrating_from_2.2/index.html b/docs/en/cowboy/2.2/guide/migrating_from_2.2/index.html
index 214b6f11..767b904d 100644
--- a/docs/en/cowboy/2.2/guide/migrating_from_2.2/index.html
+++ b/docs/en/cowboy/2.2/guide/migrating_from_2.2/index.html
@@ -142,12 +142,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/modern_web/index.html b/docs/en/cowboy/2.2/guide/modern_web/index.html
index 930098a7..0fef4d71 100644
--- a/docs/en/cowboy/2.2/guide/modern_web/index.html
+++ b/docs/en/cowboy/2.2/guide/modern_web/index.html
@@ -156,12 +156,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/multipart/index.html b/docs/en/cowboy/2.2/guide/multipart/index.html
index 4e1d14b1..d09134e4 100644
--- a/docs/en/cowboy/2.2/guide/multipart/index.html
+++ b/docs/en/cowboy/2.2/guide/multipart/index.html
@@ -229,12 +229,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/req/index.html b/docs/en/cowboy/2.2/guide/req/index.html
index a0c535bc..1eb909ad 100644
--- a/docs/en/cowboy/2.2/guide/req/index.html
+++ b/docs/en/cowboy/2.2/guide/req/index.html
@@ -405,12 +405,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/req_body/index.html b/docs/en/cowboy/2.2/guide/req_body/index.html
index 1718afa2..9c58ddcd 100644
--- a/docs/en/cowboy/2.2/guide/req_body/index.html
+++ b/docs/en/cowboy/2.2/guide/req_body/index.html
@@ -215,12 +215,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/resource_design/index.html b/docs/en/cowboy/2.2/guide/resource_design/index.html
index cba54658..92bfa5a3 100644
--- a/docs/en/cowboy/2.2/guide/resource_design/index.html
+++ b/docs/en/cowboy/2.2/guide/resource_design/index.html
@@ -188,12 +188,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/resp/index.html b/docs/en/cowboy/2.2/guide/resp/index.html
index ee533d51..d55eb6f1 100644
--- a/docs/en/cowboy/2.2/guide/resp/index.html
+++ b/docs/en/cowboy/2.2/guide/resp/index.html
@@ -372,12 +372,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/rest_flowcharts/index.html b/docs/en/cowboy/2.2/guide/rest_flowcharts/index.html
index 618cd812..9b5012f5 100644
--- a/docs/en/cowboy/2.2/guide/rest_flowcharts/index.html
+++ b/docs/en/cowboy/2.2/guide/rest_flowcharts/index.html
@@ -186,12 +186,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/rest_handlers/index.html b/docs/en/cowboy/2.2/guide/rest_handlers/index.html
index 4f90888b..a0a3d0b1 100644
--- a/docs/en/cowboy/2.2/guide/rest_handlers/index.html
+++ b/docs/en/cowboy/2.2/guide/rest_handlers/index.html
@@ -284,12 +284,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/rest_principles/index.html b/docs/en/cowboy/2.2/guide/rest_principles/index.html
index e7dc030f..277ff4c7 100644
--- a/docs/en/cowboy/2.2/guide/rest_principles/index.html
+++ b/docs/en/cowboy/2.2/guide/rest_principles/index.html
@@ -160,12 +160,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/routing/index.html b/docs/en/cowboy/2.2/guide/routing/index.html
index ac352c5a..fb0d0ab7 100644
--- a/docs/en/cowboy/2.2/guide/routing/index.html
+++ b/docs/en/cowboy/2.2/guide/routing/index.html
@@ -303,12 +303,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/specs/index.html b/docs/en/cowboy/2.2/guide/specs/index.html
index de6fa310..9938c2b1 100644
--- a/docs/en/cowboy/2.2/guide/specs/index.html
+++ b/docs/en/cowboy/2.2/guide/specs/index.html
@@ -457,12 +457,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/static_files/index.html b/docs/en/cowboy/2.2/guide/static_files/index.html
index e436e2d8..99f84402 100644
--- a/docs/en/cowboy/2.2/guide/static_files/index.html
+++ b/docs/en/cowboy/2.2/guide/static_files/index.html
@@ -223,12 +223,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/streams/index.html b/docs/en/cowboy/2.2/guide/streams/index.html
index dc953335..1ff52289 100644
--- a/docs/en/cowboy/2.2/guide/streams/index.html
+++ b/docs/en/cowboy/2.2/guide/streams/index.html
@@ -145,12 +145,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/ws_handlers/index.html b/docs/en/cowboy/2.2/guide/ws_handlers/index.html
index 4ef9fe1a..df94691a 100644
--- a/docs/en/cowboy/2.2/guide/ws_handlers/index.html
+++ b/docs/en/cowboy/2.2/guide/ws_handlers/index.html
@@ -293,12 +293,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/guide/ws_protocol/index.html b/docs/en/cowboy/2.2/guide/ws_protocol/index.html
index de62a1f9..c25d5857 100644
--- a/docs/en/cowboy/2.2/guide/ws_protocol/index.html
+++ b/docs/en/cowboy/2.2/guide/ws_protocol/index.html
@@ -144,12 +144,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy.set_env/index.html b/docs/en/cowboy/2.2/manual/cowboy.set_env/index.html
index 5267ef0b..fef172dd 100644
--- a/docs/en/cowboy/2.2/manual/cowboy.set_env/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy.set_env/index.html
@@ -159,12 +159,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy.start_clear/index.html b/docs/en/cowboy/2.2/manual/cowboy.start_clear/index.html
index bf68b4c2..e43e0252 100644
--- a/docs/en/cowboy/2.2/manual/cowboy.start_clear/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy.start_clear/index.html
@@ -177,12 +177,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy.start_tls/index.html b/docs/en/cowboy/2.2/manual/cowboy.start_tls/index.html
index 7796ddf1..55651f36 100644
--- a/docs/en/cowboy/2.2/manual/cowboy.start_tls/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy.start_tls/index.html
@@ -182,12 +182,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy.stop_listener/index.html b/docs/en/cowboy/2.2/manual/cowboy.stop_listener/index.html
index f2bb9851..b90f69c0 100644
--- a/docs/en/cowboy/2.2/manual/cowboy.stop_listener/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy.stop_listener/index.html
@@ -142,12 +142,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy/index.html b/docs/en/cowboy/2.2/manual/cowboy/index.html
index 1b0cef96..7219a94e 100644
--- a/docs/en/cowboy/2.2/manual/cowboy/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy/index.html
@@ -176,12 +176,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_app/index.html b/docs/en/cowboy/2.2/manual/cowboy_app/index.html
index 724e44dd..5ec336af 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_app/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_app/index.html
@@ -177,12 +177,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_constraints.int/index.html b/docs/en/cowboy/2.2/manual/cowboy_constraints.int/index.html
index dba08af9..497d8429 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_constraints.int/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_constraints.int/index.html
@@ -152,12 +152,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_constraints.nonempty/index.html b/docs/en/cowboy/2.2/manual/cowboy_constraints.nonempty/index.html
index 8c96e61a..12f6cd74 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_constraints.nonempty/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_constraints.nonempty/index.html
@@ -151,12 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_constraints/index.html b/docs/en/cowboy/2.2/manual/cowboy_constraints/index.html
index 6d0de827..42560453 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_constraints/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_constraints/index.html
@@ -143,12 +143,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_handler.terminate/index.html b/docs/en/cowboy/2.2/manual/cowboy_handler.terminate/index.html
index 37ee7c6b..9812a52f 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_handler.terminate/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_handler.terminate/index.html
@@ -154,12 +154,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_handler/index.html b/docs/en/cowboy/2.2/manual/cowboy_handler/index.html
index 11245770..27bb8138 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_handler/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_handler/index.html
@@ -146,12 +146,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_http/index.html b/docs/en/cowboy/2.2/manual/cowboy_http/index.html
index 01a9a16b..ba1c14f6 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_http/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_http/index.html
@@ -216,12 +216,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_http2/index.html b/docs/en/cowboy/2.2/manual/cowboy_http2/index.html
index b3dde8a2..eba54658 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_http2/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_http2/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_loop/index.html b/docs/en/cowboy/2.2/manual/cowboy_loop/index.html
index f639960a..a6e53344 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_loop/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_loop/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_middleware/index.html b/docs/en/cowboy/2.2/manual/cowboy_middleware/index.html
index 7d1a4435..7a1efbbb 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_middleware/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_middleware/index.html
@@ -156,12 +156,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.binding/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.binding/index.html
index 81aa08f4..8dd33d62 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.binding/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.binding/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.bindings/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.bindings/index.html
index a7a2af22..8e4bc18f 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.bindings/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.bindings/index.html
@@ -140,12 +140,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.body_length/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.body_length/index.html
index 40c7896b..5d746877 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.body_length/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.body_length/index.html
@@ -141,12 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.cert/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.cert/index.html
index 2cac3bfd..63fa6715 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.cert/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.cert/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.delete_resp_header/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.delete_resp_header/index.html
index 2d16c728..0418ab6d 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.delete_resp_header/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.delete_resp_header/index.html
@@ -145,12 +145,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.has_body/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.has_body/index.html
index a0d3dead..0b85bf68 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.has_body/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.has_body/index.html
@@ -138,12 +138,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.has_resp_body/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.has_resp_body/index.html
index a7a36cd5..3c6a54bd 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.has_resp_body/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.has_resp_body/index.html
@@ -143,12 +143,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.has_resp_header/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.has_resp_header/index.html
index cc1231cf..7ed4c361 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.has_resp_header/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.has_resp_header/index.html
@@ -146,12 +146,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.header/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.header/index.html
index 4bbd056d..9f8ef142 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.header/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.header/index.html
@@ -167,12 +167,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.headers/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.headers/index.html
index 18e00e94..ed8e3d86 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.headers/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.headers/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.host/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.host/index.html
index ff9aa779..ae1d771f 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.host/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.host/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.host_info/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.host_info/index.html
index 39777472..fb08a888 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.host_info/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.host_info/index.html
@@ -141,12 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.inform/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.inform/index.html
index 31c5ba72..fbf35cf5 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.inform/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.inform/index.html
@@ -166,12 +166,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.match_cookies/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.match_cookies/index.html
index b8eebedd..cd236d75 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.match_cookies/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.match_cookies/index.html
@@ -167,12 +167,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.match_qs/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.match_qs/index.html
index 2b50ed8f..36ca010b 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.match_qs/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.match_qs/index.html
@@ -167,12 +167,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.method/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.method/index.html
index 9836d31a..df8f684c 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.method/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.method/index.html
@@ -158,12 +158,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.parse_cookies/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.parse_cookies/index.html
index ab5bd425..07a0c759 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.parse_cookies/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.parse_cookies/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.parse_header/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.parse_header/index.html
index 6fdb623c..c7fc460d 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.parse_header/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.parse_header/index.html
@@ -318,12 +318,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.parse_qs/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.parse_qs/index.html
index 23118081..71fbcbc1 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.parse_qs/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.parse_qs/index.html
@@ -155,12 +155,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.path/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.path/index.html
index e8588e59..2fcce37b 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.path/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.path/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.path_info/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.path_info/index.html
index 103f2a13..0085834c 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.path_info/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.path_info/index.html
@@ -141,12 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.peer/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.peer/index.html
index ddfd0b97..48628c11 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.peer/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.peer/index.html
@@ -151,12 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.port/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.port/index.html
index 547477a2..af3e0fe9 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.port/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.port/index.html
@@ -148,12 +148,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.push/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.push/index.html
index 9303b052..299f87fe 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.push/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.push/index.html
@@ -174,12 +174,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.qs/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.qs/index.html
index d7cf29f0..d55f6240 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.qs/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.qs/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.read_body/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.read_body/index.html
index a2ce689e..158889f3 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.read_body/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.read_body/index.html
@@ -172,12 +172,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.read_part/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.read_part/index.html
index e3d962e6..0efe4805 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.read_part/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.read_part/index.html
@@ -194,12 +194,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.read_part_body/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.read_part_body/index.html
index 8d77944e..5ca64cfb 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.read_part_body/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.read_part_body/index.html
@@ -170,12 +170,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.read_urlencoded_body/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.read_urlencoded_body/index.html
index 7af01c10..4f303224 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.read_urlencoded_body/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.read_urlencoded_body/index.html
@@ -164,12 +164,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.reply/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.reply/index.html
index 166d28ab..0d8c8d0c 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.reply/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.reply/index.html
@@ -187,12 +187,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.resp_header/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.resp_header/index.html
index bb09da59..7c1fda94 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.resp_header/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.resp_header/index.html
@@ -158,12 +158,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.resp_headers/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.resp_headers/index.html
index 7068ca84..ca05e955 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.resp_headers/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.resp_headers/index.html
@@ -138,12 +138,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.scheme/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.scheme/index.html
index 9b2b8606..ac978b22 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.scheme/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.scheme/index.html
@@ -152,12 +152,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_body/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_body/index.html
index a886d954..8b5dbf55 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_body/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_body/index.html
@@ -179,12 +179,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_cookie/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_cookie/index.html
index 8b2362ee..2a7893a8 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_cookie/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_cookie/index.html
@@ -204,12 +204,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_header/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_header/index.html
index a44e031b..6042bd28 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_header/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_header/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_headers/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_headers/index.html
index 7b52233c..d8baed18 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_headers/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_headers/index.html
@@ -151,12 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.sock/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.sock/index.html
index a894ce99..bbcf4ff5 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.sock/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.sock/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.stream_body/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.stream_body/index.html
index 768900ca..00cb1aba 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.stream_body/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.stream_body/index.html
@@ -156,12 +156,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.stream_reply/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.stream_reply/index.html
index 9e7cebab..3e77048c 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.stream_reply/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.stream_reply/index.html
@@ -176,12 +176,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.stream_trailers/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.stream_trailers/index.html
index b77d3e2d..56786291 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.stream_trailers/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.stream_trailers/index.html
@@ -155,12 +155,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.uri/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.uri/index.html
index f15b2dde..923d1c4f 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.uri/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.uri/index.html
@@ -206,12 +206,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.version/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.version/index.html
index 0cd49a20..5321df14 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req.version/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req.version/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_req/index.html b/docs/en/cowboy/2.2/manual/cowboy_req/index.html
index 6756cd0c..d2b5c27a 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_req/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_req/index.html
@@ -318,12 +318,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_rest/index.html b/docs/en/cowboy/2.2/manual/cowboy_rest/index.html
index 8f6f9370..7121bb36 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_rest/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_rest/index.html
@@ -575,12 +575,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_router.compile/index.html b/docs/en/cowboy/2.2/manual/cowboy_router.compile/index.html
index 200baf0b..d62774ea 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_router.compile/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_router.compile/index.html
@@ -148,12 +148,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_router/index.html b/docs/en/cowboy/2.2/manual/cowboy_router/index.html
index 04a7a93d..b556f0d4 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_router/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_router/index.html
@@ -165,12 +165,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_static/index.html b/docs/en/cowboy/2.2/manual/cowboy_static/index.html
index e95bac20..afceae7b 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_static/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_static/index.html
@@ -210,12 +210,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_stream/index.html b/docs/en/cowboy/2.2/manual/cowboy_stream/index.html
index e7716151..9a4ceb62 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_stream/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_stream/index.html
@@ -407,12 +407,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/cowboy_websocket/index.html b/docs/en/cowboy/2.2/manual/cowboy_websocket/index.html
index 91eeec27..7ad9618d 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_websocket/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_websocket/index.html
@@ -244,12 +244,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/http_status_codes/index.html b/docs/en/cowboy/2.2/manual/http_status_codes/index.html
index abfcf4d9..121cc536 100644
--- a/docs/en/cowboy/2.2/manual/http_status_codes/index.html
+++ b/docs/en/cowboy/2.2/manual/http_status_codes/index.html
@@ -192,12 +192,6 @@
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.2/manual/index.html b/docs/en/cowboy/2.2/manual/index.html
index 70f2c9ee..bc7029cf 100644
--- a/docs/en/cowboy/2.2/manual/index.html
+++ b/docs/en/cowboy/2.2/manual/index.html
@@ -177,12 +177,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/constraints/index.html b/docs/en/cowboy/2.3/guide/constraints/index.html
index 88721298..9875cf83 100644
--- a/docs/en/cowboy/2.3/guide/constraints/index.html
+++ b/docs/en/cowboy/2.3/guide/constraints/index.html
@@ -208,12 +208,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/cookies/index.html b/docs/en/cowboy/2.3/guide/cookies/index.html
index 6de70971..6745bd4d 100644
--- a/docs/en/cowboy/2.3/guide/cookies/index.html
+++ b/docs/en/cowboy/2.3/guide/cookies/index.html
@@ -225,12 +225,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/erlang_web/index.html b/docs/en/cowboy/2.3/guide/erlang_web/index.html
index 2c439e87..38528d87 100644
--- a/docs/en/cowboy/2.3/guide/erlang_web/index.html
+++ b/docs/en/cowboy/2.3/guide/erlang_web/index.html
@@ -174,12 +174,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/flow_diagram/index.html b/docs/en/cowboy/2.3/guide/flow_diagram/index.html
index 27f439bd..0fe21290 100644
--- a/docs/en/cowboy/2.3/guide/flow_diagram/index.html
+++ b/docs/en/cowboy/2.3/guide/flow_diagram/index.html
@@ -152,12 +152,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/getting_started/index.html b/docs/en/cowboy/2.3/guide/getting_started/index.html
index 21e7f88f..7e20940a 100644
--- a/docs/en/cowboy/2.3/guide/getting_started/index.html
+++ b/docs/en/cowboy/2.3/guide/getting_started/index.html
@@ -226,12 +226,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/handlers/index.html b/docs/en/cowboy/2.3/guide/handlers/index.html
index 8466afe8..cc7020fb 100644
--- a/docs/en/cowboy/2.3/guide/handlers/index.html
+++ b/docs/en/cowboy/2.3/guide/handlers/index.html
@@ -179,12 +179,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/index.html b/docs/en/cowboy/2.3/guide/index.html
index 9e9a6f32..e86afbc0 100644
--- a/docs/en/cowboy/2.3/guide/index.html
+++ b/docs/en/cowboy/2.3/guide/index.html
@@ -185,12 +185,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/introduction/index.html b/docs/en/cowboy/2.3/guide/introduction/index.html
index 650b7bda..a42826f6 100644
--- a/docs/en/cowboy/2.3/guide/introduction/index.html
+++ b/docs/en/cowboy/2.3/guide/introduction/index.html
@@ -162,12 +162,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</pre></div></div>
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/listeners/index.html b/docs/en/cowboy/2.3/guide/listeners/index.html
index 163075fe..7cf0a1b9 100644
--- a/docs/en/cowboy/2.3/guide/listeners/index.html
+++ b/docs/en/cowboy/2.3/guide/listeners/index.html
@@ -183,12 +183,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/loop_handlers/index.html b/docs/en/cowboy/2.3/guide/loop_handlers/index.html
index 07ebbf13..9a420686 100644
--- a/docs/en/cowboy/2.3/guide/loop_handlers/index.html
+++ b/docs/en/cowboy/2.3/guide/loop_handlers/index.html
@@ -194,12 +194,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/middlewares/index.html b/docs/en/cowboy/2.3/guide/middlewares/index.html
index f70c052c..a20c1ca7 100644
--- a/docs/en/cowboy/2.3/guide/middlewares/index.html
+++ b/docs/en/cowboy/2.3/guide/middlewares/index.html
@@ -160,12 +160,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/migrating_from_1.0/index.html b/docs/en/cowboy/2.3/guide/migrating_from_1.0/index.html
index fff6d46b..94655ceb 100644
--- a/docs/en/cowboy/2.3/guide/migrating_from_1.0/index.html
+++ b/docs/en/cowboy/2.3/guide/migrating_from_1.0/index.html
@@ -242,12 +242,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/migrating_from_2.0/index.html b/docs/en/cowboy/2.3/guide/migrating_from_2.0/index.html
index 69a3a29d..44993a5a 100644
--- a/docs/en/cowboy/2.3/guide/migrating_from_2.0/index.html
+++ b/docs/en/cowboy/2.3/guide/migrating_from_2.0/index.html
@@ -177,12 +177,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/migrating_from_2.1/index.html b/docs/en/cowboy/2.3/guide/migrating_from_2.1/index.html
index 5fd13268..c4e04af7 100644
--- a/docs/en/cowboy/2.3/guide/migrating_from_2.1/index.html
+++ b/docs/en/cowboy/2.3/guide/migrating_from_2.1/index.html
@@ -188,12 +188,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/migrating_from_2.2/index.html b/docs/en/cowboy/2.3/guide/migrating_from_2.2/index.html
index e16392af..ae9f458c 100644
--- a/docs/en/cowboy/2.3/guide/migrating_from_2.2/index.html
+++ b/docs/en/cowboy/2.3/guide/migrating_from_2.2/index.html
@@ -160,12 +160,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/modern_web/index.html b/docs/en/cowboy/2.3/guide/modern_web/index.html
index 7e701f09..040f39c1 100644
--- a/docs/en/cowboy/2.3/guide/modern_web/index.html
+++ b/docs/en/cowboy/2.3/guide/modern_web/index.html
@@ -156,12 +156,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/multipart/index.html b/docs/en/cowboy/2.3/guide/multipart/index.html
index 85ce3c94..e7a8168a 100644
--- a/docs/en/cowboy/2.3/guide/multipart/index.html
+++ b/docs/en/cowboy/2.3/guide/multipart/index.html
@@ -229,12 +229,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/req/index.html b/docs/en/cowboy/2.3/guide/req/index.html
index 823fc556..62aca444 100644
--- a/docs/en/cowboy/2.3/guide/req/index.html
+++ b/docs/en/cowboy/2.3/guide/req/index.html
@@ -405,12 +405,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/req_body/index.html b/docs/en/cowboy/2.3/guide/req_body/index.html
index 94e52408..34b658fc 100644
--- a/docs/en/cowboy/2.3/guide/req_body/index.html
+++ b/docs/en/cowboy/2.3/guide/req_body/index.html
@@ -215,12 +215,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/resource_design/index.html b/docs/en/cowboy/2.3/guide/resource_design/index.html
index 0d5aff93..aeb1358d 100644
--- a/docs/en/cowboy/2.3/guide/resource_design/index.html
+++ b/docs/en/cowboy/2.3/guide/resource_design/index.html
@@ -188,12 +188,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/resp/index.html b/docs/en/cowboy/2.3/guide/resp/index.html
index 286ae67e..254a3af7 100644
--- a/docs/en/cowboy/2.3/guide/resp/index.html
+++ b/docs/en/cowboy/2.3/guide/resp/index.html
@@ -371,12 +371,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/rest_flowcharts/index.html b/docs/en/cowboy/2.3/guide/rest_flowcharts/index.html
index 4fa0194f..bcc57093 100644
--- a/docs/en/cowboy/2.3/guide/rest_flowcharts/index.html
+++ b/docs/en/cowboy/2.3/guide/rest_flowcharts/index.html
@@ -186,12 +186,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/rest_handlers/index.html b/docs/en/cowboy/2.3/guide/rest_handlers/index.html
index 59a71c1a..3b001817 100644
--- a/docs/en/cowboy/2.3/guide/rest_handlers/index.html
+++ b/docs/en/cowboy/2.3/guide/rest_handlers/index.html
@@ -284,12 +284,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/rest_principles/index.html b/docs/en/cowboy/2.3/guide/rest_principles/index.html
index d744c4de..2384fe9f 100644
--- a/docs/en/cowboy/2.3/guide/rest_principles/index.html
+++ b/docs/en/cowboy/2.3/guide/rest_principles/index.html
@@ -160,12 +160,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/routing/index.html b/docs/en/cowboy/2.3/guide/routing/index.html
index ab3c1732..da33045f 100644
--- a/docs/en/cowboy/2.3/guide/routing/index.html
+++ b/docs/en/cowboy/2.3/guide/routing/index.html
@@ -303,12 +303,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/specs/index.html b/docs/en/cowboy/2.3/guide/specs/index.html
index 34c287ac..bd480eca 100644
--- a/docs/en/cowboy/2.3/guide/specs/index.html
+++ b/docs/en/cowboy/2.3/guide/specs/index.html
@@ -463,12 +463,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/static_files/index.html b/docs/en/cowboy/2.3/guide/static_files/index.html
index 17d1473e..bc362082 100644
--- a/docs/en/cowboy/2.3/guide/static_files/index.html
+++ b/docs/en/cowboy/2.3/guide/static_files/index.html
@@ -223,12 +223,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/streams/index.html b/docs/en/cowboy/2.3/guide/streams/index.html
index b3131d23..67bbc509 100644
--- a/docs/en/cowboy/2.3/guide/streams/index.html
+++ b/docs/en/cowboy/2.3/guide/streams/index.html
@@ -145,12 +145,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/ws_handlers/index.html b/docs/en/cowboy/2.3/guide/ws_handlers/index.html
index 311dfcb7..73569a70 100644
--- a/docs/en/cowboy/2.3/guide/ws_handlers/index.html
+++ b/docs/en/cowboy/2.3/guide/ws_handlers/index.html
@@ -312,12 +312,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/guide/ws_protocol/index.html b/docs/en/cowboy/2.3/guide/ws_protocol/index.html
index 78da03a6..1536220f 100644
--- a/docs/en/cowboy/2.3/guide/ws_protocol/index.html
+++ b/docs/en/cowboy/2.3/guide/ws_protocol/index.html
@@ -144,12 +144,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy.set_env/index.html b/docs/en/cowboy/2.3/manual/cowboy.set_env/index.html
index 762995c7..2b6d99ce 100644
--- a/docs/en/cowboy/2.3/manual/cowboy.set_env/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy.set_env/index.html
@@ -159,12 +159,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy.start_clear/index.html b/docs/en/cowboy/2.3/manual/cowboy.start_clear/index.html
index 2fec044c..5d066c19 100644
--- a/docs/en/cowboy/2.3/manual/cowboy.start_clear/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy.start_clear/index.html
@@ -177,12 +177,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy.start_tls/index.html b/docs/en/cowboy/2.3/manual/cowboy.start_tls/index.html
index a3228ec4..128222d6 100644
--- a/docs/en/cowboy/2.3/manual/cowboy.start_tls/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy.start_tls/index.html
@@ -182,12 +182,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy.stop_listener/index.html b/docs/en/cowboy/2.3/manual/cowboy.stop_listener/index.html
index 73582e5f..cd7d97c2 100644
--- a/docs/en/cowboy/2.3/manual/cowboy.stop_listener/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy.stop_listener/index.html
@@ -142,12 +142,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy/index.html b/docs/en/cowboy/2.3/manual/cowboy/index.html
index 1090dc88..d332acca 100644
--- a/docs/en/cowboy/2.3/manual/cowboy/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy/index.html
@@ -176,12 +176,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_app/index.html b/docs/en/cowboy/2.3/manual/cowboy_app/index.html
index a4984f80..108cd1b1 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_app/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_app/index.html
@@ -177,12 +177,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_constraints.int/index.html b/docs/en/cowboy/2.3/manual/cowboy_constraints.int/index.html
index 014006e4..66e1d00b 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_constraints.int/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_constraints.int/index.html
@@ -152,12 +152,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_constraints.nonempty/index.html b/docs/en/cowboy/2.3/manual/cowboy_constraints.nonempty/index.html
index d2867030..ff0f7c10 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_constraints.nonempty/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_constraints.nonempty/index.html
@@ -151,12 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_constraints/index.html b/docs/en/cowboy/2.3/manual/cowboy_constraints/index.html
index 8958f245..b5812385 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_constraints/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_constraints/index.html
@@ -143,12 +143,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_handler.terminate/index.html b/docs/en/cowboy/2.3/manual/cowboy_handler.terminate/index.html
index 57e78352..8cbd9e5f 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_handler.terminate/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_handler.terminate/index.html
@@ -154,12 +154,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_handler/index.html b/docs/en/cowboy/2.3/manual/cowboy_handler/index.html
index 34faab25..62a0f741 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_handler/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_handler/index.html
@@ -146,12 +146,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_http/index.html b/docs/en/cowboy/2.3/manual/cowboy_http/index.html
index e62d023f..50c61cb3 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_http/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_http/index.html
@@ -216,12 +216,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_http2/index.html b/docs/en/cowboy/2.3/manual/cowboy_http2/index.html
index a647176d..477eea06 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_http2/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_http2/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_loop/index.html b/docs/en/cowboy/2.3/manual/cowboy_loop/index.html
index 2f7a1067..219487bb 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_loop/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_loop/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_middleware/index.html b/docs/en/cowboy/2.3/manual/cowboy_middleware/index.html
index 117f3ba2..d588e535 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_middleware/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_middleware/index.html
@@ -156,12 +156,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.binding/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.binding/index.html
index 81b2936c..32a6ffa3 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.binding/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.binding/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.bindings/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.bindings/index.html
index 297aa57f..cb101fb3 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.bindings/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.bindings/index.html
@@ -140,12 +140,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.body_length/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.body_length/index.html
index 1fe18461..8308401b 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.body_length/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.body_length/index.html
@@ -141,12 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.cert/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.cert/index.html
index 3568dd6b..d80c9e8d 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.cert/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.cert/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.delete_resp_header/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.delete_resp_header/index.html
index 61e85350..da10d5aa 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.delete_resp_header/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.delete_resp_header/index.html
@@ -145,12 +145,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.has_body/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.has_body/index.html
index 5fddc8f9..b9c17eea 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.has_body/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.has_body/index.html
@@ -138,12 +138,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.has_resp_body/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.has_resp_body/index.html
index 586b94e6..51a49944 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.has_resp_body/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.has_resp_body/index.html
@@ -143,12 +143,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.has_resp_header/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.has_resp_header/index.html
index 5afe9676..faa07aac 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.has_resp_header/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.has_resp_header/index.html
@@ -146,12 +146,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.header/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.header/index.html
index fa2c1835..f0469704 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.header/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.header/index.html
@@ -167,12 +167,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.headers/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.headers/index.html
index c2076817..c4da3f04 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.headers/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.headers/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.host/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.host/index.html
index 14604a9f..ac28d75f 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.host/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.host/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.host_info/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.host_info/index.html
index 92b8b0f3..484051e3 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.host_info/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.host_info/index.html
@@ -141,12 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.inform/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.inform/index.html
index a22e8677..c6210133 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.inform/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.inform/index.html
@@ -166,12 +166,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.match_cookies/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.match_cookies/index.html
index 5269887c..1efdf31d 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.match_cookies/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.match_cookies/index.html
@@ -167,12 +167,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.match_qs/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.match_qs/index.html
index e686379b..2113949f 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.match_qs/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.match_qs/index.html
@@ -167,12 +167,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.method/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.method/index.html
index d108a75c..dbf1763f 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.method/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.method/index.html
@@ -158,12 +158,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.parse_cookies/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.parse_cookies/index.html
index f1563495..58bbdb77 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.parse_cookies/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.parse_cookies/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.parse_header/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.parse_header/index.html
index 876ff95d..04730d2f 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.parse_header/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.parse_header/index.html
@@ -318,12 +318,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.parse_qs/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.parse_qs/index.html
index 1070d6ce..47a07d1f 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.parse_qs/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.parse_qs/index.html
@@ -155,12 +155,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.path/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.path/index.html
index ebc51419..42a736fe 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.path/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.path/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.path_info/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.path_info/index.html
index 73000e94..259d186e 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.path_info/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.path_info/index.html
@@ -141,12 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.peer/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.peer/index.html
index 4fcd975d..2eee1288 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.peer/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.peer/index.html
@@ -151,12 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.port/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.port/index.html
index f2684548..7b8bfa57 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.port/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.port/index.html
@@ -148,12 +148,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.push/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.push/index.html
index 59d33c64..07f4487c 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.push/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.push/index.html
@@ -174,12 +174,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.qs/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.qs/index.html
index f22b1f99..58ef0296 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.qs/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.qs/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.read_body/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.read_body/index.html
index cbab7ced..9455141e 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.read_body/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.read_body/index.html
@@ -172,12 +172,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.read_part/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.read_part/index.html
index e6de5b74..c99ee4d4 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.read_part/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.read_part/index.html
@@ -194,12 +194,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.read_part_body/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.read_part_body/index.html
index 66355242..0021f5f7 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.read_part_body/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.read_part_body/index.html
@@ -170,12 +170,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.read_urlencoded_body/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.read_urlencoded_body/index.html
index 09c17efe..3e09f588 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.read_urlencoded_body/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.read_urlencoded_body/index.html
@@ -164,12 +164,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.reply/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.reply/index.html
index d529656a..40a3eaf6 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.reply/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.reply/index.html
@@ -187,12 +187,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.resp_header/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.resp_header/index.html
index 3fa1450f..00236751 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.resp_header/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.resp_header/index.html
@@ -158,12 +158,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.resp_headers/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.resp_headers/index.html
index 03d20d35..88b1859c 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.resp_headers/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.resp_headers/index.html
@@ -138,12 +138,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.scheme/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.scheme/index.html
index 05ef270d..5ad3e439 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.scheme/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.scheme/index.html
@@ -152,12 +152,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.set_resp_body/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.set_resp_body/index.html
index 51de973f..e3e1e473 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.set_resp_body/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.set_resp_body/index.html
@@ -179,12 +179,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.set_resp_cookie/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.set_resp_cookie/index.html
index 7432a9b4..993e1620 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.set_resp_cookie/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.set_resp_cookie/index.html
@@ -204,12 +204,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.set_resp_header/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.set_resp_header/index.html
index 8de382e7..64c894e7 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.set_resp_header/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.set_resp_header/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.set_resp_headers/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.set_resp_headers/index.html
index cf899416..34e5a5d9 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.set_resp_headers/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.set_resp_headers/index.html
@@ -151,12 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.sock/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.sock/index.html
index 0f316e31..25d7dabc 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.sock/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.sock/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.stream_body/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.stream_body/index.html
index d7685283..b40ed91f 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.stream_body/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.stream_body/index.html
@@ -156,12 +156,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.stream_reply/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.stream_reply/index.html
index 6e77e0fa..04b938ad 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.stream_reply/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.stream_reply/index.html
@@ -176,12 +176,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.stream_trailers/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.stream_trailers/index.html
index c8c878ab..a44706eb 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.stream_trailers/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.stream_trailers/index.html
@@ -155,12 +155,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.uri/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.uri/index.html
index b9411e47..1e649126 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.uri/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.uri/index.html
@@ -206,12 +206,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req.version/index.html b/docs/en/cowboy/2.3/manual/cowboy_req.version/index.html
index 8524f956..4394b6f8 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req.version/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req.version/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_req/index.html b/docs/en/cowboy/2.3/manual/cowboy_req/index.html
index 3d745c4c..f5363314 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_req/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_req/index.html
@@ -318,12 +318,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_rest/index.html b/docs/en/cowboy/2.3/manual/cowboy_rest/index.html
index fea98799..43342fcd 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_rest/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_rest/index.html
@@ -575,12 +575,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_router.compile/index.html b/docs/en/cowboy/2.3/manual/cowboy_router.compile/index.html
index 6653c5ef..e8665437 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_router.compile/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_router.compile/index.html
@@ -148,12 +148,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_router/index.html b/docs/en/cowboy/2.3/manual/cowboy_router/index.html
index e475aaac..2d05079c 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_router/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_router/index.html
@@ -165,12 +165,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_static/index.html b/docs/en/cowboy/2.3/manual/cowboy_static/index.html
index dbdb4e10..9800fb50 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_static/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_static/index.html
@@ -210,12 +210,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_stream/index.html b/docs/en/cowboy/2.3/manual/cowboy_stream/index.html
index ad556639..b08cede2 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_stream/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_stream/index.html
@@ -407,12 +407,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/cowboy_websocket/index.html b/docs/en/cowboy/2.3/manual/cowboy_websocket/index.html
index c275ea8b..604af4a8 100644
--- a/docs/en/cowboy/2.3/manual/cowboy_websocket/index.html
+++ b/docs/en/cowboy/2.3/manual/cowboy_websocket/index.html
@@ -248,12 +248,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/http_status_codes/index.html b/docs/en/cowboy/2.3/manual/http_status_codes/index.html
index c87087b2..baeb5d84 100644
--- a/docs/en/cowboy/2.3/manual/http_status_codes/index.html
+++ b/docs/en/cowboy/2.3/manual/http_status_codes/index.html
@@ -192,12 +192,6 @@
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.3/manual/index.html b/docs/en/cowboy/2.3/manual/index.html
index 42991793..01b34eae 100644
--- a/docs/en/cowboy/2.3/manual/index.html
+++ b/docs/en/cowboy/2.3/manual/index.html
@@ -177,12 +177,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/constraints/index.html b/docs/en/cowboy/2.4/guide/constraints/index.html
index 6a1bcac4..e565979e 100644
--- a/docs/en/cowboy/2.4/guide/constraints/index.html
+++ b/docs/en/cowboy/2.4/guide/constraints/index.html
@@ -208,12 +208,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/cookies/index.html b/docs/en/cowboy/2.4/guide/cookies/index.html
index 01951fdc..ed9643f8 100644
--- a/docs/en/cowboy/2.4/guide/cookies/index.html
+++ b/docs/en/cowboy/2.4/guide/cookies/index.html
@@ -225,12 +225,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/erlang_web/index.html b/docs/en/cowboy/2.4/guide/erlang_web/index.html
index 49a08638..5d8e6467 100644
--- a/docs/en/cowboy/2.4/guide/erlang_web/index.html
+++ b/docs/en/cowboy/2.4/guide/erlang_web/index.html
@@ -174,12 +174,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/flow_diagram/index.html b/docs/en/cowboy/2.4/guide/flow_diagram/index.html
index 86a7cba3..50e4bf38 100644
--- a/docs/en/cowboy/2.4/guide/flow_diagram/index.html
+++ b/docs/en/cowboy/2.4/guide/flow_diagram/index.html
@@ -152,12 +152,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/getting_started/index.html b/docs/en/cowboy/2.4/guide/getting_started/index.html
index 79cbb662..be3c3e15 100644
--- a/docs/en/cowboy/2.4/guide/getting_started/index.html
+++ b/docs/en/cowboy/2.4/guide/getting_started/index.html
@@ -226,12 +226,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/handlers/index.html b/docs/en/cowboy/2.4/guide/handlers/index.html
index 7fcfa0d4..4465f246 100644
--- a/docs/en/cowboy/2.4/guide/handlers/index.html
+++ b/docs/en/cowboy/2.4/guide/handlers/index.html
@@ -179,12 +179,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/index.html b/docs/en/cowboy/2.4/guide/index.html
index 7d2de22c..714b9931 100644
--- a/docs/en/cowboy/2.4/guide/index.html
+++ b/docs/en/cowboy/2.4/guide/index.html
@@ -187,12 +187,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/introduction/index.html b/docs/en/cowboy/2.4/guide/introduction/index.html
index b2c9e60f..242e68d8 100644
--- a/docs/en/cowboy/2.4/guide/introduction/index.html
+++ b/docs/en/cowboy/2.4/guide/introduction/index.html
@@ -162,12 +162,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</pre></div></div>
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/listeners/index.html b/docs/en/cowboy/2.4/guide/listeners/index.html
index efafdcc3..a7656e19 100644
--- a/docs/en/cowboy/2.4/guide/listeners/index.html
+++ b/docs/en/cowboy/2.4/guide/listeners/index.html
@@ -183,12 +183,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/loop_handlers/index.html b/docs/en/cowboy/2.4/guide/loop_handlers/index.html
index afe6a042..56575562 100644
--- a/docs/en/cowboy/2.4/guide/loop_handlers/index.html
+++ b/docs/en/cowboy/2.4/guide/loop_handlers/index.html
@@ -194,12 +194,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/middlewares/index.html b/docs/en/cowboy/2.4/guide/middlewares/index.html
index c942f8a5..e575d6f5 100644
--- a/docs/en/cowboy/2.4/guide/middlewares/index.html
+++ b/docs/en/cowboy/2.4/guide/middlewares/index.html
@@ -160,12 +160,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/migrating_from_1.0/index.html b/docs/en/cowboy/2.4/guide/migrating_from_1.0/index.html
index 855e11aa..9bdf573a 100644
--- a/docs/en/cowboy/2.4/guide/migrating_from_1.0/index.html
+++ b/docs/en/cowboy/2.4/guide/migrating_from_1.0/index.html
@@ -242,12 +242,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/migrating_from_2.0/index.html b/docs/en/cowboy/2.4/guide/migrating_from_2.0/index.html
index ea5a8380..b737cad8 100644
--- a/docs/en/cowboy/2.4/guide/migrating_from_2.0/index.html
+++ b/docs/en/cowboy/2.4/guide/migrating_from_2.0/index.html
@@ -177,12 +177,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/migrating_from_2.1/index.html b/docs/en/cowboy/2.4/guide/migrating_from_2.1/index.html
index 575d7a9f..7b775c59 100644
--- a/docs/en/cowboy/2.4/guide/migrating_from_2.1/index.html
+++ b/docs/en/cowboy/2.4/guide/migrating_from_2.1/index.html
@@ -188,12 +188,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/migrating_from_2.2/index.html b/docs/en/cowboy/2.4/guide/migrating_from_2.2/index.html
index a5b0a93e..2f14f3a1 100644
--- a/docs/en/cowboy/2.4/guide/migrating_from_2.2/index.html
+++ b/docs/en/cowboy/2.4/guide/migrating_from_2.2/index.html
@@ -160,12 +160,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/migrating_from_2.3/index.html b/docs/en/cowboy/2.4/guide/migrating_from_2.3/index.html
index 56b28c66..b2945063 100644
--- a/docs/en/cowboy/2.4/guide/migrating_from_2.3/index.html
+++ b/docs/en/cowboy/2.4/guide/migrating_from_2.3/index.html
@@ -162,12 +162,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/modern_web/index.html b/docs/en/cowboy/2.4/guide/modern_web/index.html
index 5d68e4b3..676d14ca 100644
--- a/docs/en/cowboy/2.4/guide/modern_web/index.html
+++ b/docs/en/cowboy/2.4/guide/modern_web/index.html
@@ -156,12 +156,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/multipart/index.html b/docs/en/cowboy/2.4/guide/multipart/index.html
index b8fe12a8..4dd5570b 100644
--- a/docs/en/cowboy/2.4/guide/multipart/index.html
+++ b/docs/en/cowboy/2.4/guide/multipart/index.html
@@ -229,12 +229,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/req/index.html b/docs/en/cowboy/2.4/guide/req/index.html
index b747ee96..2a46d0ef 100644
--- a/docs/en/cowboy/2.4/guide/req/index.html
+++ b/docs/en/cowboy/2.4/guide/req/index.html
@@ -404,12 +404,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/req_body/index.html b/docs/en/cowboy/2.4/guide/req_body/index.html
index 4eb74802..1d3a444b 100644
--- a/docs/en/cowboy/2.4/guide/req_body/index.html
+++ b/docs/en/cowboy/2.4/guide/req_body/index.html
@@ -215,12 +215,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/resource_design/index.html b/docs/en/cowboy/2.4/guide/resource_design/index.html
index a820f0a2..74851f59 100644
--- a/docs/en/cowboy/2.4/guide/resource_design/index.html
+++ b/docs/en/cowboy/2.4/guide/resource_design/index.html
@@ -188,12 +188,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/resp/index.html b/docs/en/cowboy/2.4/guide/resp/index.html
index ae9e9c7e..1f0dad09 100644
--- a/docs/en/cowboy/2.4/guide/resp/index.html
+++ b/docs/en/cowboy/2.4/guide/resp/index.html
@@ -371,12 +371,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/rest_flowcharts/index.html b/docs/en/cowboy/2.4/guide/rest_flowcharts/index.html
index 90a87397..1cc96c9b 100644
--- a/docs/en/cowboy/2.4/guide/rest_flowcharts/index.html
+++ b/docs/en/cowboy/2.4/guide/rest_flowcharts/index.html
@@ -186,12 +186,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/rest_handlers/index.html b/docs/en/cowboy/2.4/guide/rest_handlers/index.html
index 124b554d..3b6f2885 100644
--- a/docs/en/cowboy/2.4/guide/rest_handlers/index.html
+++ b/docs/en/cowboy/2.4/guide/rest_handlers/index.html
@@ -284,12 +284,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/rest_principles/index.html b/docs/en/cowboy/2.4/guide/rest_principles/index.html
index 31a7c8b5..c986232b 100644
--- a/docs/en/cowboy/2.4/guide/rest_principles/index.html
+++ b/docs/en/cowboy/2.4/guide/rest_principles/index.html
@@ -160,12 +160,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/routing/index.html b/docs/en/cowboy/2.4/guide/routing/index.html
index 4d9a8c29..3866c3a8 100644
--- a/docs/en/cowboy/2.4/guide/routing/index.html
+++ b/docs/en/cowboy/2.4/guide/routing/index.html
@@ -303,12 +303,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/specs/index.html b/docs/en/cowboy/2.4/guide/specs/index.html
index f38f5922..28badde7 100644
--- a/docs/en/cowboy/2.4/guide/specs/index.html
+++ b/docs/en/cowboy/2.4/guide/specs/index.html
@@ -463,12 +463,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/static_files/index.html b/docs/en/cowboy/2.4/guide/static_files/index.html
index 9d421818..a74f0956 100644
--- a/docs/en/cowboy/2.4/guide/static_files/index.html
+++ b/docs/en/cowboy/2.4/guide/static_files/index.html
@@ -223,12 +223,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/streams/index.html b/docs/en/cowboy/2.4/guide/streams/index.html
index d482e887..712c0fa5 100644
--- a/docs/en/cowboy/2.4/guide/streams/index.html
+++ b/docs/en/cowboy/2.4/guide/streams/index.html
@@ -145,12 +145,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/ws_handlers/index.html b/docs/en/cowboy/2.4/guide/ws_handlers/index.html
index 3732b280..d918c1fc 100644
--- a/docs/en/cowboy/2.4/guide/ws_handlers/index.html
+++ b/docs/en/cowboy/2.4/guide/ws_handlers/index.html
@@ -312,12 +312,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/guide/ws_protocol/index.html b/docs/en/cowboy/2.4/guide/ws_protocol/index.html
index d090d401..b96d74d7 100644
--- a/docs/en/cowboy/2.4/guide/ws_protocol/index.html
+++ b/docs/en/cowboy/2.4/guide/ws_protocol/index.html
@@ -144,12 +144,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy.set_env/index.html b/docs/en/cowboy/2.4/manual/cowboy.set_env/index.html
index 46dcac71..e42b482b 100644
--- a/docs/en/cowboy/2.4/manual/cowboy.set_env/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy.set_env/index.html
@@ -159,12 +159,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy.start_clear/index.html b/docs/en/cowboy/2.4/manual/cowboy.start_clear/index.html
index fdb7fbbb..d83003e8 100644
--- a/docs/en/cowboy/2.4/manual/cowboy.start_clear/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy.start_clear/index.html
@@ -177,12 +177,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy.start_tls/index.html b/docs/en/cowboy/2.4/manual/cowboy.start_tls/index.html
index 216a4be8..90ec8e2f 100644
--- a/docs/en/cowboy/2.4/manual/cowboy.start_tls/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy.start_tls/index.html
@@ -182,12 +182,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy.stop_listener/index.html b/docs/en/cowboy/2.4/manual/cowboy.stop_listener/index.html
index 8d9b6ca0..b4c5dcd7 100644
--- a/docs/en/cowboy/2.4/manual/cowboy.stop_listener/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy.stop_listener/index.html
@@ -142,12 +142,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy/index.html b/docs/en/cowboy/2.4/manual/cowboy/index.html
index 7c18dcef..93b9bfe5 100644
--- a/docs/en/cowboy/2.4/manual/cowboy/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy/index.html
@@ -176,12 +176,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_app/index.html b/docs/en/cowboy/2.4/manual/cowboy_app/index.html
index 6975d4c9..4c5613a4 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_app/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_app/index.html
@@ -177,12 +177,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_constraints.int/index.html b/docs/en/cowboy/2.4/manual/cowboy_constraints.int/index.html
index 55dbd9dc..e9517c26 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_constraints.int/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_constraints.int/index.html
@@ -152,12 +152,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_constraints.nonempty/index.html b/docs/en/cowboy/2.4/manual/cowboy_constraints.nonempty/index.html
index eba5959c..aaeb9f28 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_constraints.nonempty/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_constraints.nonempty/index.html
@@ -151,12 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_constraints/index.html b/docs/en/cowboy/2.4/manual/cowboy_constraints/index.html
index 5d5a5c21..4a8fdc06 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_constraints/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_constraints/index.html
@@ -143,12 +143,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_handler.terminate/index.html b/docs/en/cowboy/2.4/manual/cowboy_handler.terminate/index.html
index a4b8ef23..e393ea67 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_handler.terminate/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_handler.terminate/index.html
@@ -154,12 +154,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_handler/index.html b/docs/en/cowboy/2.4/manual/cowboy_handler/index.html
index e7d9411f..f4d7d34e 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_handler/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_handler/index.html
@@ -146,12 +146,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_http/index.html b/docs/en/cowboy/2.4/manual/cowboy_http/index.html
index 699965b9..bb0cf118 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_http/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_http/index.html
@@ -216,12 +216,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_http2/index.html b/docs/en/cowboy/2.4/manual/cowboy_http2/index.html
index 6df0d79b..6f36f794 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_http2/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_http2/index.html
@@ -202,12 +202,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_loop/index.html b/docs/en/cowboy/2.4/manual/cowboy_loop/index.html
index 473c8f4b..0279a8b0 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_loop/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_loop/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_middleware/index.html b/docs/en/cowboy/2.4/manual/cowboy_middleware/index.html
index 57694451..b70d5358 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_middleware/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_middleware/index.html
@@ -156,12 +156,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.binding/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.binding/index.html
index b4acb456..f2454011 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.binding/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.binding/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.bindings/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.bindings/index.html
index aa9defaf..1b8f4cbc 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.bindings/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.bindings/index.html
@@ -140,12 +140,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.body_length/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.body_length/index.html
index c498300c..0d4496bf 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.body_length/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.body_length/index.html
@@ -141,12 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.cert/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.cert/index.html
index f6de5c92..00a812b5 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.cert/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.cert/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.delete_resp_header/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.delete_resp_header/index.html
index c30a75a4..e71ab96f 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.delete_resp_header/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.delete_resp_header/index.html
@@ -145,12 +145,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.has_body/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.has_body/index.html
index bacc29e6..348c2d03 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.has_body/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.has_body/index.html
@@ -138,12 +138,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.has_resp_body/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.has_resp_body/index.html
index a98f67ba..1d0591e6 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.has_resp_body/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.has_resp_body/index.html
@@ -143,12 +143,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.has_resp_header/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.has_resp_header/index.html
index c82d7ccf..c2014f7a 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.has_resp_header/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.has_resp_header/index.html
@@ -146,12 +146,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.header/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.header/index.html
index 36fd1546..93bbb41a 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.header/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.header/index.html
@@ -167,12 +167,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.headers/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.headers/index.html
index 034074de..03f96fa1 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.headers/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.headers/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.host/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.host/index.html
index cad4e962..e3a5e7ad 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.host/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.host/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.host_info/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.host_info/index.html
index c48c9c6e..a51307cb 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.host_info/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.host_info/index.html
@@ -141,12 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.inform/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.inform/index.html
index 9cdff810..916fddb9 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.inform/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.inform/index.html
@@ -166,12 +166,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.match_cookies/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.match_cookies/index.html
index b6c15ba2..43fd2fdf 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.match_cookies/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.match_cookies/index.html
@@ -167,12 +167,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.match_qs/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.match_qs/index.html
index ae07a1d2..8f9258e3 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.match_qs/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.match_qs/index.html
@@ -167,12 +167,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.method/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.method/index.html
index 94f80f9d..80f30a68 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.method/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.method/index.html
@@ -158,12 +158,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.parse_cookies/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.parse_cookies/index.html
index c9e41d35..d999fedd 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.parse_cookies/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.parse_cookies/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.parse_header/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.parse_header/index.html
index b2a14d56..2eec152b 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.parse_header/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.parse_header/index.html
@@ -318,12 +318,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.parse_qs/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.parse_qs/index.html
index 0717b943..654b70c8 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.parse_qs/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.parse_qs/index.html
@@ -155,12 +155,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.path/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.path/index.html
index 37dd242e..407c9906 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.path/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.path/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.path_info/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.path_info/index.html
index afb0c6db..a87cac29 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.path_info/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.path_info/index.html
@@ -141,12 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.peer/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.peer/index.html
index 2a305479..9dc6ac83 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.peer/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.peer/index.html
@@ -151,12 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.port/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.port/index.html
index 5442d3df..706cb910 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.port/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.port/index.html
@@ -148,12 +148,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.push/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.push/index.html
index aca8f052..c732659a 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.push/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.push/index.html
@@ -174,12 +174,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.qs/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.qs/index.html
index 97236d20..80400233 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.qs/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.qs/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.read_body/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.read_body/index.html
index 05586c3b..60f4cfc7 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.read_body/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.read_body/index.html
@@ -172,12 +172,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.read_part/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.read_part/index.html
index 91f7f0ba..c99d9697 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.read_part/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.read_part/index.html
@@ -194,12 +194,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.read_part_body/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.read_part_body/index.html
index 191a0f11..7983b988 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.read_part_body/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.read_part_body/index.html
@@ -170,12 +170,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.read_urlencoded_body/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.read_urlencoded_body/index.html
index 8c71bb4e..8b78ebb9 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.read_urlencoded_body/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.read_urlencoded_body/index.html
@@ -164,12 +164,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.reply/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.reply/index.html
index f423242d..7429b29d 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.reply/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.reply/index.html
@@ -187,12 +187,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.resp_header/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.resp_header/index.html
index 1c9eb8b4..38babd6d 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.resp_header/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.resp_header/index.html
@@ -158,12 +158,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.resp_headers/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.resp_headers/index.html
index 81d88164..b420df44 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.resp_headers/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.resp_headers/index.html
@@ -138,12 +138,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.scheme/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.scheme/index.html
index 4e6f9302..d627c445 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.scheme/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.scheme/index.html
@@ -152,12 +152,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.set_resp_body/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.set_resp_body/index.html
index 75fc4012..81075d75 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.set_resp_body/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.set_resp_body/index.html
@@ -179,12 +179,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.set_resp_cookie/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.set_resp_cookie/index.html
index 880c7fb6..9e96b293 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.set_resp_cookie/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.set_resp_cookie/index.html
@@ -204,12 +204,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.set_resp_header/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.set_resp_header/index.html
index a61c6b44..7cf70142 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.set_resp_header/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.set_resp_header/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.set_resp_headers/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.set_resp_headers/index.html
index 1d54ccd6..c8341a4a 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.set_resp_headers/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.set_resp_headers/index.html
@@ -151,12 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.sock/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.sock/index.html
index 9b6f6a08..8443f449 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.sock/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.sock/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.stream_body/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.stream_body/index.html
index 5b1b5c64..5bec7ed2 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.stream_body/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.stream_body/index.html
@@ -156,12 +156,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.stream_reply/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.stream_reply/index.html
index 20c294db..0fdc0bc9 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.stream_reply/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.stream_reply/index.html
@@ -176,12 +176,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.stream_trailers/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.stream_trailers/index.html
index 6c058a6b..0144f2b6 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.stream_trailers/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.stream_trailers/index.html
@@ -155,12 +155,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.uri/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.uri/index.html
index ad6c0cd3..397d5447 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.uri/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.uri/index.html
@@ -206,12 +206,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req.version/index.html b/docs/en/cowboy/2.4/manual/cowboy_req.version/index.html
index 9e17a237..37ec91dc 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req.version/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req.version/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req/index.html b/docs/en/cowboy/2.4/manual/cowboy_req/index.html
index 36c680e8..a972b5a5 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_req/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_req/index.html
@@ -318,12 +318,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_rest/index.html b/docs/en/cowboy/2.4/manual/cowboy_rest/index.html
index be1a13ae..803e5030 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_rest/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_rest/index.html
@@ -575,12 +575,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_router.compile/index.html b/docs/en/cowboy/2.4/manual/cowboy_router.compile/index.html
index 0402a7f5..ec620d5b 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_router.compile/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_router.compile/index.html
@@ -148,12 +148,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_router/index.html b/docs/en/cowboy/2.4/manual/cowboy_router/index.html
index b6427693..cb2850a3 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_router/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_router/index.html
@@ -165,12 +165,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_static/index.html b/docs/en/cowboy/2.4/manual/cowboy_static/index.html
index aea61b80..bcf3a630 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_static/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_static/index.html
@@ -210,12 +210,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_stream/index.html b/docs/en/cowboy/2.4/manual/cowboy_stream/index.html
index 13cabad5..22f90b30 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_stream/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_stream/index.html
@@ -406,12 +406,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/cowboy_websocket/index.html b/docs/en/cowboy/2.4/manual/cowboy_websocket/index.html
index 2c56537a..d7c4b964 100644
--- a/docs/en/cowboy/2.4/manual/cowboy_websocket/index.html
+++ b/docs/en/cowboy/2.4/manual/cowboy_websocket/index.html
@@ -248,12 +248,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/http_status_codes/index.html b/docs/en/cowboy/2.4/manual/http_status_codes/index.html
index b25f12af..1b2fc7b0 100644
--- a/docs/en/cowboy/2.4/manual/http_status_codes/index.html
+++ b/docs/en/cowboy/2.4/manual/http_status_codes/index.html
@@ -192,12 +192,6 @@
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.4/manual/index.html b/docs/en/cowboy/2.4/manual/index.html
index ea11c617..6cc3c975 100644
--- a/docs/en/cowboy/2.4/manual/index.html
+++ b/docs/en/cowboy/2.4/manual/index.html
@@ -177,12 +177,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/constraints/index.html b/docs/en/cowboy/2.5/guide/constraints/index.html
index f7ecbcf2..8b35095e 100644
--- a/docs/en/cowboy/2.5/guide/constraints/index.html
+++ b/docs/en/cowboy/2.5/guide/constraints/index.html
@@ -208,12 +208,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/cookies/index.html b/docs/en/cowboy/2.5/guide/cookies/index.html
index fff21a9b..9737d4b5 100644
--- a/docs/en/cowboy/2.5/guide/cookies/index.html
+++ b/docs/en/cowboy/2.5/guide/cookies/index.html
@@ -225,12 +225,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/erlang_web/index.html b/docs/en/cowboy/2.5/guide/erlang_web/index.html
index 64cba8da..cae921fc 100644
--- a/docs/en/cowboy/2.5/guide/erlang_web/index.html
+++ b/docs/en/cowboy/2.5/guide/erlang_web/index.html
@@ -174,12 +174,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/flow_diagram/index.html b/docs/en/cowboy/2.5/guide/flow_diagram/index.html
index f2520e67..a0f0fff8 100644
--- a/docs/en/cowboy/2.5/guide/flow_diagram/index.html
+++ b/docs/en/cowboy/2.5/guide/flow_diagram/index.html
@@ -152,12 +152,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/getting_started/index.html b/docs/en/cowboy/2.5/guide/getting_started/index.html
index 635d7bf6..5ce6940c 100644
--- a/docs/en/cowboy/2.5/guide/getting_started/index.html
+++ b/docs/en/cowboy/2.5/guide/getting_started/index.html
@@ -226,12 +226,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/handlers/index.html b/docs/en/cowboy/2.5/guide/handlers/index.html
index ccfa2d74..cce8e9b0 100644
--- a/docs/en/cowboy/2.5/guide/handlers/index.html
+++ b/docs/en/cowboy/2.5/guide/handlers/index.html
@@ -179,12 +179,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/index.html b/docs/en/cowboy/2.5/guide/index.html
index 94e16a28..719abf33 100644
--- a/docs/en/cowboy/2.5/guide/index.html
+++ b/docs/en/cowboy/2.5/guide/index.html
@@ -189,12 +189,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/introduction/index.html b/docs/en/cowboy/2.5/guide/introduction/index.html
index 4ad0d441..79870a4e 100644
--- a/docs/en/cowboy/2.5/guide/introduction/index.html
+++ b/docs/en/cowboy/2.5/guide/introduction/index.html
@@ -162,12 +162,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</pre></div></div>
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/listeners/index.html b/docs/en/cowboy/2.5/guide/listeners/index.html
index 5051400c..6beb3a31 100644
--- a/docs/en/cowboy/2.5/guide/listeners/index.html
+++ b/docs/en/cowboy/2.5/guide/listeners/index.html
@@ -183,12 +183,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/loop_handlers/index.html b/docs/en/cowboy/2.5/guide/loop_handlers/index.html
index 46fa2ada..1f7099b1 100644
--- a/docs/en/cowboy/2.5/guide/loop_handlers/index.html
+++ b/docs/en/cowboy/2.5/guide/loop_handlers/index.html
@@ -193,12 +193,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/middlewares/index.html b/docs/en/cowboy/2.5/guide/middlewares/index.html
index 30f102c1..d0e31e9c 100644
--- a/docs/en/cowboy/2.5/guide/middlewares/index.html
+++ b/docs/en/cowboy/2.5/guide/middlewares/index.html
@@ -160,12 +160,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/migrating_from_1.0/index.html b/docs/en/cowboy/2.5/guide/migrating_from_1.0/index.html
index 650b4001..8e6cc06c 100644
--- a/docs/en/cowboy/2.5/guide/migrating_from_1.0/index.html
+++ b/docs/en/cowboy/2.5/guide/migrating_from_1.0/index.html
@@ -242,12 +242,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/migrating_from_2.0/index.html b/docs/en/cowboy/2.5/guide/migrating_from_2.0/index.html
index 36a9472f..a3116121 100644
--- a/docs/en/cowboy/2.5/guide/migrating_from_2.0/index.html
+++ b/docs/en/cowboy/2.5/guide/migrating_from_2.0/index.html
@@ -177,12 +177,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/migrating_from_2.1/index.html b/docs/en/cowboy/2.5/guide/migrating_from_2.1/index.html
index 3feac391..caea7296 100644
--- a/docs/en/cowboy/2.5/guide/migrating_from_2.1/index.html
+++ b/docs/en/cowboy/2.5/guide/migrating_from_2.1/index.html
@@ -188,12 +188,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/migrating_from_2.2/index.html b/docs/en/cowboy/2.5/guide/migrating_from_2.2/index.html
index 88c6c17d..93d6fa25 100644
--- a/docs/en/cowboy/2.5/guide/migrating_from_2.2/index.html
+++ b/docs/en/cowboy/2.5/guide/migrating_from_2.2/index.html
@@ -160,12 +160,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/migrating_from_2.3/index.html b/docs/en/cowboy/2.5/guide/migrating_from_2.3/index.html
index a0b405d6..b15e7029 100644
--- a/docs/en/cowboy/2.5/guide/migrating_from_2.3/index.html
+++ b/docs/en/cowboy/2.5/guide/migrating_from_2.3/index.html
@@ -162,12 +162,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/migrating_from_2.4/index.html b/docs/en/cowboy/2.5/guide/migrating_from_2.4/index.html
index 43615e5b..e1dcb6f1 100644
--- a/docs/en/cowboy/2.5/guide/migrating_from_2.4/index.html
+++ b/docs/en/cowboy/2.5/guide/migrating_from_2.4/index.html
@@ -190,12 +190,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/modern_web/index.html b/docs/en/cowboy/2.5/guide/modern_web/index.html
index 76af336e..07d4759c 100644
--- a/docs/en/cowboy/2.5/guide/modern_web/index.html
+++ b/docs/en/cowboy/2.5/guide/modern_web/index.html
@@ -156,12 +156,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/multipart/index.html b/docs/en/cowboy/2.5/guide/multipart/index.html
index 77e083a1..574cd246 100644
--- a/docs/en/cowboy/2.5/guide/multipart/index.html
+++ b/docs/en/cowboy/2.5/guide/multipart/index.html
@@ -229,12 +229,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/req/index.html b/docs/en/cowboy/2.5/guide/req/index.html
index 7a92e4cf..a8a5f631 100644
--- a/docs/en/cowboy/2.5/guide/req/index.html
+++ b/docs/en/cowboy/2.5/guide/req/index.html
@@ -404,12 +404,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/req_body/index.html b/docs/en/cowboy/2.5/guide/req_body/index.html
index 7f1e775c..4cdff4c0 100644
--- a/docs/en/cowboy/2.5/guide/req_body/index.html
+++ b/docs/en/cowboy/2.5/guide/req_body/index.html
@@ -215,12 +215,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/resource_design/index.html b/docs/en/cowboy/2.5/guide/resource_design/index.html
index a8812e00..3ac8e1cf 100644
--- a/docs/en/cowboy/2.5/guide/resource_design/index.html
+++ b/docs/en/cowboy/2.5/guide/resource_design/index.html
@@ -188,12 +188,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/resp/index.html b/docs/en/cowboy/2.5/guide/resp/index.html
index 6646a2f1..35aa914d 100644
--- a/docs/en/cowboy/2.5/guide/resp/index.html
+++ b/docs/en/cowboy/2.5/guide/resp/index.html
@@ -371,12 +371,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/rest_flowcharts/index.html b/docs/en/cowboy/2.5/guide/rest_flowcharts/index.html
index 11e00c61..05ac6882 100644
--- a/docs/en/cowboy/2.5/guide/rest_flowcharts/index.html
+++ b/docs/en/cowboy/2.5/guide/rest_flowcharts/index.html
@@ -186,12 +186,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/rest_handlers/index.html b/docs/en/cowboy/2.5/guide/rest_handlers/index.html
index 727f8263..a880c926 100644
--- a/docs/en/cowboy/2.5/guide/rest_handlers/index.html
+++ b/docs/en/cowboy/2.5/guide/rest_handlers/index.html
@@ -284,12 +284,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/rest_principles/index.html b/docs/en/cowboy/2.5/guide/rest_principles/index.html
index 42568af4..986bc830 100644
--- a/docs/en/cowboy/2.5/guide/rest_principles/index.html
+++ b/docs/en/cowboy/2.5/guide/rest_principles/index.html
@@ -160,12 +160,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/routing/index.html b/docs/en/cowboy/2.5/guide/routing/index.html
index fb1c62b8..fec33b3d 100644
--- a/docs/en/cowboy/2.5/guide/routing/index.html
+++ b/docs/en/cowboy/2.5/guide/routing/index.html
@@ -303,12 +303,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/specs/index.html b/docs/en/cowboy/2.5/guide/specs/index.html
index 6732bd70..7fb5baa8 100644
--- a/docs/en/cowboy/2.5/guide/specs/index.html
+++ b/docs/en/cowboy/2.5/guide/specs/index.html
@@ -469,12 +469,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/static_files/index.html b/docs/en/cowboy/2.5/guide/static_files/index.html
index feaea480..cce25b53 100644
--- a/docs/en/cowboy/2.5/guide/static_files/index.html
+++ b/docs/en/cowboy/2.5/guide/static_files/index.html
@@ -223,12 +223,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/streams/index.html b/docs/en/cowboy/2.5/guide/streams/index.html
index c8775323..a562c375 100644
--- a/docs/en/cowboy/2.5/guide/streams/index.html
+++ b/docs/en/cowboy/2.5/guide/streams/index.html
@@ -145,12 +145,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/ws_handlers/index.html b/docs/en/cowboy/2.5/guide/ws_handlers/index.html
index 7b94f4cc..bb15b926 100644
--- a/docs/en/cowboy/2.5/guide/ws_handlers/index.html
+++ b/docs/en/cowboy/2.5/guide/ws_handlers/index.html
@@ -312,12 +312,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/guide/ws_protocol/index.html b/docs/en/cowboy/2.5/guide/ws_protocol/index.html
index f8c5c646..24f8a316 100644
--- a/docs/en/cowboy/2.5/guide/ws_protocol/index.html
+++ b/docs/en/cowboy/2.5/guide/ws_protocol/index.html
@@ -144,12 +144,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy.set_env/index.html b/docs/en/cowboy/2.5/manual/cowboy.set_env/index.html
index c2d10c35..8c1b26bf 100644
--- a/docs/en/cowboy/2.5/manual/cowboy.set_env/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy.set_env/index.html
@@ -159,12 +159,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy.start_clear/index.html b/docs/en/cowboy/2.5/manual/cowboy.start_clear/index.html
index 7f6dcb32..0e88f207 100644
--- a/docs/en/cowboy/2.5/manual/cowboy.start_clear/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy.start_clear/index.html
@@ -177,12 +177,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy.start_tls/index.html b/docs/en/cowboy/2.5/manual/cowboy.start_tls/index.html
index eba9e2a8..35b6b4e2 100644
--- a/docs/en/cowboy/2.5/manual/cowboy.start_tls/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy.start_tls/index.html
@@ -182,12 +182,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy.stop_listener/index.html b/docs/en/cowboy/2.5/manual/cowboy.stop_listener/index.html
index e3d6f9ab..d4152e59 100644
--- a/docs/en/cowboy/2.5/manual/cowboy.stop_listener/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy.stop_listener/index.html
@@ -142,12 +142,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy/index.html b/docs/en/cowboy/2.5/manual/cowboy/index.html
index 08d28872..ef7c6715 100644
--- a/docs/en/cowboy/2.5/manual/cowboy/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy/index.html
@@ -176,12 +176,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_app/index.html b/docs/en/cowboy/2.5/manual/cowboy_app/index.html
index 8f03bb7e..f1973bb3 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_app/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_app/index.html
@@ -177,12 +177,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_constraints.int/index.html b/docs/en/cowboy/2.5/manual/cowboy_constraints.int/index.html
index 405c33c7..bc34d88a 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_constraints.int/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_constraints.int/index.html
@@ -152,12 +152,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_constraints.nonempty/index.html b/docs/en/cowboy/2.5/manual/cowboy_constraints.nonempty/index.html
index 4abb8fc7..3cf10424 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_constraints.nonempty/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_constraints.nonempty/index.html
@@ -151,12 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_constraints/index.html b/docs/en/cowboy/2.5/manual/cowboy_constraints/index.html
index 6e89d769..3717c1b9 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_constraints/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_constraints/index.html
@@ -143,12 +143,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_handler.terminate/index.html b/docs/en/cowboy/2.5/manual/cowboy_handler.terminate/index.html
index 37f19830..549ae5d4 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_handler.terminate/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_handler.terminate/index.html
@@ -154,12 +154,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_handler/index.html b/docs/en/cowboy/2.5/manual/cowboy_handler/index.html
index 51422844..bb3fa165 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_handler/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_handler/index.html
@@ -146,12 +146,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_http/index.html b/docs/en/cowboy/2.5/manual/cowboy_http/index.html
index d88ae2a4..adcf5678 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_http/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_http/index.html
@@ -222,12 +222,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_http2/index.html b/docs/en/cowboy/2.5/manual/cowboy_http2/index.html
index 3f0ef7b6..6830276d 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_http2/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_http2/index.html
@@ -202,12 +202,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_loop/index.html b/docs/en/cowboy/2.5/manual/cowboy_loop/index.html
index 391e9bb2..4a709986 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_loop/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_loop/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_middleware/index.html b/docs/en/cowboy/2.5/manual/cowboy_middleware/index.html
index 2b9df6bf..1393939c 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_middleware/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_middleware/index.html
@@ -156,12 +156,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.binding/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.binding/index.html
index cd2648bf..07b168fc 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.binding/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.binding/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.bindings/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.bindings/index.html
index c90c68f7..cac55ed8 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.bindings/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.bindings/index.html
@@ -140,12 +140,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.body_length/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.body_length/index.html
index b685b035..bd46063d 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.body_length/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.body_length/index.html
@@ -141,12 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.cert/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.cert/index.html
index 4116de2a..b0ba0cf0 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.cert/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.cert/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.delete_resp_header/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.delete_resp_header/index.html
index 10e887c0..a5a60388 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.delete_resp_header/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.delete_resp_header/index.html
@@ -145,12 +145,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.has_body/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.has_body/index.html
index f7778b89..878ec4eb 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.has_body/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.has_body/index.html
@@ -138,12 +138,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.has_resp_body/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.has_resp_body/index.html
index 0a0be703..4bacf049 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.has_resp_body/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.has_resp_body/index.html
@@ -143,12 +143,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.has_resp_header/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.has_resp_header/index.html
index 9e3d4273..52a73939 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.has_resp_header/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.has_resp_header/index.html
@@ -146,12 +146,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.header/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.header/index.html
index 4d4695f3..e60b6076 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.header/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.header/index.html
@@ -167,12 +167,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.headers/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.headers/index.html
index 41a08642..15fd44ad 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.headers/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.headers/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.host/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.host/index.html
index 4c06bfef..db5e69dc 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.host/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.host/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.host_info/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.host_info/index.html
index fce0b3e4..112cc80d 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.host_info/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.host_info/index.html
@@ -141,12 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.inform/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.inform/index.html
index 1ebdfce9..c72839e4 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.inform/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.inform/index.html
@@ -165,12 +165,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.match_cookies/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.match_cookies/index.html
index b6e62e2b..ae20a38d 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.match_cookies/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.match_cookies/index.html
@@ -167,12 +167,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.match_qs/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.match_qs/index.html
index 72cf676f..f568bee7 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.match_qs/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.match_qs/index.html
@@ -167,12 +167,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.method/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.method/index.html
index c29c75ca..dcd64831 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.method/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.method/index.html
@@ -158,12 +158,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.parse_cookies/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.parse_cookies/index.html
index 95e9c052..86298d1f 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.parse_cookies/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.parse_cookies/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.parse_header/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.parse_header/index.html
index b7dfd426..d98e69a2 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.parse_header/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.parse_header/index.html
@@ -318,12 +318,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.parse_qs/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.parse_qs/index.html
index 33a39dee..99877b85 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.parse_qs/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.parse_qs/index.html
@@ -155,12 +155,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.path/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.path/index.html
index 0a4cb440..2ebdf29f 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.path/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.path/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.path_info/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.path_info/index.html
index 08bb1681..a7b0a3f3 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.path_info/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.path_info/index.html
@@ -141,12 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.peer/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.peer/index.html
index 529b8bc7..2ae593ac 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.peer/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.peer/index.html
@@ -151,12 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.port/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.port/index.html
index 64496200..d250eb20 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.port/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.port/index.html
@@ -148,12 +148,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.push/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.push/index.html
index a8942f2f..7c60170e 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.push/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.push/index.html
@@ -174,12 +174,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.qs/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.qs/index.html
index 3ddd3b1a..c7b910aa 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.qs/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.qs/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.read_and_match_urlencoded_body/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.read_and_match_urlencoded_body/index.html
index 75608115..59bf93f6 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.read_and_match_urlencoded_body/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.read_and_match_urlencoded_body/index.html
@@ -198,12 +198,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.read_body/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.read_body/index.html
index f0148dcc..d862f1ae 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.read_body/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.read_body/index.html
@@ -172,12 +172,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.read_part/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.read_part/index.html
index 42b7f305..6284eafb 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.read_part/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.read_part/index.html
@@ -194,12 +194,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.read_part_body/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.read_part_body/index.html
index 1617c7bc..36578ad8 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.read_part_body/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.read_part_body/index.html
@@ -170,12 +170,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.read_urlencoded_body/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.read_urlencoded_body/index.html
index 11bf72ad..7a49c87d 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.read_urlencoded_body/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.read_urlencoded_body/index.html
@@ -164,12 +164,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.reply/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.reply/index.html
index 56209578..3ed98c6f 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.reply/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.reply/index.html
@@ -186,12 +186,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.resp_header/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.resp_header/index.html
index 289715b7..c59a16dc 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.resp_header/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.resp_header/index.html
@@ -158,12 +158,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.resp_headers/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.resp_headers/index.html
index 6cffd6b1..9bc6d7b4 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.resp_headers/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.resp_headers/index.html
@@ -138,12 +138,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.scheme/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.scheme/index.html
index e2d0ca11..15a214f9 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.scheme/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.scheme/index.html
@@ -152,12 +152,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.set_resp_body/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.set_resp_body/index.html
index 01a059d5..cbdd0d64 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.set_resp_body/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.set_resp_body/index.html
@@ -179,12 +179,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.set_resp_cookie/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.set_resp_cookie/index.html
index 21faa0dc..13f09e7c 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.set_resp_cookie/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.set_resp_cookie/index.html
@@ -204,12 +204,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.set_resp_header/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.set_resp_header/index.html
index dc267105..a33856c1 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.set_resp_header/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.set_resp_header/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.set_resp_headers/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.set_resp_headers/index.html
index 634a1d27..296670b6 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.set_resp_headers/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.set_resp_headers/index.html
@@ -151,12 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.sock/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.sock/index.html
index 0b2cc3e8..5d7f4d6d 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.sock/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.sock/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.stream_body/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.stream_body/index.html
index df4609ba..0c4cdf80 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.stream_body/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.stream_body/index.html
@@ -156,12 +156,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.stream_events/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.stream_events/index.html
index 78515bfc..729febf2 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.stream_events/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.stream_events/index.html
@@ -172,12 +172,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.stream_reply/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.stream_reply/index.html
index b3e10dc6..e5727b56 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.stream_reply/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.stream_reply/index.html
@@ -175,12 +175,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.stream_trailers/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.stream_trailers/index.html
index 1e17f23e..5ef5c052 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.stream_trailers/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.stream_trailers/index.html
@@ -155,12 +155,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.uri/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.uri/index.html
index c2b1b01a..fa401fc6 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.uri/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.uri/index.html
@@ -206,12 +206,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req.version/index.html b/docs/en/cowboy/2.5/manual/cowboy_req.version/index.html
index 7e8d0495..67326b62 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req.version/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req.version/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_req/index.html b/docs/en/cowboy/2.5/manual/cowboy_req/index.html
index ac331825..2b1c5d4e 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_req/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_req/index.html
@@ -322,12 +322,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_rest/index.html b/docs/en/cowboy/2.5/manual/cowboy_rest/index.html
index 7dba4ad6..f5acade9 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_rest/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_rest/index.html
@@ -575,12 +575,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_router.compile/index.html b/docs/en/cowboy/2.5/manual/cowboy_router.compile/index.html
index ed5fec97..3d027c79 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_router.compile/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_router.compile/index.html
@@ -148,12 +148,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_router/index.html b/docs/en/cowboy/2.5/manual/cowboy_router/index.html
index e2c8dce2..8ef1613d 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_router/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_router/index.html
@@ -165,12 +165,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_static/index.html b/docs/en/cowboy/2.5/manual/cowboy_static/index.html
index aec23bfe..e0c0397f 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_static/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_static/index.html
@@ -210,12 +210,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_stream/index.html b/docs/en/cowboy/2.5/manual/cowboy_stream/index.html
index 54df09e8..1a5fe426 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_stream/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_stream/index.html
@@ -393,12 +393,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/cowboy_websocket/index.html b/docs/en/cowboy/2.5/manual/cowboy_websocket/index.html
index 86763dfd..3e7de715 100644
--- a/docs/en/cowboy/2.5/manual/cowboy_websocket/index.html
+++ b/docs/en/cowboy/2.5/manual/cowboy_websocket/index.html
@@ -248,12 +248,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/http_status_codes/index.html b/docs/en/cowboy/2.5/manual/http_status_codes/index.html
index dd30e891..637b641c 100644
--- a/docs/en/cowboy/2.5/manual/http_status_codes/index.html
+++ b/docs/en/cowboy/2.5/manual/http_status_codes/index.html
@@ -192,12 +192,6 @@
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.5/manual/index.html b/docs/en/cowboy/2.5/manual/index.html
index 01030553..8499b746 100644
--- a/docs/en/cowboy/2.5/manual/index.html
+++ b/docs/en/cowboy/2.5/manual/index.html
@@ -177,12 +177,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/constraints/index.html b/docs/en/cowboy/2.6/guide/constraints/index.html
index c7ae2e76..6b01726f 100644
--- a/docs/en/cowboy/2.6/guide/constraints/index.html
+++ b/docs/en/cowboy/2.6/guide/constraints/index.html
@@ -208,12 +208,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/cookies/index.html b/docs/en/cowboy/2.6/guide/cookies/index.html
index cd97f8aa..630392b3 100644
--- a/docs/en/cowboy/2.6/guide/cookies/index.html
+++ b/docs/en/cowboy/2.6/guide/cookies/index.html
@@ -225,12 +225,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/erlang_web/index.html b/docs/en/cowboy/2.6/guide/erlang_web/index.html
index 898d405d..a5d20c74 100644
--- a/docs/en/cowboy/2.6/guide/erlang_web/index.html
+++ b/docs/en/cowboy/2.6/guide/erlang_web/index.html
@@ -174,12 +174,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/flow_diagram/index.html b/docs/en/cowboy/2.6/guide/flow_diagram/index.html
index 1c226fca..d76cce4f 100644
--- a/docs/en/cowboy/2.6/guide/flow_diagram/index.html
+++ b/docs/en/cowboy/2.6/guide/flow_diagram/index.html
@@ -152,12 +152,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/getting_started/index.html b/docs/en/cowboy/2.6/guide/getting_started/index.html
index 62dfb886..97a60624 100644
--- a/docs/en/cowboy/2.6/guide/getting_started/index.html
+++ b/docs/en/cowboy/2.6/guide/getting_started/index.html
@@ -226,12 +226,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/handlers/index.html b/docs/en/cowboy/2.6/guide/handlers/index.html
index ebc3f24c..92e764cc 100644
--- a/docs/en/cowboy/2.6/guide/handlers/index.html
+++ b/docs/en/cowboy/2.6/guide/handlers/index.html
@@ -179,12 +179,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/index.html b/docs/en/cowboy/2.6/guide/index.html
index 29dbae6c..2e48815f 100644
--- a/docs/en/cowboy/2.6/guide/index.html
+++ b/docs/en/cowboy/2.6/guide/index.html
@@ -193,12 +193,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/introduction/index.html b/docs/en/cowboy/2.6/guide/introduction/index.html
index ebff1bde..b0a1eade 100644
--- a/docs/en/cowboy/2.6/guide/introduction/index.html
+++ b/docs/en/cowboy/2.6/guide/introduction/index.html
@@ -162,12 +162,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</pre></div></div>
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/listeners/index.html b/docs/en/cowboy/2.6/guide/listeners/index.html
index f231001e..1a92c912 100644
--- a/docs/en/cowboy/2.6/guide/listeners/index.html
+++ b/docs/en/cowboy/2.6/guide/listeners/index.html
@@ -183,12 +183,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/loop_handlers/index.html b/docs/en/cowboy/2.6/guide/loop_handlers/index.html
index 0b02f0e5..a238232c 100644
--- a/docs/en/cowboy/2.6/guide/loop_handlers/index.html
+++ b/docs/en/cowboy/2.6/guide/loop_handlers/index.html
@@ -193,12 +193,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/middlewares/index.html b/docs/en/cowboy/2.6/guide/middlewares/index.html
index e961c084..319262ae 100644
--- a/docs/en/cowboy/2.6/guide/middlewares/index.html
+++ b/docs/en/cowboy/2.6/guide/middlewares/index.html
@@ -160,12 +160,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/migrating_from_1.0/index.html b/docs/en/cowboy/2.6/guide/migrating_from_1.0/index.html
index d255e444..b26e723b 100644
--- a/docs/en/cowboy/2.6/guide/migrating_from_1.0/index.html
+++ b/docs/en/cowboy/2.6/guide/migrating_from_1.0/index.html
@@ -242,12 +242,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/migrating_from_2.0/index.html b/docs/en/cowboy/2.6/guide/migrating_from_2.0/index.html
index a116eb36..e12f30ce 100644
--- a/docs/en/cowboy/2.6/guide/migrating_from_2.0/index.html
+++ b/docs/en/cowboy/2.6/guide/migrating_from_2.0/index.html
@@ -177,12 +177,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/migrating_from_2.1/index.html b/docs/en/cowboy/2.6/guide/migrating_from_2.1/index.html
index f0da1e94..abe21961 100644
--- a/docs/en/cowboy/2.6/guide/migrating_from_2.1/index.html
+++ b/docs/en/cowboy/2.6/guide/migrating_from_2.1/index.html
@@ -188,12 +188,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/migrating_from_2.2/index.html b/docs/en/cowboy/2.6/guide/migrating_from_2.2/index.html
index d0f19a23..0e9fba17 100644
--- a/docs/en/cowboy/2.6/guide/migrating_from_2.2/index.html
+++ b/docs/en/cowboy/2.6/guide/migrating_from_2.2/index.html
@@ -160,12 +160,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/migrating_from_2.3/index.html b/docs/en/cowboy/2.6/guide/migrating_from_2.3/index.html
index b60f2c2e..e0462223 100644
--- a/docs/en/cowboy/2.6/guide/migrating_from_2.3/index.html
+++ b/docs/en/cowboy/2.6/guide/migrating_from_2.3/index.html
@@ -162,12 +162,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/migrating_from_2.4/index.html b/docs/en/cowboy/2.6/guide/migrating_from_2.4/index.html
index fa9f54c8..899188f1 100644
--- a/docs/en/cowboy/2.6/guide/migrating_from_2.4/index.html
+++ b/docs/en/cowboy/2.6/guide/migrating_from_2.4/index.html
@@ -190,12 +190,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/migrating_from_2.5/index.html b/docs/en/cowboy/2.6/guide/migrating_from_2.5/index.html
index e9e1f4c1..9a843614 100644
--- a/docs/en/cowboy/2.6/guide/migrating_from_2.5/index.html
+++ b/docs/en/cowboy/2.6/guide/migrating_from_2.5/index.html
@@ -205,12 +205,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/migrating_from_2.6/index.html b/docs/en/cowboy/2.6/guide/migrating_from_2.6/index.html
index 3dcc5502..a8a1e9a6 100644
--- a/docs/en/cowboy/2.6/guide/migrating_from_2.6/index.html
+++ b/docs/en/cowboy/2.6/guide/migrating_from_2.6/index.html
@@ -142,12 +142,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/modern_web/index.html b/docs/en/cowboy/2.6/guide/modern_web/index.html
index fdb99c64..baab4284 100644
--- a/docs/en/cowboy/2.6/guide/modern_web/index.html
+++ b/docs/en/cowboy/2.6/guide/modern_web/index.html
@@ -156,12 +156,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/multipart/index.html b/docs/en/cowboy/2.6/guide/multipart/index.html
index aa5532b2..fad1c9e6 100644
--- a/docs/en/cowboy/2.6/guide/multipart/index.html
+++ b/docs/en/cowboy/2.6/guide/multipart/index.html
@@ -229,12 +229,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/req/index.html b/docs/en/cowboy/2.6/guide/req/index.html
index 000eb32c..9d5ccb5f 100644
--- a/docs/en/cowboy/2.6/guide/req/index.html
+++ b/docs/en/cowboy/2.6/guide/req/index.html
@@ -404,12 +404,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/req_body/index.html b/docs/en/cowboy/2.6/guide/req_body/index.html
index f0f336d9..6a411907 100644
--- a/docs/en/cowboy/2.6/guide/req_body/index.html
+++ b/docs/en/cowboy/2.6/guide/req_body/index.html
@@ -215,12 +215,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/resource_design/index.html b/docs/en/cowboy/2.6/guide/resource_design/index.html
index 77f65fe4..11cd2404 100644
--- a/docs/en/cowboy/2.6/guide/resource_design/index.html
+++ b/docs/en/cowboy/2.6/guide/resource_design/index.html
@@ -189,12 +189,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/resp/index.html b/docs/en/cowboy/2.6/guide/resp/index.html
index bb261714..a0807287 100644
--- a/docs/en/cowboy/2.6/guide/resp/index.html
+++ b/docs/en/cowboy/2.6/guide/resp/index.html
@@ -371,12 +371,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/rest_flowcharts/index.html b/docs/en/cowboy/2.6/guide/rest_flowcharts/index.html
index 5bd60360..f1f9892b 100644
--- a/docs/en/cowboy/2.6/guide/rest_flowcharts/index.html
+++ b/docs/en/cowboy/2.6/guide/rest_flowcharts/index.html
@@ -186,12 +186,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/rest_handlers/index.html b/docs/en/cowboy/2.6/guide/rest_handlers/index.html
index 8af8285d..7d6c516e 100644
--- a/docs/en/cowboy/2.6/guide/rest_handlers/index.html
+++ b/docs/en/cowboy/2.6/guide/rest_handlers/index.html
@@ -287,12 +287,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/rest_principles/index.html b/docs/en/cowboy/2.6/guide/rest_principles/index.html
index c099540a..66c7a322 100644
--- a/docs/en/cowboy/2.6/guide/rest_principles/index.html
+++ b/docs/en/cowboy/2.6/guide/rest_principles/index.html
@@ -160,12 +160,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/routing/index.html b/docs/en/cowboy/2.6/guide/routing/index.html
index e86ef338..f0e325c2 100644
--- a/docs/en/cowboy/2.6/guide/routing/index.html
+++ b/docs/en/cowboy/2.6/guide/routing/index.html
@@ -310,12 +310,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/specs.asciidoc b/docs/en/cowboy/2.6/guide/specs.asciidoc
index d1022abb..b1a43e64 100644
--- a/docs/en/cowboy/2.6/guide/specs.asciidoc
+++ b/docs/en/cowboy/2.6/guide/specs.asciidoc
@@ -188,6 +188,7 @@ for or related to HTTP.
* https://tools.ietf.org/html/rfc7809[RFC 7809]: Calendaring Extensions to WebDAV (CalDAV): Time Zones by Reference
* https://tools.ietf.org/html/rfc7953[RFC 7953]: Calendar Availability
* https://tools.ietf.org/html/rfc8144[RFC 8144]: Use of the Prefer Header Field in WebDAV
+* https://tools.ietf.org/html/rfc8607[RFC 8607]: Calendaring Extensions to WebDAV (CalDAV): Managed Attachments
=== CoAP
@@ -201,3 +202,4 @@ for or related to HTTP.
* https://tools.ietf.org/html/rfc8132[RFC 8132]: PATCH and FETCH Methods for CoAP
* https://tools.ietf.org/html/rfc8323[RFC 8323]: CoAP over TCP, TLS, and WebSockets
* https://tools.ietf.org/html/rfc8516[RFC 8516]: "Too Many Requests" Response Code for CoAP
+* https://tools.ietf.org/html/rfc8613[RFC 8613]: Object Security for Constrained RESTful Environments
diff --git a/docs/en/cowboy/2.6/guide/specs/index.html b/docs/en/cowboy/2.6/guide/specs/index.html
index 5e918516..91e554d2 100644
--- a/docs/en/cowboy/2.6/guide/specs/index.html
+++ b/docs/en/cowboy/2.6/guide/specs/index.html
@@ -397,6 +397,8 @@
</li>
<li><a href="https://tools.ietf.org/html/rfc8144">RFC 8144</a>: Use of the Prefer Header Field in WebDAV
</li>
+<li><a href="https://tools.ietf.org/html/rfc8607">RFC 8607</a>: Calendaring Extensions to WebDAV (CalDAV): Managed Attachments
+</li>
</ul>
<h2 id="_coap">CoAP</h2>
<ul><li><a href="https://tools.ietf.org/html/rfc7252">RFC 7252</a>: The Constrained Application Protocol (CoAP)
@@ -419,6 +421,8 @@
</li>
<li><a href="https://tools.ietf.org/html/rfc8516">RFC 8516</a>: &quot;Too Many Requests&quot; Response Code for CoAP
</li>
+<li><a href="https://tools.ietf.org/html/rfc8613">RFC 8613</a>: Object Security for Constrained RESTful Environments
+</li>
</ul>
@@ -483,12 +487,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/static_files/index.html b/docs/en/cowboy/2.6/guide/static_files/index.html
index 4439e2c2..a5828d53 100644
--- a/docs/en/cowboy/2.6/guide/static_files/index.html
+++ b/docs/en/cowboy/2.6/guide/static_files/index.html
@@ -223,12 +223,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/streams/index.html b/docs/en/cowboy/2.6/guide/streams/index.html
index ef67c9b4..50122a2e 100644
--- a/docs/en/cowboy/2.6/guide/streams/index.html
+++ b/docs/en/cowboy/2.6/guide/streams/index.html
@@ -145,12 +145,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/ws_handlers/index.html b/docs/en/cowboy/2.6/guide/ws_handlers/index.html
index 0637217d..f34ef7e8 100644
--- a/docs/en/cowboy/2.6/guide/ws_handlers/index.html
+++ b/docs/en/cowboy/2.6/guide/ws_handlers/index.html
@@ -312,12 +312,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/guide/ws_protocol/index.html b/docs/en/cowboy/2.6/guide/ws_protocol/index.html
index db7d74b4..a3c13629 100644
--- a/docs/en/cowboy/2.6/guide/ws_protocol/index.html
+++ b/docs/en/cowboy/2.6/guide/ws_protocol/index.html
@@ -144,12 +144,6 @@
<li><a href="/docs/en/cowboy/2.2/guide">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy.set_env/index.html b/docs/en/cowboy/2.6/manual/cowboy.set_env/index.html
index 7199e135..dc0f5593 100644
--- a/docs/en/cowboy/2.6/manual/cowboy.set_env/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy.set_env/index.html
@@ -159,12 +159,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy.start_clear/index.html b/docs/en/cowboy/2.6/manual/cowboy.start_clear/index.html
index 1692da61..4f7f562e 100644
--- a/docs/en/cowboy/2.6/manual/cowboy.start_clear/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy.start_clear/index.html
@@ -177,12 +177,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy.start_tls/index.html b/docs/en/cowboy/2.6/manual/cowboy.start_tls/index.html
index dd7adf06..f8e3a601 100644
--- a/docs/en/cowboy/2.6/manual/cowboy.start_tls/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy.start_tls/index.html
@@ -182,12 +182,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy.stop_listener/index.html b/docs/en/cowboy/2.6/manual/cowboy.stop_listener/index.html
index 3861b762..616bb7d1 100644
--- a/docs/en/cowboy/2.6/manual/cowboy.stop_listener/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy.stop_listener/index.html
@@ -142,12 +142,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy/index.html b/docs/en/cowboy/2.6/manual/cowboy/index.html
index c6c7a631..72dd218a 100644
--- a/docs/en/cowboy/2.6/manual/cowboy/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy/index.html
@@ -176,12 +176,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_app/index.html b/docs/en/cowboy/2.6/manual/cowboy_app/index.html
index bc87be52..be932711 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_app/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_app/index.html
@@ -183,12 +183,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_compress_h/index.html b/docs/en/cowboy/2.6/manual/cowboy_compress_h/index.html
index 3aa1e45b..1811def5 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_compress_h/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_compress_h/index.html
@@ -141,12 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_constraints.int/index.html b/docs/en/cowboy/2.6/manual/cowboy_constraints.int/index.html
index 048436c0..36afb85b 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_constraints.int/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_constraints.int/index.html
@@ -152,12 +152,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_constraints.nonempty/index.html b/docs/en/cowboy/2.6/manual/cowboy_constraints.nonempty/index.html
index 34a79421..79739cd1 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_constraints.nonempty/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_constraints.nonempty/index.html
@@ -151,12 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_constraints/index.html b/docs/en/cowboy/2.6/manual/cowboy_constraints/index.html
index ef32f9e4..9f21154e 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_constraints/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_constraints/index.html
@@ -143,12 +143,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_handler.terminate/index.html b/docs/en/cowboy/2.6/manual/cowboy_handler.terminate/index.html
index dadaff9e..e59954af 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_handler.terminate/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_handler.terminate/index.html
@@ -154,12 +154,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_handler/index.html b/docs/en/cowboy/2.6/manual/cowboy_handler/index.html
index 9bda53ef..251c887e 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_handler/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_handler/index.html
@@ -146,12 +146,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_http/index.html b/docs/en/cowboy/2.6/manual/cowboy_http/index.html
index ca0893d7..8672be40 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_http/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_http/index.html
@@ -228,12 +228,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_http2/index.html b/docs/en/cowboy/2.6/manual/cowboy_http2/index.html
index 41b4dd1a..eb5706ea 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_http2/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_http2/index.html
@@ -204,12 +204,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_loop/index.html b/docs/en/cowboy/2.6/manual/cowboy_loop/index.html
index 353be409..638ce9cd 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_loop/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_loop/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_middleware/index.html b/docs/en/cowboy/2.6/manual/cowboy_middleware/index.html
index 0c283c28..2150dd88 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_middleware/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_middleware/index.html
@@ -156,12 +156,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.binding/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.binding/index.html
index c157ab3e..de998fbc 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.binding/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.binding/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.bindings/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.bindings/index.html
index 3462c73c..726f794f 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.bindings/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.bindings/index.html
@@ -140,12 +140,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.body_length/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.body_length/index.html
index fe086a3d..ebb79e99 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.body_length/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.body_length/index.html
@@ -141,12 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.cert/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.cert/index.html
index c565275c..e1bca4c7 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.cert/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.cert/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.delete_resp_header/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.delete_resp_header/index.html
index c5bd2564..982686ad 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.delete_resp_header/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.delete_resp_header/index.html
@@ -145,12 +145,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.has_body/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.has_body/index.html
index e4de0371..1acbefb2 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.has_body/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.has_body/index.html
@@ -138,12 +138,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.has_resp_body/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.has_resp_body/index.html
index f525dc3f..84573b6f 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.has_resp_body/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.has_resp_body/index.html
@@ -143,12 +143,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.has_resp_header/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.has_resp_header/index.html
index fad4d687..59ffab1d 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.has_resp_header/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.has_resp_header/index.html
@@ -146,12 +146,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.header/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.header/index.html
index b4e4c24e..4beb28d4 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.header/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.header/index.html
@@ -167,12 +167,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.headers/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.headers/index.html
index e22bffd3..2346faec 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.headers/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.headers/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.host/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.host/index.html
index b71e8f0d..029d0df0 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.host/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.host/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.host_info/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.host_info/index.html
index 6886728c..75f100c4 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.host_info/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.host_info/index.html
@@ -141,12 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.inform/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.inform/index.html
index bcbd3875..a9ee115f 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.inform/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.inform/index.html
@@ -165,12 +165,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.match_cookies/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.match_cookies/index.html
index d03bcc35..40224fcc 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.match_cookies/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.match_cookies/index.html
@@ -167,12 +167,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.match_qs/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.match_qs/index.html
index 6388d805..a29ea84c 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.match_qs/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.match_qs/index.html
@@ -167,12 +167,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.method/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.method/index.html
index d9954ba7..75b36270 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.method/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.method/index.html
@@ -158,12 +158,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.parse_cookies/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.parse_cookies/index.html
index 6675d9ab..3692e6d4 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.parse_cookies/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.parse_cookies/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.parse_header/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.parse_header/index.html
index 283e8525..2b749396 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.parse_header/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.parse_header/index.html
@@ -318,12 +318,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.parse_qs/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.parse_qs/index.html
index 5f1c0fb5..605281c0 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.parse_qs/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.parse_qs/index.html
@@ -155,12 +155,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.path/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.path/index.html
index 0624ad2f..b7718034 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.path/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.path/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.path_info/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.path_info/index.html
index 118dd5f5..bf4cb8e7 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.path_info/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.path_info/index.html
@@ -141,12 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.peer/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.peer/index.html
index 2d2149c3..1fd2a1f3 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.peer/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.peer/index.html
@@ -151,12 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.port/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.port/index.html
index e04063c2..c620ea76 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.port/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.port/index.html
@@ -148,12 +148,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.push/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.push/index.html
index fd00c1a3..f255ccd7 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.push/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.push/index.html
@@ -174,12 +174,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.qs/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.qs/index.html
index debe2c25..1bf74e12 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.qs/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.qs/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.read_and_match_urlencoded_body/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.read_and_match_urlencoded_body/index.html
index 9f7071af..340108e3 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.read_and_match_urlencoded_body/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.read_and_match_urlencoded_body/index.html
@@ -198,12 +198,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.read_body/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.read_body/index.html
index 8208863c..baf08fd3 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.read_body/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.read_body/index.html
@@ -172,12 +172,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.read_part/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.read_part/index.html
index d0dd6c54..1880dca8 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.read_part/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.read_part/index.html
@@ -194,12 +194,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.read_part_body/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.read_part_body/index.html
index 24710048..b42e90b2 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.read_part_body/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.read_part_body/index.html
@@ -170,12 +170,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.read_urlencoded_body/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.read_urlencoded_body/index.html
index 59f1a156..dbf4f7fe 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.read_urlencoded_body/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.read_urlencoded_body/index.html
@@ -164,12 +164,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.reply/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.reply/index.html
index eb52a169..280ce87a 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.reply/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.reply/index.html
@@ -186,12 +186,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.resp_header/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.resp_header/index.html
index 934ef24e..9511f6fe 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.resp_header/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.resp_header/index.html
@@ -158,12 +158,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.resp_headers/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.resp_headers/index.html
index 0a2fc112..336052c8 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.resp_headers/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.resp_headers/index.html
@@ -138,12 +138,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.scheme/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.scheme/index.html
index 16f2ea4b..c3b8ab11 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.scheme/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.scheme/index.html
@@ -152,12 +152,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.set_resp_body/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.set_resp_body/index.html
index 24f8eec3..afeecb66 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.set_resp_body/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.set_resp_body/index.html
@@ -179,12 +179,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.set_resp_cookie/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.set_resp_cookie/index.html
index f0d208ce..a0d95998 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.set_resp_cookie/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.set_resp_cookie/index.html
@@ -204,12 +204,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.set_resp_header/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.set_resp_header/index.html
index d91abc3b..f524534e 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.set_resp_header/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.set_resp_header/index.html
@@ -160,12 +160,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.set_resp_headers/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.set_resp_headers/index.html
index 97757f93..c33b701b 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.set_resp_headers/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.set_resp_headers/index.html
@@ -151,12 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.sock/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.sock/index.html
index 6aa714a2..7c156ca9 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.sock/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.sock/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.stream_body/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.stream_body/index.html
index f4ea2ac9..6c1b86f2 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.stream_body/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.stream_body/index.html
@@ -158,12 +158,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.stream_events/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.stream_events/index.html
index 2dde78be..e1ef278c 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.stream_events/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.stream_events/index.html
@@ -172,12 +172,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.stream_reply/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.stream_reply/index.html
index dbf2cab2..2cc69cff 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.stream_reply/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.stream_reply/index.html
@@ -175,12 +175,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.stream_trailers/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.stream_trailers/index.html
index 5d328520..13e295dc 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.stream_trailers/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.stream_trailers/index.html
@@ -155,12 +155,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.uri/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.uri/index.html
index a59fc043..ec7a794a 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.uri/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.uri/index.html
@@ -206,12 +206,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.version/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.version/index.html
index e24c90a4..f50cfdb4 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req.version/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req.version/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_req/index.html b/docs/en/cowboy/2.6/manual/cowboy_req/index.html
index 132cf666..8796327b 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_req/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_req/index.html
@@ -322,12 +322,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_rest/index.html b/docs/en/cowboy/2.6/manual/cowboy_rest/index.html
index c31ebe79..049ab67a 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_rest/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_rest/index.html
@@ -603,12 +603,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_router.compile/index.html b/docs/en/cowboy/2.6/manual/cowboy_router.compile/index.html
index ee27de34..747a9fbf 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_router.compile/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_router.compile/index.html
@@ -148,12 +148,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_router/index.html b/docs/en/cowboy/2.6/manual/cowboy_router/index.html
index 27c02012..4a69d49a 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_router/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_router/index.html
@@ -165,12 +165,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_static/index.html b/docs/en/cowboy/2.6/manual/cowboy_static/index.html
index 245ba2d4..0e22ad5f 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_static/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_static/index.html
@@ -223,12 +223,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_stream/index.html b/docs/en/cowboy/2.6/manual/cowboy_stream/index.html
index 868b7201..9f43450d 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_stream/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_stream/index.html
@@ -360,12 +360,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_stream_h/index.html b/docs/en/cowboy/2.6/manual/cowboy_stream_h/index.html
index b8c3ed97..f55fa4cb 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_stream_h/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_stream_h/index.html
@@ -147,12 +147,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/cowboy_websocket/index.html b/docs/en/cowboy/2.6/manual/cowboy_websocket/index.html
index 0aaf62f3..47d5ebf6 100644
--- a/docs/en/cowboy/2.6/manual/cowboy_websocket/index.html
+++ b/docs/en/cowboy/2.6/manual/cowboy_websocket/index.html
@@ -254,12 +254,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/http_status_codes/index.html b/docs/en/cowboy/2.6/manual/http_status_codes/index.html
index 4519876c..5e4fd6ea 100644
--- a/docs/en/cowboy/2.6/manual/http_status_codes/index.html
+++ b/docs/en/cowboy/2.6/manual/http_status_codes/index.html
@@ -192,12 +192,6 @@
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.6/manual/index.html b/docs/en/cowboy/2.6/manual/index.html
index 884916cd..7e3715c4 100644
--- a/docs/en/cowboy/2.6/manual/index.html
+++ b/docs/en/cowboy/2.6/manual/index.html
@@ -183,12 +183,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/erlang.mk/1/guide/app.asciidoc b/docs/en/erlang.mk/1/guide/app.asciidoc
deleted file mode 100644
index 226f24c4..00000000
--- a/docs/en/erlang.mk/1/guide/app.asciidoc
+++ /dev/null
@@ -1,496 +0,0 @@
-[[building]]
-== Building
-
-Erlang.mk can do a lot of things, but it is, first and
-foremost, a build tool. In this chapter we will cover
-the basics of building a project with Erlang.mk.
-
-For most of this chapter, we will assume that you are
-using a project xref:getting_started[generated by Erlang.mk].
-
-=== How to build
-
-To build a project, all you have to do is type `make`:
-
-[source,bash]
-$ make
-
-It will work regardless of your project: OTP applications,
-library applications, NIFs, port drivers or even releases.
-Erlang.mk also automatically downloads and compiles the
-dependencies for your project.
-
-All this is possible thanks to a combination of configuration
-and conventions. Most of the conventions come from Erlang/OTP
-itself so any seasoned Erlang developers should feel right at
-home.
-
-Erlang.mk supports multi-threaded building. Parallel execution
-is supported for all targets. To execute Erlang.mk in parallel
-the `-j` option must be used:
-
-[source,bash]
-$ make -j8
-
-The `MAKEFLAGS` variable can be used to enable parallel
-building permanently on your system. It can be set in
-your `.zshrc`, `.bashrc` or equivalent file.
-
-[source,bash]
-MAKEFLAGS="-j8"
-
-=== What to build
-
-Erlang.mk gives you control over three steps of the build
-process, allowing you to do a partial build if needed.
-
-A build has three phases: first any dependency is fetched
-and built, then the project itself is built and finally a
-release may be generated when applicable. A release is only
-generated for projects specifically configured to do so.
-
-Erlang.mk handles those three phases automatically when you
-type `make`. But sometimes you just want to repeat one or
-two of them.
-
-The commands detailed in this section are most useful after
-you have a successful build as they allow you to quickly
-redo a step instead of going through everything. This is
-especially useful for large projects or projects that end
-up generating releases.
-
-==== Application
-
-You can build your application and dependencies without
-generating a release by running the following command:
-
-[source,bash]
-$ make app
-
-To build your application without touching dependencies
-at all, you can use the `SKIP_DEPS` variable:
-
-[source,bash]
-$ make app SKIP_DEPS=1
-
-This command is very useful if you have a lot of dependencies
-and develop on a machine with slow file access, like the
-Raspberry Pi and many other embedded devices.
-
-Note that this command may fail if a required dependency
-is missing.
-
-==== Dependencies
-
-You can build all dependencies, and nothing else, by
-running the following command:
-
-[source,bash]
-$ make deps
-
-This will fetch and compile all dependencies and their
-dependencies, recursively.
-
-xref:deps[Packages and dependencies] are covered
-in the next chapter.
-
-==== Release
-
-It is not possible to build the release without at least
-building the application itself, unless of course if there's
-no application to begin with.
-
-To generate the release, `make` will generally suffice with
-a normal Erlang.mk. A separate target is however available,
-and will take care of building the release, after building
-the application and all dependencies:
-
-[source,bash]
-$ make rel
-
-Consult the xref:relx[Releases] chapter for more
-information about what releases are and how they are generated.
-
-=== Application resource file
-
-When building your application, Erlang.mk will generate the
-http://www.erlang.org/doc/man/app.html[application resource file].
-This file is mandatory for all Erlang applications and is
-found in 'ebin/$(PROJECT).app'.
-
-`PROJECT` is a variable defined in your Makefile and taken
-from the name of the directory when Erlang.mk bootstraps
-your project.
-
-Erlang.mk can build the 'ebin/$(PROJECT).app' in two different
-ways: from the configuration found in the Makefile, or from
-the 'src/$(PROJECT).app.src' file.
-
-==== Application configuration
-
-Erlang.mk automatically fills the `PROJECT` variable when
-bootstrapping a new project, but everything else is up to
-you. None of the values are required to build your project,
-although it is recommended to fill everything relevant to
-your situation.
-
-`PROJECT`::
- The name of the OTP application or library.
-`PROJECT_DESCRIPTION`::
- Short description of the project.
-`PROJECT_VERSION`::
- Current version of the project.
-`PROJECT_MOD`::
- The application callback module.
-`PROJECT_REGISTERED`::
- List of the names of all registered processes.
-`PROJECT_ENV`::
- Configuration parameters used by the application.
-`PROJECT_APP_EXTRA_KEYS`::
- Other keys you want to add to the application `.app` file.
- The variable content is written as-is to the `.app` file,
- so be sure to format valid Erlang terms. For example:
- `PROJECT_APP_EXTRA_KEYS = {maxT, 10000}, {start_phases, [...]}`.
-`LOCAL_DEPS`::
- List of Erlang/OTP applications this project depends on,
- excluding `erts`, `kernel` and `stdlib`, or list of
- dependencies local to this repository (in `APPS_DIR`).
-`DEPS`::
- List of applications this project depends on that need
- to be fetched by Erlang.mk.
-
-There's no need for quotes or anything. The relevant part of
-the Cowboy Makefile follows, if you need an example:
-
-[source,make]
-----
-PROJECT = cowboy
-PROJECT_DESCRIPTION = Small, fast, modular HTTP server.
-PROJECT_VERSION = 2.0.0-pre.2
-PROJECT_REGISTERED = cowboy_clock
-
-LOCAL_DEPS = crypto
-DEPS = cowlib ranch
-----
-
-Any space before and after the value is dropped.
-
-xref:deps[Dependencies] are covered in details in
-the next chapter.
-
-==== Application environment
-
-The `PROJECT_ENV` variable is used to set the application
-environment:
-
-[source,make]
-----
-define PROJECT_ENV
-[
- {chips, [currysauce,{mushypeas,false}]},
- {pizza, [{size,large},{toppings,[anchovies]}]}
-]
-endef
-----
-
-If you have a large set of environment variables, you may find it
-easier to use a separate file. Do this by including the following
-in your Makefile:
-
-[source,make]
-----
-PROJECT_ENV_FILE = src/env.src
-PROJECT_ENV = $(subst \n,$(newline),$(shell cat $(PROJECT_ENV_FILE) | sed -e 's/$$/\\n/;'))
-ebin/$(PROJECT).app:: $(PROJECT_ENV_FILE)
-----
-
-The file has the same contents as the `PROJECT_ENV` variable:
-
-[source,erlang]
-----
-[
- {chips, [currysauce,{mushypeas,false}]},
- {pizza, [{size,large},{toppings,[anchovies]}]}
-]
-----
-
-==== Legacy method
-
-The 'src/$(PROJECT).app.src' file is a legacy method of
-building Erlang applications. It was introduced by the original
-`rebar` build tool, of which Erlang.mk owes a great deal as it
-is its main inspiration.
-
-The '.app.src' file serves as a template to generate the '.app'
-file. Erlang.mk will take it, fill in the `modules` value
-dynamically, and save the result in 'ebin/$(PROJECT).app'.
-
-When using this method, Erlang.mk cannot fill the `applications`
-key from dependencies automatically, which means you need to
-add them to Erlang.mk and to the '.app.src' at the same time,
-duplicating the work.
-
-If you really can't live without the legacy method, for one
-reason or another, worry not; Erlang.mk will support it. And
-if you need to create a new project that uses this method, you
-just have to say so when bootstrapping:
-
-[source,bash]
-$ make -f erlang.mk bootstrap-lib LEGACY=1
-
-=== Automatic application resource file values
-
-When building the application resource file, Erlang.mk may
-automatically add an `id` key with information about the
-Git commit (if using Git), or an empty string otherwise.
-It will only do this under specific conditions:
-
-* The application was built as a dependency of another, or
-* The legacy method was used, and the '.app.src' file contained `{id, "git"}`
-
-This value is most useful when you need to help your users,
-as it allows you to know which version they run exactly by
-asking them to look in the file, or by running a simple
-command on their production server:
-
-[source,erlang]
-----
-1> application:get_all_key(cowboy).
-{ok,[{description,"Small, fast, modular HTTP server."},
- {id,"2.0.0-pre.2-25-g0ffde50-dirty"},
-----
-
-=== File formats
-
-Erlang.mk supports a variety of different source file formats.
-The following formats are supported natively:
-
-[cols="<,3*^",options="header"]
-|===
-| Extension | Location | Description | Output
-| .erl | src/ | Erlang source | ebin/*.beam
-| .core | src/ | Core Erlang source | ebin/*.beam
-| .xrl | src/ | Leex source | src/*.erl
-| .yrl | src/ | Yecc source | src/*.erl
-| .asn1 | asn1/ | ASN.1 files | include/*.hrl include/*.asn1db src/*.erl
-| .mib | mibs/ | SNMP MIB files | include/*.hrl priv/mibs/*.bin
-|===
-
-Files are always searched recursively.
-
-The build is ordered, so that files that generate Erlang source
-files are run before, and the resulting Erlang source files are
-then built normally.
-
-In addition, Erlang.mk keeps track of header files (`.hrl`)
-as described at the end of this chapter. It can also compile
-C code, as described in the xref:ports[NIFs and port drivers]
-chapter.
-
-Erlang.mk also comes with plugins for the following formats:
-
-[cols="<,3*^",options="header"]
-|===
-| Extension | Location | Description | Output
-| .dtl | templates/ | Django templates | ebin/*.beam
-| .proto | src/ | Protocol buffers | ebin/*.beam
-|===
-
-=== Compilation options
-
-Erlang.mk provides a few variables that you can use to customize
-the build process and the resulting files.
-
-==== ERLC_OPTS
-
-`ERLC_OPTS` can be used to pass some options to `erlc`, the Erlang
-compiler. Erlang.mk does not restrict any option. Please refer to
-the http://www.erlang.org/doc/man/erlc.html[erlc Manual] for the
-full list.
-
-By default, Erlang.mk will set the following options:
-
-[source,make]
-ERLC_OPTS = -Werror +debug_info +warn_export_vars +warn_shadow_vars +warn_obsolete_guard
-
-In other words: warnings as errors, debug info (recommended) and
-enable warnings for exported variables, shadow variables and
-obsolete guard functions.
-
-You can redefine this variable in your Makefile to change it
-completely, either before or after including Erlang.mk:
-
-[source,make]
-ERLC_OPTS = +debug_info
-
-You can also filter out some options from the defaults Erlang.mk
-sets, by defining ERLC_OPTS after including Erlang.mk using the
-`:=` operator.
-
-[source,make]
-----
-include erlang.mk
-
-ERLC_OPTS := $(filter-out -Werror,$(ERLC_OPTS))
-----
-
-==== ERLC_ASN1_OPTS
-
-`ERLC_ASN1_OPTS` can be used to pass compiler options when compiling
-ASN.1 files. Please refer to the
-http://erlang.org/doc/man/asn1ct.html[asn1ct manual] for the full list.
-
-By default, Erlang.mk will leave this empty.
-
-You can redefine this variable in your Makefile.
-Please see the `ERLC_OPTS` section for instructions.
-
-==== ERLC_EXCLUDE
-
-`ERLC_EXCLUDE` can be used to exclude some modules from the
-compilation. It's there for handling special cases, you should
-not normally need it.
-
-To exclude a module, simply list it in the variable, either
-before or after including Erlang.mk:
-
-[source,make]
-ERLC_EXCLUDE = cowboy_http2
-
-=== Cold and hot builds
-
-The first time you run `make`, Erlang.mk will build everything.
-
-The second time you run `make`, and all subsequent times, Erlang.mk
-will only rebuild what changed. Erlang.mk has been optimized for
-this use case, as it is the most common during development.
-
-Erlang.mk figures out what changed by using the dependency tracking
-feature of Make. Make automatically rebuilds a target if one of its
-dependency has changed (for example if a header file has changed,
-all the source files that include it will be rebuilt), and Erlang.mk
-leverages this feature to cut down on rebuild times.
-
-Note that this applies only to building; some other features of
-Erlang.mk will run every time they are called regardless of files
-changed.
-
-=== Dependency tracking
-
-NOTE: This section is about the dependency tracking between files
-inside your project, not application dependencies.
-
-Erlang.mk keeps track of the dependencies between the different
-files in your project. This information is kept in the '$(PROJECT).d'
-file in your directory. It is generated if missing, and will be
-generated again after every file change, by default.
-
-Dependency tracking is what allows Erlang.mk to know when to
-rebuild Erlang files when header files, behaviors or parse
-transforms have changed. Erlang.mk also automatically keeps
-track of which files should be compiled first, for example
-when you have behaviors used by other modules in your project.
-
-If your project is stable, you may want to disable generating
-the dependency tracking file every time you compile. You can
-do this by adding the following line to your 'Makefile':
-
-[source,make]
-NO_MAKEDEP ?= 1
-
-As you can see, the snippet above uses `?=` instead of a
-simple equal sign. This is to allow you to temporarily override
-this value when you do make substantial changes to your project
-(including a new header file, new module with dependencies, etc.)
-and want to rebuild the dependency tracking file. You'll be
-able to use the following command:
-
-[source,bash]
-$ NO_MAKEDEP= make
-
-Otherwise, `make clean app` will of course force the
-recompilation of your project.
-
-Erlang.mk can also keep track of the source files generated
-by other means, for example if you generate code from a data
-file in your repository.
-
-=== Generating Erlang source
-
-Erlang.mk provides hooks at different stages of the build process.
-When your goal is to generate Erlang source files, you can
-add your own rules before or after the dependency tracking
-file is generated. To do this, you would add your hook before
-or after including the 'erlang.mk' file.
-
-The easiest way is after:
-
-[source,make]
-----
-PROJECT = example
-
-include erlang.mk
-
-$(PROJECT).d:: src/generated_mod.erl
-
-src/generated_mod.erl:: gen-mod.sh
- $(gen_verbose) ./gen-mod.sh $@
-----
-
-In this case we use `$(gen_verbose)` to hide the details of
-the build by default. Erlang.mk will simply say what file
-is it currently generating.
-
-When using an external script to generate the Erlang source
-file, it is recommended to depend on that script, so that
-the source file gets generated again when the script gets
-modified.
-
-If for whatever reason you prefer to hook before including
-Erlang.mk, don't forget to set the `.DEFAULT_GOAL` variable,
-otherwise nothing will get built:
-
-[source,make]
-----
-PROJECT = example
-
-.DEFAULT_GOAL = all
-
-$(PROJECT).d:: src/generated_mod.erl
-
-include erlang.mk
-
-src/generated_mod.erl:: gen-mod.sh
- $(gen_verbose) ./gen-mod.sh $@
-----
-
-=== Cleaning
-
-Building typically involves creating a lot of new files. Some
-are reused in rebuilds, some are simply replaced. All can be
-removed safely.
-
-Erlang.mk provides two commands to remove them: `clean` and
-`distclean`. `clean` removes all the intermediate files that
-were created as a result of building, including the BEAM files,
-the dependency tracking file and the generated documentation.
-`distclean` removes these and more, including the downloaded
-dependencies, Dialyzer's PLT file and the generated release,
-putting your directory back to the state it was before you
-started working on it.
-
-To clean:
-
-[source,bash]
-$ make clean
-
-Or distclean:
-
-[source,bash]
-$ make distclean
-
-That is the question.
-
-Note that Erlang.mk will automatically clean some files as
-part of other targets, but it will never run `distclean` if
-you don't explicitly use it.
diff --git a/docs/en/erlang.mk/1/guide/app/index.html b/docs/en/erlang.mk/1/guide/app/index.html
deleted file mode 100644
index 51c80b32..00000000
--- a/docs/en/erlang.mk/1/guide/app/index.html
+++ /dev/null
@@ -1,522 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Building</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Building</span></h1>
-
-<p>Erlang.mk can do a lot of things, but it is, first and foremost, a build tool. In this chapter we will cover the basics of building a project with Erlang.mk.</p>
-<p>For most of this chapter, we will assume that you are using a project <a href="../getting_started">generated by Erlang.mk</a>.</p>
-<h2 id="_how_to_build">How to build</h2>
-<p>To build a project, all you have to do is type <code>make</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make</tt></pre>
-</div></div>
-<p>It will work regardless of your project: OTP applications, library applications, NIFs, port drivers or even releases. Erlang.mk also automatically downloads and compiles the dependencies for your project.</p>
-<p>All this is possible thanks to a combination of configuration and conventions. Most of the conventions come from Erlang/OTP itself so any seasoned Erlang developers should feel right at home.</p>
-<p>Erlang.mk supports multi-threaded building. Parallel execution is supported for all targets. To execute Erlang.mk in parallel the <code>-j</code> option must be used:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make -j<font color="#993399">8</font></tt></pre>
-</div></div>
-<p>The <code>MAKEFLAGS</code> variable can be used to enable parallel building permanently on your system. It can be set in your <code>.zshrc</code>, <code>.bashrc</code> or equivalent file.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">MAKEFLAGS</font><font color="#990000">=</font><font color="#FF0000">"-j8"</font></tt></pre>
-</div></div>
-<h2 id="_what_to_build">What to build</h2>
-<p>Erlang.mk gives you control over three steps of the build process, allowing you to do a partial build if needed.</p>
-<p>A build has three phases: first any dependency is fetched and built, then the project itself is built and finally a release may be generated when applicable. A release is only generated for projects specifically configured to do so.</p>
-<p>Erlang.mk handles those three phases automatically when you type <code>make</code>. But sometimes you just want to repeat one or two of them.</p>
-<p>The commands detailed in this section are most useful after you have a successful build as they allow you to quickly redo a step instead of going through everything. This is especially useful for large projects or projects that end up generating releases.</p>
-<h4 id="_application">Application</h4>
-<p>You can build your application and dependencies without generating a release by running the following command:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make app</tt></pre>
-</div></div>
-<p>To build your application without touching dependencies at all, you can use the <code>SKIP_DEPS</code> variable:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make app <font color="#009900">SKIP_DEPS</font><font color="#990000">=</font><font color="#993399">1</font></tt></pre>
-</div></div>
-<p>This command is very useful if you have a lot of dependencies and develop on a machine with slow file access, like the Raspberry Pi and many other embedded devices.</p>
-<p>Note that this command may fail if a required dependency is missing.</p>
-<h4 id="_dependencies">Dependencies</h4>
-<p>You can build all dependencies, and nothing else, by running the following command:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make deps</tt></pre>
-</div></div>
-<p>This will fetch and compile all dependencies and their dependencies, recursively.</p>
-<p><a href="../deps">Packages and dependencies</a> are covered in the next chapter.</p>
-<h4 id="_release">Release</h4>
-<p>It is not possible to build the release without at least building the application itself, unless of course if there&apos;s no application to begin with.</p>
-<p>To generate the release, <code>make</code> will generally suffice with a normal Erlang.mk. A separate target is however available, and will take care of building the release, after building the application and all dependencies:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make rel</tt></pre>
-</div></div>
-<p>Consult the <a href="../relx">Releases</a> chapter for more information about what releases are and how they are generated.</p>
-<h2 id="_application_resource_file">Application resource file</h2>
-<p>When building your application, Erlang.mk will generate the <a href="http://www.erlang.org/doc/man/app.html">application resource file</a>. This file is mandatory for all Erlang applications and is found in <em>ebin/$(PROJECT).app</em>.</p>
-<p><code>PROJECT</code> is a variable defined in your Makefile and taken from the name of the directory when Erlang.mk bootstraps your project.</p>
-<p>Erlang.mk can build the <em>ebin/$(PROJECT).app</em> in two different ways: from the configuration found in the Makefile, or from the <em>src/$(PROJECT).app.src</em> file.</p>
-<h4 id="_application_configuration">Application configuration</h4>
-<p>Erlang.mk automatically fills the <code>PROJECT</code> variable when bootstrapping a new project, but everything else is up to you. None of the values are required to build your project, although it is recommended to fill everything relevant to your situation.</p>
-<dl><dt><code>PROJECT</code></dt>
-<dd><p>The name of the OTP application or library.</p>
-</dd>
-<dt><code>PROJECT_DESCRIPTION</code></dt>
-<dd><p>Short description of the project.</p>
-</dd>
-<dt><code>PROJECT_VERSION</code></dt>
-<dd><p>Current version of the project.</p>
-</dd>
-<dt><code>PROJECT_MOD</code></dt>
-<dd><p>The application callback module.</p>
-</dd>
-<dt><code>PROJECT_REGISTERED</code></dt>
-<dd><p>List of the names of all registered processes.</p>
-</dd>
-<dt><code>PROJECT_ENV</code></dt>
-<dd><p>Configuration parameters used by the application.</p>
-</dd>
-<dt><code>PROJECT_APP_EXTRA_KEYS</code></dt>
-<dd><p>Other keys you want to add to the application <code>.app</code> file. The variable content is written as-is to the <code>.app</code> file, so be sure to format valid Erlang terms. For example: <code>PROJECT_APP_EXTRA_KEYS = {maxT, 10000}, {start_phases, [...]}</code>.</p>
-</dd>
-<dt><code>LOCAL_DEPS</code></dt>
-<dd><p>List of Erlang/OTP applications this project depends on, excluding <code>erts</code>, <code>kernel</code> and <code>stdlib</code>, or list of dependencies local to this repository (in <code>APPS_DIR</code>).</p>
-</dd>
-<dt><code>DEPS</code></dt>
-<dd><p>List of applications this project depends on that need to be fetched by Erlang.mk.</p>
-</dd>
-</dl>
-<p>There&apos;s no need for quotes or anything. The relevant part of the Cowboy Makefile follows, if you need an example:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PROJECT =</font> cowboy
-<font color="#009900">PROJECT_DESCRIPTION =</font> Small<font color="#990000">,</font> fast<font color="#990000">,</font> modular HTTP server<font color="#990000">.</font>
-<font color="#009900">PROJECT_VERSION =</font> 2.0.0-pre.2
-<font color="#009900">PROJECT_REGISTERED =</font> cowboy_clock
-
-<font color="#009900">LOCAL_DEPS =</font> crypto
-<font color="#009900">DEPS =</font> cowlib ranch</tt></pre>
-</div></div>
-<p>Any space before and after the value is dropped.</p>
-<p><a href="../deps">Dependencies</a> are covered in details in the next chapter.</p>
-<h4 id="_application_environment">Application environment</h4>
-<p>The <code>PROJECT_ENV</code> variable is used to set the application environment:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>define PROJECT_ENV
-<font color="#990000">[</font>
- {chips<font color="#990000">,</font> <font color="#990000">[</font>currysauce<font color="#990000">,</font>{mushypeas<font color="#990000">,</font><b><font color="#0000FF">false</font></b>}<font color="#990000">]</font>}<font color="#990000">,</font>
- {pizza<font color="#990000">,</font> <font color="#990000">[</font>{size<font color="#990000">,</font>large}<font color="#990000">,</font>{toppings<font color="#990000">,[</font>anchovies<font color="#990000">]</font>}<font color="#990000">]</font>}
-<font color="#990000">]</font>
-endef</tt></pre>
-</div></div>
-<p>If you have a large set of environment variables, you may find it easier to use a separate file. Do this by including the following in your Makefile:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PROJECT_ENV_FILE =</font> src/env.src
-<font color="#009900">PROJECT_ENV =</font> <font color="#009900">$(</font>subst <font color="#990000">\</font>n<font color="#990000">,</font><font color="#009900">$(newline)</font><font color="#990000">,</font><font color="#009900">$(</font>shell cat <font color="#009900">$(PROJECT_ENV_FILE)</font> <font color="#990000">|</font> sed -e <font color="#FF0000">'s/$$/</font><font color="#CC33CC">\\</font><font color="#FF0000">n/;'</font><font color="#990000">))</font>
-ebin<font color="#990000">/</font><font color="#009900">$(PROJECT)</font>.app<font color="#990000">::</font> <font color="#009900">$(PROJECT_ENV_FILE)</font></tt></pre>
-</div></div>
-<p>The file has the same contents as the <code>PROJECT_ENV</code> variable:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>[
- {<font color="#FF6600">chips</font>, [<font color="#FF6600">currysauce</font>,{<font color="#FF6600">mushypeas</font>,<font color="#000080">false</font>}]},
- {<font color="#FF6600">pizza</font>, [{<b><font color="#000080">size</font></b>,<font color="#FF6600">large</font>},{<font color="#FF6600">toppings</font>,[<font color="#FF6600">anchovies</font>]}]}
-]</tt></pre>
-</div></div>
-<h4 id="_legacy_method">Legacy method</h4>
-<p>The <em>src/$(PROJECT).app.src</em> file is a legacy method of building Erlang applications. It was introduced by the original <code>rebar</code> build tool, of which Erlang.mk owes a great deal as it is its main inspiration.</p>
-<p>The <em>.app.src</em> file serves as a template to generate the <em>.app</em> file. Erlang.mk will take it, fill in the <code>modules</code> value dynamically, and save the result in <em>ebin/$(PROJECT).app</em>.</p>
-<p>When using this method, Erlang.mk cannot fill the <code>applications</code> key from dependencies automatically, which means you need to add them to Erlang.mk and to the <em>.app.src</em> at the same time, duplicating the work.</p>
-<p>If you really can&apos;t live without the legacy method, for one reason or another, worry not; Erlang.mk will support it. And if you need to create a new project that uses this method, you just have to say so when bootstrapping:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make -f erlang<font color="#990000">.</font>mk bootstrap-lib <font color="#009900">LEGACY</font><font color="#990000">=</font><font color="#993399">1</font></tt></pre>
-</div></div>
-<h2 id="_automatic_application_resource_file_values">Automatic application resource file values</h2>
-<p>When building the application resource file, Erlang.mk may automatically add an <code>id</code> key with information about the Git commit (if using Git), or an empty string otherwise. It will only do this under specific conditions:</p>
-<ul><li>The application was built as a dependency of another, or
-</li>
-<li>The legacy method was used, and the <em>.app.src</em> file contained <code>{id, &quot;git&quot;}</code>
-</li>
-</ul>
-<p>This value is most useful when you need to help your users, as it allows you to know which version they run exactly by asking them to look in the file, or by running a simple command on their production server:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#993399">1</font><font color="#990000">&gt;</font> <b><font color="#000000">application:get_all_key</font></b>(<font color="#FF6600">cowboy</font>)<font color="#990000">.</font>
-{<font color="#FF6600">ok</font>,[{<font color="#FF6600">description</font>,<font color="#FF0000">"Small, fast, modular HTTP server."</font>},
- {<font color="#FF6600">id</font>,<font color="#FF0000">"2.0.0-pre.2-25-g0ffde50-dirty"</font>},</tt></pre>
-</div></div>
-<h2 id="_file_formats">File formats</h2>
-<p>Erlang.mk supports a variety of different source file formats. The following formats are supported natively:</p>
-<table rules="all" width="100%" frame="border"
- cellspacing="0" cellpadding="4">
-<thead><tr><th>Extension</th>
-<th>Location</th>
-<th>Description</th>
-<th>Output</th>
-</tr></thead><tbody><tr><td>.erl</td>
-<td>src/</td>
-<td>Erlang source</td>
-<td>ebin/*.beam</td>
-</tr>
-<tr><td>.core</td>
-<td>src/</td>
-<td>Core Erlang source</td>
-<td>ebin/*.beam</td>
-</tr>
-<tr><td>.xrl</td>
-<td>src/</td>
-<td>Leex source</td>
-<td>src/*.erl</td>
-</tr>
-<tr><td>.yrl</td>
-<td>src/</td>
-<td>Yecc source</td>
-<td>src/*.erl</td>
-</tr>
-<tr><td>.asn1</td>
-<td>asn1/</td>
-<td>ASN.1 files</td>
-<td>include/*.hrl include/*.asn1db src/*.erl</td>
-</tr>
-<tr><td>.mib</td>
-<td>mibs/</td>
-<td>SNMP MIB files</td>
-<td>include/*.hrl priv/mibs/*.bin</td>
-</tr>
-</tbody></table>
-<p>Files are always searched recursively.</p>
-<p>The build is ordered, so that files that generate Erlang source files are run before, and the resulting Erlang source files are then built normally.</p>
-<p>In addition, Erlang.mk keeps track of header files (<code>.hrl</code>) as described at the end of this chapter. It can also compile C code, as described in the <a href="../ports">NIFs and port drivers</a> chapter.</p>
-<p>Erlang.mk also comes with plugins for the following formats:</p>
-<table rules="all" width="100%" frame="border"
- cellspacing="0" cellpadding="4">
-<thead><tr><th>Extension</th>
-<th>Location</th>
-<th>Description</th>
-<th>Output</th>
-</tr></thead><tbody><tr><td>.dtl</td>
-<td>templates/</td>
-<td>Django templates</td>
-<td>ebin/*.beam</td>
-</tr>
-<tr><td>.proto</td>
-<td>src/</td>
-<td>Protocol buffers</td>
-<td>ebin/*.beam</td>
-</tr>
-</tbody></table>
-<h2 id="_compilation_options">Compilation options</h2>
-<p>Erlang.mk provides a few variables that you can use to customize the build process and the resulting files.</p>
-<h4 id="_erlc_opts">ERLC_OPTS</h4>
-<p><code>ERLC_OPTS</code> can be used to pass some options to <code>erlc</code>, the Erlang compiler. Erlang.mk does not restrict any option. Please refer to the <a href="http://www.erlang.org/doc/man/erlc.html">erlc Manual</a> for the full list.</p>
-<p>By default, Erlang.mk will set the following options:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">ERLC_OPTS =</font> -Werror <font color="#990000">+</font>debug_info <font color="#990000">+</font>warn_export_vars <font color="#990000">+</font>warn_shadow_vars <font color="#990000">+</font>warn_obsolete_guard</tt></pre>
-</div></div>
-<p>In other words: warnings as errors, debug info (recommended) and enable warnings for exported variables, shadow variables and obsolete guard functions.</p>
-<p>You can redefine this variable in your Makefile to change it completely, either before or after including Erlang.mk:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">ERLC_OPTS =</font> <font color="#990000">+</font>debug_info</tt></pre>
-</div></div>
-<p>You can also filter out some options from the defaults Erlang.mk sets, by defining ERLC_OPTS after including Erlang.mk using the <code>:=</code> operator.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>include erlang.mk
-
-<font color="#990000">ERLC_OPTS :=</font> <font color="#009900">$(</font>filter-out -Werror<font color="#990000">,</font><font color="#009900">$(ERLC_OPTS))</font></tt></pre>
-</div></div>
-<h4 id="_erlc_asn1_opts">ERLC_ASN1_OPTS</h4>
-<p><code>ERLC_ASN1_OPTS</code> can be used to pass compiler options when compiling ASN.1 files. Please refer to the <a href="http://erlang.org/doc/man/asn1ct.html">asn1ct manual</a> for the full list.</p>
-<p>By default, Erlang.mk will leave this empty.</p>
-<p>You can redefine this variable in your Makefile. Please see the <code>ERLC_OPTS</code> section for instructions.</p>
-<h4 id="_erlc_exclude">ERLC_EXCLUDE</h4>
-<p><code>ERLC_EXCLUDE</code> can be used to exclude some modules from the compilation. It&apos;s there for handling special cases, you should not normally need it.</p>
-<p>To exclude a module, simply list it in the variable, either before or after including Erlang.mk:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">ERLC_EXCLUDE =</font> cowboy_http2</tt></pre>
-</div></div>
-<h2 id="_cold_and_hot_builds">Cold and hot builds</h2>
-<p>The first time you run <code>make</code>, Erlang.mk will build everything.</p>
-<p>The second time you run <code>make</code>, and all subsequent times, Erlang.mk will only rebuild what changed. Erlang.mk has been optimized for this use case, as it is the most common during development.</p>
-<p>Erlang.mk figures out what changed by using the dependency tracking feature of Make. Make automatically rebuilds a target if one of its dependency has changed (for example if a header file has changed, all the source files that include it will be rebuilt), and Erlang.mk leverages this feature to cut down on rebuild times.</p>
-<p>Note that this applies only to building; some other features of Erlang.mk will run every time they are called regardless of files changed.</p>
-<h2 id="_dependency_tracking">Dependency tracking</h2>
-<p>NOTE: This section is about the dependency tracking between files inside your project, not application dependencies.</p>
-<p>Erlang.mk keeps track of the dependencies between the different files in your project. This information is kept in the <em>$(PROJECT).d</em> file in your directory. It is generated if missing, and will be generated again after every file change, by default.</p>
-<p>Dependency tracking is what allows Erlang.mk to know when to rebuild Erlang files when header files, behaviors or parse transforms have changed. Erlang.mk also automatically keeps track of which files should be compiled first, for example when you have behaviors used by other modules in your project.</p>
-<p>If your project is stable, you may want to disable generating the dependency tracking file every time you compile. You can do this by adding the following line to your <em>Makefile</em>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>NO_MAKEDEP <font color="#990000">?=</font> <font color="#993399">1</font></tt></pre>
-</div></div>
-<p>As you can see, the snippet above uses <code>?=</code> instead of a simple equal sign. This is to allow you to temporarily override this value when you do make substantial changes to your project (including a new header file, new module with dependencies, etc.) and want to rebuild the dependency tracking file. You&apos;ll be able to use the following command:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ <font color="#009900">NO_MAKEDEP</font><font color="#990000">=</font> make</tt></pre>
-</div></div>
-<p>Otherwise, <code>make clean app</code> will of course force the recompilation of your project.</p>
-<p>Erlang.mk can also keep track of the source files generated by other means, for example if you generate code from a data file in your repository.</p>
-<h2 id="_generating_erlang_source">Generating Erlang source</h2>
-<p>Erlang.mk provides hooks at different stages of the build process. When your goal is to generate Erlang source files, you can add your own rules before or after the dependency tracking file is generated. To do this, you would add your hook before or after including the <em>erlang.mk</em> file.</p>
-<p>The easiest way is after:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PROJECT =</font> example
-
-include erlang.mk
-
-<font color="#009900">$(PROJECT)</font>.d<font color="#990000">::</font> src/generated_mod.erl
-
-src/generated_mod.erl<font color="#990000">::</font> gen-mod.sh
- <font color="#009900">$(gen_verbose)</font> <font color="#990000">.</font>/gen-mod.sh <font color="#009900">$@</font></tt></pre>
-</div></div>
-<p>In this case we use <code>$(gen_verbose)</code> to hide the details of the build by default. Erlang.mk will simply say what file is it currently generating.</p>
-<p>When using an external script to generate the Erlang source file, it is recommended to depend on that script, so that the source file gets generated again when the script gets modified.</p>
-<p>If for whatever reason you prefer to hook before including Erlang.mk, don&apos;t forget to set the <code>.DEFAULT_GOAL</code> variable, otherwise nothing will get built:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PROJECT =</font> example
-
-.DEFAULT_GOAL <font color="#990000">=</font> all
-
-<font color="#009900">$(PROJECT)</font>.d<font color="#990000">::</font> src/generated_mod.erl
-
-include erlang.mk
-
-src/generated_mod.erl<font color="#990000">::</font> gen-mod.sh
- <font color="#009900">$(gen_verbose)</font> <font color="#990000">.</font>/gen-mod.sh <font color="#009900">$@</font></tt></pre>
-</div></div>
-<h2 id="_cleaning">Cleaning</h2>
-<p>Building typically involves creating a lot of new files. Some are reused in rebuilds, some are simply replaced. All can be removed safely.</p>
-<p>Erlang.mk provides two commands to remove them: <code>clean</code> and <code>distclean</code>. <code>clean</code> removes all the intermediate files that were created as a result of building, including the BEAM files, the dependency tracking file and the generated documentation. <code>distclean</code> removes these and more, including the downloaded dependencies, Dialyzer&apos;s PLT file and the generated release, putting your directory back to the state it was before you started working on it.</p>
-<p>To clean:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make clean</tt></pre>
-</div></div>
-<p>Or distclean:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make distclean</tt></pre>
-</div></div>
-<p>That is the question.</p>
-<p>Note that Erlang.mk will automatically clean some files as part of other targets, but it will never run <code>distclean</code> if you don&apos;t explicitly use it.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/limitations/">
- Limitations
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/deps/">
- Packages and dependencies
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/asciidoc.asciidoc b/docs/en/erlang.mk/1/guide/asciidoc.asciidoc
deleted file mode 100644
index cc8336bf..00000000
--- a/docs/en/erlang.mk/1/guide/asciidoc.asciidoc
+++ /dev/null
@@ -1,82 +0,0 @@
-[[asciidoc]]
-== AsciiDoc documentation
-
-Erlang.mk provides rules for generating documentation from
-AsciiDoc files. It can automatically build a user guide PDF,
-chunked HTML documentation and Unix manual pages.
-
-=== Requirements
-
-It is necessary to have http://asciidoc.org/[AsciiDoc],
-http://xmlsoft.org/XSLT/xsltproc2.html[xsltproc] and
-http://dblatex.sourceforge.net/[dblatex] installed on your
-system for Erlang.mk to generate documentation from AsciiDoc sources.
-
-=== Writing AsciiDoc documentation
-
-http://asciidoc.org/[AsciiDoc] is a text document format for
-writing notes, documentation, articles, books, ebooks, slideshows,
-web pages, man pages and blogs. AsciiDoc files can be translated
-to many formats including HTML, PDF, EPUB, man page.
-
-The http://asciidoc.org/userguide.html[AsciiDoc user guide]
-describes the AsciiDoc syntax.
-
-The https://github.com/ninenines/erlang.mk/tree/master/doc/src/guide[Erlang.mk user guide]
-is written in AsciiDoc and can be used as an example. The entry
-file is https://github.com/ninenines/erlang.mk/blob/master/doc/src/guide/book.asciidoc[book.asciidoc].
-
-Erlang.mk expects you to put your documentation in a specific
-location. This is 'doc/src/guide/' for the user guide, and
-'doc/src/manual/' for the function reference. In the case of
-the user guide, the entry point is always 'doc/src/guide/book.asciidoc'.
-
-For manual pages, it is good practice to use section 3 for
-modules, and section 7 for the application itself.
-
-=== Configuration
-
-All of the AsciiDoc related configuration can be done directly
-inside the files themselves.
-
-=== Usage
-
-To build all documentation:
-
-[source,bash]
-$ make docs
-
-To build only the AsciiDoc documentation:
-
-[source,bash]
-$ make asciidoc
-
-To build only the user guide:
-
-[source,bash]
-$ make asciidoc-guide
-
-To build only the manual:
-
-[source,bash]
-$ make asciidoc-manual
-
-To install man pages on Unix:
-
-[source,bash]
-$ make install-docs
-
-Erlang.mk allows customizing the installation path and sections
-of the man pages to be installed. The `MAN_INSTALL_PATH` variable
-defines where man pages will be installed. It defaults to
-'/usr/local/share/man'. The `MAN_SECTIONS` variable defines
-which manual sections are to be installed. It defaults to `3 7`.
-
-To install man pages to a custom location:
-
-[source,bash]
-$ make install-docs MAN_INSTALL_PATH=/opt/share/man
-
-Note that you may need to run the install commands using
-`sudo` or equivalent if the location is not writeable by
-your user.
diff --git a/docs/en/erlang.mk/1/guide/asciidoc/index.html b/docs/en/erlang.mk/1/guide/asciidoc/index.html
deleted file mode 100644
index a695b257..00000000
--- a/docs/en/erlang.mk/1/guide/asciidoc/index.html
+++ /dev/null
@@ -1,223 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: AsciiDoc documentation</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>AsciiDoc documentation</span></h1>
-
-<p>Erlang.mk provides rules for generating documentation from AsciiDoc files. It can automatically build a user guide PDF, chunked HTML documentation and Unix manual pages.</p>
-<h2 id="_requirements">Requirements</h2>
-<p>It is necessary to have <a href="http://asciidoc.org/">AsciiDoc</a>, <a href="http://xmlsoft.org/XSLT/xsltproc2.html">xsltproc</a> and <a href="http://dblatex.sourceforge.net/">dblatex</a> installed on your system for Erlang.mk to generate documentation from AsciiDoc sources.</p>
-<h2 id="_writing_asciidoc_documentation">Writing AsciiDoc documentation</h2>
-<p><a href="http://asciidoc.org/">AsciiDoc</a> is a text document format for writing notes, documentation, articles, books, ebooks, slideshows, web pages, man pages and blogs. AsciiDoc files can be translated to many formats including HTML, PDF, EPUB, man page.</p>
-<p>The <a href="http://asciidoc.org/userguide.html">AsciiDoc user guide</a> describes the AsciiDoc syntax.</p>
-<p>The <a href="https://github.com/ninenines/erlang.mk/tree/master/doc/src/guide">Erlang.mk user guide</a> is written in AsciiDoc and can be used as an example. The entry file is <a href="https://github.com/ninenines/erlang.mk/blob/master/doc/src/guide/book.asciidoc">book.asciidoc</a>.</p>
-<p>Erlang.mk expects you to put your documentation in a specific location. This is <em>doc/src/guide/</em> for the user guide, and <em>doc/src/manual/</em> for the function reference. In the case of the user guide, the entry point is always <em>doc/src/guide/book.asciidoc</em>.</p>
-<p>For manual pages, it is good practice to use section 3 for modules, and section 7 for the application itself.</p>
-<h2 id="_configuration">Configuration</h2>
-<p>All of the AsciiDoc related configuration can be done directly inside the files themselves.</p>
-<h2 id="_usage">Usage</h2>
-<p>To build all documentation:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make docs</tt></pre>
-</div></div>
-<p>To build only the AsciiDoc documentation:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make asciidoc</tt></pre>
-</div></div>
-<p>To build only the user guide:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make asciidoc-guide</tt></pre>
-</div></div>
-<p>To build only the manual:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make asciidoc-manual</tt></pre>
-</div></div>
-<p>To install man pages on Unix:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make install-docs</tt></pre>
-</div></div>
-<p>Erlang.mk allows customizing the installation path and sections of the man pages to be installed. The <code>MAN_INSTALL_PATH</code> variable defines where man pages will be installed. It defaults to <em>/usr/local/share/man</em>. The <code>MAN_SECTIONS</code> variable defines which manual sections are to be installed. It defaults to <code>3 7</code>.</p>
-<p>To install man pages to a custom location:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make install-docs <font color="#009900">MAN_INSTALL_PATH</font><font color="#990000">=</font>/opt/share/man</tt></pre>
-</div></div>
-<p>Note that you may need to run the install commands using <code>sudo</code> or equivalent if the location is not writeable by your user.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/compat/">
- Compatibility with other build tools
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/edoc/">
- EDoc comments
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/ci.asciidoc b/docs/en/erlang.mk/1/guide/ci.asciidoc
deleted file mode 100644
index 2b69e282..00000000
--- a/docs/en/erlang.mk/1/guide/ci.asciidoc
+++ /dev/null
@@ -1,66 +0,0 @@
-[[ci]]
-== Continuous integration
-
-Erlang.mk comes with some support for continuous integration,
-aimed at open source projects that need to support more than
-one specific Erlang/OTP release. (If you target one specific
-release, check the xref:otp_version_pinning[OTP version pinning]
-section of the xref:kerl[OTP version management] chapter.)
-
-=== Configuring Erlang/OTP versions to test
-
-To use the CI plugin you must first configure which versions
-of Erlang/OTP will be used. Erlang.mk provides three separate
-configuration variables depending on whether you need a normal
-OTP release, a HiPE-enabled release or an ErLLVM-enabled release.
-
-At the time of writing, this is how you would test against all
-the most recent patch releases of Erlang/OTP 19 and above:
-
-[source,make]
-CI_OTP = OTP-19.0.7 OTP-19.1.6 OTP-19.2.3 OTP-19.3.6.2 OTP-20.0.4
-
-If you want to test against HiPE and ErLLVM but only with the
-latest version of Erlang/OTP, the following could work:
-
-[source,make]
-CI_HIPE = $(lastword $(CI_OTP))
-CI_ERLLVM = $(CI_HIPE)
-
-Consult the xref:kerl[OTP version management] chapter for more
-information about Erlang/OTP versions and customization of the
-Erlang/OTP builds.
-
-=== Running tests across all configured versions
-
-The recommended way to run the `ci` target is with the option
-`-k`. It will ensure that tests are run for all configured
-Erlang/OTP versions, even if there are errors:
-
-[source,bash]
-$ make ci -k
-
-=== Extending the CI targets
-
-The `ci` target can be extended. For example to run Dialyzer
-at the end of CI:
-
-[source,make]
-----
-ci:: dialyze
-----
-
-Additional setup can be done by extending the `ci-setup`
-target. This target is ran before testing each individual
-Erlang/OTP version.
-
-For example, to ensure dependencies are re-fetched/built
-before testing individual Erlang/OTP releases:
-
-[source,make]
-----
-ci-setup:: distclean
-----
-
-Similarly, the `ci-extra` target can be extended to run
-extra commands after an Erlang/OTP version has been tested.
diff --git a/docs/en/erlang.mk/1/guide/ci/index.html b/docs/en/erlang.mk/1/guide/ci/index.html
deleted file mode 100644
index 75a03bbc..00000000
--- a/docs/en/erlang.mk/1/guide/ci/index.html
+++ /dev/null
@@ -1,211 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Continuous integration</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Continuous integration</span></h1>
-
-<p>Erlang.mk comes with some support for continuous integration, aimed at open source projects that need to support more than one specific Erlang/OTP release. (If you target one specific release, check the <a href="../otp_version_pinning">OTP version pinning</a> section of the <a href="../kerl">OTP version management</a> chapter.)</p>
-<h2 id="_configuring_erlang_otp_versions_to_test">Configuring Erlang/OTP versions to test</h2>
-<p>To use the CI plugin you must first configure which versions of Erlang/OTP will be used. Erlang.mk provides three separate configuration variables depending on whether you need a normal OTP release, a HiPE-enabled release or an ErLLVM-enabled release.</p>
-<p>At the time of writing, this is how you would test against all the most recent patch releases of Erlang/OTP 19 and above:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">CI_OTP =</font> OTP-19.0.7 OTP-19.1.6 OTP-19.2.3 OTP-19.3.6.2 OTP-20.0.4</tt></pre>
-</div></div>
-<p>If you want to test against HiPE and ErLLVM but only with the latest version of Erlang/OTP, the following could work:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">CI_HIPE =</font> <font color="#009900">$(</font>lastword <font color="#009900">$(CI_OTP))</font>
-<font color="#009900">CI_ERLLVM =</font> <font color="#009900">$(CI_HIPE)</font></tt></pre>
-</div></div>
-<p>Consult the <a href="../kerl">OTP version management</a> chapter for more information about Erlang/OTP versions and customization of the Erlang/OTP builds.</p>
-<h2 id="_running_tests_across_all_configured_versions">Running tests across all configured versions</h2>
-<p>The recommended way to run the <code>ci</code> target is with the option <code>-k</code>. It will ensure that tests are run for all configured Erlang/OTP versions, even if there are errors:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make ci -k</tt></pre>
-</div></div>
-<h2 id="_extending_the_ci_targets">Extending the CI targets</h2>
-<p>The <code>ci</code> target can be extended. For example to run Dialyzer at the end of CI:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#990000">ci::</font> dialyze</tt></pre>
-</div></div>
-<p>Additional setup can be done by extending the <code>ci-setup</code> target. This target is ran before testing each individual Erlang/OTP version.</p>
-<p>For example, to ensure dependencies are re-fetched/built before testing individual Erlang/OTP releases:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#990000">ci-setup::</font> distclean</tt></pre>
-</div></div>
-<p>Similarly, the <code>ci-extra</code> target can be extended to run extra commands after an Erlang/OTP version has been tested.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/coverage/">
- Code coverage
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/dialyzer/">
- Dialyzer
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/common_test.asciidoc b/docs/en/erlang.mk/1/guide/common_test.asciidoc
deleted file mode 100644
index 993bb8cd..00000000
--- a/docs/en/erlang.mk/1/guide/common_test.asciidoc
+++ /dev/null
@@ -1,103 +0,0 @@
-[[ct]]
-== Common Test
-
-Common Test is Erlang's functional testing framework.
-Erlang.mk automates the discovery and running of Common
-Test suites.
-
-=== Writing tests
-
-The http://www.erlang.org/doc/apps/common_test/write_test_chapter.html[Common Test user guide]
-is the best place to learn how to write tests. Erlang.mk
-requires that file names for test suites end with '_SUITE.erl'
-and that the files be located in the '$(TEST_DIR)' directory.
-This defaults to 'test/'.
-
-=== Configuration
-
-The `CT_OPTS` variable allows you to set extra Common Test
-options. Options are documented in the
-http://www.erlang.org/doc/apps/common_test/run_test_chapter.html[Common Test user guide].
-You can use it to set Common Test hooks, for example:
-
-[source,make]
-CT_OPTS = -ct_hooks cowboy_ct_hook
-
-The `CT_SUITES` variable can be used to override what
-Common Test suites Erlang.mk will be aware of. It does
-not normally need to be set as Erlang.mk will find the
-test suites automatically.
-
-The name of the suite is the part before `_SUITE.erl`.
-If the file is named 'http_SUITE.erl', the test suite
-is `http`:
-
-[source,make]
-CT_SUITES = http ws
-
-The `CT_LOGS_DIR` variable can be used to set where HTML
-log files are to be written. This defaults to 'logs/'.
-
-[source,make]
-CT_LOGS_DIR = ct_output_log_dir
-
-=== Usage
-
-To run all tests (including Common Test):
-
-[source,bash]
-$ make tests
-
-To run all tests and static checks (including Common Test):
-
-[source,bash]
-$ make check
-
-You can also run Common Test separately:
-
-[source,bash]
-$ make ct
-
-Erlang.mk will create targets for all test suites it finds.
-If you have a file named 'test/http_SUITE.erl', then the
-target `ct-http` will run that specific test suite:
-
-[source,bash]
-$ make ct-http
-
-Erlang.mk provides a convenient way to run a specific
-group or a specific test case within a specific group,
-using the variable `t`. Note that this only applies to
-suite-specific targets, like the `ct-http` example above.
-
-To run all tests from the `http_compress` group in the
-`http_SUITE` test suite, write:
-
-[source,bash]
-$ make ct-http t=http_compress
-
-Similarly, to run a specific test case in that group:
-
-[source,bash]
-$ make ct-http t=http_compress:headers_dupe
-
-To do the same against a multi-application repository,
-you can use the `-C` option:
-
-[source,bash]
-$ make -C apps/my_app ct-http t=my_group:my_case
-
-Note that this also applies to dependencies. When using Cowboy
-as a dependency, you can run the following directly:
-
-[source,bash]
-$ make -C deps/cowboy ct-http t=http_compress
-
-The variable `c` can be used to run a specific test when
-the test suite does not group test cases:
-
-[source,bash]
-$ make ct-http c=headers_dupe
-
-Finally, xref:coverage[code coverage] is available,
-but covered in its own chapter.
diff --git a/docs/en/erlang.mk/1/guide/common_test/index.html b/docs/en/erlang.mk/1/guide/common_test/index.html
deleted file mode 100644
index cc05b428..00000000
--- a/docs/en/erlang.mk/1/guide/common_test/index.html
+++ /dev/null
@@ -1,259 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Common Test</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Common Test</span></h1>
-
-<p>Common Test is Erlang&apos;s functional testing framework. Erlang.mk automates the discovery and running of Common Test suites.</p>
-<h2 id="_writing_tests">Writing tests</h2>
-<p>The <a href="http://www.erlang.org/doc/apps/common_test/write_test_chapter.html">Common Test user guide</a> is the best place to learn how to write tests. Erlang.mk requires that file names for test suites end with <em>_SUITE.erl</em> and that the files be located in the <em>$(TEST_DIR)</em> directory. This defaults to <em>test/</em>.</p>
-<h2 id="_configuration">Configuration</h2>
-<p>The <code>CT_OPTS</code> variable allows you to set extra Common Test options. Options are documented in the <a href="http://www.erlang.org/doc/apps/common_test/run_test_chapter.html">Common Test user guide</a>. You can use it to set Common Test hooks, for example:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">CT_OPTS =</font> -ct_hooks cowboy_ct_hook</tt></pre>
-</div></div>
-<p>The <code>CT_SUITES</code> variable can be used to override what Common Test suites Erlang.mk will be aware of. It does not normally need to be set as Erlang.mk will find the test suites automatically.</p>
-<p>The name of the suite is the part before <code>_SUITE.erl</code>. If the file is named <em>http_SUITE.erl</em>, the test suite is <code>http</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">CT_SUITES =</font> http ws</tt></pre>
-</div></div>
-<p>The <code>CT_LOGS_DIR</code> variable can be used to set where HTML log files are to be written. This defaults to <em>logs/</em>.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">CT_LOGS_DIR =</font> ct_output_log_dir</tt></pre>
-</div></div>
-<h2 id="_usage">Usage</h2>
-<p>To run all tests (including Common Test):</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make tests</tt></pre>
-</div></div>
-<p>To run all tests and static checks (including Common Test):</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make check</tt></pre>
-</div></div>
-<p>You can also run Common Test separately:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make ct</tt></pre>
-</div></div>
-<p>Erlang.mk will create targets for all test suites it finds. If you have a file named <em>test/http_SUITE.erl</em>, then the target <code>ct-http</code> will run that specific test suite:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make ct-http</tt></pre>
-</div></div>
-<p>Erlang.mk provides a convenient way to run a specific group or a specific test case within a specific group, using the variable <code>t</code>. Note that this only applies to suite-specific targets, like the <code>ct-http</code> example above.</p>
-<p>To run all tests from the <code>http_compress</code> group in the <code>http_SUITE</code> test suite, write:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make ct-http <font color="#009900">t</font><font color="#990000">=</font>http_compress</tt></pre>
-</div></div>
-<p>Similarly, to run a specific test case in that group:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make ct-http <font color="#009900">t</font><font color="#990000">=</font>http_compress<font color="#990000">:</font>headers_dupe</tt></pre>
-</div></div>
-<p>To do the same against a multi-application repository, you can use the <code>-C</code> option:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make -C apps/my_app ct-http <font color="#009900">t</font><font color="#990000">=</font>my_group<font color="#990000">:</font>my_case</tt></pre>
-</div></div>
-<p>Note that this also applies to dependencies. When using Cowboy as a dependency, you can run the following directly:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make -C deps/cowboy ct-http <font color="#009900">t</font><font color="#990000">=</font>http_compress</tt></pre>
-</div></div>
-<p>The variable <code>c</code> can be used to run a specific test when the test suite does not group test cases:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make ct-http <font color="#009900">c</font><font color="#990000">=</font>headers_dupe</tt></pre>
-</div></div>
-<p>Finally, <a href="../coverage">code coverage</a> is available, but covered in its own chapter.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/eunit/">
- EUnit
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/proper/">
- PropEr
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/compat.asciidoc b/docs/en/erlang.mk/1/guide/compat.asciidoc
deleted file mode 100644
index 8c8f935c..00000000
--- a/docs/en/erlang.mk/1/guide/compat.asciidoc
+++ /dev/null
@@ -1,90 +0,0 @@
-[[compat]]
-== Compatibility with other build tools
-
-Erlang.mk tries its best to be compatible with the other Erlang
-build tools. It can use dependencies written with other build
-tools in mind, and can also make your projects usable by those
-build tools as well. Erlang.mk is like the cool kid that gets
-along with everybody.
-
-In this chapter I will use the term _Rebar project_ to refer
-to a project built using Rebar 2, Rebar 3 or Mad. These three
-build tools are very similar and share the same configuration
-file.
-
-=== Rebar projects as Erlang.mk dependencies
-
-Erlang.mk comes with a feature called _Autoload_ which will
-use Rebar 2 to patch any Rebar project and make it compatible
-with Erlang.mk. This feature essentially patches Rebar out
-and adds a Makefile to the project that Erlang.mk can then
-use for building:
-
-_Autoload_ is documented in more details in the
-xref:deps[Packages and dependencies] chapter.
-
-=== Erlang.mk projects as Rebar dependencies
-
-Erlang.mk projects can be made compatible with the Rebar family
-of build tools pretty easily, as Erlang.mk will generate
-all the files they require for building.
-
-The Rebar family requires two files: a 'rebar.config' file
-containing compilation options and the list of dependencies,
-and the application resource file, found either at
-'ebin/$(PROJECT).app' or at 'src/$(PROJECT).app.src'.
-
-==== Rebar configuration
-
-Erlang.mk comes with a target that generates a 'rebar.config'
-file when invoked:
-
-[source,bash]
-$ make rebar.config
-
-Careful! This will build the file even if it already existed
-before.
-
-To build this file, Erlang.mk uses information it finds in
-the `DEPS` and `ERLC_OPTS` variables, among others. This
-means that the Rebar family builds your project much the
-same way as Erlang.mk.
-
-// @todo Sanity check chapter.
-Careful though! Different build tools have different fetching
-strategies. If some applications provide differing dependencies,
-they might be fetched differently by other build tools. Check
-the upcoming Sanity check chapter to find out how to detect such
-issues.
-
-You can automatically generate this file when you build
-your application, by making it a dependency of the `app`
-target:
-
-[source,make]
-----
-app:: rebar.config
-----
-
-Don't forget to commit the file when it changes!
-
-If you run into other issues, it's probably because you use a
-feature specific to Erlang.mk, like the `cp` fetch method.
-It could also be that we forgot to handle something! Sorry.
-We are of course interested to hear about any compatibility
-problems you may have, just open a ticket!
-
-==== Application resource file
-
-Erlang.mk has two ways to generate an application resource
-file: from the information found in the Makefile, or from
-the information found in the 'src/$(PROJECT).app.src' file.
-Needless to say, if you have this file in your repository,
-then you don't need to worry about compatibility with other
-build tools.
-
-If you don't, however, it's not much harder. Every time
-Erlang.mk will compile your application, it will produce
-a new 'ebin/$(PROJECT).app' file. Simply commit this file
-when it changes. It will only change when you modify the
-configuration, add or remove modules.
diff --git a/docs/en/erlang.mk/1/guide/compat/index.html b/docs/en/erlang.mk/1/guide/compat/index.html
deleted file mode 100644
index debc307d..00000000
--- a/docs/en/erlang.mk/1/guide/compat/index.html
+++ /dev/null
@@ -1,199 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Compatibility with other build tools</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Compatibility with other build tools</span></h1>
-
-<p>Erlang.mk tries its best to be compatible with the other Erlang build tools. It can use dependencies written with other build tools in mind, and can also make your projects usable by those build tools as well. Erlang.mk is like the cool kid that gets along with everybody.</p>
-<p>In this chapter I will use the term <em>Rebar project</em> to refer to a project built using Rebar 2, Rebar 3 or Mad. These three build tools are very similar and share the same configuration file.</p>
-<h2 id="_rebar_projects_as_erlang_mk_dependencies">Rebar projects as Erlang.mk dependencies</h2>
-<p>Erlang.mk comes with a feature called <em>Autoload</em> which will use Rebar 2 to patch any Rebar project and make it compatible with Erlang.mk. This feature essentially patches Rebar out and adds a Makefile to the project that Erlang.mk can then use for building:</p>
-<p><em>Autoload</em> is documented in more details in the <a href="../deps">Packages and dependencies</a> chapter.</p>
-<h2 id="_erlang_mk_projects_as_rebar_dependencies">Erlang.mk projects as Rebar dependencies</h2>
-<p>Erlang.mk projects can be made compatible with the Rebar family of build tools pretty easily, as Erlang.mk will generate all the files they require for building.</p>
-<p>The Rebar family requires two files: a <em>rebar.config</em> file containing compilation options and the list of dependencies, and the application resource file, found either at <em>ebin/$(PROJECT).app</em> or at <em>src/$(PROJECT).app.src</em>.</p>
-<h4 id="_rebar_configuration">Rebar configuration</h4>
-<p>Erlang.mk comes with a target that generates a <em>rebar.config</em> file when invoked:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make rebar<font color="#990000">.</font>config</tt></pre>
-</div></div>
-<p>Careful! This will build the file even if it already existed before.</p>
-<p>To build this file, Erlang.mk uses information it finds in the <code>DEPS</code> and <code>ERLC_OPTS</code> variables, among others. This means that the Rebar family builds your project much the same way as Erlang.mk.</p>
-<!-- @todo Sanity check chapter.-->
-<p>Careful though! Different build tools have different fetching strategies. If some applications provide differing dependencies, they might be fetched differently by other build tools. Check the upcoming Sanity check chapter to find out how to detect such issues.</p>
-<p>You can automatically generate this file when you build your application, by making it a dependency of the <code>app</code> target:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#990000">app::</font> rebar.config</tt></pre>
-</div></div>
-<p>Don&apos;t forget to commit the file when it changes!</p>
-<p>If you run into other issues, it&apos;s probably because you use a feature specific to Erlang.mk, like the <code>cp</code> fetch method. It could also be that we forgot to handle something! Sorry. We are of course interested to hear about any compatibility problems you may have, just open a ticket!</p>
-<h4 id="_application_resource_file">Application resource file</h4>
-<p>Erlang.mk has two ways to generate an application resource file: from the information found in the Makefile, or from the information found in the <em>src/$(PROJECT).app.src</em> file. Needless to say, if you have this file in your repository, then you don&apos;t need to worry about compatibility with other build tools.</p>
-<p>If you don&apos;t, however, it&apos;s not much harder. Every time Erlang.mk will compile your application, it will produce a new <em>ebin/$(PROJECT).app</em> file. Simply commit this file when it changes. It will only change when you modify the configuration, add or remove modules.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/cross_compiling/">
- Cross compiling
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/asciidoc/">
- AsciiDoc documentation
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/contributing.asciidoc b/docs/en/erlang.mk/1/guide/contributing.asciidoc
deleted file mode 100644
index 58e5de68..00000000
--- a/docs/en/erlang.mk/1/guide/contributing.asciidoc
+++ /dev/null
@@ -1,116 +0,0 @@
-[[contributing]]
-== Contributing
-
-You are welcome and encouraged to contribute.
-
-This is how.
-
-=== Priorities
-
-From the most important to the least important:
-
-* Bugs
-* Package issues/additions
-* Refactoring
-* Features
-
-=== Bugs
-
-If you have found a bug, you should open a ticket. Include
-everything relevant including the command you used, output,
-a link to the code that triggers the issue, why you think
-this is a bug, etc.
-
-If you think you have found a bug but you are not sure, you
-should open a ticket as previously explained.
-
-If you have found a bug and you need it to be solved RIGHT
-NOW, open a ticket as previously explained.
-
-Once you have opened a ticket, be patient, try to answer
-questions in a timely manner and confirm that the bug was
-indeed fixed when it is.
-
-If you can't be patient, either try to solve the bug and
-contribute the fix back or become a paying customer.
-
-=== Code
-
-The code is located in the 'core/\*.mk' and 'plugins/\*.mk' files.
-The tests are located in the 'test/Makefile' and 'test/*.mk' files.
-
-If you have a fix or a hack for a bug, you should open a
-pull request. Any fix should include a test case that fails
-before the fix and is working after.
-
-If you have a test case that reproduces a bug, but no fix for
-it, you should open a pull request.
-
-Changes need to be tested with at least the `make check`
-command. A specific test case can be tested using `make check c=CASE`
-with `CASE` the name of the target to run. Output can be
-modulated using the `V` variable, which is an integer
-from 0 to 4. A typical use would be `make check c=dialyzer V=3`.
-The value 4 is particular and shows expanded commands right
-before they are executed.
-
-To run tests in parallel, use the `-j` option. It is generally
-a good idea to also use the `-k` option to run all tests even
-if one fails. For example: `make check -j 32 -k`.
-
-Some changes should be tested against all packages. Continue
-reading for more details on testing them.
-
-=== Packages
-
-You can search existing packages using the `make search q=STRING`
-command. This can be done both from an Erlang.mk project or
-directly from the Erlang.mk repository.
-
-Packages can be added to the index using the `pkg_add.sh` script.
-
-[source,bash]
-----
-$ git clone https://github.com/$YOURUSERNAME/erlang.mk
-$ cd erlang.mk
-$ ./pkg_add.sh cowboy git https://github.com/ninenines/cowboy 1.0.0
- http://ninenines.eu "Small, fast and modular HTTP server."
-$ git push origin master
-----
-
-Before sending a pull request, you should test your package.
-You can use the following command: `make check p=PACKAGE`,
-where `PACKAGE` is the name of the package, for example
-`cowboy`.
-
-To test all packages, the `make packages` command can be used.
-This can take a long time. Some packages will fail with certain
-versions of Erlang, or if a prerequisite is missing from your system.
-You can of course speed things up using the `-j` and `-k` flags.
-
-After all packages have been tested, you can run the command
-`make summary` to know what changed since the previous run.
-
-=== Documentation
-
-The documentation is always right.
-
-If you think you have found a mistake in the documentation,
-this is a bug. You can either open a ticket or send a pull
-request.
-
-To make sure that the documentation changes work, install
-the listed xref:asciidoc[Requirements] on your system and
-run `make docs`.
-
-=== Feature requests
-
-If you have an awesome idea or need something that Erlang.mk
-doesn't provide yet, open a ticket. Provide as much detail as
-possible.
-
-If you have code, great! Open a pull request as previously
-explained.
-
-If not, you can still improve your feature request by writing
-the related documentation.
diff --git a/docs/en/erlang.mk/1/guide/contributing/index.html b/docs/en/erlang.mk/1/guide/contributing/index.html
deleted file mode 100644
index 8a140bd2..00000000
--- a/docs/en/erlang.mk/1/guide/contributing/index.html
+++ /dev/null
@@ -1,213 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Contributing</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Contributing</span></h1>
-
-<p>You are welcome and encouraged to contribute.</p>
-<p>This is how.</p>
-<h2 id="_priorities">Priorities</h2>
-<p>From the most important to the least important:</p>
-<ul><li>Bugs
-</li>
-<li>Package issues/additions
-</li>
-<li>Refactoring
-</li>
-<li>Features
-</li>
-</ul>
-<h2 id="_bugs">Bugs</h2>
-<p>If you have found a bug, you should open a ticket. Include everything relevant including the command you used, output, a link to the code that triggers the issue, why you think this is a bug, etc.</p>
-<p>If you think you have found a bug but you are not sure, you should open a ticket as previously explained.</p>
-<p>If you have found a bug and you need it to be solved RIGHT NOW, open a ticket as previously explained.</p>
-<p>Once you have opened a ticket, be patient, try to answer questions in a timely manner and confirm that the bug was indeed fixed when it is.</p>
-<p>If you can&apos;t be patient, either try to solve the bug and contribute the fix back or become a paying customer.</p>
-<h2 id="_code">Code</h2>
-<p>The code is located in the <em>core/\*.mk</em> and <em>plugins/\*.mk</em> files. The tests are located in the <em>test/Makefile</em> and <em>test/*.mk</em> files.</p>
-<p>If you have a fix or a hack for a bug, you should open a pull request. Any fix should include a test case that fails before the fix and is working after.</p>
-<p>If you have a test case that reproduces a bug, but no fix for it, you should open a pull request.</p>
-<p>Changes need to be tested with at least the <code>make check</code> command. A specific test case can be tested using <code>make check c=CASE</code> with <code>CASE</code> the name of the target to run. Output can be modulated using the <code>V</code> variable, which is an integer from 0 to 4. A typical use would be <code>make check c=dialyzer V=3</code>. The value 4 is particular and shows expanded commands right before they are executed.</p>
-<p>To run tests in parallel, use the <code>-j</code> option. It is generally a good idea to also use the <code>-k</code> option to run all tests even if one fails. For example: <code>make check -j 32 -k</code>.</p>
-<p>Some changes should be tested against all packages. Continue reading for more details on testing them.</p>
-<h2 id="_packages">Packages</h2>
-<p>You can search existing packages using the <code>make search q=STRING</code> command. This can be done both from an Erlang.mk project or directly from the Erlang.mk repository.</p>
-<p>Packages can be added to the index using the <code>pkg_add.sh</code> script.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ git clone https<font color="#990000">:</font>//github<font color="#990000">.</font>com<font color="#990000">/</font><font color="#009900">$YOURUSERNAME</font>/erlang<font color="#990000">.</font>mk
-$ cd erlang<font color="#990000">.</font>mk
-$ <font color="#990000">.</font>/pkg_add<font color="#990000">.</font>sh cowboy git https<font color="#990000">:</font>//github<font color="#990000">.</font>com/ninenines/cowboy <font color="#993399">1.0</font><font color="#990000">.</font><font color="#993399">0</font>
- http<font color="#990000">:</font>//ninenines<font color="#990000">.</font>eu <font color="#FF0000">"Small, fast and modular HTTP server."</font>
-$ git push origin master</tt></pre>
-</div></div>
-<p>Before sending a pull request, you should test your package. You can use the following command: <code>make check p=PACKAGE</code>, where <code>PACKAGE</code> is the name of the package, for example <code>cowboy</code>.</p>
-<p>To test all packages, the <code>make packages</code> command can be used. This can take a long time. Some packages will fail with certain versions of Erlang, or if a prerequisite is missing from your system. You can of course speed things up using the <code>-j</code> and <code>-k</code> flags.</p>
-<p>After all packages have been tested, you can run the command <code>make summary</code> to know what changed since the previous run.</p>
-<h2 id="_documentation">Documentation</h2>
-<p>The documentation is always right.</p>
-<p>If you think you have found a mistake in the documentation, this is a bug. You can either open a ticket or send a pull request.</p>
-<p>To make sure that the documentation changes work, install the listed <a href="../asciidoc">Requirements</a> on your system and run <code>make docs</code>.</p>
-<h2 id="_feature_requests">Feature requests</h2>
-<p>If you have an awesome idea or need something that Erlang.mk doesn&apos;t provide yet, open a ticket. Provide as much detail as possible.</p>
-<p>If you have code, great! Open a pull request as previously explained.</p>
-<p>If not, you can still improve your feature request by writing the related documentation.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/history/">
- Short history
- </a>
-
-
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/coverage.asciidoc b/docs/en/erlang.mk/1/guide/coverage.asciidoc
deleted file mode 100644
index 02f8b5b9..00000000
--- a/docs/en/erlang.mk/1/guide/coverage.asciidoc
+++ /dev/null
@@ -1,62 +0,0 @@
-[[coverage]]
-== Code coverage
-
-Erlang.mk provides support for code coverage via the tool
-`cover` that comes with Erlang/OTP. Code coverage lets you
-see what parts of your code are covered by the tests.
-
-=== Enabling cover when running tests
-
-To run tests with code coverage enabled, simply define
-`COVER=1` either on the command line or in your Makefile:
-
-[source,bash]
-$ make tests COVER=1
-
-When running the targets `tests` or `check` the code
-coverage report will be built automatically. This is
-not the case for test framework specific targets,
-however. In those cases you can generate the reports
-manually:
-
-[source,bash]
-$ make eunit proper COVER=1
-$ make cover-report
-
-Note that Common Test has some support for `cover`
-built-in and that it will generate code coverage
-reports in the Common Test logs regardless. The
-report that Erlang.mk generates is however common
-to all test frameworks and might be more useful.
-
-=== Adding applications to the cover report
-
-By default Erlang.mk will include all the applications
-in the code coverage report, except external dependencies.
-
-To include some dependencies in the report, you can
-define the `COVER_DEPS` variable:
-
-[source,make]
-COVER_DEPS = cowlib
-
-When using multi application repositories you can exclude
-some applications by defining the `COVER_APPS` variable:
-
-[source,make]
-COVER_APPS = presence backend
-
-=== Configuring paths
-
-By default Erlang.mk will store 'coverdata' files and
-code coverage reports under the 'cover/' directory. The
-variables `COVER_DATA_DIR` and `COVER_REPORT_DIR` can be
-set to use a different location.
-
-=== Merging coverdata files
-
-The target `all.coverdata` will take all existing
-'coverdata' files and merge them into one:
-
-[source,bash]
-$ make all.coverdata
diff --git a/docs/en/erlang.mk/1/guide/coverage/index.html b/docs/en/erlang.mk/1/guide/coverage/index.html
deleted file mode 100644
index 9ca3b6de..00000000
--- a/docs/en/erlang.mk/1/guide/coverage/index.html
+++ /dev/null
@@ -1,211 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Code coverage</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Code coverage</span></h1>
-
-<p>Erlang.mk provides support for code coverage via the tool <code>cover</code> that comes with Erlang/OTP. Code coverage lets you see what parts of your code are covered by the tests.</p>
-<h2 id="_enabling_cover_when_running_tests">Enabling cover when running tests</h2>
-<p>To run tests with code coverage enabled, simply define <code>COVER=1</code> either on the command line or in your Makefile:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make tests <font color="#009900">COVER</font><font color="#990000">=</font><font color="#993399">1</font></tt></pre>
-</div></div>
-<p>When running the targets <code>tests</code> or <code>check</code> the code coverage report will be built automatically. This is not the case for test framework specific targets, however. In those cases you can generate the reports manually:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make eunit proper <font color="#009900">COVER</font><font color="#990000">=</font><font color="#993399">1</font>
-$ make cover-report</tt></pre>
-</div></div>
-<p>Note that Common Test has some support for <code>cover</code> built-in and that it will generate code coverage reports in the Common Test logs regardless. The report that Erlang.mk generates is however common to all test frameworks and might be more useful.</p>
-<h2 id="_adding_applications_to_the_cover_report">Adding applications to the cover report</h2>
-<p>By default Erlang.mk will include all the applications in the code coverage report, except external dependencies.</p>
-<p>To include some dependencies in the report, you can define the <code>COVER_DEPS</code> variable:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">COVER_DEPS =</font> cowlib</tt></pre>
-</div></div>
-<p>When using multi application repositories you can exclude some applications by defining the <code>COVER_APPS</code> variable:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">COVER_APPS =</font> presence backend</tt></pre>
-</div></div>
-<h2 id="_configuring_paths">Configuring paths</h2>
-<p>By default Erlang.mk will store <em>coverdata</em> files and code coverage reports under the <em>cover/</em> directory. The variables <code>COVER_DATA_DIR</code> and <code>COVER_REPORT_DIR</code> can be set to use a different location.</p>
-<h2 id="_merging_coverdata_files">Merging coverdata files</h2>
-<p>The target <code>all.coverdata</code> will take all existing <em>coverdata</em> files and merge them into one:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make all<font color="#990000">.</font>coverdata</tt></pre>
-</div></div>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/triq/">
- Triq
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/ci/">
- Continuous integration
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/cross_compiling.asciidoc b/docs/en/erlang.mk/1/guide/cross_compiling.asciidoc
deleted file mode 100644
index 23e14b95..00000000
--- a/docs/en/erlang.mk/1/guide/cross_compiling.asciidoc
+++ /dev/null
@@ -1,94 +0,0 @@
-[[cross_compiling]]
-== Cross compiling
-
-Erlang.mk supports cross-compiling. While the compiled
-Erlang code is portable as-is, the C code is not and
-releases need to use the correct runtime system for the
-target environment.
-
-There are therefore two steps that might require some
-intervention: compiling and building the release. If
-you do not have any C code you can just compile as you
-would normally, however.
-
-=== Compiling
-
-To cross-compile the C code you need a cross compiler. If you
-were to target Windows from an Arch Linux machine you would
-install the https://aur.archlinux.org/packages/mingw-w64-gcc/[mingw-w64-gcc]
-package. You would then need to define the `CC` environment
-variable to point to this compiler instead of the default:
-
-[source,bash]
-CC=/usr/bin/x86_64-w64-mingw32-gcc
-
-Additionally, on Windows the shared libraries use a different
-extension than on Linux, so it needs to be specified as well:
-
-[source,bash]
-C_SRC_OUTPUT_SHARED_EXTENSION=.dll
-
-These values can be added to the Makefile or given from the
-command line, for example:
-
-[source,bash]
-----
-$ CC=/usr/bin/x86_64-w64-mingw32-gcc C_SRC_OUTPUT_SHARED_EXTENSION=.dll make
- DEPEND my_nif.d
- ERLC my_nif.erl
- APP my_nif
- C my_nif.c
- LD my_nif.dll
-$ file priv/my_nif.dll
-priv/my_nif.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows
-----
-
-You could also add this configuration to your Makefile hidden
-behind a flag:
-
-[source,make]
-----
-ifdef WINDOWS_BUILD
-CC = /usr/bin/x86_64-w64-mingw32-gcc
-C_SRC_OUTPUT_SHARED_EXTENSION = .dll
-endif
-----
-
-And then just compile like this:
-
-[source,bash]
-$ make WINDOWS_BUILD=1
-
-=== Building the release
-
-For the release there are two options. You can either include
-the correct runtime system directly in the release; or you
-can not include the runtime system in the release and instead
-let it use the one installed in the target environment.
-
-To include the target runtime system, add the `include_erts`
-tuple to your 'relx.config' file:
-
-[source,erlang]
-{include_erts, "/path/to/alternate/erlang"}.
-
-If you were to target Windows for example, you could copy
-the Erlang installation from the 'Program Files' directory
-and then configure 'relx.config' like this:
-
-[source,erlang]
-{include_erts, "/path/to/erl10.1"}.
-
-You need to make sure that the runtime system version you
-will use is capable of running the compiled Erlang code
-you used to build your project, otherwise it will fail
-to run.
-
-If you choose to not include the runtime system at all,
-configure 'relx.config' as follow:
-
-[source,erlang]
-{include_erts, false}.
-
-In that case the runtime system needs to be available
-in the `$PATH` of the target environment.
diff --git a/docs/en/erlang.mk/1/guide/cross_compiling/index.html b/docs/en/erlang.mk/1/guide/cross_compiling/index.html
deleted file mode 100644
index 6f87326d..00000000
--- a/docs/en/erlang.mk/1/guide/cross_compiling/index.html
+++ /dev/null
@@ -1,240 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Cross compiling</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Cross compiling</span></h1>
-
-<p>Erlang.mk supports cross-compiling. While the compiled Erlang code is portable as-is, the C code is not and releases need to use the correct runtime system for the target environment.</p>
-<p>There are therefore two steps that might require some intervention: compiling and building the release. If you do not have any C code you can just compile as you would normally, however.</p>
-<h2 id="_compiling">Compiling</h2>
-<p>To cross-compile the C code you need a cross compiler. If you were to target Windows from an Arch Linux machine you would install the <a href="https://aur.archlinux.org/packages/mingw-w64-gcc/">mingw-w64-gcc</a> package. You would then need to define the <code>CC</code> environment variable to point to this compiler instead of the default:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">CC</font><font color="#990000">=</font>/usr/bin/x86_64-w<font color="#993399">64</font>-mingw<font color="#993399">32</font>-gcc</tt></pre>
-</div></div>
-<p>Additionally, on Windows the shared libraries use a different extension than on Linux, so it needs to be specified as well:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">C_SRC_OUTPUT_SHARED_EXTENSION</font><font color="#990000">=.</font>dll</tt></pre>
-</div></div>
-<p>These values can be added to the Makefile or given from the command line, for example:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ <font color="#009900">CC</font><font color="#990000">=</font>/usr/bin/x86_64-w<font color="#993399">64</font>-mingw<font color="#993399">32</font>-gcc <font color="#009900">C_SRC_OUTPUT_SHARED_EXTENSION</font><font color="#990000">=.</font>dll make
- DEPEND my_nif<font color="#990000">.</font>d
- ERLC my_nif<font color="#990000">.</font>erl
- APP my_nif
- C my_nif<font color="#990000">.</font>c
- LD my_nif<font color="#990000">.</font>dll
-$ file priv/my_nif<font color="#990000">.</font>dll
-priv/my_nif<font color="#990000">.</font>dll<font color="#990000">:</font> PE32<font color="#990000">+</font> executable <font color="#990000">(</font>DLL<font color="#990000">)</font> <font color="#990000">(</font>console<font color="#990000">)</font> x86-<font color="#993399">64</font><font color="#990000">,</font> <b><font color="#0000FF">for</font></b> MS Windows</tt></pre>
-</div></div>
-<p>You could also add this configuration to your Makefile hidden behind a flag:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>ifdef WINDOWS_BUILD
-<font color="#009900">CC =</font> /usr/bin/x86_64-w<font color="#993399">64</font>-mingw<font color="#993399">32</font>-gcc
-<font color="#009900">C_SRC_OUTPUT_SHARED_EXTENSION =</font> .dll
-endif</tt></pre>
-</div></div>
-<p>And then just compile like this:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make <font color="#009900">WINDOWS_BUILD</font><font color="#990000">=</font><font color="#993399">1</font></tt></pre>
-</div></div>
-<h2 id="_building_the_release">Building the release</h2>
-<p>For the release there are two options. You can either include the correct runtime system directly in the release; or you can not include the runtime system in the release and instead let it use the one installed in the target environment.</p>
-<p>To include the target runtime system, add the <code>include_erts</code> tuple to your <em>relx.config</em> file:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">include_erts</font>, <font color="#FF0000">"/path/to/alternate/erlang"</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>If you were to target Windows for example, you could copy the Erlang installation from the <em>Program Files</em> directory and then configure <em>relx.config</em> like this:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">include_erts</font>, <font color="#FF0000">"/path/to/erl10.1"</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You need to make sure that the runtime system version you will use is capable of running the compiled Erlang code you used to build your project, otherwise it will fail to run.</p>
-<p>If you choose to not include the runtime system at all, configure <em>relx.config</em> as follow:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">include_erts</font>, <font color="#000080">false</font>}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>In that case the runtime system needs to be available in the <code>$PATH</code> of the target environment.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/kerl/">
- OTP version management
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/compat/">
- Compatibility with other build tools
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/deps.asciidoc b/docs/en/erlang.mk/1/guide/deps.asciidoc
deleted file mode 100644
index 913fa245..00000000
--- a/docs/en/erlang.mk/1/guide/deps.asciidoc
+++ /dev/null
@@ -1,606 +0,0 @@
-[[deps]]
-== Packages and dependencies
-
-Erlang.mk can fetch and compile the dependencies that your
-project requires. Erlang.mk improves upon the concepts
-introduced by Rebar, so they should be familiar to many
-seasoned Erlang developers.
-
-Erlang.mk is not a package manager, nor is it trying to be,
-but it does include an index of Erlang packages to make
-discovering useful projects easier.
-
-This chapter will explain how to use packages, add
-dependencies to your project or bundle them directly
-in a single repository.
-
-=== Searching packages
-
-Erlang.mk gives you access to nearly 500 packages, with more
-being added regularly.
-
-To find a package, search for it:
-
-[source,bash]
-$ make search q=pool
-
-This will return all packages matching this word, like worker
-pool and acceptor pool projects.
-
-You can also list everything and use regular command line
-tools to find what you need, for example:
-
-[source,bash]
-$ make search | less
-
-// @todo Simplify adding packages, add a new chapter explaining
-// everything, then link to this new chapter from here.
-
-=== Adding dependencies to your project
-
-Once you find the package you need, adding it as a dependency
-to your project is a one-liner:
-
-[source,make]
-DEPS = cowboy
-
-And that's it! The next time you run `make`, Erlang.mk will
-fetch and compile Cowboy. Erlang.mk will also ensure Cowboy
-is available whenever you use the shell, run tests and any
-other operations.
-
-Erlang.mk will fill in the application resource file with
-all applications found in `DEPS`. But not all dependencies
-are Erlang applications, and not all dependencies need to
-be a runtime dependency. That's where the `BUILD_DEPS`
-variable comes in: it works just like `DEPS`, except the
-dependencies listed there will not be added as runtime
-dependencies.
-
-For example, you could add a parse transform project like
-this to make it available only at build time:
-
-[source,make]
-BUILD_DEPS = erlando
-
-Or you could depend on a C project directly, if you are
-building a NIF:
-
-[source,make]
-BUILD_DEPS = leveldb
-dep_leveldb = git https://github.com/basho/leveldb 2.1.3
-
-This dependency will be built before your application, so
-you could easily copy the resulting shared file into your
-'priv/' directory as part of the build process. More information
-about that in the xref:ports[NIFs and port drivers]
-chapter.
-
-Another variable, `LOCAL_DEPS`, allows specifying runtime
-dependencies which are part of Erlang/OTP itself, but also
-dependencies that are included in the repository. Since they
-are already on your system, there is no need to fetch them.
-Do note that there is no way to choose the version, the
-application used will be the one already on your system.
-
-You could depend on the Crypto application, for example:
-
-[source,make]
-LOCAL_DEPS = crypto
-
-Erlang.mk comes with additional types of dependencies.
-It has `TEST_DEPS` for dependencies used only for testing:
-
-[source,make]
-TEST_DEPS = ct_helper
-dep_ct_helper = git https://github.com/ninenines/ct_helper master
-
-`DOC_DEPS` for dependencies used only when building documentation:
-
-[source,make]
-DOC_DEPS = edown
-
-`REL_DEPS` for dependencies required to build the release,
-or to include extra applications in the release:
-
-[source,make]
-REL_DEPS = recon
-
-And `SHELL_DEPS` for dependencies to make available when running
-the `make shell` command:
-
-[source,make]
-SHELL_DEPS = tddreloader
-
-All these will be documented in more details in their respective
-chapters.
-
-Note that these additional types of dependencies will only
-be fetched after normal dependencies by default. You can
-force a dependency to be downloaded first by extending the
-target `deps::` before including 'erlang.mk', for example:
-
-[source,make]
-deps:: $(CURDIR)/deps/triq
-
-==== Modifying the dependency source or version
-
-By default, Erlang.mk will look into its package index to
-find the project you are looking for, if you only provide
-its name. This is this case:
-
-[source,make]
-DEPS = cowboy
-
-If you need a different version, you need to define another
-variable. There are two ways to do this, each being useful
-for different reasons.
-
-If you simply want to change the commit number, all you
-need to do is to define the `dep_$(DEP_NAME)_commit`
-variable. In the case of Cowboy, this would look like this:
-
-[source,make]
-DEPS = cowboy
-dep_cowboy_commit = 2.0.0-pre.2
-
-Erlang.mk will use the package index to get all information
-about Cowboy, except the commit number which will be overriden.
-
-If you need to set the fetch method or repository information
-too, for example because you want to use your own fork, or
-simply because the project is missing from the index, you
-can define the `dep_$(DEP_NAME)` variable with everything:
-
-[source,make]
-DEPS = cowboy
-dep_cowboy = git https://github.com/essen/cowboy 2.0.0-pre.2
-
-This will fetch Cowboy from your fork at the given commit.
-
-==== Fetch methods
-
-Erlang.mk comes with a number of different fetch methods.
-You can fetch from Git, Mercurial, SVN, to name a few.
-There are fetch methods that will work everywhere, and
-fetch methods that will only work in a given environment.
-
-The following table lists all existing methods:
-
-[cols="<,2*^",options="header"]
-|===
-| Name | Format | Description
-| git | git repo commit | Clone the Git repository and checkout the given version
-| git-subfolder | git repo commit subfolder | Clone the Git repository, checkout the given version and use one of its subfolders as a dependency
-| git-submodule | git-submodule | Initialize and update the Git submodule
-| hg | hg repo commit | Clone the Mercurial repository and update to the given version
-| svn | svn repo | Checkout the given SVN repository
-| cp | cp path/to/repo | Recursively copy a local directory
-| ln | ln path/to/repo | Symbolically link a local directory
-| hex | hex version | Download the given project version from hex.pm
-| fail | N/A | Always fail, reserved for internal use
-| legacy | N/A | Legacy Erlang.mk fetcher, reserved for internal use
-|===
-
-The `git` and `hg` methods both have a repository and commit.
-You can use any valid commit, tag or branch in that repository
-for the commit value.
-
-For example, to fetch Cowboy with tag 2.0.0-pre.2 from Git:
-
-[source,make]
-dep_cowboy = git https://github.com/ninenines/cowboy 2.0.0-pre.2
-
-Or to fetch Ehsa tag 4.0.3 from Mercurial:
-
-[source,make]
-dep_ehsa = hg https://bitbucket.org/a12n/ehsa 4.0.3
-
-Git also comes with a concept of submodules. Erlang.mk can
-automatically initializes and updates submodules for dependencies,
-as long as they were added beforehand using `git submodule add`:
-
-[source,make]
-dep_cowboy = git-submodule
-
-The `svn` method only has a repository value, but that's
-simply because the SVN repository URL can also contain
-the path and commit.
-
-This would fetch an example project from the trunk:
-
-[source,make]
-dep_ex1 = svn https://example.com/svn/trunk/project/ex1
-
-And this would fetch a separate example project from a
-specific commit:
-
-[source,make]
-dep_ex2 = svn svn://example.com/svn/branches/erlang-proj/ex2@264
-
-You can copy a directory from your machine using the `cp` method.
-It only takes the path to copy from:
-
-[source,make]
-dep_cowboy = cp $(HOME)/ninenines/cowboy
-
-Finally, you can use a package from the
-link:https://hex.pm/[Hex repository]:
-
-[source,make]
-dep_cowboy = hex 1.0.3
-
-==== Custom fetch methods
-
-If none of the existing methods fit your use, you can simply
-define your own. Erlang.mk will consider all variables that
-are named as `dep_fetch_$(METHOD)` to be available fetch
-methods. You can do anything inside this variable, as long
-as you create a folder named '$(DEPS_DIR)/$(call dep_name,$1)'.
-Or in layman terms, if your dependency is Cowboy, this would
-become 'deps/cowboy'.
-
-To give an example, this is what the Git method does:
-
-[source,make]
-----
-define dep_fetch_git
- git clone -q -n -- $(call dep_repo,$1) $(DEPS_DIR)/$(call dep_name,$1); \
- cd $(DEPS_DIR)/$(call dep_name,$1) && git checkout -q $(call dep_commit,$1);
-endef
-----
-
-Note that, like dependency information, this custom fetch method
-must be written before including 'erlang.mk'.
-
-=== How deps are fetched and built
-
-The order in which dependencies are fetched and built is well
-defined. This means that Erlang.mk will get the same applications
-regardless of the command or options being used.
-
-In tree traversal terms, where the list of dependencies is a
-tree, Erlang.mk fetches everything using the pre-order traversal
-method. The steps can be summarized like this, starting from
-the root application:
-
-. Fetch all dependencies for the application
-. Build first dependency
-. Build Nth dependency
-. Build last dependency
-
-Every time a dependency is built, these same steps are followed,
-recursively.
-
-Do note that the first step, fetching all dependencies of
-an application, is not guaranteed to be ordered. The reason
-for this is that it is not possible to have the same dependency
-listed twice in a single application, and therefore there can
-be no conflicts. Remember, this step only fetches, at no point
-are different applications built in parallel.
-
-What about conflicts between the dependencies of different
-applications? Simple. Since builds are ordered, this means
-that the first version of an application that is fetched
-will be the one that wins.
-
-This means that if project A depends on projects B and C,
-in this order, and that both B and C depend on a different
-version of D, it will always be B's version of D that wins,
-because we fetch the dependencies of B before fetching
-those from C.
-
-Similarly, if project A depends on projects B, C and D,
-regardless of the order, and A, B and C depend on a
-different version of D, it will always be A's version
-that wins, because we fetch all dependencies of A before
-fetching those from B or C.
-
-Once a dependency is built, it will not be built again by
-default. Typically dependencies do not need to be recompiled
-and this speeds up building immensely. There are a few ways
-to force recompiling a dependency however:
-
-* The dependency directory is a symbolic link; the dependency
- will always be recompiled.
-
-* The dependency is built directly, for example with a command
- like `make -C deps/cowlib`, or `make` in the dependency's
- directory.
-
-* The variable `FULL` is set, for example `make FULL=1`. This
- will force building of all dependencies. This can be added
- to your Makefile before including 'erlang.mk'.
-
-* The file `ebin/dep_built` in the dependency is removed.
-
-=== Fetching and listing dependencies only
-
-You can fetch all dependencies recursively without building anything,
-with the `make fetch-deps` command. It follows the same rules described
-in the section above.
-
-You can list all dependencies recursively, again without building
-anything, with the `make list-deps` command. It will obviously need
-to fetch all dependencies exactly like `make fetch-deps`. Once
-everything is fetched, it prints a sorted list of absolute paths to the
-dependencies.
-
-By default, `fetch-deps` and `list-deps` work on the `BUILD_DEPS`
-and `DEPS` lists only. To also fetch/list `TEST_DEPS`, `DOC_DEPS`,
-`REL_DEPS` and/or `SHELL_DEPS`, you have two possibilities:
-
-* You can use `make fetch-test-deps`, `make fetch-doc-deps`, `make
- fetch-rel-deps` and `make fetch-shell-deps` commands respectively.
- If you want to list them, you can use `make list-test-deps`, `make
- list-doc-deps`, `make list-rel-deps` and `make list-shell-deps`
- respectively.
-* You can use `make fetch-deps` or `make list-deps` with the Makefile
- variable `DEP_TYPES` set to a list of dependency types you want.
- The types are `test`, `doc`, `rel` and `shell` respectively. For
- example, you can list test and doc dependencies with `make list-deps
- DEP_TYPES='test doc'`.
-
-Note that only first level `TEST_DEPS`, `DOC_DEPS`, `REL_DEPS` and
-`SHELL_DEPS` are included, not dependencies' one. In other word,
-`make list-test-deps` lists the `TEST_DEPS` of your project, but not
-`TEST_DEPS` of the projects yours depend on.
-
-No matter which method you use, `BUILD_DEPS` and `DEPS` are always
-included.
-
-Internally, the `make fetch-*` commands store the complete list of
-dependencies in files named `$(ERLANG_MK_RECURSIVE_DEPS_LIST)`,
-`$(ERLANG_MK_RECURSIVE_TEST_DEPS_LIST)`,
-`$(ERLANG_MK_RECURSIVE_DOC_DEPS_LIST)`,
-`$(ERLANG_MK_RECURSIVE_REL_DEPS_LIST)` and
-`$(ERLANG_MK_RECURSIVE_SHELL_DEPS_LIST)`. Those files are simply printed
-by the `make list-*` commands.
-
-`make list-*` commands are made for human beings. If you need the list
-of dependencies in a Makefile or a script, you should use the content
-of those files directly instead. The reason is that `make fetch-*` and
-`make list-*` may have unwanted content in their output, such as actual
-fetching of dependencies.
-
-=== Ignoring unwanted dependencies
-
-Sometimes, you may want to ignore dependencies entirely.
-Not even fetch them. You may want to do this because a
-project you depend on depends on an application you do
-not need (like a dependency for building documentation
-or testing). Or maybe the dependency is already installed
-on your system.
-
-To ignore a dependency, simply add it to the `IGNORE_DEPS`
-variable:
-
-[source,make]
-IGNORE_DEPS += edown proper
-
-This will only ignore dependencies that are needed for
-building. It is therefore safe to write:
-
-[source,make]
-IGNORE_DEPS += edown proper
-TEST_DEPS = proper
-
-The PropEr application will be fetched as intended when
-running `make tests` or `make check`. It will however
-not be fetched when running `make` or `make deps`.
-
-=== Dependencies directory
-
-Dependencies are fetched in '$(DEPS_DIR)'. By default this is
-the 'deps' directory. You can change this default, but you
-should only do so if it was not defined previously. Erlang.mk
-uses this variable to tell dependencies where to fetch their
-own dependencies.
-
-You will therefore need to use `?=` instead of `=`. Of course,
-if you know you will never use this project as a dependency,
-`=` will work. But to avoid it biting you later on, do this:
-
-[source,make]
-DEPS_DIR ?= $(CURDIR)/libs
-
-The `$(CURDIR)` part is important, otherwise dependencies of
-dependencies will be fetched in the wrong directory.
-
-Erlang.mk will also export the `REBAR_DEPS_DIR` variable for
-compatibility with Rebar build tools, as long as they are
-recent enough.
-
-=== Many applications in one repository
-
-In addition to the dependencies that are fetched, Erlang.mk
-also allows you to have dependencies local to your repository.
-This kind of layout is sometimes called multi-application
-repositories, or repositories with multiple applications.
-
-They work exactly the same as remote dependencies, except:
-
-* They are not fetched
-* They are not autopatched
-* They are not deleted on `make distclean`
-* They are not automatically added to the application resource file
-
-To properly fill the application resource file and compile apps in
-the right order, you will need to define the `LOCAL_DEPS` variable
-for each relevant application, the same as for OTP applications. Apps
-can depend on each other in this way, and their compilation order
-will follow the same rules as regular dependencies in `DEPS`.
-
-The top-level `LOCAL_DEPS` variable, if defined, will determine which
-apps (along with their dependencies) to build, and also which apps
-should be added to the top-level application resource file, if there
-is one. This may be useful, for example, for specifying a different
-set of apps to build for different releases. If `LOCAL_DEPS` is not
-defined, then all apps in the '$(APPS_DIR)' will be built, but none
-will be automatically added to the top-level application resource
-file.
-
-If there is a conflict between a local dependency and a
-remote dependency, then the local dependency always wins;
-an error will be triggered when trying to fetch the
-conflicting remote dependency.
-
-To start using dependencies local to the repository, simply
-create a folder named '$(APPS_DIR)'. By default, this folder
-is the 'apps/' directory.
-
-You can use Erlang.mk to bootstrap local dependencies by
-using the command `make new-app` or `make new-lib`. This
-command will create the necessary directories and bootstrap
-the application.
-
-For example, to create a full fledged OTP application as
-a local dependency:
-
-[source,bash]
-$ make new-app in=webchat
-
-Or, the same as an OTP library:
-
-[source,bash]
-$ make new-lib in=webchat
-
-Templates also work with local dependencies, from the root
-directory of the project. You do need however to tell
-Erlang.mk to create the files in the correct application:
-
-[source,bash]
-$ make new t=gen_server n=my_server in=webchat
-
-=== Repositories with no application at the root level
-
-It's possible to use Erlang.mk with only applications in
-'$(APPS_DIR)', and nothing at the root of the repository.
-Just create a folder, put the 'erlang.mk' file in it,
-write a Makefile that includes it, and start creating
-your applications.
-
-Similarly, it's possible to have a repository with only
-dependencies found in '$(DEPS_DIR)'. You just need to
-create a Makefile and specify the dependencies you want.
-This allows you to create a repository for handling the
-building of releases, for example.
-
-=== Autopatch
-
-Erlang.mk will automatically patch all the dependencies it
-fetches. It needs to do this to ensure that the dependencies
-become compatible with not only Erlang.mk, but also with
-the version of Erlang.mk that is currently used.
-
-When fetching a dependency, the following operations are
-performed:
-
-* Fetch the dependency using the configured fetch method
-* If it contains a 'configure.ac' or 'configure.in' file, run `autoreconf -Wall -vif -I m4`
-* If it contains a 'configure' script, run it
-* Run autopatch on the project
-
-Autopatch first checks if there is any project-specific patch
-enabled. There are currently three: `RABBITMQ_CLIENT_PATCH` for
-the `amqp_client` dependency (before 3.6.0), `RABBITMQ_SERVER_PATCH`
-for the `rabbit` dependency (before 3.6.0) and `ELIXIR_PATCH`
-for the `elixir` dependency.
-
-Otherwise, autopatch performs different operations depending
-on the kind of project it finds the dependency to be.
-
-* Rebar projects are automatically converted to use Erlang.mk
-as their build tool. This essentially patches Rebar out, and
-fixes and converts the project to be compatible with Erlang.mk.
-
-* Erlang.mk projects have their 'Makefile' patched, if necessary,
-to include the top-level project's Erlang.mk. This is to ensure
-that functionality works across all dependencies, even if the
-dependency's Erlang.mk is outdated. The patched Makefile
-can be safely committed if necessary.
-
-* Other Erlang projects get a small Erlang.mk Makefile
-generated automatically.
-
-* Projects with no source directory and no Makefile get an
-empty Makefile generated, for compatibility purposes.
-
-* Other projects with no Makefile are left untouched.
-
-You can add additional commands to be run immediately before
-or after autopatch is done by extending the target
-`autopatch-$(dep)::`, for example this would remove
-a module:
-
-[source,make]
-----
-autopatch-ranch::
- rm -f $(DEPS_DIR)/ranch/src/ranch_proxy_header.erl
-----
-
-A common use case for this feature is to apply a PATCH
-file on the dependency immediately after fetching it.
-It can also be used to add compiler options, for example:
-
-[source,make]
-----
-autopatch-couchbeam::
- printf "\nERLC_OPTS += -DWITH_JIFFY\n" >> $(DEPS_DIR)/couchbeam/Makefile
-----
-
-The commands will run before autopatch when the target is
-defined before including 'erlang.mk', and after otherwise.
-
-You can disable the replacing of the 'erlang.mk' file by
-defining the `NO_AUTOPATCH_ERLANG_MK` variable:
-
-[source,make]
-NO_AUTOPATCH_ERLANG_MK = 1
-
-You can also disable autopatch entirely for a few select
-projects using the `NO_AUTOPATCH` variable:
-
-[source,make]
-NO_AUTOPATCH = cowboy ranch cowlib
-
-=== Dealing with duplicate modules
-
-When there are duplicate modules found in both applications
-and their dependencies, some tasks may fail. Erlang expects
-modules to be unique in general.
-
-When the duplicates are found in dependencies, you will need
-to remove one of the duplicates at fetch time. To do so, you
-can add a rule similar to this to your Makefile before including
-'erlang.mk':
-
-[source,make]
-----
-DEPS_DIR = $(CURDIR)/deps
-
-deps:: $(DEPS_DIR)/cowlib
- $(verbose) rm -f $(DEPS_DIR)/cowlib/src/cow_ws.erl
-----
-
-This must be done from the application that has this dependency.
-Only define the `DEPS_DIR` variable if necessary.
-
-=== Skipping deps
-
-It is possible to temporarily skip all dependency operations.
-This is done by defining the `SKIP_DEPS` variable. Use cases
-include being somewhere with no connection to download them,
-or perhaps a peculiar setup.
-
-A typical usage would be:
-
-[source,bash]
-$ make SKIP_DEPS=1
-
-When the variable is defined:
-
-* Dependencies will not be compiled or downloaded when required
-* The dependency directory '$(DEPS_DIR)' will not be removed on `make distclean`
-
-This variable only applies to remote dependencies.
diff --git a/docs/en/erlang.mk/1/guide/deps/index.html b/docs/en/erlang.mk/1/guide/deps/index.html
deleted file mode 100644
index 5db76ee6..00000000
--- a/docs/en/erlang.mk/1/guide/deps/index.html
+++ /dev/null
@@ -1,596 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Packages and dependencies</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Packages and dependencies</span></h1>
-
-<p>Erlang.mk can fetch and compile the dependencies that your project requires. Erlang.mk improves upon the concepts introduced by Rebar, so they should be familiar to many seasoned Erlang developers.</p>
-<p>Erlang.mk is not a package manager, nor is it trying to be, but it does include an index of Erlang packages to make discovering useful projects easier.</p>
-<p>This chapter will explain how to use packages, add dependencies to your project or bundle them directly in a single repository.</p>
-<h2 id="_searching_packages">Searching packages</h2>
-<p>Erlang.mk gives you access to nearly 500 packages, with more being added regularly.</p>
-<p>To find a package, search for it:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make search <font color="#009900">q</font><font color="#990000">=</font>pool</tt></pre>
-</div></div>
-<p>This will return all packages matching this word, like worker pool and acceptor pool projects.</p>
-<p>You can also list everything and use regular command line tools to find what you need, for example:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make search <font color="#990000">|</font> less</tt></pre>
-</div></div>
-<!-- @todo Simplify adding packages, add a new chapter explaining-->
-<!-- everything, then link to this new chapter from here.-->
-<h2 id="_adding_dependencies_to_your_project">Adding dependencies to your project</h2>
-<p>Once you find the package you need, adding it as a dependency to your project is a one-liner:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">DEPS =</font> cowboy</tt></pre>
-</div></div>
-<p>And that&apos;s it! The next time you run <code>make</code>, Erlang.mk will fetch and compile Cowboy. Erlang.mk will also ensure Cowboy is available whenever you use the shell, run tests and any other operations.</p>
-<p>Erlang.mk will fill in the application resource file with all applications found in <code>DEPS</code>. But not all dependencies are Erlang applications, and not all dependencies need to be a runtime dependency. That&apos;s where the <code>BUILD_DEPS</code> variable comes in: it works just like <code>DEPS</code>, except the dependencies listed there will not be added as runtime dependencies.</p>
-<p>For example, you could add a parse transform project like this to make it available only at build time:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">BUILD_DEPS =</font> erlando</tt></pre>
-</div></div>
-<p>Or you could depend on a C project directly, if you are building a NIF:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">BUILD_DEPS =</font> leveldb
-<font color="#009900">dep_leveldb =</font> git https<font color="#990000">:</font>//github.com/basho/leveldb 2.1.3</tt></pre>
-</div></div>
-<p>This dependency will be built before your application, so you could easily copy the resulting shared file into your <em>priv/</em> directory as part of the build process. More information about that in the <a href="../ports">NIFs and port drivers</a> chapter.</p>
-<p>Another variable, <code>LOCAL_DEPS</code>, allows specifying runtime dependencies which are part of Erlang/OTP itself, but also dependencies that are included in the repository. Since they are already on your system, there is no need to fetch them. Do note that there is no way to choose the version, the application used will be the one already on your system.</p>
-<p>You could depend on the Crypto application, for example:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">LOCAL_DEPS =</font> crypto</tt></pre>
-</div></div>
-<p>Erlang.mk comes with additional types of dependencies. It has <code>TEST_DEPS</code> for dependencies used only for testing:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">TEST_DEPS =</font> ct_helper
-<font color="#009900">dep_ct_helper =</font> git https<font color="#990000">:</font>//github.com/ninenines/ct_helper master</tt></pre>
-</div></div>
-<p><code>DOC_DEPS</code> for dependencies used only when building documentation:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">DOC_DEPS =</font> edown</tt></pre>
-</div></div>
-<p><code>REL_DEPS</code> for dependencies required to build the release, or to include extra applications in the release:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">REL_DEPS =</font> recon</tt></pre>
-</div></div>
-<p>And <code>SHELL_DEPS</code> for dependencies to make available when running the <code>make shell</code> command:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SHELL_DEPS =</font> tddreloader</tt></pre>
-</div></div>
-<p>All these will be documented in more details in their respective chapters.</p>
-<p>Note that these additional types of dependencies will only be fetched after normal dependencies by default. You can force a dependency to be downloaded first by extending the target <code>deps::</code> before including <em>erlang.mk</em>, for example:</p>
-<dl><dt>deps</dt>
-<dd><p>$(CURDIR)/deps/triq</p>
-</dd>
-</dl>
-<h4 id="_modifying_the_dependency_source_or_version">Modifying the dependency source or version</h4>
-<p>By default, Erlang.mk will look into its package index to find the project you are looking for, if you only provide its name. This is this case:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">DEPS =</font> cowboy</tt></pre>
-</div></div>
-<p>If you need a different version, you need to define another variable. There are two ways to do this, each being useful for different reasons.</p>
-<p>If you simply want to change the commit number, all you need to do is to define the <code>dep_$(DEP_NAME)_commit</code> variable. In the case of Cowboy, this would look like this:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">DEPS =</font> cowboy
-<font color="#009900">dep_cowboy_commit =</font> 2.0.0-pre.2</tt></pre>
-</div></div>
-<p>Erlang.mk will use the package index to get all information about Cowboy, except the commit number which will be overriden.</p>
-<p>If you need to set the fetch method or repository information too, for example because you want to use your own fork, or simply because the project is missing from the index, you can define the <code>dep_$(DEP_NAME)</code> variable with everything:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">DEPS =</font> cowboy
-<font color="#009900">dep_cowboy =</font> git https<font color="#990000">:</font>//github.com/essen/cowboy 2.0.0-pre.2</tt></pre>
-</div></div>
-<p>This will fetch Cowboy from your fork at the given commit.</p>
-<h4 id="_fetch_methods">Fetch methods</h4>
-<p>Erlang.mk comes with a number of different fetch methods. You can fetch from Git, Mercurial, SVN, to name a few. There are fetch methods that will work everywhere, and fetch methods that will only work in a given environment.</p>
-<p>The following table lists all existing methods:</p>
-<table rules="all" width="100%" frame="border"
- cellspacing="0" cellpadding="4">
-<thead><tr><th>Name</th>
-<th>Format</th>
-<th>Description</th>
-</tr></thead><tbody><tr><td>git</td>
-<td>git repo commit</td>
-<td>Clone the Git repository and checkout the given version</td>
-</tr>
-<tr><td>git-subfolder</td>
-<td>git repo commit subfolder</td>
-<td>Clone the Git repository, checkout the given version and use one of its subfolders as a dependency</td>
-</tr>
-<tr><td>git-submodule</td>
-<td>git-submodule</td>
-<td>Initialize and update the Git submodule</td>
-</tr>
-<tr><td>hg</td>
-<td>hg repo commit</td>
-<td>Clone the Mercurial repository and update to the given version</td>
-</tr>
-<tr><td>svn</td>
-<td>svn repo</td>
-<td>Checkout the given SVN repository</td>
-</tr>
-<tr><td>cp</td>
-<td>cp path/to/repo</td>
-<td>Recursively copy a local directory</td>
-</tr>
-<tr><td>ln</td>
-<td>ln path/to/repo</td>
-<td>Symbolically link a local directory</td>
-</tr>
-<tr><td>hex</td>
-<td>hex version</td>
-<td>Download the given project version from hex.pm</td>
-</tr>
-<tr><td>fail</td>
-<td>N/A</td>
-<td>Always fail, reserved for internal use</td>
-</tr>
-<tr><td>legacy</td>
-<td>N/A</td>
-<td>Legacy Erlang.mk fetcher, reserved for internal use</td>
-</tr>
-</tbody></table>
-<p>The <code>git</code> and <code>hg</code> methods both have a repository and commit. You can use any valid commit, tag or branch in that repository for the commit value.</p>
-<p>For example, to fetch Cowboy with tag 2.0.0-pre.2 from Git:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">dep_cowboy =</font> git https<font color="#990000">:</font>//github.com/ninenines/cowboy 2.0.0-pre.2</tt></pre>
-</div></div>
-<p>Or to fetch Ehsa tag 4.0.3 from Mercurial:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">dep_ehsa =</font> hg https<font color="#990000">:</font>//bitbucket.org/a12n/ehsa 4.0.3</tt></pre>
-</div></div>
-<p>Git also comes with a concept of submodules. Erlang.mk can automatically initializes and updates submodules for dependencies, as long as they were added beforehand using <code>git submodule add</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">dep_cowboy =</font> git-submodule</tt></pre>
-</div></div>
-<p>The <code>svn</code> method only has a repository value, but that&apos;s simply because the SVN repository URL can also contain the path and commit.</p>
-<p>This would fetch an example project from the trunk:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">dep_ex1 =</font> svn https<font color="#990000">:</font>//example.com/svn/trunk/project/ex<font color="#993399">1</font></tt></pre>
-</div></div>
-<p>And this would fetch a separate example project from a specific commit:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">dep_ex2 =</font> svn svn<font color="#990000">:</font>//example.com/svn/branches/erlang-proj/ex<font color="#993399">2</font>@<font color="#993399">264</font></tt></pre>
-</div></div>
-<p>You can copy a directory from your machine using the <code>cp</code> method. It only takes the path to copy from:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">dep_cowboy =</font> cp <font color="#009900">$(HOME)</font>/ninenines/cowboy</tt></pre>
-</div></div>
-<p>Finally, you can use a package from the <a href="https://hex.pm/">Hex repository</a>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">dep_cowboy =</font> hex 1.0.3</tt></pre>
-</div></div>
-<h4 id="_custom_fetch_methods">Custom fetch methods</h4>
-<p>If none of the existing methods fit your use, you can simply define your own. Erlang.mk will consider all variables that are named as <code>dep_fetch_$(METHOD)</code> to be available fetch methods. You can do anything inside this variable, as long as you create a folder named <em>$(DEPS_DIR)/$(call dep_name,$1)</em>. Or in layman terms, if your dependency is Cowboy, this would become <em>deps/cowboy</em>.</p>
-<p>To give an example, this is what the Git method does:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>define dep_fetch_git
- git clone -q -n -- <font color="#009900">$(</font>call dep_repo<font color="#990000">,</font><font color="#009900">$1</font><font color="#990000">)</font> <font color="#009900">$(DEPS_DIR)</font><font color="#990000">/</font><font color="#009900">$(</font>call dep_name<font color="#990000">,</font><font color="#009900">$1</font><font color="#990000">);</font> <font color="#990000">\</font>
- cd <font color="#009900">$(DEPS_DIR)</font><font color="#990000">/</font><font color="#009900">$(</font>call dep_name<font color="#990000">,</font><font color="#009900">$1</font><font color="#990000">)</font> <font color="#990000">&amp;&amp;</font> git checkout -q <font color="#009900">$(</font>call dep_commit<font color="#990000">,</font><font color="#009900">$1</font><font color="#990000">);</font>
-endef</tt></pre>
-</div></div>
-<p>Note that, like dependency information, this custom fetch method must be written before including <em>erlang.mk</em>.</p>
-<h2 id="_how_deps_are_fetched_and_built">How deps are fetched and built</h2>
-<p>The order in which dependencies are fetched and built is well defined. This means that Erlang.mk will get the same applications regardless of the command or options being used.</p>
-<p>In tree traversal terms, where the list of dependencies is a tree, Erlang.mk fetches everything using the pre-order traversal method. The steps can be summarized like this, starting from the root application:</p>
-<ol><li>Fetch all dependencies for the application
-</li>
-<li>Build first dependency
-</li>
-<li>Build Nth dependency
-</li>
-<li>Build last dependency
-</li>
-</ol>
-<p>Every time a dependency is built, these same steps are followed, recursively.</p>
-<p>Do note that the first step, fetching all dependencies of an application, is not guaranteed to be ordered. The reason for this is that it is not possible to have the same dependency listed twice in a single application, and therefore there can be no conflicts. Remember, this step only fetches, at no point are different applications built in parallel.</p>
-<p>What about conflicts between the dependencies of different applications? Simple. Since builds are ordered, this means that the first version of an application that is fetched will be the one that wins.</p>
-<p>This means that if project A depends on projects B and C, in this order, and that both B and C depend on a different version of D, it will always be B&apos;s version of D that wins, because we fetch the dependencies of B before fetching those from C.</p>
-<p>Similarly, if project A depends on projects B, C and D, regardless of the order, and A, B and C depend on a different version of D, it will always be A&apos;s version that wins, because we fetch all dependencies of A before fetching those from B or C.</p>
-<p>Once a dependency is built, it will not be built again by default. Typically dependencies do not need to be recompiled and this speeds up building immensely. There are a few ways to force recompiling a dependency however:</p>
-<ul><li>The dependency directory is a symbolic link; the dependency will always be recompiled.
-</li>
-<li>The dependency is built directly, for example with a command like <code>make -C deps/cowlib</code>, or <code>make</code> in the dependency&apos;s directory.
-</li>
-<li>The variable <code>FULL</code> is set, for example <code>make FULL=1</code>. This will force building of all dependencies. This can be added to your Makefile before including <em>erlang.mk</em>.
-</li>
-<li>The file <code>ebin/dep_built</code> in the dependency is removed.
-</li>
-</ul>
-<h2 id="_fetching_and_listing_dependencies_only">Fetching and listing dependencies only</h2>
-<p>You can fetch all dependencies recursively without building anything, with the <code>make fetch-deps</code> command. It follows the same rules described in the section above.</p>
-<p>You can list all dependencies recursively, again without building anything, with the <code>make list-deps</code> command. It will obviously need to fetch all dependencies exactly like <code>make fetch-deps</code>. Once everything is fetched, it prints a sorted list of absolute paths to the dependencies.</p>
-<p>By default, <code>fetch-deps</code> and <code>list-deps</code> work on the <code>BUILD_DEPS</code> and <code>DEPS</code> lists only. To also fetch/list <code>TEST_DEPS</code>, <code>DOC_DEPS</code>, <code>REL_DEPS</code> and/or <code>SHELL_DEPS</code>, you have two possibilities:</p>
-<ul><li>You can use <code>make fetch-test-deps</code>, <code>make fetch-doc-deps</code>, <code>make
-fetch-rel-deps</code> and <code>make fetch-shell-deps</code> commands respectively. If you want to list them, you can use <code>make list-test-deps</code>, <code>make
-list-doc-deps</code>, <code>make list-rel-deps</code> and <code>make list-shell-deps</code> respectively.
-</li>
-<li>You can use <code>make fetch-deps</code> or <code>make list-deps</code> with the Makefile variable <code>DEP_TYPES</code> set to a list of dependency types you want. The types are <code>test</code>, <code>doc</code>, <code>rel</code> and <code>shell</code> respectively. For example, you can list test and doc dependencies with <code>make list-deps
-DEP_TYPES=&apos;test doc&apos;</code>.
-</li>
-</ul>
-<p>Note that only first level <code>TEST_DEPS</code>, <code>DOC_DEPS</code>, <code>REL_DEPS</code> and <code>SHELL_DEPS</code> are included, not dependencies&apos; one. In other word, <code>make list-test-deps</code> lists the <code>TEST_DEPS</code> of your project, but not <code>TEST_DEPS</code> of the projects yours depend on.</p>
-<p>No matter which method you use, <code>BUILD_DEPS</code> and <code>DEPS</code> are always included.</p>
-<p>Internally, the <code>make fetch-*</code> commands store the complete list of dependencies in files named <code>$(ERLANG_MK_RECURSIVE_DEPS_LIST)</code>, <code>$(ERLANG_MK_RECURSIVE_TEST_DEPS_LIST)</code>, <code>$(ERLANG_MK_RECURSIVE_DOC_DEPS_LIST)</code>, <code>$(ERLANG_MK_RECURSIVE_REL_DEPS_LIST)</code> and <code>$(ERLANG_MK_RECURSIVE_SHELL_DEPS_LIST)</code>. Those files are simply printed by the <code>make list-*</code> commands.</p>
-<p><code>make list-*</code> commands are made for human beings. If you need the list of dependencies in a Makefile or a script, you should use the content of those files directly instead. The reason is that <code>make fetch-*</code> and <code>make list-*</code> may have unwanted content in their output, such as actual fetching of dependencies.</p>
-<h2 id="_ignoring_unwanted_dependencies">Ignoring unwanted dependencies</h2>
-<p>Sometimes, you may want to ignore dependencies entirely. Not even fetch them. You may want to do this because a project you depend on depends on an application you do not need (like a dependency for building documentation or testing). Or maybe the dependency is already installed on your system.</p>
-<p>To ignore a dependency, simply add it to the <code>IGNORE_DEPS</code> variable:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>IGNORE_DEPS <font color="#990000">+=</font> edown proper</tt></pre>
-</div></div>
-<p>This will only ignore dependencies that are needed for building. It is therefore safe to write:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>IGNORE_DEPS <font color="#990000">+=</font> edown proper
-<font color="#009900">TEST_DEPS =</font> proper</tt></pre>
-</div></div>
-<p>The PropEr application will be fetched as intended when running <code>make tests</code> or <code>make check</code>. It will however not be fetched when running <code>make</code> or <code>make deps</code>.</p>
-<h2 id="_dependencies_directory">Dependencies directory</h2>
-<p>Dependencies are fetched in <em>$(DEPS_DIR)</em>. By default this is the <em>deps</em> directory. You can change this default, but you should only do so if it was not defined previously. Erlang.mk uses this variable to tell dependencies where to fetch their own dependencies.</p>
-<p>You will therefore need to use <code>?=</code> instead of <code>=</code>. Of course, if you know you will never use this project as a dependency, <code>=</code> will work. But to avoid it biting you later on, do this:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>DEPS_DIR <font color="#990000">?=</font> <font color="#009900">$(CURDIR)</font>/libs</tt></pre>
-</div></div>
-<p>The <code>$(CURDIR)</code> part is important, otherwise dependencies of dependencies will be fetched in the wrong directory.</p>
-<p>Erlang.mk will also export the <code>REBAR_DEPS_DIR</code> variable for compatibility with Rebar build tools, as long as they are recent enough.</p>
-<h2 id="_many_applications_in_one_repository">Many applications in one repository</h2>
-<p>In addition to the dependencies that are fetched, Erlang.mk also allows you to have dependencies local to your repository. This kind of layout is sometimes called multi-application repositories, or repositories with multiple applications.</p>
-<p>They work exactly the same as remote dependencies, except:</p>
-<ul><li>They are not fetched
-</li>
-<li>They are not autopatched
-</li>
-<li>They are not deleted on <code>make distclean</code>
-</li>
-<li>They are not automatically added to the application resource file
-</li>
-</ul>
-<p>To properly fill the application resource file and compile apps in the right order, you will need to define the <code>LOCAL_DEPS</code> variable for each relevant application, the same as for OTP applications. Apps can depend on each other in this way, and their compilation order will follow the same rules as regular dependencies in <code>DEPS</code>.</p>
-<p>The top-level <code>LOCAL_DEPS</code> variable, if defined, will determine which apps (along with their dependencies) to build, and also which apps should be added to the top-level application resource file, if there is one. This may be useful, for example, for specifying a different set of apps to build for different releases. If <code>LOCAL_DEPS</code> is not defined, then all apps in the <em>$(APPS_DIR)</em> will be built, but none will be automatically added to the top-level application resource file.</p>
-<p>If there is a conflict between a local dependency and a remote dependency, then the local dependency always wins; an error will be triggered when trying to fetch the conflicting remote dependency.</p>
-<p>To start using dependencies local to the repository, simply create a folder named <em>$(APPS_DIR)</em>. By default, this folder is the <em>apps/</em> directory.</p>
-<p>You can use Erlang.mk to bootstrap local dependencies by using the command <code>make new-app</code> or <code>make new-lib</code>. This command will create the necessary directories and bootstrap the application.</p>
-<p>For example, to create a full fledged OTP application as a local dependency:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make new-app <b><font color="#0000FF">in</font></b><font color="#990000">=</font>webchat</tt></pre>
-</div></div>
-<p>Or, the same as an OTP library:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make new-lib <b><font color="#0000FF">in</font></b><font color="#990000">=</font>webchat</tt></pre>
-</div></div>
-<p>Templates also work with local dependencies, from the root directory of the project. You do need however to tell Erlang.mk to create the files in the correct application:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make new <font color="#009900">t</font><font color="#990000">=</font>gen_server <font color="#009900">n</font><font color="#990000">=</font>my_server <b><font color="#0000FF">in</font></b><font color="#990000">=</font>webchat</tt></pre>
-</div></div>
-<h2 id="_repositories_with_no_application_at_the_root_level">Repositories with no application at the root level</h2>
-<p>It&apos;s possible to use Erlang.mk with only applications in <em>$(APPS_DIR)</em>, and nothing at the root of the repository. Just create a folder, put the <em>erlang.mk</em> file in it, write a Makefile that includes it, and start creating your applications.</p>
-<p>Similarly, it&apos;s possible to have a repository with only dependencies found in <em>$(DEPS_DIR)</em>. You just need to create a Makefile and specify the dependencies you want. This allows you to create a repository for handling the building of releases, for example.</p>
-<h2 id="_autopatch">Autopatch</h2>
-<p>Erlang.mk will automatically patch all the dependencies it fetches. It needs to do this to ensure that the dependencies become compatible with not only Erlang.mk, but also with the version of Erlang.mk that is currently used.</p>
-<p>When fetching a dependency, the following operations are performed:</p>
-<ul><li>Fetch the dependency using the configured fetch method
-</li>
-<li>If it contains a <em>configure.ac</em> or <em>configure.in</em> file, run <code>autoreconf -Wall -vif -I m4</code>
-</li>
-<li>If it contains a <em>configure</em> script, run it
-</li>
-<li>Run autopatch on the project
-</li>
-</ul>
-<p>Autopatch first checks if there is any project-specific patch enabled. There are currently three: <code>RABBITMQ_CLIENT_PATCH</code> for the <code>amqp_client</code> dependency (before 3.6.0), <code>RABBITMQ_SERVER_PATCH</code> for the <code>rabbit</code> dependency (before 3.6.0) and <code>ELIXIR_PATCH</code> for the <code>elixir</code> dependency.</p>
-<p>Otherwise, autopatch performs different operations depending on the kind of project it finds the dependency to be.</p>
-<ul><li>Rebar projects are automatically converted to use Erlang.mk as their build tool. This essentially patches Rebar out, and fixes and converts the project to be compatible with Erlang.mk.
-</li>
-<li>Erlang.mk projects have their <em>Makefile</em> patched, if necessary, to include the top-level project&apos;s Erlang.mk. This is to ensure that functionality works across all dependencies, even if the dependency&apos;s Erlang.mk is outdated. The patched Makefile can be safely committed if necessary.
-</li>
-<li>Other Erlang projects get a small Erlang.mk Makefile generated automatically.
-</li>
-<li>Projects with no source directory and no Makefile get an empty Makefile generated, for compatibility purposes.
-</li>
-<li>Other projects with no Makefile are left untouched.
-</li>
-</ul>
-<p>You can add additional commands to be run immediately before or after autopatch is done by extending the target <code>autopatch-$(dep)::</code>, for example this would remove a module:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#990000">autopatch-ranch::</font>
- rm -f <font color="#009900">$(DEPS_DIR)</font>/ranch/src/ranch_proxy_header.erl</tt></pre>
-</div></div>
-<p>A common use case for this feature is to apply a PATCH file on the dependency immediately after fetching it. It can also be used to add compiler options, for example:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#990000">autopatch-couchbeam::</font>
- <b><font color="#0000FF">printf</font></b> <font color="#FF0000">"</font><font color="#CC33CC">\n</font><font color="#FF0000">ERLC_OPTS += -DWITH_JIFFY</font><font color="#CC33CC">\n</font><font color="#FF0000">"</font> <font color="#990000">&gt;&gt;</font> <font color="#009900">$(DEPS_DIR)</font>/couchbeam/Makefile</tt></pre>
-</div></div>
-<p>The commands will run before autopatch when the target is defined before including <em>erlang.mk</em>, and after otherwise.</p>
-<p>You can disable the replacing of the <em>erlang.mk</em> file by defining the <code>NO_AUTOPATCH_ERLANG_MK</code> variable:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">NO_AUTOPATCH_ERLANG_MK =</font> <font color="#993399">1</font></tt></pre>
-</div></div>
-<p>You can also disable autopatch entirely for a few select projects using the <code>NO_AUTOPATCH</code> variable:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">NO_AUTOPATCH =</font> cowboy ranch cowlib</tt></pre>
-</div></div>
-<h2 id="_dealing_with_duplicate_modules">Dealing with duplicate modules</h2>
-<p>When there are duplicate modules found in both applications and their dependencies, some tasks may fail. Erlang expects modules to be unique in general.</p>
-<p>When the duplicates are found in dependencies, you will need to remove one of the duplicates at fetch time. To do so, you can add a rule similar to this to your Makefile before including <em>erlang.mk</em>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">DEPS_DIR =</font> <font color="#009900">$(CURDIR)</font>/deps
-
-<font color="#990000">deps::</font> <font color="#009900">$(DEPS_DIR)</font>/cowlib
- <font color="#009900">$(verbose)</font> rm -f <font color="#009900">$(DEPS_DIR)</font>/cowlib/src/cow_ws.erl</tt></pre>
-</div></div>
-<p>This must be done from the application that has this dependency. Only define the <code>DEPS_DIR</code> variable if necessary.</p>
-<h2 id="_skipping_deps">Skipping deps</h2>
-<p>It is possible to temporarily skip all dependency operations. This is done by defining the <code>SKIP_DEPS</code> variable. Use cases include being somewhere with no connection to download them, or perhaps a peculiar setup.</p>
-<p>A typical usage would be:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make <font color="#009900">SKIP_DEPS</font><font color="#990000">=</font><font color="#993399">1</font></tt></pre>
-</div></div>
-<p>When the variable is defined:</p>
-<ul><li>Dependencies will not be compiled or downloaded when required
-</li>
-<li>The dependency directory <em>$(DEPS_DIR)</em> will not be removed on <code>make distclean</code>
-</li>
-</ul>
-<p>This variable only applies to remote dependencies.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/app/">
- Building
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/ports/">
- NIFs and port drivers
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/dialyzer.asciidoc b/docs/en/erlang.mk/1/guide/dialyzer.asciidoc
deleted file mode 100644
index 60311137..00000000
--- a/docs/en/erlang.mk/1/guide/dialyzer.asciidoc
+++ /dev/null
@@ -1,86 +0,0 @@
-[[dialyzer]]
-== Dialyzer
-
-Dialyzer is a tool that will detect discrepancies in your
-program. It does so using a technique known as success
-typing analysis which has the advantage of providing no
-false positives. Dialyzer is able to detect type errors,
-dead code and more.
-
-Erlang.mk provides a wrapper around Dialyzer.
-
-=== How it works
-
-Dialyzer requires a PLT file to work. The PLT file contains
-the analysis information from all applications which are not
-expected to change, or rarely do. These would be all the
-dependencies of the application or applications you are
-currently working on, including standard applications in
-Erlang/OTP itself.
-
-Dialyzer can generate this PLT file. Erlang.mk includes rules
-to automatically generate the PLT file when it is missing.
-
-Once the PLT file is generated, Dialyzer can perform the
-analysis in record time.
-
-=== Configuration
-
-In a typical usage scenario, no variable needs to be set.
-The defaults should be enough. Do note however that the
-dependencies need to be set properly using the `DEPS` and
-`LOCAL_DEPS` variables.
-
-The `DIALYZER_PLT` file indicates where the PLT file will
-be written to (and read from). By default this is
-'$(PROJECT).plt' in the project's directory. Note that
-the `DIALYZER_PLT` variable is exported and is understood
-by Dialyzer directly.
-
-The `PLT_APPS` variable can be used to add additional
-applications to the PLT. You can either list application
-names or paths to these applications.
-
-Erlang.mk defines two variables for specifying options
-for the analysis: `DIALYZER_DIRS` and `DIALYZER_OPTS`.
-The former one defines which directories should be part
-of the analysis. The latter defines what extra warnings
-Dialyzer should report.
-
-Note that Erlang.mk enables the race condition warnings
-by default. As it can take considerably large resources
-to run, you may want to disable it on larger projects.
-
-=== Usage
-
-To perform an analysis, run the following command:
-
-[source,bash]
-$ make dialyze
-
-This will create the PLT file if it doesn't exist.
-
-The analysis will also be performed when you run the
-following command, alongside tests:
-
-[source,bash]
-$ make check
-
-You can use the `plt` target to create the PLT file if
-it doesn't exist. This is normally not necessary as
-Dialyzer creates it automatically.
-
-The PLT file will be removed when you run `make distclean`.
-
-=== Dialyzing beam files
-
-By default Erlang.mk will run Dialyzer against the source
-code. It is possible to configure Erlang.mk to use the
-compiled source files instead. This is done using the
-`DIALYZER_DIRS` variable:
-
-[source,make]
-DIALYZER_DIRS = -r ebin
-
-This value must be set before including Erlang.mk to
-function properly.
diff --git a/docs/en/erlang.mk/1/guide/dialyzer/index.html b/docs/en/erlang.mk/1/guide/dialyzer/index.html
deleted file mode 100644
index 4f53259d..00000000
--- a/docs/en/erlang.mk/1/guide/dialyzer/index.html
+++ /dev/null
@@ -1,206 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Dialyzer</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Dialyzer</span></h1>
-
-<p>Dialyzer is a tool that will detect discrepancies in your program. It does so using a technique known as success typing analysis which has the advantage of providing no false positives. Dialyzer is able to detect type errors, dead code and more.</p>
-<p>Erlang.mk provides a wrapper around Dialyzer.</p>
-<h2 id="_how_it_works">How it works</h2>
-<p>Dialyzer requires a PLT file to work. The PLT file contains the analysis information from all applications which are not expected to change, or rarely do. These would be all the dependencies of the application or applications you are currently working on, including standard applications in Erlang/OTP itself.</p>
-<p>Dialyzer can generate this PLT file. Erlang.mk includes rules to automatically generate the PLT file when it is missing.</p>
-<p>Once the PLT file is generated, Dialyzer can perform the analysis in record time.</p>
-<h2 id="_configuration">Configuration</h2>
-<p>In a typical usage scenario, no variable needs to be set. The defaults should be enough. Do note however that the dependencies need to be set properly using the <code>DEPS</code> and <code>LOCAL_DEPS</code> variables.</p>
-<p>The <code>DIALYZER_PLT</code> file indicates where the PLT file will be written to (and read from). By default this is <em>$(PROJECT).plt</em> in the project&apos;s directory. Note that the <code>DIALYZER_PLT</code> variable is exported and is understood by Dialyzer directly.</p>
-<p>The <code>PLT_APPS</code> variable can be used to add additional applications to the PLT. You can either list application names or paths to these applications.</p>
-<p>Erlang.mk defines two variables for specifying options for the analysis: <code>DIALYZER_DIRS</code> and <code>DIALYZER_OPTS</code>. The former one defines which directories should be part of the analysis. The latter defines what extra warnings Dialyzer should report.</p>
-<p>Note that Erlang.mk enables the race condition warnings by default. As it can take considerably large resources to run, you may want to disable it on larger projects.</p>
-<h2 id="_usage">Usage</h2>
-<p>To perform an analysis, run the following command:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make dialyze</tt></pre>
-</div></div>
-<p>This will create the PLT file if it doesn&apos;t exist.</p>
-<p>The analysis will also be performed when you run the following command, alongside tests:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make check</tt></pre>
-</div></div>
-<p>You can use the <code>plt</code> target to create the PLT file if it doesn&apos;t exist. This is normally not necessary as Dialyzer creates it automatically.</p>
-<p>The PLT file will be removed when you run <code>make distclean</code>.</p>
-<h2 id="_dialyzing_beam_files">Dialyzing beam files</h2>
-<p>By default Erlang.mk will run Dialyzer against the source code. It is possible to configure Erlang.mk to use the compiled source files instead. This is done using the <code>DIALYZER_DIRS</code> variable:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">DIALYZER_DIRS =</font> -r ebin</tt></pre>
-</div></div>
-<p>This value must be set before including Erlang.mk to function properly.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/ci/">
- Continuous integration
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/xref/">
- Xref
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/edoc.asciidoc b/docs/en/erlang.mk/1/guide/edoc.asciidoc
deleted file mode 100644
index 2992a37d..00000000
--- a/docs/en/erlang.mk/1/guide/edoc.asciidoc
+++ /dev/null
@@ -1,61 +0,0 @@
-[[edoc]]
-== EDoc comments
-
-Erlang.mk provides a thin wrapper on top of EDoc, an application
-that generates documentation based on comments found in modules.
-
-=== Writing EDoc comments
-
-The http://www.erlang.org/doc/apps/edoc/chapter.html[EDoc user guide]
-explains everything you need to know about EDoc comments.
-
-=== Configuration
-
-The `EDOC_OPTS` variable allows you to specify additional
-EDoc options. Options are documented in the
-http://www.erlang.org/doc/man/edoc.html#run-2[EDoc manual].
-
-A common use for this variable is to enable Markdown in doc
-comments, using the `edown` application:
-
-[source,make]
-DOC_DEPS = edown
-EDOC_OPTS = {doclet, edown_doclet}
-
-=== Usage
-
-To build all documentation, you would typically use:
-
-[source,bash]
-$ make docs
-
-Do note, however, that EDoc comments will only be generated
-automatically if the 'doc/overview.edoc' file exists. If you
-do not want that file and still want to generate doc comments,
-two solutions are available.
-
-You can generate EDoc documentation directly:
-
-[source,bash]
-$ make edoc
-
-You can enable automatic generation on `make docs` by adding
-the following to your Makefile:
-
-[source,make]
-----
-docs:: edoc
-----
-
-=== Running EDoc on all applications
-
-In a multi-application project you may want to run EDoc
-against all applications at the same time, instead of
-against each applications independently. To do so, you
-need to configure the `EDOC_SRC_DIRS` at the end of
-your Makefile, after including 'erlang.mk':
-
-[source,make]
-----
-EDOC_SRC_DIRS = $(ALL_APPS_DIRS)
-----
diff --git a/docs/en/erlang.mk/1/guide/edoc/index.html b/docs/en/erlang.mk/1/guide/edoc/index.html
deleted file mode 100644
index 9cd5777c..00000000
--- a/docs/en/erlang.mk/1/guide/edoc/index.html
+++ /dev/null
@@ -1,211 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: EDoc comments</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>EDoc comments</span></h1>
-
-<p>Erlang.mk provides a thin wrapper on top of EDoc, an application that generates documentation based on comments found in modules.</p>
-<h2 id="_writing_edoc_comments">Writing EDoc comments</h2>
-<p>The <a href="http://www.erlang.org/doc/apps/edoc/chapter.html">EDoc user guide</a> explains everything you need to know about EDoc comments.</p>
-<h2 id="_configuration">Configuration</h2>
-<p>The <code>EDOC_OPTS</code> variable allows you to specify additional EDoc options. Options are documented in the <a href="http://www.erlang.org/doc/man/edoc.html#run-2">EDoc manual</a>.</p>
-<p>A common use for this variable is to enable Markdown in doc comments, using the <code>edown</code> application:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">DOC_DEPS =</font> edown
-<font color="#009900">EDOC_OPTS =</font> {doclet<font color="#990000">,</font> edown_doclet}</tt></pre>
-</div></div>
-<h2 id="_usage">Usage</h2>
-<p>To build all documentation, you would typically use:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make docs</tt></pre>
-</div></div>
-<p>Do note, however, that EDoc comments will only be generated automatically if the <em>doc/overview.edoc</em> file exists. If you do not want that file and still want to generate doc comments, two solutions are available.</p>
-<p>You can generate EDoc documentation directly:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make edoc</tt></pre>
-</div></div>
-<p>You can enable automatic generation on <code>make docs</code> by adding the following to your Makefile:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#990000">docs::</font> edoc</tt></pre>
-</div></div>
-<h2 id="_running_edoc_on_all_applications">Running EDoc on all applications</h2>
-<p>In a multi-application project you may want to run EDoc against all applications at the same time, instead of against each applications independently. To do so, you need to configure the <code>EDOC_SRC_DIRS</code> at the end of your Makefile, after including <em>erlang.mk</em>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">EDOC_SRC_DIRS =</font> <font color="#009900">$(ALL_APPS_DIRS)</font></tt></pre>
-</div></div>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/asciidoc/">
- AsciiDoc documentation
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/sphinx/">
- Sphinx documentation
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/escripts.asciidoc b/docs/en/erlang.mk/1/guide/escripts.asciidoc
deleted file mode 100644
index 722dcc6f..00000000
--- a/docs/en/erlang.mk/1/guide/escripts.asciidoc
+++ /dev/null
@@ -1,83 +0,0 @@
-[[escript]]
-== Escripts
-
-Escripts are an alternative to release. They are meant to be
-used for small command line executables written in Erlang.
-
-They are not self-contained, unlike xref:relx[releases].
-Erlang must be installed for them to run. This however means
-that they are fairly small compared to releases.
-
-For self-contained executables, check xref:sfx[self-extracting releases].
-
-=== Requirements
-
-Erlang.mk uses `p7zip` by default to generate the escript
-archive. Make sure it is installed. On most systems the
-package is named `p7zip`; on Ubuntu you need `p7zip-full`.
-
-If `p7zip` is unavailable, `zip` may be used by setting
-the `ESCRIPT_ZIP` variable. For example:
-
-[source,bash]
-$ make escript ESCRIPT_ZIP=zip
-
-=== Generating an escript
-
-Run the following command to generate an escript:
-
-[source,bash]
-$ make escript
-
-This will by default create an escript with the same name as
-the project, in the project's directory. If the project is
-called `relx` then the escript will be in `./relx`.
-
-You can run the escript as you would any executable:
-
-[source,bash]
-$ ./relx
-
-=== Configuration
-
-You can change the name of the escript by setting `ESCRIPT_NAME`.
-The name determines both the default output file name and the
-entry module containing the function `main/1`.
-
-`ESCRIPT_FILE` can be set if you need a different file name
-or location.
-
-The escript header can be entirely customized. The first line
-is the shebang, set by `ESCRIPT_SHEBANG`. The second line is
-a comment, set by `ESCRIPT_COMMENT`. The third line is the
-arguments the VM will use when running the escript, set by
-`ESCRIPT_EMU_ARGS`.
-
-Finally, `ESCRIPT_ZIP` can be set to customize the command used
-to create the zip file. Read on for more information.
-
-=== Extra files
-
-Generating an escript is a two-part process. First, a zip file
-is created with the contents of the escript. Then a header is
-added to this file to create the escript.
-
-It is possible to add commands that will be executed between
-the two steps. You can for example add extra files to the zip
-archive:
-
-[source,make]
-----
-escript-zip::
- $(verbose) $(ESCRIPT_ZIP) $(ESCRIPT_ZIP_FILE) priv/templates/*
-----
-
-The `ESCRIPT_ZIP` variable contains the command to run to add
-files to the zip archive `ESCRIPT_ZIP_FILE`.
-
-=== Optimizing for size
-
-Erlang.mk will by default compile BEAM files with debug
-information. You may want to disable this behavior to obtain
-smaller escript files. Simply set `ERLC_OPTS` to a value that
-does not include `+debug_info`.
diff --git a/docs/en/erlang.mk/1/guide/escripts/index.html b/docs/en/erlang.mk/1/guide/escripts/index.html
deleted file mode 100644
index bacb0248..00000000
--- a/docs/en/erlang.mk/1/guide/escripts/index.html
+++ /dev/null
@@ -1,213 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Escripts</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Escripts</span></h1>
-
-<p>Escripts are an alternative to release. They are meant to be used for small command line executables written in Erlang.</p>
-<p>They are not self-contained, unlike <a href="../relx">releases</a>. Erlang must be installed for them to run. This however means that they are fairly small compared to releases.</p>
-<p>For self-contained executables, check <a href="../sfx">self-extracting releases</a>.</p>
-<h2 id="_requirements">Requirements</h2>
-<p>Erlang.mk uses <code>p7zip</code> by default to generate the escript archive. Make sure it is installed. On most systems the package is named <code>p7zip</code>; on Ubuntu you need <code>p7zip-full</code>.</p>
-<p>If <code>p7zip</code> is unavailable, <code>zip</code> may be used by setting the <code>ESCRIPT_ZIP</code> variable. For example:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make escript <font color="#009900">ESCRIPT_ZIP</font><font color="#990000">=</font>zip</tt></pre>
-</div></div>
-<h2 id="_generating_an_escript">Generating an escript</h2>
-<p>Run the following command to generate an escript:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make escript</tt></pre>
-</div></div>
-<p>This will by default create an escript with the same name as the project, in the project&apos;s directory. If the project is called <code>relx</code> then the escript will be in <code>./relx</code>.</p>
-<p>You can run the escript as you would any executable:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ <font color="#990000">.</font>/relx</tt></pre>
-</div></div>
-<h2 id="_configuration">Configuration</h2>
-<p>You can change the name of the escript by setting <code>ESCRIPT_NAME</code>. The name determines both the default output file name and the entry module containing the function <code>main/1</code>.</p>
-<p><code>ESCRIPT_FILE</code> can be set if you need a different file name or location.</p>
-<p>The escript header can be entirely customized. The first line is the shebang, set by <code>ESCRIPT_SHEBANG</code>. The second line is a comment, set by <code>ESCRIPT_COMMENT</code>. The third line is the arguments the VM will use when running the escript, set by <code>ESCRIPT_EMU_ARGS</code>.</p>
-<p>Finally, <code>ESCRIPT_ZIP</code> can be set to customize the command used to create the zip file. Read on for more information.</p>
-<h2 id="_extra_files">Extra files</h2>
-<p>Generating an escript is a two-part process. First, a zip file is created with the contents of the escript. Then a header is added to this file to create the escript.</p>
-<p>It is possible to add commands that will be executed between the two steps. You can for example add extra files to the zip archive:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#990000">escript-zip::</font>
- <font color="#009900">$(verbose)</font> <font color="#009900">$(ESCRIPT_ZIP)</font> <font color="#009900">$(ESCRIPT_ZIP_FILE)</font> priv/templates<font color="#990000">/*</font></tt></pre>
-</div></div>
-<p>The <code>ESCRIPT_ZIP</code> variable contains the command to run to add files to the zip archive <code>ESCRIPT_ZIP_FILE</code>.</p>
-<h2 id="_optimizing_for_size">Optimizing for size</h2>
-<p>Erlang.mk will by default compile BEAM files with debug information. You may want to disable this behavior to obtain smaller escript files. Simply set <code>ERLC_OPTS</code> to a value that does not include <code>+debug_info</code>.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/sfx/">
- Self-extracting releases
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/kerl/">
- OTP version management
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/eunit.asciidoc b/docs/en/erlang.mk/1/guide/eunit.asciidoc
deleted file mode 100644
index 41e26e39..00000000
--- a/docs/en/erlang.mk/1/guide/eunit.asciidoc
+++ /dev/null
@@ -1,122 +0,0 @@
-[[eunit]]
-== EUnit
-
-EUnit is the tool of choice for unit testing. Erlang.mk
-automates a few things on top of EUnit, including the
-discovery and running of unit tests.
-
-=== Writing tests
-
-The http://www.erlang.org/doc/apps/eunit/chapter.html[EUnit user guide]
-is the best place to learn how to write tests. Of note is
-that all functions ending with `_test` or `_test_` will be
-picked up as EUnit test cases.
-
-Erlang.mk will automatically pick up tests found in any of
-the Erlang modules of your application. It will also pick up
-tests located in the '$(TEST_DIR)' directory, which defaults
-to 'test/'.
-
-It is generally a good practice to hide test code from
-the code you ship to production. With Erlang.mk, you can
-do this thanks to the `TEST` macro. It is only defined
-when running tests:
-
-[source,erlang]
-----
--ifdef(TEST).
-
-%% Insert tests here.
-
--endif.
-----
-
-Be careful, however, if you include the EUnit header file,
-as it also defines the `TEST` macro. Make sure to only include
-it inside an `ifdef` block, otherwise tests will always be
-compiled.
-
-[source,erlang]
-----
--ifdef(TEST).
-
--include_lib(\"eunit/include/eunit.hrl\").
-
-%% Insert tests here.
-
--endif.
-----
-
-Erlang.mk will automatically recompile your code when you
-perform a normal build after running tests, and vice versa.
-
-=== Configuration
-
-The `EUNIT_OPTS` variable allows you to specify additional
-EUnit options. Options are documented in the
-http://www.erlang.org/doc/man/eunit.html#test-2[EUnit manual].
-At the time of writing, the only available option is `verbose`:
-
-[source,make]
-EUNIT_OPTS = verbose
-
-The `EUNIT_ERL_OPTS` variable allows you to specify options
-to be passed to `erl` when running EUnit tests. For example,
-you can load the 'vm.args' and 'sys.config' files:
-
-[source,make]
-EUNIT_ERL_OPTS = -args_file config/vm.args -config config/sys.config
-
-=== Usage
-
-To run all tests (including EUnit):
-
-[source,bash]
-$ make tests
-
-To run all tests and static checks (including EUnit):
-
-[source,bash]
-$ make check
-
-You can also run EUnit separately:
-
-[source,bash]
-$ make eunit
-
-EUnit will be quiet by default, only outputting errors.
-You can easily make it verbose for a single invocation:
-
-[source,bash]
-$ make eunit EUNIT_OPTS=verbose
-
-Erlang.mk allows you to run all tests from a specific
-module, or a specific test case from that module, using
-the variable `t`.
-
-For example, to run all tests from the `cow_http_hd`
-module (instead of all tests from the entire project),
-one could write:
-
-[source,bash]
-$ make eunit t=cow_http_hd
-
-Similarly, to run a specific test case:
-
-[source,bash]
-$ make eunit t=cow_http_hd:parse_accept_test_
-
-To do the same against a multi-application repository,
-you can use the `-C` option:
-
-[source,bash]
-$ make -C apps/my_app eunit t=my_module:hello_test
-
-Note that this also applies to dependencies. From Cowboy,
-you can run the following directly:
-
-[source,bash]
-$ make -C deps/cowlib eunit t=cow_http_hd
-
-Finally, xref:coverage[code coverage] is available,
-but covered in its own chapter.
diff --git a/docs/en/erlang.mk/1/guide/eunit/index.html b/docs/en/erlang.mk/1/guide/eunit/index.html
deleted file mode 100644
index 22f8cf63..00000000
--- a/docs/en/erlang.mk/1/guide/eunit/index.html
+++ /dev/null
@@ -1,270 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: EUnit</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>EUnit</span></h1>
-
-<p>EUnit is the tool of choice for unit testing. Erlang.mk automates a few things on top of EUnit, including the discovery and running of unit tests.</p>
-<h2 id="_writing_tests">Writing tests</h2>
-<p>The <a href="http://www.erlang.org/doc/apps/eunit/chapter.html">EUnit user guide</a> is the best place to learn how to write tests. Of note is that all functions ending with <code>_test</code> or <code>_test_</code> will be picked up as EUnit test cases.</p>
-<p>Erlang.mk will automatically pick up tests found in any of the Erlang modules of your application. It will also pick up tests located in the <em>$(TEST_DIR)</em> directory, which defaults to <em>test/</em>.</p>
-<p>It is generally a good practice to hide test code from the code you ship to production. With Erlang.mk, you can do this thanks to the <code>TEST</code> macro. It is only defined when running tests:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000080">-ifdef</font></b>(<font color="#009900">TEST</font>)<font color="#990000">.</font>
-
-<i><font color="#9A1900">%% Insert tests here.</font></i>
-
-<b><font color="#000080">-endif</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Be careful, however, if you include the EUnit header file, as it also defines the <code>TEST</code> macro. Make sure to only include it inside an <code>ifdef</code> block, otherwise tests will always be compiled.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000080">-ifdef</font></b>(<font color="#009900">TEST</font>)<font color="#990000">.</font>
-
-<b><font color="#000080">-include_lib</font></b>(<font color="#990000">\</font><font color="#FF0000">"eunit/include/eunit.hrl\").</font>
-
-<font color="#FF0000">%% Insert tests here.</font>
-
-<font color="#FF0000">-endif.</font></tt></pre>
-</div></div>
-<p>Erlang.mk will automatically recompile your code when you perform a normal build after running tests, and vice versa.</p>
-<h2 id="_configuration">Configuration</h2>
-<p>The <code>EUNIT_OPTS</code> variable allows you to specify additional EUnit options. Options are documented in the <a href="http://www.erlang.org/doc/man/eunit.html#test-2">EUnit manual</a>. At the time of writing, the only available option is <code>verbose</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">EUNIT_OPTS =</font> verbose</tt></pre>
-</div></div>
-<p>The <code>EUNIT_ERL_OPTS</code> variable allows you to specify options to be passed to <code>erl</code> when running EUnit tests. For example, you can load the <em>vm.args</em> and <em>sys.config</em> files:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">EUNIT_ERL_OPTS =</font> -args_file config/vm.args -config config/sys.config</tt></pre>
-</div></div>
-<h2 id="_usage">Usage</h2>
-<p>To run all tests (including EUnit):</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make tests</tt></pre>
-</div></div>
-<p>To run all tests and static checks (including EUnit):</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make check</tt></pre>
-</div></div>
-<p>You can also run EUnit separately:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make eunit</tt></pre>
-</div></div>
-<p>EUnit will be quiet by default, only outputting errors. You can easily make it verbose for a single invocation:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make eunit <font color="#009900">EUNIT_OPTS</font><font color="#990000">=</font>verbose</tt></pre>
-</div></div>
-<p>Erlang.mk allows you to run all tests from a specific module, or a specific test case from that module, using the variable <code>t</code>.</p>
-<p>For example, to run all tests from the <code>cow_http_hd</code> module (instead of all tests from the entire project), one could write:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make eunit <font color="#009900">t</font><font color="#990000">=</font>cow_http_hd</tt></pre>
-</div></div>
-<p>Similarly, to run a specific test case:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make eunit <font color="#009900">t</font><font color="#990000">=</font>cow_http_hd<font color="#990000">:</font>parse_accept_test_</tt></pre>
-</div></div>
-<p>To do the same against a multi-application repository, you can use the <code>-C</code> option:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make -C apps/my_app eunit <font color="#009900">t</font><font color="#990000">=</font>my_module<font color="#990000">:</font>hello_test</tt></pre>
-</div></div>
-<p>Note that this also applies to dependencies. From Cowboy, you can run the following directly:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make -C deps/cowlib eunit <font color="#009900">t</font><font color="#990000">=</font>cow_http_hd</tt></pre>
-</div></div>
-<p>Finally, <a href="../coverage">code coverage</a> is available, but covered in its own chapter.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/shell/">
- Erlang shell
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/common_test/">
- Common Test
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/external_plugins.asciidoc b/docs/en/erlang.mk/1/guide/external_plugins.asciidoc
deleted file mode 100644
index 5f165f50..00000000
--- a/docs/en/erlang.mk/1/guide/external_plugins.asciidoc
+++ /dev/null
@@ -1,140 +0,0 @@
-[[plugins_usage]]
-== External plugins
-
-It is often convenient to be able to keep the build files
-used by all your projects in one place. Those files could
-be Makefiles, configuration files, templates and more.
-
-Erlang.mk allows you to automatically load plugins from
-dependencies. Plugins can do anything, including defining
-new variables, defining file templates, hooking themselves
-inside the normal Erlang.mk processing or even adding new
-rules.
-
-You can load plugins using one of two methods. You can
-either load all plugins from a dependency, or just one.
-We will also cover conventions about writing external
-plugins.
-
-=== Loading all plugins from a dependency
-
-To load plugins from a dependency, all you need to do is add
-the dependency name to `DEP_PLUGINS` in addition to the list
-of dependencies.
-
-For example, if you have `cowboy` in `DEPS`, add `cowboy` in
-`DEP_PLUGINS` also:
-
-[source,make]
-DEPS = cowboy
-DEP_PLUGINS = cowboy
-
-This will load the file 'plugins.mk' in the root folder of
-the Cowboy repository.
-
-=== Loading one plugin from a dependency
-
-Now that we know how to load all plugins, let's take a look
-at how to load one specific plugin from a dependency.
-
-To do this, instead of writing only the name of the dependency,
-we will write its name and the path to the plugin file. This
-means that writing `DEP_PLUGINS = cowboy` is equivalent to
-writing `DEP_PLUGINS = cowboy/plugins.mk`.
-
-Knowing this, if we were to load the plugin 'mk/dist.mk'
-from Cowboy and no other, we would write the following in
-our Makefile:
-
-[source,make]
-DEPS = cowboy
-DEP_PLUGINS = cowboy/mk/dist.mk
-
-=== Writing external plugins
-
-The 'plugins.mk' file is a convention. It is meant to load
-all the plugins from the dependency. The code for the plugin
-can be written directly in 'plugins.mk' or be separate.
-
-If you are providing more than one plugin with your repository,
-the recommended way is to create one file per plugin in the
-'mk/' folder in your repository, and then include those
-individual plugins in 'plugins.mk'.
-
-For example, if you have two plugins 'mk/dist.mk' and
-'mk/templates.mk', you could write the following 'plugins.mk'
-file:
-
-[source,make]
-THIS := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
-include $(THIS)/mk/dist.mk
-include $(THIS)/mk/templates.mk
-
-The `THIS` variable is required to relatively include files.
-
-This allows users to not only be able to select individual
-plugins, but also select all plugins from the dependency
-in one go if they wish to do so.
-
-Plugins can include some help text by extending the target
-`help-plugins`:
-
-[source,make]
-----
-help-plugins::
- $(verbose) printf "%s\n" "" "Run benchmark: $(MAKE) perfs"
-----
-
-=== Early-stage plugins
-
-Plugins declared in `DEP_PLUGINS` are loaded near the end of Erlang.mk.
-That's why you have access to all previously initialized variables.
-However, if you want your plugin to add common dependencies to
-your applications, a regular is loaded too late in the process.
-You need to use "Early-stage plugins". They are declared using the
-`DEP_EARLY_PLUGINS` variable instead. Plugins listed in this variable
-are loaded near the beginning of Erlang.mk Otherwise, they work exactly
-the same.
-
-If you only give the name of a dependency, the default file loaded is
-'early-plugins.mk'. You can specify a filename exactly like you would
-have done it with regular plugins.
-
-[source,make]
-# In your application's Makefile
-BUILD_DEPS = common_deps
-DEP_EARLY_PLUGINS = common_deps
-
-[source,make]
-# In the plugin's early-plugins.mk
-DEPS += cowboy
-TEST_DEPS = ct_helper
-dep_ct_helper = git https://github.com/ninenines/ct_helper master
-
-=== Loading plugins local to the application
-
-If the Erlang.mk plugin lives in the same directory or repository as your
-application or library, then you can load it exactly like an external
-plugin: the dependency name is simply the name of your application or
-library.
-
-For example, the following Makefile loads a plugin in the 'mk'
-subdirectory:
-
-[source,make]
-DEP_PLUGINS = $(PROJECT)/mk/dist.mk
-
-This also works with early-stage plugins:
-
-[source,make]
-DEP_EARLY_PLUGINS = $(PROJECT)/mk/variables.mk
-
-Like external plugins, if you do not specify the path to the plugin, it
-defaults to 'plugins.mk' or 'early-plugins.mk', located at the root of
-your application:
-
-[source,make]
-# Loads ./early-plugins.mk
-DEP_EARLY_PLUGINS = $(PROJECT)
-# Loads ./plugins.mk
-DEP_PLUGINS = $(PROJECT)
diff --git a/docs/en/erlang.mk/1/guide/external_plugins/index.html b/docs/en/erlang.mk/1/guide/external_plugins/index.html
deleted file mode 100644
index aa8241a6..00000000
--- a/docs/en/erlang.mk/1/guide/external_plugins/index.html
+++ /dev/null
@@ -1,260 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: External plugins</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>External plugins</span></h1>
-
-<p>It is often convenient to be able to keep the build files used by all your projects in one place. Those files could be Makefiles, configuration files, templates and more.</p>
-<p>Erlang.mk allows you to automatically load plugins from dependencies. Plugins can do anything, including defining new variables, defining file templates, hooking themselves inside the normal Erlang.mk processing or even adding new rules.</p>
-<p>You can load plugins using one of two methods. You can either load all plugins from a dependency, or just one. We will also cover conventions about writing external plugins.</p>
-<h2 id="_loading_all_plugins_from_a_dependency">Loading all plugins from a dependency</h2>
-<p>To load plugins from a dependency, all you need to do is add the dependency name to <code>DEP_PLUGINS</code> in addition to the list of dependencies.</p>
-<p>For example, if you have <code>cowboy</code> in <code>DEPS</code>, add <code>cowboy</code> in <code>DEP_PLUGINS</code> also:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">DEPS =</font> cowboy
-<font color="#009900">DEP_PLUGINS =</font> cowboy</tt></pre>
-</div></div>
-<p>This will load the file <em>plugins.mk</em> in the root folder of the Cowboy repository.</p>
-<h2 id="_loading_one_plugin_from_a_dependency">Loading one plugin from a dependency</h2>
-<p>Now that we know how to load all plugins, let&apos;s take a look at how to load one specific plugin from a dependency.</p>
-<p>To do this, instead of writing only the name of the dependency, we will write its name and the path to the plugin file. This means that writing <code>DEP_PLUGINS = cowboy</code> is equivalent to writing <code>DEP_PLUGINS = cowboy/plugins.mk</code>.</p>
-<p>Knowing this, if we were to load the plugin <em>mk/dist.mk</em> from Cowboy and no other, we would write the following in our Makefile:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">DEPS =</font> cowboy
-<font color="#009900">DEP_PLUGINS =</font> cowboy/mk/dist.mk</tt></pre>
-</div></div>
-<h2 id="_writing_external_plugins">Writing external plugins</h2>
-<p>The <em>plugins.mk</em> file is a convention. It is meant to load all the plugins from the dependency. The code for the plugin can be written directly in <em>plugins.mk</em> or be separate.</p>
-<p>If you are providing more than one plugin with your repository, the recommended way is to create one file per plugin in the <em>mk/</em> folder in your repository, and then include those individual plugins in <em>plugins.mk</em>.</p>
-<p>For example, if you have two plugins <em>mk/dist.mk</em> and <em>mk/templates.mk</em>, you could write the following <em>plugins.mk</em> file:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#990000">THIS :=</font> <font color="#009900">$(</font>dir <font color="#009900">$(</font>realpath <font color="#009900">$(</font>lastword <font color="#009900">$(MAKEFILE_LIST))))</font>
-include <font color="#009900">$(THIS)</font>/mk/dist.mk
-include <font color="#009900">$(THIS)</font>/mk/templates.mk</tt></pre>
-</div></div>
-<p>The <code>THIS</code> variable is required to relatively include files.</p>
-<p>This allows users to not only be able to select individual plugins, but also select all plugins from the dependency in one go if they wish to do so.</p>
-<p>Plugins can include some help text by extending the target <code>help-plugins</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#990000">help-plugins::</font>
- <font color="#009900">$(verbose)</font> <b><font color="#0000FF">printf</font></b> <font color="#FF0000">"%s</font><font color="#CC33CC">\n</font><font color="#FF0000">"</font> <font color="#FF0000">""</font> <font color="#FF0000">"Run benchmark: $(MAKE) perfs"</font></tt></pre>
-</div></div>
-<h2 id="_early_stage_plugins">Early-stage plugins</h2>
-<p>Plugins declared in <code>DEP_PLUGINS</code> are loaded near the end of Erlang.mk. That&apos;s why you have access to all previously initialized variables. However, if you want your plugin to add common dependencies to your applications, a regular is loaded too late in the process. You need to use &quot;Early-stage plugins&quot;. They are declared using the <code>DEP_EARLY_PLUGINS</code> variable instead. Plugins listed in this variable are loaded near the beginning of Erlang.mk Otherwise, they work exactly the same.</p>
-<p>If you only give the name of a dependency, the default file loaded is <em>early-plugins.mk</em>. You can specify a filename exactly like you would have done it with regular plugins.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900"># In your application's Makefile</font></i>
-<font color="#009900">BUILD_DEPS =</font> common_deps
-<font color="#009900">DEP_EARLY_PLUGINS =</font> common_deps</tt></pre>
-</div></div>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900"># In the plugin's early-plugins.mk</font></i>
-DEPS <font color="#990000">+=</font> cowboy
-<font color="#009900">TEST_DEPS =</font> ct_helper
-<font color="#009900">dep_ct_helper =</font> git https<font color="#990000">:</font>//github.com/ninenines/ct_helper master</tt></pre>
-</div></div>
-<h2 id="_loading__plugins_local_to_the_application">Loading plugins local to the application</h2>
-<p>If the Erlang.mk plugin lives in the same directory or repository as your application or library, then you can load it exactly like an external plugin: the dependency name is simply the name of your application or library.</p>
-<p>For example, the following Makefile loads a plugin in the <em>mk</em> subdirectory:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">DEP_PLUGINS =</font> <font color="#009900">$(PROJECT)</font>/mk/dist.mk</tt></pre>
-</div></div>
-<p>This also works with early-stage plugins:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">DEP_EARLY_PLUGINS =</font> <font color="#009900">$(PROJECT)</font>/mk/variables.mk</tt></pre>
-</div></div>
-<p>Like external plugins, if you do not specify the path to the plugin, it defaults to <em>plugins.mk</em> or <em>early-plugins.mk</em>, located at the root of your application:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900"># Loads ./early-plugins.mk</font></i>
-<font color="#009900">DEP_EARLY_PLUGINS =</font> <font color="#009900">$(PROJECT)</font>
-<i><font color="#9A1900"># Loads ./plugins.mk</font></i>
-<font color="#009900">DEP_PLUGINS =</font> <font color="#009900">$(PROJECT)</font></tt></pre>
-</div></div>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/xref/">
- Xref
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/external_plugins_list/">
- List of plugins
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/external_plugins_list.asciidoc b/docs/en/erlang.mk/1/guide/external_plugins_list.asciidoc
deleted file mode 100644
index dc5a9c6d..00000000
--- a/docs/en/erlang.mk/1/guide/external_plugins_list.asciidoc
+++ /dev/null
@@ -1,72 +0,0 @@
-[[plugins_list]]
-== List of plugins
-
-This is a non-exhaustive list of Erlang.mk plugins, sorted
-alphabetically.
-
-=== ci.erlang.mk
-
-A https://github.com/ninenines/ci.erlang.mk[plugin] that keeps
-track of released OTP versions to always run CI builds on the
-most recent patch(es).
-
-=== efene.mk
-
-An https://github.com/ninenines/efene.mk[Efene plugin] for Erlang.mk.
-http://efene.org/[Efene] is an alternative language for the BEAM.
-
-=== elixir.mk
-
-An https://github.com/botsunit/elixir.mk[Elixir plugin] for
-Erlang.mk. http://elixir-lang.org/[Elixir] is an alternative
-language for the BEAM.
-
-=== elvis.mk
-
-An https://github.com/inaka/elvis.mk[Elvis plugin] for Erlang.mk.
-Elvis is an https://github.com/inaka/elvis[Erlang style reviewer].
-
-=== geas
-
-https://github.com/crownedgrouse/geas[Geas] gives aggregated
-information on a project and its dependencies, and is available
-as an Erlang.mk plugin.
-
-=== hexer.mk
-
-An https://github.com/inaka/hexer.mk[Hex plugin] for Erlang.mk
-using the `hexer` tool.
-
-=== hexpm.mk
-
-Another https://github.com/botsunit/hexpm.mk[Hex plugin] for
-Erlang.mk, with support for Hex dependency operators.
-
-=== jorel
-
-https://github.com/emedia-project/jorel[Jorel] is Just anOther RELease
-assembler for Erlang/OTP, and is available as an Erlang.mk plugin.
-
-=== lfe.mk
-
-An https://github.com/ninenines/lfe.mk[LFE plugin] for Erlang.mk.
-LFE, or http://lfe.io/[Lisp Flavoured Erlang], is an alternative
-language for the BEAM.
-
-=== mix.mk
-
-A https://github.com/botsunit/mix.mk[Mix plugin] for Erlang.mk,
-to generate a compatible configuration file for
-http://elixir-lang.org/getting-started/mix-otp/introduction-to-mix.html[Mix].
-
-=== reload.mk
-
-A https://github.com/bullno1/reload.mk[live reload plugin] for Erlang.mk.
-
-=== rust.mk
-
-A https://github.com/goertzenator/rust.mk[plugin] to build https://www.rust-lang.org/[Rust] crates and install binaries into `priv/`.
-
-=== version.mk
-
-A https://github.com/manifest/version.mk[plugin] to apply a semantic version automatically to Erlang.mk projects.
diff --git a/docs/en/erlang.mk/1/guide/external_plugins_list/index.html b/docs/en/erlang.mk/1/guide/external_plugins_list/index.html
deleted file mode 100644
index 0dd5151e..00000000
--- a/docs/en/erlang.mk/1/guide/external_plugins_list/index.html
+++ /dev/null
@@ -1,194 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: List of plugins</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>List of plugins</span></h1>
-
-<p>This is a non-exhaustive list of Erlang.mk plugins, sorted alphabetically.</p>
-<h2 id="_ci_erlang_mk">ci.erlang.mk</h2>
-<p>A <a href="https://github.com/ninenines/ci.erlang.mk">plugin</a> that keeps track of released OTP versions to always run CI builds on the most recent patch(es).</p>
-<h2 id="_efene_mk">efene.mk</h2>
-<p>An <a href="https://github.com/ninenines/efene.mk">Efene plugin</a> for Erlang.mk. <a href="http://efene.org/">Efene</a> is an alternative language for the BEAM.</p>
-<h2 id="_elixir_mk">elixir.mk</h2>
-<p>An <a href="https://github.com/botsunit/elixir.mk">Elixir plugin</a> for Erlang.mk. <a href="http://elixir-lang.org/">Elixir</a> is an alternative language for the BEAM.</p>
-<h2 id="_elvis_mk">elvis.mk</h2>
-<p>An <a href="https://github.com/inaka/elvis.mk">Elvis plugin</a> for Erlang.mk. Elvis is an <a href="https://github.com/inaka/elvis">Erlang style reviewer</a>.</p>
-<h2 id="_geas">geas</h2>
-<p><a href="https://github.com/crownedgrouse/geas">Geas</a> gives aggregated information on a project and its dependencies, and is available as an Erlang.mk plugin.</p>
-<h2 id="_hexer_mk">hexer.mk</h2>
-<p>An <a href="https://github.com/inaka/hexer.mk">Hex plugin</a> for Erlang.mk using the <code>hexer</code> tool.</p>
-<h2 id="_hexpm_mk">hexpm.mk</h2>
-<p>Another <a href="https://github.com/botsunit/hexpm.mk">Hex plugin</a> for Erlang.mk, with support for Hex dependency operators.</p>
-<h2 id="_jorel">jorel</h2>
-<p><a href="https://github.com/emedia-project/jorel">Jorel</a> is Just anOther RELease assembler for Erlang/OTP, and is available as an Erlang.mk plugin.</p>
-<h2 id="_lfe_mk">lfe.mk</h2>
-<p>An <a href="https://github.com/ninenines/lfe.mk">LFE plugin</a> for Erlang.mk. LFE, or <a href="http://lfe.io/">Lisp Flavoured Erlang</a>, is an alternative language for the BEAM.</p>
-<h2 id="_mix_mk">mix.mk</h2>
-<p>A <a href="https://github.com/botsunit/mix.mk">Mix plugin</a> for Erlang.mk, to generate a compatible configuration file for <a href="http://elixir-lang.org/getting-started/mix-otp/introduction-to-mix.html">Mix</a>.</p>
-<h2 id="_reload_mk">reload.mk</h2>
-<p>A <a href="https://github.com/bullno1/reload.mk">live reload plugin</a> for Erlang.mk.</p>
-<h2 id="_rust_mk">rust.mk</h2>
-<p>A <a href="https://github.com/goertzenator/rust.mk">plugin</a> to build <a href="https://www.rust-lang.org/">Rust</a> crates and install binaries into <code>priv/</code>.</p>
-<h2 id="_version_mk">version.mk</h2>
-<p>A <a href="https://github.com/manifest/version.mk">plugin</a> to apply a semantic version automatically to Erlang.mk projects.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/external_plugins/">
- External plugins
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/why/">
- Why Erlang.mk
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/getting_started.asciidoc b/docs/en/erlang.mk/1/guide/getting_started.asciidoc
deleted file mode 100644
index de40f364..00000000
--- a/docs/en/erlang.mk/1/guide/getting_started.asciidoc
+++ /dev/null
@@ -1,326 +0,0 @@
-[[getting_started]]
-== Getting started
-
-This chapter explains how to get started using Erlang.mk.
-
-=== Creating a folder for your project
-
-The first step is always to create a new folder that will
-contain your project.
-
-[source,bash]
-$ mkdir hello_joe
-$ cd hello_joe
-
-Most people tend to put all their projects side by side in
-a common folder. We recommend keeping an organization similar
-to your remote repositories. For example, for GitHub users,
-put all your projects in a common folder with the same name
-as your username. For example '$HOME/ninenines/cowboy' for
-the Cowboy project.
-
-=== Downloading Erlang.mk
-
-At the time of writing, Erlang.mk is unlikely to be present
-in your Erlang distribution, or even in your OS packages.
-
-The next step is therefore to download it:
-
-[source,bash]
-$ wget https://erlang.mk/erlang.mk
-
-Or:
-
-[source,bash]
-$ curl -O https://erlang.mk/erlang.mk
-
-Alternatively, just https://erlang.mk/erlang.mk[click on this link].
-
-Make sure you put the file inside the folder we created previously.
-
-=== Getting started with OTP applications
-
-An OTP application is an Erlang application that has a supervision
-tree. In other words, it will always have processes running.
-
-This kind of project can be automatically generated by Erlang.mk.
-All you need to do is use the `bootstrap` target:
-
-[source,bash]
-$ make -f erlang.mk bootstrap
-
-Something similar to the following snippet will then appear
-on your screen:
-
-[source,bash]
-----
-git clone https://github.com/ninenines/erlang.mk .erlang.mk.build
-Cloning into '.erlang.mk.build'...
-remote: Counting objects: 4035, done.
-remote: Compressing objects: 100% (12/12), done.
-remote: Total 4035 (delta 8), reused 4 (delta 4), pack-reused 4019
-Receiving objects: 100% (4035/4035), 1.10 MiB | 784.00 KiB/s, done.
-Resolving deltas: 100% (2442/2442), done.
-Checking connectivity... done.
-if [ -f build.config ]; then cp build.config .erlang.mk.build; fi
-cd .erlang.mk.build && make
-make[1]: Entering directory '/home/essen/tmp/hello_joe/.erlang.mk.build'
-awk 'FNR==1 && NR!=1{print ""}1' core/core.mk index/*.mk core/index.mk core/deps.mk plugins/protobuffs.mk core/erlc.mk core/docs.mk core/test.mk plugins/asciidoc.mk plugins/bootstrap.mk plugins/c_src.mk plugins/ci.mk plugins/ct.mk plugins/dialyzer.mk plugins/edoc.mk plugins/elvis.mk plugins/erlydtl.mk plugins/escript.mk plugins/eunit.mk plugins/relx.mk plugins/shell.mk plugins/triq.mk plugins/xref.mk plugins/cover.mk \
- | sed 's/^ERLANG_MK_VERSION = .*/ERLANG_MK_VERSION = 1.2.0-642-gccd2b9f/' > erlang.mk
-make[1]: Leaving directory '/home/essen/tmp/hello_joe/.erlang.mk.build'
-cp .erlang.mk.build/erlang.mk ./erlang.mk
-rm -rf .erlang.mk.build
-----
-
-This is Erlang.mk bootstrapping itself. Indeed, the file you
-initially downloaded contains nothing more than the code needed
-to bootstrap. This operation is done only once. Consult the
-xref:updating[Updating Erlang.mk] chapter for more
-information.
-
-Of course, the generated project can now be compiled:
-
-[source,bash]
-$ make
-
-Cheers!
-
-=== Getting started with OTP libraries
-
-An OTP library is an Erlang application that has no supervision
-tree. In other words, it is nothing but modules.
-
-This kind of project can also be generated by Erlang.mk, using
-the `bootstrap-lib` target:
-
-[source,bash]
-$ make -f erlang.mk bootstrap-lib
-
-Erlang.mk will once again bootstrap itself and generate all
-the files for your project. You can now compile it:
-
-[source,bash]
-$ make
-
-Enjoy!
-
-=== Getting started with OTP releases
-
-An OTP release is the combination of the Erlang RunTime System (ERTS)
-along with all the libraries and files that your node will need
-to run. It is entirely self contained, and can often be sent as-is
-to your production system and run without any extra setup.
-
-Erlang.mk can of course bootstrap your project to generate releases.
-You can use the `bootstrap-rel` target for this purpose:
-
-[source,bash]
-$ make bootstrap-rel
-
-This target can be combined with `bootstrap` or `bootstrap-lib` to
-create a project that will build a release:
-
-[source,bash]
-$ make -f erlang.mk bootstrap-lib bootstrap-rel
-
-It is often very useful to keep the top-level project for
-commands useful during operations, and put the components
-of the system in separate applications that you will then
-depend on. Consult the xref:deps[Packages and dependencies]
-chapter for more information.
-
-When you run `make` from now on, Erlang.mk will compile your
-project and build the release:
-
-[source,bash]
-$ make
- APP hello_joe.app.src
- GEN distclean-relx-rel
- GEN /home/essen/tmp/hello_joe/relx
-===> Starting relx build process ...
-===> Resolving OTP Applications from directories:
- /home/essen/tmp/hello_joe/ebin
- /usr/lib/erlang/lib
- /home/essen/tmp/hello_joe/deps
-===> Resolved hello_joe_release-1
-===> Including Erts from /usr/lib/erlang
-===> release successfully created!
-
-The first time you run this command, Erlang.mk will download
-_relx_, the release building tool. So don't worry if you see
-more output than above.
-
-If building the release is slow, no need to upgrade your
-hardware just yet. Just consult the xref:relx[Releases]
-chapter for various tips to speed up build time during
-development.
-
-You can start the release using the './_rel/hello_joe_release/bin/hello_joe_release'
-script, or simply run `make run`. The latter will also compile
-your project and build the release if it wasn't already:
-
-[source,bash]
-----
-$ make run
- APP hello_joe.app.src
- GEN distclean-relx-rel
-===> Starting relx build process ...
-===> Resolving OTP Applications from directories:
- /home/essen/tmp/hello_joe/ebin
- /usr/lib/erlang/lib
- /home/essen/tmp/hello_joe/deps
-===> Resolved hello_joe_release-1
-===> Including Erts from /usr/lib/erlang
-===> release successfully created!
-Exec: /home/essen/tmp/hello_joe/_rel/hello_joe_release/erts-7.0/bin/erlexec -boot /home/essen/tmp/hello_joe/_rel/hello_joe_release/releases/1/hello_joe_release -boot_var ERTS_LIB_DIR /home/essen/tmp/hello_joe/_rel/hello_joe_release/erts-7.0/../lib -env ERL_LIBS /home/essen/tmp/hello_joe/_rel/hello_joe_release/releases/1/lib -config /home/essen/tmp/hello_joe/_rel/hello_joe_release/releases/1/sys.config -args_file /home/essen/tmp/hello_joe/_rel/hello_joe_release/releases/1/vm.args -- console
-Root: /home/essen/tmp/hello_joe/_rel/hello_joe_release
-/home/essen/tmp/hello_joe/_rel/hello_joe_release
-heart_beat_kill_pid = 16389
-Erlang/OTP 18 [erts-7.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
-
-Eshell V7.0 (abort with ^G)
-----
-
-Simple as that!
-
-=== Getting started from scratch
-
-If you already have an application, or you want to have full
-control over what files will be created, you can setup Erlang.mk
-manually.
-
-Erlang.mk is very easy to setup: all that you need to do is to
-create a folder, put Erlang.mk in it, and write a one line
-Makefile containing:
-
-[source,make]
-include erlang.mk
-
-For a step by step:
-
-[source,bash]
-----
-$ mkdir hello_joe
-$ cd hello_joe
-$ curl https://erlang.mk/erlang.mk -o erlang.mk
-$ echo "include erlang.mk" > Makefile
-$ make
-----
-
-From that point onward you can create an `src/` folder or start
-using templates.
-
-=== Using spaces instead of tabs
-
-Erlang.mk defaults to tabs when creating files from templates.
-This is in part because of a personal preference, and in part
-because it is much easier to convert tabs to spaces than the
-opposite.
-
-Use the `SP` variable if you prefer spaces. Set it to the number
-of spaces per indentation level you want.
-
-For example, if you prefer two spaces per indentation level:
-
-[source,bash]
-$ make -f erlang.mk bootstrap SP=2
-
-When you bootstrap the project initially, the variable automatically
-gets added to the Makefile, so you only need to provide it when
-you get started.
-
-=== Using templates
-
-It is no secret that Erlang's OTP behaviors tend to have some
-boilerplate. It is rarely an issue of course, except when
-creating new modules. That's why Erlang.mk not only comes with
-templates for generating projects, but also individual modules!
-
-You can list all available templates with the `list-templates`
-target:
-
-[source,bash]
-$ make list-templates
-Available templates: cowboy_http cowboy_loop cowboy_rest cowboy_ws gen_fsm gen_server gen_statem ranch_protocol supervisor
-
-To generate a module, let's say a `gen_server`, all you need to
-do is to call `make new` with the appropriate arguments:
-
-[source,bash]
-$ make new t=gen_server n=my_server
-
-This will create a module located in 'src/my_server.erl'
-using the `gen_server` template.
-
-This module is automatically compiled the next time you run
-`make`:
-
-[source,bash]
-$ make
- ERLC my_server.erl
- APP hello_joe.app.src
-
-All that's left to do is to open it in your favorite editor
-and make it do something!
-
-=== Hiding Erlang.mk from git
-
-Erlang.mk is a large text file. It can easily take a large part of
-a `git diff` or a `git grep` command. You can avoid this by telling
-Git that 'erlang.mk' is a binary file.
-
-Add this to your '.gitattributes' file. This is a file that you
-can create at the root of your repository:
-
-----
-erlang.mk -diff
-----
-
-The 'erlang.mk' file will still appear in diffs and greps, but
-as a binary file, meaning its contents won't be shown by default
-anymore.
-
-=== Getting help
-
-During development, if you don't remember the name of a target,
-you can always run `make help`:
-
-[source,bash]
-----
-$ make help
-erlang.mk (version 1.2.0-642-gccd2b9f) is distributed under the terms of the ISC License.
-Copyright (c) 2013-2016 Loïc Hoguin <[email protected]>
-
-Usage: [V=1] make [target]...
-
-Core targets:
- all Run deps, app and rel targets in that order
- app Compile the project
- deps Fetch dependencies (if needed) and compile them
- search q=... Search for a package in the built-in index
- rel Build a release for this project, if applicable
- docs Build the documentation for this project
- install-docs Install the man pages for this project
- check Compile and run all tests and analysis for this project
- tests Run the tests for this project
- clean Delete temporary and output files from most targets
- distclean Delete all temporary and output files
- help Display this help and exit
- erlang-mk Update erlang.mk to the latest version
-
-Bootstrap targets:
- bootstrap Generate a skeleton of an OTP application
- bootstrap-lib Generate a skeleton of an OTP library
- bootstrap-rel Generate the files needed to build a release
- new t=TPL n=NAME Generate a module NAME based on the template TPL
- list-templates List available templates
-...
-----
-
-This guide should provide any other answer. If not, please
-open a ticket on https://github.com/ninenines/erlang.mk/issues[the official repository]
-and we will work on improving the guide.
-
-Commercial support is available through Nine Nines. Please contact
-Loïc Hoguin by sending an email to mailto:[email protected][].
diff --git a/docs/en/erlang.mk/1/guide/getting_started/index.html b/docs/en/erlang.mk/1/guide/getting_started/index.html
deleted file mode 100644
index 4231ac41..00000000
--- a/docs/en/erlang.mk/1/guide/getting_started/index.html
+++ /dev/null
@@ -1,418 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Getting started</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Getting started</span></h1>
-
-<p>This chapter explains how to get started using Erlang.mk.</p>
-<h2 id="_creating_a_folder_for_your_project">Creating a folder for your project</h2>
-<p>The first step is always to create a new folder that will contain your project.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ mkdir hello_joe
-$ cd hello_joe</tt></pre>
-</div></div>
-<p>Most people tend to put all their projects side by side in a common folder. We recommend keeping an organization similar to your remote repositories. For example, for GitHub users, put all your projects in a common folder with the same name as your username. For example <em>$HOME/ninenines/cowboy</em> for the Cowboy project.</p>
-<h2 id="_downloading_erlang_mk">Downloading Erlang.mk</h2>
-<p>At the time of writing, Erlang.mk is unlikely to be present in your Erlang distribution, or even in your OS packages.</p>
-<p>The next step is therefore to download it:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ wget https<font color="#990000">:</font>//erlang<font color="#990000">.</font>mk/erlang<font color="#990000">.</font>mk</tt></pre>
-</div></div>
-<p>Or:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ curl -O https<font color="#990000">:</font>//erlang<font color="#990000">.</font>mk/erlang<font color="#990000">.</font>mk</tt></pre>
-</div></div>
-<p>Alternatively, just <a href="https://erlang.mk/erlang.mk">click on this link</a>.</p>
-<p>Make sure you put the file inside the folder we created previously.</p>
-<h2 id="_getting_started_with_otp_applications">Getting started with OTP applications</h2>
-<p>An OTP application is an Erlang application that has a supervision tree. In other words, it will always have processes running.</p>
-<p>This kind of project can be automatically generated by Erlang.mk. All you need to do is use the <code>bootstrap</code> target:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make -f erlang<font color="#990000">.</font>mk bootstrap</tt></pre>
-</div></div>
-<p>Something similar to the following snippet will then appear on your screen:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>git clone https<font color="#990000">:</font>//github<font color="#990000">.</font>com/ninenines/erlang<font color="#990000">.</font>mk <font color="#990000">.</font>erlang<font color="#990000">.</font>mk<font color="#990000">.</font>build
-Cloning into <font color="#FF0000">'.erlang.mk.build'</font><font color="#990000">...</font>
-remote<font color="#990000">:</font> Counting objects<font color="#990000">:</font> <font color="#993399">4035</font><font color="#990000">,</font> <b><font color="#0000FF">done</font></b><font color="#990000">.</font>
-remote<font color="#990000">:</font> Compressing objects<font color="#990000">:</font> <font color="#993399">100</font><font color="#990000">%</font> <font color="#990000">(</font><font color="#993399">12</font><font color="#990000">/</font><font color="#993399">12</font><font color="#990000">),</font> <b><font color="#0000FF">done</font></b><font color="#990000">.</font>
-remote<font color="#990000">:</font> Total <font color="#993399">4035</font> <font color="#990000">(</font>delta <font color="#993399">8</font><font color="#990000">),</font> reused <font color="#993399">4</font> <font color="#990000">(</font>delta <font color="#993399">4</font><font color="#990000">),</font> pack-reused <font color="#993399">4019</font>
-Receiving objects<font color="#990000">:</font> <font color="#993399">100</font><font color="#990000">%</font> <font color="#990000">(</font><font color="#993399">4035</font><font color="#990000">/</font><font color="#993399">4035</font><font color="#990000">),</font> <font color="#993399">1.10</font> MiB <font color="#990000">|</font> <font color="#993399">784.00</font> KiB/s<font color="#990000">,</font> <b><font color="#0000FF">done</font></b><font color="#990000">.</font>
-Resolving deltas<font color="#990000">:</font> <font color="#993399">100</font><font color="#990000">%</font> <font color="#990000">(</font><font color="#993399">2442</font><font color="#990000">/</font><font color="#993399">2442</font><font color="#990000">),</font> <b><font color="#0000FF">done</font></b><font color="#990000">.</font>
-Checking connectivity<font color="#990000">...</font> <b><font color="#0000FF">done</font></b><font color="#990000">.</font>
-<b><font color="#0000FF">if</font></b> <font color="#990000">[</font> -f build<font color="#990000">.</font>config <font color="#990000">];</font> <b><font color="#0000FF">then</font></b> cp build<font color="#990000">.</font>config <font color="#990000">.</font>erlang<font color="#990000">.</font>mk<font color="#990000">.</font>build<font color="#990000">;</font> <b><font color="#0000FF">fi</font></b>
-cd <font color="#990000">.</font>erlang<font color="#990000">.</font>mk<font color="#990000">.</font>build <font color="#990000">&amp;&amp;</font> make
-make<font color="#990000">[</font><font color="#993399">1</font><font color="#990000">]:</font> Entering directory <font color="#FF0000">'/home/essen/tmp/hello_joe/.erlang.mk.build'</font>
-awk <font color="#FF0000">'FNR==1 &amp;&amp; NR!=1{print ""}1'</font> core/core<font color="#990000">.</font>mk index<font color="#990000">/*.</font>mk core/index<font color="#990000">.</font>mk core/deps<font color="#990000">.</font>mk plugins/protobuffs<font color="#990000">.</font>mk core/erlc<font color="#990000">.</font>mk core/docs<font color="#990000">.</font>mk core/test<font color="#990000">.</font>mk plugins/asciidoc<font color="#990000">.</font>mk plugins/bootstrap<font color="#990000">.</font>mk plugins/c_src<font color="#990000">.</font>mk plugins/ci<font color="#990000">.</font>mk plugins/ct<font color="#990000">.</font>mk plugins/dialyzer<font color="#990000">.</font>mk plugins/edoc<font color="#990000">.</font>mk plugins/elvis<font color="#990000">.</font>mk plugins/erlydtl<font color="#990000">.</font>mk plugins/escript<font color="#990000">.</font>mk plugins/eunit<font color="#990000">.</font>mk plugins/relx<font color="#990000">.</font>mk plugins/shell<font color="#990000">.</font>mk plugins/triq<font color="#990000">.</font>mk plugins/xref<font color="#990000">.</font>mk plugins/cover<font color="#990000">.</font>mk <font color="#990000">\</font>
- <font color="#990000">|</font> sed <font color="#FF0000">'s/^ERLANG_MK_VERSION = .*/ERLANG_MK_VERSION = 1.2.0-642-gccd2b9f/'</font> <font color="#990000">&gt;</font> erlang<font color="#990000">.</font>mk
-make<font color="#990000">[</font><font color="#993399">1</font><font color="#990000">]:</font> Leaving directory <font color="#FF0000">'/home/essen/tmp/hello_joe/.erlang.mk.build'</font>
-cp <font color="#990000">.</font>erlang<font color="#990000">.</font>mk<font color="#990000">.</font>build/erlang<font color="#990000">.</font>mk <font color="#990000">.</font>/erlang<font color="#990000">.</font>mk
-rm -rf <font color="#990000">.</font>erlang<font color="#990000">.</font>mk<font color="#990000">.</font>build</tt></pre>
-</div></div>
-<p>This is Erlang.mk bootstrapping itself. Indeed, the file you initially downloaded contains nothing more than the code needed to bootstrap. This operation is done only once. Consult the <a href="../updating">Updating Erlang.mk</a> chapter for more information.</p>
-<p>Of course, the generated project can now be compiled:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make</tt></pre>
-</div></div>
-<p>Cheers!</p>
-<h2 id="_getting_started_with_otp_libraries">Getting started with OTP libraries</h2>
-<p>An OTP library is an Erlang application that has no supervision tree. In other words, it is nothing but modules.</p>
-<p>This kind of project can also be generated by Erlang.mk, using the <code>bootstrap-lib</code> target:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make -f erlang<font color="#990000">.</font>mk bootstrap-lib</tt></pre>
-</div></div>
-<p>Erlang.mk will once again bootstrap itself and generate all the files for your project. You can now compile it:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make</tt></pre>
-</div></div>
-<p>Enjoy!</p>
-<h2 id="_getting_started_with_otp_releases">Getting started with OTP releases</h2>
-<p>An OTP release is the combination of the Erlang RunTime System (ERTS) along with all the libraries and files that your node will need to run. It is entirely self contained, and can often be sent as-is to your production system and run without any extra setup.</p>
-<p>Erlang.mk can of course bootstrap your project to generate releases. You can use the <code>bootstrap-rel</code> target for this purpose:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make bootstrap-rel</tt></pre>
-</div></div>
-<p>This target can be combined with <code>bootstrap</code> or <code>bootstrap-lib</code> to create a project that will build a release:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make -f erlang<font color="#990000">.</font>mk bootstrap-lib bootstrap-rel</tt></pre>
-</div></div>
-<p>It is often very useful to keep the top-level project for commands useful during operations, and put the components of the system in separate applications that you will then depend on. Consult the <a href="../deps">Packages and dependencies</a> chapter for more information.</p>
-<p>When you run <code>make</code> from now on, Erlang.mk will compile your project and build the release:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make
- APP hello_joe<font color="#990000">.</font>app<font color="#990000">.</font>src
- GEN distclean-relx-rel
- GEN /home/essen/tmp/hello_joe/relx
-<font color="#990000">===&gt;</font> Starting relx build process <font color="#990000">...</font>
-<font color="#990000">===&gt;</font> Resolving OTP Applications from directories<font color="#990000">:</font>
- /home/essen/tmp/hello_joe/ebin
- /usr/lib/erlang/lib
- /home/essen/tmp/hello_joe/deps
-<font color="#990000">===&gt;</font> Resolved hello_joe_release-<font color="#993399">1</font>
-<font color="#990000">===&gt;</font> Including Erts from /usr/lib/erlang
-<font color="#990000">===&gt;</font> release successfully created<font color="#990000">!</font></tt></pre>
-</div></div>
-<p>The first time you run this command, Erlang.mk will download <em>relx</em>, the release building tool. So don&apos;t worry if you see more output than above.</p>
-<p>If building the release is slow, no need to upgrade your hardware just yet. Just consult the <a href="../relx">Releases</a> chapter for various tips to speed up build time during development.</p>
-<p>You can start the release using the <em>./_rel/hello_joe_release/bin/hello_joe_release</em> script, or simply run <code>make run</code>. The latter will also compile your project and build the release if it wasn&apos;t already:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make run
- APP hello_joe<font color="#990000">.</font>app<font color="#990000">.</font>src
- GEN distclean-relx-rel
-<font color="#990000">===&gt;</font> Starting relx build process <font color="#990000">...</font>
-<font color="#990000">===&gt;</font> Resolving OTP Applications from directories<font color="#990000">:</font>
- /home/essen/tmp/hello_joe/ebin
- /usr/lib/erlang/lib
- /home/essen/tmp/hello_joe/deps
-<font color="#990000">===&gt;</font> Resolved hello_joe_release-<font color="#993399">1</font>
-<font color="#990000">===&gt;</font> Including Erts from /usr/lib/erlang
-<font color="#990000">===&gt;</font> release successfully created<font color="#990000">!</font>
-Exec<font color="#990000">:</font> /home/essen/tmp/hello_joe<font color="#990000">/</font>_rel/hello_joe_release/erts-<font color="#993399">7.0</font>/bin/erlexec -boot /home/essen/tmp/hello_joe<font color="#990000">/</font>_rel/hello_joe_release/releases<font color="#990000">/</font><font color="#993399">1</font>/hello_joe_release -boot_var ERTS_LIB_DIR /home/essen/tmp/hello_joe<font color="#990000">/</font>_rel/hello_joe_release/erts-<font color="#993399">7.0</font><font color="#990000">/..</font>/lib -env ERL_LIBS /home/essen/tmp/hello_joe<font color="#990000">/</font>_rel/hello_joe_release/releases<font color="#990000">/</font><font color="#993399">1</font>/lib -config /home/essen/tmp/hello_joe<font color="#990000">/</font>_rel/hello_joe_release/releases<font color="#990000">/</font><font color="#993399">1</font>/sys<font color="#990000">.</font>config -args_file /home/essen/tmp/hello_joe<font color="#990000">/</font>_rel/hello_joe_release/releases<font color="#990000">/</font><font color="#993399">1</font>/vm<font color="#990000">.</font>args -- console
-Root<font color="#990000">:</font> /home/essen/tmp/hello_joe<font color="#990000">/</font>_rel/hello_joe_release
-/home/essen/tmp/hello_joe<font color="#990000">/</font>_rel/hello_joe_release
-heart_beat_kill_pid <font color="#990000">=</font> <font color="#993399">16389</font>
-Erlang/OTP <font color="#993399">18</font> <font color="#990000">[</font>erts-<font color="#993399">7.0</font><font color="#990000">]</font> <font color="#990000">[</font><b><font color="#0000FF">source</font></b><font color="#990000">]</font> <font color="#990000">[</font><font color="#993399">64</font>-bit<font color="#990000">]</font> <font color="#990000">[</font>smp<font color="#990000">:</font><font color="#993399">4</font><font color="#990000">:</font><font color="#993399">4</font><font color="#990000">]</font> <font color="#990000">[</font>async-threads<font color="#990000">:</font><font color="#993399">10</font><font color="#990000">]</font> <font color="#990000">[</font>hipe<font color="#990000">]</font> <font color="#990000">[</font>kernel-poll<font color="#990000">:</font><b><font color="#0000FF">false</font></b><font color="#990000">]</font>
-
-Eshell V7<font color="#990000">.</font><font color="#993399">0</font> <font color="#990000">(</font>abort with <font color="#990000">^</font>G<font color="#990000">)</font>
-<font color="#990000">(</font>hello_joe@<font color="#993399">127.0</font><font color="#990000">.</font><font color="#993399">0.1</font><font color="#990000">)</font><font color="#993399">1</font><font color="#990000">&gt;</font> </tt></pre>
-</div></div>
-<p>Simple as that!</p>
-<h2 id="_getting_started_from_scratch">Getting started from scratch</h2>
-<p>If you already have an application, or you want to have full control over what files will be created, you can setup Erlang.mk manually.</p>
-<p>Erlang.mk is very easy to setup: all that you need to do is to create a folder, put Erlang.mk in it, and write a one line Makefile containing:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>include erlang.mk</tt></pre>
-</div></div>
-<p>For a step by step:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ mkdir hello_joe
-$ cd hello_joe
-$ curl https<font color="#990000">:</font>//erlang<font color="#990000">.</font>mk/erlang<font color="#990000">.</font>mk -o erlang<font color="#990000">.</font>mk
-$ echo <font color="#FF0000">"include erlang.mk"</font> <font color="#990000">&gt;</font> Makefile
-$ make</tt></pre>
-</div></div>
-<p>From that point onward you can create an <code>src/</code> folder or start using templates.</p>
-<h2 id="_using_spaces_instead_of_tabs">Using spaces instead of tabs</h2>
-<p>Erlang.mk defaults to tabs when creating files from templates. This is in part because of a personal preference, and in part because it is much easier to convert tabs to spaces than the opposite.</p>
-<p>Use the <code>SP</code> variable if you prefer spaces. Set it to the number of spaces per indentation level you want.</p>
-<p>For example, if you prefer two spaces per indentation level:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make -f erlang<font color="#990000">.</font>mk bootstrap <font color="#009900">SP</font><font color="#990000">=</font><font color="#993399">2</font></tt></pre>
-</div></div>
-<p>When you bootstrap the project initially, the variable automatically gets added to the Makefile, so you only need to provide it when you get started.</p>
-<h2 id="_using_templates">Using templates</h2>
-<p>It is no secret that Erlang&apos;s OTP behaviors tend to have some boilerplate. It is rarely an issue of course, except when creating new modules. That&apos;s why Erlang.mk not only comes with templates for generating projects, but also individual modules!</p>
-<p>You can list all available templates with the <code>list-templates</code> target:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make list-templates
-Available templates<font color="#990000">:</font> cowboy_http cowboy_loop cowboy_rest cowboy_ws gen_fsm gen_server gen_statem ranch_protocol supervisor</tt></pre>
-</div></div>
-<p>To generate a module, let&apos;s say a <code>gen_server</code>, all you need to do is to call <code>make new</code> with the appropriate arguments:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make new <font color="#009900">t</font><font color="#990000">=</font>gen_server <font color="#009900">n</font><font color="#990000">=</font>my_server</tt></pre>
-</div></div>
-<p>This will create a module located in <em>src/my_server.erl</em> using the <code>gen_server</code> template.</p>
-<p>This module is automatically compiled the next time you run <code>make</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make
- ERLC my_server<font color="#990000">.</font>erl
- APP hello_joe<font color="#990000">.</font>app<font color="#990000">.</font>src</tt></pre>
-</div></div>
-<p>All that&apos;s left to do is to open it in your favorite editor and make it do something!</p>
-<h2 id="_hiding_erlang_mk_from_git">Hiding Erlang.mk from git</h2>
-<p>Erlang.mk is a large text file. It can easily take a large part of a <code>git diff</code> or a <code>git grep</code> command. You can avoid this by telling Git that <em>erlang.mk</em> is a binary file.</p>
-<p>Add this to your <em>.gitattributes</em> file. This is a file that you can create at the root of your repository:</p>
-<div class="listingblock"><div class="content"><pre>erlang.mk -diff</pre></div></div>
-<p>The <em>erlang.mk</em> file will still appear in diffs and greps, but as a binary file, meaning its contents won&apos;t be shown by default anymore.</p>
-<h2 id="_getting_help">Getting help</h2>
-<p>During development, if you don&apos;t remember the name of a target, you can always run <code>make help</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make <b><font color="#0000FF">help</font></b>
-erlang<font color="#990000">.</font>mk <font color="#990000">(</font>version <font color="#993399">1.2</font><font color="#990000">.</font><font color="#993399">0</font>-<font color="#993399">642</font>-gccd2b9f<font color="#990000">)</font> is distributed under the terms of the ISC License<font color="#990000">.</font>
-Copyright <font color="#990000">(</font>c<font color="#990000">)</font> <font color="#993399">2013</font>-<font color="#993399">2016</font> Loïc Hoguin <font color="#990000">&lt;</font>essen@ninenines<font color="#990000">.</font>eu<font color="#990000">&gt;</font>
-
-Usage<font color="#990000">:</font> <font color="#990000">[</font><font color="#009900">V</font><font color="#990000">=</font><font color="#993399">1</font><font color="#990000">]</font> make <font color="#990000">[</font>target<font color="#990000">]...</font>
-
-Core targets<font color="#990000">:</font>
- all Run deps<font color="#990000">,</font> app and rel targets <b><font color="#0000FF">in</font></b> that order
- app Compile the project
- deps Fetch dependencies <font color="#990000">(</font><b><font color="#0000FF">if</font></b> needed<font color="#990000">)</font> and compile them
- search <font color="#009900">q</font><font color="#990000">=...</font> Search <b><font color="#0000FF">for</font></b> a package <b><font color="#0000FF">in</font></b> the built-in index
- rel Build a release <b><font color="#0000FF">for</font></b> this project<font color="#990000">,</font> <b><font color="#0000FF">if</font></b> applicable
- docs Build the documentation <b><font color="#0000FF">for</font></b> this project
- install-docs Install the man pages <b><font color="#0000FF">for</font></b> this project
- check Compile and run all tests and analysis <b><font color="#0000FF">for</font></b> this project
- tests Run the tests <b><font color="#0000FF">for</font></b> this project
- clean Delete temporary and output files from most targets
- distclean Delete all temporary and output files
- <b><font color="#0000FF">help</font></b> Display this <b><font color="#0000FF">help</font></b> and <b><font color="#0000FF">exit</font></b>
- erlang-mk Update erlang<font color="#990000">.</font>mk to the latest version
-
-Bootstrap targets<font color="#990000">:</font>
- bootstrap Generate a skeleton of an OTP application
- bootstrap-lib Generate a skeleton of an OTP library
- bootstrap-rel Generate the files needed to build a release
- new <font color="#009900">t</font><font color="#990000">=</font>TPL <font color="#009900">n</font><font color="#990000">=</font>NAME Generate a module NAME based on the template TPL
- list-templates List available templates
-<font color="#990000">...</font></tt></pre>
-</div></div>
-<p>This guide should provide any other answer. If not, please open a ticket on <a href="https://github.com/ninenines/erlang.mk/issues">the official repository</a> and we will work on improving the guide.</p>
-<p>Commercial support is available through Nine Nines. Please contact Loïc Hoguin by sending an email to <a href="mailto:[email protected]">[email protected]</a>.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/installation/">
- Installation
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/overview/">
- Overview
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/history.asciidoc b/docs/en/erlang.mk/1/guide/history.asciidoc
deleted file mode 100644
index 92027430..00000000
--- a/docs/en/erlang.mk/1/guide/history.asciidoc
+++ /dev/null
@@ -1,66 +0,0 @@
-[[history]]
-== Short history
-
-This chapter aims to be a brief record of the life of the
-Erlang.mk project.
-
-=== Before Erlang.mk
-
-Erlang.mk originates from the Cowboy project. Cowboy started
-as a Rebar project and I, Loïc Hoguin, was very happy with it
-for a couple years. Over time however I started getting annoyed
-and frustrated by a number of things, including bad defaults,
-changing defaults and overall slowness.
-
-In particular, at the time I gave up on Rebar, the Cowboy
-test suite was taking about five minutes to run. A quick experiment
-showed I could get much lower times by simply invoking `ct_run`
-directly. On January 4th, 2013, the Cowboy test suite took less
-than a minute to complete.
-
-Following this success I started removing a little more and,
-on the fateful day of January 5th, 2013, removed the dependency
-on Rebar entirely. Rebar, and in particular the concept of
-dependencies, was, and still is, a pretty strong influence.
-
-Erlang.mk was conceived.
-
-A few months passed and, on May 1st, 2013, the Erlang.mk
-repository was created. Erlang.mk was born.
-
-Little did I know how much it would grow.
-
-=== Lifetime of the project
-
-Erlang.mk would eventually become a much larger file able to
-deal with many more projects than just Cowboy. From the birth
-of the project, the biggest force for growth was user contributions,
-because Erlang.mk appealed to a variety of people with different
-needs, needs that Erlang.mk was not fulfilling yet.
-
-The project was split into smaller files focused on a different
-feature each, and a build script was written to build the single
-Erlang.mk file.
-
-A test suite was contributed by a user, and later taken as a basis
-for the current, much more complete test suite. Turns out testing
-a Makefile is pretty straightforward.
-
-A package index was added to solve the problem of discovering
-Erlang projects.
-
-After trying to see if Erlang build tools could cooperate, the
-decision was made to improve compatibility with existing Rebar
-projects by patching Rebar out, using Rebar. This feature, called
-autopatch, proved very successful and made Erlang.mk compatible
-with more than 90% of all Erlang projects.
-
-Erlang.mk documentation was much improved and the Erlang.mk website
-was created in the summer of 2015.
-
-Over the year of 2015, Erlang.mk went from curiosity to a serious
-alternative to other Erlang build tools. The user base increased
-immensely and large projects started using it, including RabbitMQ
-from the 3.6.0 release onward.
-
-A bright future lies ahead.
diff --git a/docs/en/erlang.mk/1/guide/history/index.html b/docs/en/erlang.mk/1/guide/history/index.html
deleted file mode 100644
index 8b0a5dd6..00000000
--- a/docs/en/erlang.mk/1/guide/history/index.html
+++ /dev/null
@@ -1,184 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Short history</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Short history</span></h1>
-
-<p>This chapter aims to be a brief record of the life of the Erlang.mk project.</p>
-<h2 id="_before_erlang_mk">Before Erlang.mk</h2>
-<p>Erlang.mk originates from the Cowboy project. Cowboy started as a Rebar project and I, Loïc Hoguin, was very happy with it for a couple years. Over time however I started getting annoyed and frustrated by a number of things, including bad defaults, changing defaults and overall slowness.</p>
-<p>In particular, at the time I gave up on Rebar, the Cowboy test suite was taking about five minutes to run. A quick experiment showed I could get much lower times by simply invoking <code>ct_run</code> directly. On January 4th, 2013, the Cowboy test suite took less than a minute to complete.</p>
-<p>Following this success I started removing a little more and, on the fateful day of January 5th, 2013, removed the dependency on Rebar entirely. Rebar, and in particular the concept of dependencies, was, and still is, a pretty strong influence.</p>
-<p>Erlang.mk was conceived.</p>
-<p>A few months passed and, on May 1st, 2013, the Erlang.mk repository was created. Erlang.mk was born.</p>
-<p>Little did I know how much it would grow.</p>
-<h2 id="_lifetime_of_the_project">Lifetime of the project</h2>
-<p>Erlang.mk would eventually become a much larger file able to deal with many more projects than just Cowboy. From the birth of the project, the biggest force for growth was user contributions, because Erlang.mk appealed to a variety of people with different needs, needs that Erlang.mk was not fulfilling yet.</p>
-<p>The project was split into smaller files focused on a different feature each, and a build script was written to build the single Erlang.mk file.</p>
-<p>A test suite was contributed by a user, and later taken as a basis for the current, much more complete test suite. Turns out testing a Makefile is pretty straightforward.</p>
-<p>A package index was added to solve the problem of discovering Erlang projects.</p>
-<p>After trying to see if Erlang build tools could cooperate, the decision was made to improve compatibility with existing Rebar projects by patching Rebar out, using Rebar. This feature, called autopatch, proved very successful and made Erlang.mk compatible with more than 90% of all Erlang projects.</p>
-<p>Erlang.mk documentation was much improved and the Erlang.mk website was created in the summer of 2015.</p>
-<p>Over the year of 2015, Erlang.mk went from curiosity to a serious alternative to other Erlang build tools. The user base increased immensely and large projects started using it, including RabbitMQ from the 3.6.0 release onward.</p>
-<p>A bright future lies ahead.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/why/">
- Why Erlang.mk
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/contributing/">
- Contributing
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/index.html b/docs/en/erlang.mk/1/guide/index.html
deleted file mode 100644
index 3a3c54a8..00000000
--- a/docs/en/erlang.mk/1/guide/index.html
+++ /dev/null
@@ -1,218 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Erlang.mk User Guide</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Erlang.mk User Guide</span></h1>
-
-<ul><li><a href="installation/">Installation</a>
-</li>
-<li><a href="getting_started/">Getting started</a>
-</li>
-<li><a href="overview/">Overview</a>
-</li>
-<li><a href="updating/">Updating Erlang.mk</a>
-</li>
-<li><a href="limitations/">Limitations</a>
-</li>
-</ul>
-<h2 id="code">Code</h2>
-<ul><li><a href="app/">Building</a>
-</li>
-<li><a href="deps/">Packages and dependencies</a>
-</li>
-<li><a href="ports/">NIFs and port drivers</a>
-</li>
-<li><a href="releases/">Releases</a>
-</li>
-<li><a href="sfx/">Self-extracting releases</a>
-</li>
-<li><a href="escripts/">Escripts</a>
-</li>
-<li><a href="kerl/">OTP version management</a>
-</li>
-<li><a href="cross_compiling/">Cross compiling</a>
-</li>
-<li><a href="compat/">Compatibility with other build tools</a>
-</li>
-</ul>
-<h2 id="docs">Documentation</h2>
-<ul><li><a href="asciidoc/">Asciidoc documentation</a>
-</li>
-<li><a href="edoc/">EDoc comments</a>
-</li>
-<li><a href="sphinx/">Sphinx documentation</a>
-</li>
-</ul>
-<h2 id="tests">Tests</h2>
-<ul><li><a href="shell/">Erlang shell</a>
-</li>
-<li><a href="eunit/">EUnit</a>
-</li>
-<li><a href="common_test/">Common Test</a>
-</li>
-<li><a href="proper/">PropEr</a>
-</li>
-<li><a href="triq/">Triq</a>
-</li>
-<li><a href="coverage/">Code coverage</a>
-</li>
-<li><a href="ci/">Continuous integration</a>
-</li>
-<li><a href="dialyzer/">Dialyzer</a>
-</li>
-<li><a href="xref/">Xref</a>
-</li>
-</ul>
-<h2 id="plugins">Third-party plugins</h2>
-<ul><li><a href="external_plugins/">External plugins</a>
-</li>
-<li><a href="external_plugins_list/">List of plugins</a>
-</li>
-</ul>
-<h2 id="about">About Erlang.mk</h2>
-<ul><li><a href="why/">Why erlang.mk?</a>
-</li>
-<li><a href="history/">Short history</a>
-</li>
-<li><a href="contributing/">Contributing</a>
-</li>
-</ul>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/installation.asciidoc b/docs/en/erlang.mk/1/guide/installation.asciidoc
deleted file mode 100644
index 254b461d..00000000
--- a/docs/en/erlang.mk/1/guide/installation.asciidoc
+++ /dev/null
@@ -1,173 +0,0 @@
-[[installation]]
-== Installation
-
-=== On Unix
-
-Erlang.mk requires GNU Make to be installed. While it will
-currently work with GNU Make 3.81, support for this version
-is deprecated and will be removed in 2017. We recommend
-GNU Make 4.1 or later.
-
-Git and Erlang/OTP must also be installed.
-
-Some functionality requires that Autoconf 2.59 or later be
-installed, in order to compile Erlang/OTP. Erlang/OTP may
-have further requirements depending on your needs.
-
-Some packages may require additional libraries.
-
-==== Linux
-
-The commands to install packages vary between distributions:
-
-.Arch Linux
-[source,bash]
-$ pacman -S erlang git make
-
-Alpine Linux and other distributions based on BusyBox come
-with an incompatible `awk` program. Installing the GNU Awk
-(`gawk` on Alpine) solves this issue.
-
-Parallel builds may require the program `flock` that can
-be found in the package `util-linux`.
-
-==== FreeBSD
-
-FreeBSD comes with binary and source packages:
-
-.Install binary packages
-[source,bash]
-$ pkg install erlang git gmake
-
-On FreeBSD the `make` command is BSD Make. Use `gmake` instead.
-
-==== OS X and macOS
-
-While Apple distributes their own GNU Make, their version is
-very old and plagued with numerous bugs. It is recommended
-to install a more recent version from either Homebrew or
-MacPorts:
-
-.Homebrew
-[source,bash]
-$ brew install erlang git make
-
-Homebrew installs GNU Make as `gmake`. The `make` command
-is the one provided by Apple.
-
-.MacPorts
-[source,bash]
-$ sudo port install erlang git gmake
-
-Parallel builds may require the program `flock` which can
-be installed via Homebrew or manually. The instructions
-to install are available from its repository:
-https://github.com/discoteq/flock
-
-=== On Windows
-
-Erlang.mk can be used on Windows inside an MSYS2 environment.
-Cygwin, MSYS (the original) and native Windows (both Batch
-and PowerShell) are currently not supported.
-
-NOTE: Erlang.mk expects Unix line breaks in most of the files
-(LF instead of CRLF). Make sure to configure your text editor
-adequately.
-
-The rest of this section details how to setup Erlang/OTP and
-MSYS2 in order to use Erlang.mk.
-
-==== Installing Erlang/OTP
-
-Erlang.mk requires Erlang/OTP to be installed. The OTP team
-provides binaries of Erlang/OTP for all major and minor releases,
-available from the http://www.erlang.org/download.html[official download page].
-It is recommended that you use the 64-bit installer unless
-technically impossible. Please follow the instructions from
-the installer to complete the installation.
-
-The OTP team also provides a short guide to
-http://www.erlang.org/download.html[installing Erlang/OTP on Windows]
-if you need additional references.
-
-You can install Erlang/OTP silently using the `/S` switch
-on the command line:
-
-----
-C:\Users\essen\Downloads> otp_win64_18.0.exe /S
-----
-
-==== Installing MSYS2
-
-The only supported environment on Windows is MSYS2. MSYS2 is
-a lightweight Unix-like environment for Windows that comes
-with the Arch Linux package manager, `pacman`.
-
-The MSYS2 project provides a http://msys2.github.io[one click installer]
-and instructions to set things up post-installation.
-
-It is currently not possible to use the installer silently.
-Thankfully, the MSYS2 project provides an archive that can
-be used in lieu of the installer. The archive however requires
-_7zip_ to decompress it.
-
-First, download the
-http://sourceforge.net/projects/msys2/files/Base/x86_64/msys2-base-x86_64-20150512.tar.xz/download[MSYS2 base archive]
-and extract it under 'C:\'. Assuming you downloaded the
-archive as 'msys2.tar.xz' and put it in 'C:\', you can
-use the following commands to extract it:
-
-----
-C:\> 7z x msys2.tar.xz
-C:\> 7z x msys2.tar > NUL
-----
-
-Then you can run the two commands needed to perform the
-post-installation setup:
-
-----
-C:\> C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -Sy bash pacman pacman-mirrors msys2-runtime"
-C:\> C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Syu"
-----
-
-==== Installing the required MSYS2 packages
-
-After following these instructions, you can install GNU Make,
-Git and any other required softwares. From an MSYS2 shell,
-you can call `pacman` directly:
-
-[source,bash]
-$ pacman -S git make
-
-You can use `pacman -Ss` to search packages. For example,
-to find all packages related to GCC:
-
-[source,bash]
-$ pacman -Ss gcc
-
-If you are going to compile C/C++ code, you will need to
-install this package, as Erlang.mk cannot use the normal
-"gcc" package:
-
-[source,bash]
-$ pacman -S mingw-w64-x86_64-gcc
-
-You can also run commands under the MSYS2 environment from
-the Windows command line or batch files. This command will
-install GNU Make and Git:
-
-----
-C:\> C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S git make"
-----
-
-You can use similar `bash` commands if you need to run programs
-inside the MSYS2 environment from a batch file.
-
-==== Gotchas
-
-While most of the basic functionality will just work, there are
-still some issues. Erlang.mk needs to be fixed to pass the
-right paths when running Erlang scripts. We are working on it.
-Erlang.mk is fully tested on both Linux and Windows, but is
-lacking tests in the areas not yet covered by this guide,
-so expect bugs to be fixed as more tests are added.
diff --git a/docs/en/erlang.mk/1/guide/installation/index.html b/docs/en/erlang.mk/1/guide/installation/index.html
deleted file mode 100644
index b740bb7f..00000000
--- a/docs/en/erlang.mk/1/guide/installation/index.html
+++ /dev/null
@@ -1,253 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Installation</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Installation</span></h1>
-
-<h2 id="_on_unix">On Unix</h2>
-<p>Erlang.mk requires GNU Make to be installed. While it will currently work with GNU Make 3.81, support for this version is deprecated and will be removed in 2017. We recommend GNU Make 4.1 or later.</p>
-<p>Git and Erlang/OTP must also be installed.</p>
-<p>Some functionality requires that Autoconf 2.59 or later be installed, in order to compile Erlang/OTP. Erlang/OTP may have further requirements depending on your needs.</p>
-<p>Some packages may require additional libraries.</p>
-<h4 id="_linux">Linux</h4>
-<p>The commands to install packages vary between distributions:</p>
-<div class="listingblock"><div class="title">Arch Linux</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ pacman -S erlang git make</tt></pre>
-</div></div>
-<p>Alpine Linux and other distributions based on BusyBox come with an incompatible <code>awk</code> program. Installing the GNU Awk (<code>gawk</code> on Alpine) solves this issue.</p>
-<p>Parallel builds may require the program <code>flock</code> that can be found in the package <code>util-linux</code>.</p>
-<h4 id="_freebsd">FreeBSD</h4>
-<p>FreeBSD comes with binary and source packages:</p>
-<div class="listingblock"><div class="title">Install binary packages</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ pkg install erlang git gmake</tt></pre>
-</div></div>
-<p>On FreeBSD the <code>make</code> command is BSD Make. Use <code>gmake</code> instead.</p>
-<h4 id="_os_x_and_macos">OS X and macOS</h4>
-<p>While Apple distributes their own GNU Make, their version is very old and plagued with numerous bugs. It is recommended to install a more recent version from either Homebrew or MacPorts:</p>
-<div class="listingblock"><div class="title">Homebrew</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ brew install erlang git make</tt></pre>
-</div></div>
-<p>Homebrew installs GNU Make as <code>gmake</code>. The <code>make</code> command is the one provided by Apple.</p>
-<div class="listingblock"><div class="title">MacPorts</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ sudo port install erlang git gmake</tt></pre>
-</div></div>
-<p>Parallel builds may require the program <code>flock</code> which can be installed via Homebrew or manually. The instructions to install are available from its repository: <a href="https://github.com/discoteq/flock">https://github.com/discoteq/flock</a></p>
-<h2 id="_on_windows">On Windows</h2>
-<p>Erlang.mk can be used on Windows inside an MSYS2 environment. Cygwin, MSYS (the original) and native Windows (both Batch and PowerShell) are currently not supported.</p>
-<p>NOTE: Erlang.mk expects Unix line breaks in most of the files (LF instead of CRLF). Make sure to configure your text editor adequately.</p>
-<p>The rest of this section details how to setup Erlang/OTP and MSYS2 in order to use Erlang.mk.</p>
-<h4 id="_installing_erlang_otp">Installing Erlang/OTP</h4>
-<p>Erlang.mk requires Erlang/OTP to be installed. The OTP team provides binaries of Erlang/OTP for all major and minor releases, available from the <a href="http://www.erlang.org/download.html">official download page</a>. It is recommended that you use the 64-bit installer unless technically impossible. Please follow the instructions from the installer to complete the installation.</p>
-<p>The OTP team also provides a short guide to <a href="http://www.erlang.org/download.html">installing Erlang/OTP on Windows</a> if you need additional references.</p>
-<p>You can install Erlang/OTP silently using the <code>/S</code> switch on the command line:</p>
-<div class="listingblock"><div class="content"><pre>C:\Users\essen\Downloads&gt; otp_win64_18.0.exe /S</pre></div></div>
-<h4 id="_installing_msys2">Installing MSYS2</h4>
-<p>The only supported environment on Windows is MSYS2. MSYS2 is a lightweight Unix-like environment for Windows that comes with the Arch Linux package manager, <code>pacman</code>.</p>
-<p>The MSYS2 project provides a <a href="http://msys2.github.io">one click installer</a> and instructions to set things up post-installation.</p>
-<p>It is currently not possible to use the installer silently. Thankfully, the MSYS2 project provides an archive that can be used in lieu of the installer. The archive however requires <em>7zip</em> to decompress it.</p>
-<p>First, download the <a href="http://sourceforge.net/projects/msys2/files/Base/x86_64/msys2-base-x86_64-20150512.tar.xz/download">MSYS2 base archive</a> and extract it under <em>C:\</em>. Assuming you downloaded the archive as <em>msys2.tar.xz</em> and put it in <em>C:\</em>, you can use the following commands to extract it:</p>
-<div class="listingblock"><div class="content"><pre>C:\&gt; 7z x msys2.tar.xz
-C:\&gt; 7z x msys2.tar &gt; NUL</pre></div></div>
-<p>Then you can run the two commands needed to perform the post-installation setup:</p>
-<div class="listingblock"><div class="content"><pre>C:\&gt; C:\msys64\usr\bin\bash -lc &quot;pacman --needed --noconfirm -Sy bash pacman pacman-mirrors msys2-runtime&quot;
-C:\&gt; C:\msys64\usr\bin\bash -lc &quot;pacman --noconfirm -Syu&quot;</pre></div></div>
-<h4 id="_installing_the_required_msys2_packages">Installing the required MSYS2 packages</h4>
-<p>After following these instructions, you can install GNU Make, Git and any other required softwares. From an MSYS2 shell, you can call <code>pacman</code> directly:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ pacman -S git make</tt></pre>
-</div></div>
-<p>You can use <code>pacman -Ss</code> to search packages. For example, to find all packages related to GCC:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ pacman -Ss gcc</tt></pre>
-</div></div>
-<p>If you are going to compile C/C++ code, you will need to install this package, as Erlang.mk cannot use the normal &quot;gcc&quot; package:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ pacman -S mingw-w<font color="#993399">64</font>-x86_64-gcc</tt></pre>
-</div></div>
-<p>You can also run commands under the MSYS2 environment from the Windows command line or batch files. This command will install GNU Make and Git:</p>
-<div class="listingblock"><div class="content"><pre>C:\&gt; C:\msys64\usr\bin\bash -lc &quot;pacman --noconfirm -S git make&quot;</pre></div></div>
-<p>You can use similar <code>bash</code> commands if you need to run programs inside the MSYS2 environment from a batch file.</p>
-<h4 id="_gotchas">Gotchas</h4>
-<p>While most of the basic functionality will just work, there are still some issues. Erlang.mk needs to be fixed to pass the right paths when running Erlang scripts. We are working on it. Erlang.mk is fully tested on both Linux and Windows, but is lacking tests in the areas not yet covered by this guide, so expect bugs to be fixed as more tests are added.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/getting_started/">
- Getting started
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/kerl.asciidoc b/docs/en/erlang.mk/1/guide/kerl.asciidoc
deleted file mode 100644
index c557d432..00000000
--- a/docs/en/erlang.mk/1/guide/kerl.asciidoc
+++ /dev/null
@@ -1,76 +0,0 @@
-[[kerl]]
-== OTP version management
-
-Erlang.mk comes with integrated support for
-https://github.com/kerl/kerl[Kerl], a shell script that
-automates the downloading, building and installing of
-Erlang/OTP. It can be used to easily build a specific
-Erlang/OTP version (with or without custom build options)
-or maintain different versions side by side.
-
-=== Erlang versions
-
-Erlang.mk uses the Git tags from Erlang/OTP to identify
-OTP versions. The most recent tag at the time of writing
-is `OTP-20.0.4`, which is a patch release of `OTP-20.0`.
-A patch release is a non-official release containing a
-few fixes on top of the official release.
-
-Older versions used a slightly different versioning scheme
-and tag format, for example: `OTP_R16B03`. Beware though,
-there also was an `OTP_R16B03-1` release that fixed a
-critical issue in the initial release.
-
-The README file for all official Erlang/OTP releases can
-be found on http://www.erlang.org/downloads[erlang.org].
-To obtain information about patch releases when they are
-released you need to be subscribed to the
-http://erlang.org/mailman/listinfo/erlang-questions[erlang-questions mailing list].
-
-[[otp_version_pinning]]
-=== OTP version pinning
-
-Erlang.mk can use a specific version of Erlang/OTP when
-interacting with your project. This can be very useful
-when you are working with a team because you can define
-the version you need in the Makefile and Erlang.mk will
-ensure this version is used by everyone in your team.
-
-To pin the version all you need to do is to set the
-`ERLANG_OTP` variable in your Makefile before including
-Erlang.mk. For example, to use `OTP-20.0.4`:
-
-[source,make]
-----
-ERLANG_OTP = OTP-20.0.4
-
-include erlang.mk
-----
-
-The next time you run `make` Erlang.mk will build and
-use the version you configured.
-
-Note that there has been reports that this functionality
-is not compatible with the `.ONESHELL` feature from
-GNU Make.
-
-=== Continuous integration
-
-Erlang.mk can automatically test your project against
-many different Erlang/OTP versions. This functionality
-is documented in the xref:ci[Continuous integration] chapter.
-
-=== Configuring Kerl
-
-All of the Kerl variables can be configured directly in the
-Makefile. All you need to do is to export them. For example,
-to change the installation directory for the Erlang/OTP
-versions managed by Kerl, you could add the following to
-your Makefile:
-
-[source,make]
-export KERL_INSTALL_DIR = $(CURDIR)/erlang
-
-When configuring paths like this, always make sure to provide
-an absolute path in the value. Erlang.mk will NOT expand them
-automatically for you.
diff --git a/docs/en/erlang.mk/1/guide/kerl/index.html b/docs/en/erlang.mk/1/guide/kerl/index.html
deleted file mode 100644
index 47e8d034..00000000
--- a/docs/en/erlang.mk/1/guide/kerl/index.html
+++ /dev/null
@@ -1,196 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: OTP version management</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>OTP version management</span></h1>
-
-<p>Erlang.mk comes with integrated support for <a href="https://github.com/kerl/kerl">Kerl</a>, a shell script that automates the downloading, building and installing of Erlang/OTP. It can be used to easily build a specific Erlang/OTP version (with or without custom build options) or maintain different versions side by side.</p>
-<h2 id="_erlang_versions">Erlang versions</h2>
-<p>Erlang.mk uses the Git tags from Erlang/OTP to identify OTP versions. The most recent tag at the time of writing is <code>OTP-20.0.4</code>, which is a patch release of <code>OTP-20.0</code>. A patch release is a non-official release containing a few fixes on top of the official release.</p>
-<p>Older versions used a slightly different versioning scheme and tag format, for example: <code>OTP_R16B03</code>. Beware though, there also was an <code>OTP_R16B03-1</code> release that fixed a critical issue in the initial release.</p>
-<p>The README file for all official Erlang/OTP releases can be found on <a href="http://www.erlang.org/downloads">erlang.org</a>. To obtain information about patch releases when they are released you need to be subscribed to the <a href="http://erlang.org/mailman/listinfo/erlang-questions">erlang-questions mailing list</a>.</p>
-<h2 id="otp_version_pinning">OTP version pinning</h2>
-<p>Erlang.mk can use a specific version of Erlang/OTP when interacting with your project. This can be very useful when you are working with a team because you can define the version you need in the Makefile and Erlang.mk will ensure this version is used by everyone in your team.</p>
-<p>To pin the version all you need to do is to set the <code>ERLANG_OTP</code> variable in your Makefile before including Erlang.mk. For example, to use <code>OTP-20.0.4</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">ERLANG_OTP =</font> OTP-20.0.4
-
-include erlang.mk</tt></pre>
-</div></div>
-<p>The next time you run <code>make</code> Erlang.mk will build and use the version you configured.</p>
-<p>Note that there has been reports that this functionality is not compatible with the <code>.ONESHELL</code> feature from GNU Make.</p>
-<h2 id="_continuous_integration">Continuous integration</h2>
-<p>Erlang.mk can automatically test your project against many different Erlang/OTP versions. This functionality is documented in the <a href="../ci">Continuous integration</a> chapter.</p>
-<h2 id="_configuring_kerl">Configuring Kerl</h2>
-<p>All of the Kerl variables can be configured directly in the Makefile. All you need to do is to export them. For example, to change the installation directory for the Erlang/OTP versions managed by Kerl, you could add the following to your Makefile:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#0000FF">export</font></b> KERL_INSTALL_DIR <font color="#990000">=</font> <font color="#009900">$(CURDIR)</font>/erlang</tt></pre>
-</div></div>
-<p>When configuring paths like this, always make sure to provide an absolute path in the value. Erlang.mk will NOT expand them automatically for you.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/escripts/">
- Escripts
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/cross_compiling/">
- Cross compiling
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/limitations.asciidoc b/docs/en/erlang.mk/1/guide/limitations.asciidoc
deleted file mode 100644
index 1bf33d21..00000000
--- a/docs/en/erlang.mk/1/guide/limitations.asciidoc
+++ /dev/null
@@ -1,46 +0,0 @@
-[[limitations]]
-== Limitations
-
-No software is perfect.
-
-It's very important, when evaluating and when using a tool,
-to understand its limitations, so as to avoid making mistakes
-and wasting valuable time.
-
-This chapter lists all known limitations of Erlang.mk.
-
-=== Erlang must be available
-
-Currently Erlang.mk requires you to install Erlang beforehand.
-Installing Erlang is not always easy, particularly if you need
-a specific version of Erlang for a specific project.
-
-In addition, the Erlang being used must be in your `$PATH`
-before you use Erlang.mk.
-
-In the future we envision, Erlang.mk could manage the Erlang
-version you need to use a project. Erlang.mk already does this
-for running tests when using `make ci`, so doing this during
-development is just a step away.
-
-=== Spaces in path
-
-Erlang.mk will currently not work properly if the path to the
-project contains spaces. To check if that is the case, use the
-command `pwd`.
-
-This issue is due to how Makefiles work. There might be ways
-to solve it, we have not given up on it, but it's very low
-priority considering how simple the workaround is.
-
-=== Dependency tracking and modification times
-
-Erlang source files that depend on other files will have their
-modification time updated when they need to be recompiled due
-to a dependency having changed. This could cause some editors to
-think the file changed when it didn't.
-
-Erlang.mk must use this method in order to be able to compile
-files in one `erlc` invocation. The benefits greatly outweigh
-the issue in this case and so there are currently no plans to
-fix this behavior.
diff --git a/docs/en/erlang.mk/1/guide/limitations/index.html b/docs/en/erlang.mk/1/guide/limitations/index.html
deleted file mode 100644
index ed162618..00000000
--- a/docs/en/erlang.mk/1/guide/limitations/index.html
+++ /dev/null
@@ -1,180 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Limitations</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Limitations</span></h1>
-
-<p>No software is perfect.</p>
-<p>It&apos;s very important, when evaluating and when using a tool, to understand its limitations, so as to avoid making mistakes and wasting valuable time.</p>
-<p>This chapter lists all known limitations of Erlang.mk.</p>
-<h2 id="_erlang_must_be_available">Erlang must be available</h2>
-<p>Currently Erlang.mk requires you to install Erlang beforehand. Installing Erlang is not always easy, particularly if you need a specific version of Erlang for a specific project.</p>
-<p>In addition, the Erlang being used must be in your <code>$PATH</code> before you use Erlang.mk.</p>
-<p>In the future we envision, Erlang.mk could manage the Erlang version you need to use a project. Erlang.mk already does this for running tests when using <code>make ci</code>, so doing this during development is just a step away.</p>
-<h2 id="_spaces_in_path">Spaces in path</h2>
-<p>Erlang.mk will currently not work properly if the path to the project contains spaces. To check if that is the case, use the command <code>pwd</code>.</p>
-<p>This issue is due to how Makefiles work. There might be ways to solve it, we have not given up on it, but it&apos;s very low priority considering how simple the workaround is.</p>
-<h2 id="_dependency_tracking_and_modification_times">Dependency tracking and modification times</h2>
-<p>Erlang source files that depend on other files will have their modification time updated when they need to be recompiled due to a dependency having changed. This could cause some editors to think the file changed when it didn&apos;t.</p>
-<p>Erlang.mk must use this method in order to be able to compile files in one <code>erlc</code> invocation. The benefits greatly outweigh the issue in this case and so there are currently no plans to fix this behavior.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/updating/">
- Updating Erlang.mk
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/app/">
- Building
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/overview.asciidoc b/docs/en/erlang.mk/1/guide/overview.asciidoc
deleted file mode 100644
index 8fa57fe4..00000000
--- a/docs/en/erlang.mk/1/guide/overview.asciidoc
+++ /dev/null
@@ -1,87 +0,0 @@
-[[overview]]
-== Overview
-
-Now that you know how to get started, let's take a look at
-what Erlang.mk can do for you.
-
-=== Building your project
-
-Erlang.mk is first and foremost a build tool. It is especially
-tailored for Erlang developers and follows widely accepted
-practices in the Erlang community.
-
-Erlang.mk will happily build all xref:building[Erlang-specific files]
-you throw at it. Other kinds of files too, like C or C++ code
-when you are working on xref:ports[a NIF or a port driver].
-
-Erlang.mk embraces the concept of xref:deps[source dependencies].
-It can fetch dependency source code using a variety of mechanisms,
-including fetching from Git, Mercurial or SVN.
-
-Erlang.mk will automatically xref:relx[generate releases]
-when applicable. It can also xref:escript[generate escripts].
-
-=== Exploring the package index
-
-Erlang.mk comes with a xref:deps[built-in package index].
-It is built as an extension of the dependency system and is
-meant to be used for discovery purposes.
-
-No package is ever installed, they are only used as dependencies
-and are always project-specific. They can be thought of as a
-shortcut over plain dependencies.
-
-You can get a list of all packages known to Erlang.mk by using
-the `search` target:
-
-[source,bash]
-$ make search
-
-You can also use this target to search across all packages, for
-example to find all packages related to Cowboy:
-
-[source,bash]
-$ make search q=cowboy
-
-=== Generating documentation
-
-Erlang.mk supports _EDoc_ and _Asciidoc_.
-
-xref:edoc[EDoc] generates HTML documentation directly from
-your source code.
-
-While it is convenient, ask yourself: if all the documentation is
-inside the source code, why not just open the source code directly?
-That's where _Asciidoc_ comes in.
-
-The xref:asciidoc[Asciidoc] plugin expects all documentation
-to be separate from source. It will generate HTML, PDF, man pages and
-more from the documentation you write in the 'doc/src/' folder in
-your repository.
-
-=== Running tests
-
-Erlang.mk supports a lot of different testing and static
-analysis tools.
-
-The xref:shell[make shell] command allows you
-to test your project manually. You can automate these
-unit tests with xref:eunit[EUnit] and test
-your entire system with xref:ct[Common Test].
-xref:coverage[Code coverage] can of course
-be enabled during tests.
-
-Erlang.mk comes with features to make your life easier when
-setting up and using xref:ci[Continuous integration].
-
-On the static analysis side of things, Erlang.mk comes with
-support for xref:dialyzer[Dialyzer] and xref:xref[Xref],
-to perform success typing analysis and cross referencing
-of the code.
-
-=== Need more?
-
-Not convinced yet? You can read about xref:why[why you should use Erlang.mk]
-and its xref:history[history]. And if you're still not
-convinced after that, it's OK! The world would be boring if
-everyone agreed on everything all the time.
diff --git a/docs/en/erlang.mk/1/guide/overview/index.html b/docs/en/erlang.mk/1/guide/overview/index.html
deleted file mode 100644
index 7fb97d0c..00000000
--- a/docs/en/erlang.mk/1/guide/overview/index.html
+++ /dev/null
@@ -1,202 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Overview</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Overview</span></h1>
-
-<p>Now that you know how to get started, let&apos;s take a look at what Erlang.mk can do for you.</p>
-<h2 id="_building_your_project">Building your project</h2>
-<p>Erlang.mk is first and foremost a build tool. It is especially tailored for Erlang developers and follows widely accepted practices in the Erlang community.</p>
-<p>Erlang.mk will happily build all <a href="../building">Erlang-specific files</a> you throw at it. Other kinds of files too, like C or C++ code when you are working on <a href="../ports">a NIF or a port driver</a>.</p>
-<p>Erlang.mk embraces the concept of <a href="../deps">source dependencies</a>. It can fetch dependency source code using a variety of mechanisms, including fetching from Git, Mercurial or SVN.</p>
-<p>Erlang.mk will automatically <a href="../relx">generate releases</a> when applicable. It can also <a href="../escript">generate escripts</a>.</p>
-<h2 id="_exploring_the_package_index">Exploring the package index</h2>
-<p>Erlang.mk comes with a <a href="../deps">built-in package index</a>. It is built as an extension of the dependency system and is meant to be used for discovery purposes.</p>
-<p>No package is ever installed, they are only used as dependencies and are always project-specific. They can be thought of as a shortcut over plain dependencies.</p>
-<p>You can get a list of all packages known to Erlang.mk by using the <code>search</code> target:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make search</tt></pre>
-</div></div>
-<p>You can also use this target to search across all packages, for example to find all packages related to Cowboy:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make search <font color="#009900">q</font><font color="#990000">=</font>cowboy</tt></pre>
-</div></div>
-<h2 id="_generating_documentation">Generating documentation</h2>
-<p>Erlang.mk supports <em>EDoc</em> and <em>Asciidoc</em>.</p>
-<p><a href="../edoc">EDoc</a> generates HTML documentation directly from your source code.</p>
-<p>While it is convenient, ask yourself: if all the documentation is inside the source code, why not just open the source code directly? That&apos;s where <em>Asciidoc</em> comes in.</p>
-<p>The <a href="../asciidoc">Asciidoc</a> plugin expects all documentation to be separate from source. It will generate HTML, PDF, man pages and more from the documentation you write in the <em>doc/src/</em> folder in your repository.</p>
-<h2 id="_running_tests">Running tests</h2>
-<p>Erlang.mk supports a lot of different testing and static analysis tools.</p>
-<p>The <a href="../shell">make shell</a> command allows you to test your project manually. You can automate these unit tests with <a href="../eunit">EUnit</a> and test your entire system with <a href="../ct">Common Test</a>. <a href="../coverage">Code coverage</a> can of course be enabled during tests.</p>
-<p>Erlang.mk comes with features to make your life easier when setting up and using <a href="../ci">Continuous integration</a>.</p>
-<p>On the static analysis side of things, Erlang.mk comes with support for <a href="../dialyzer">Dialyzer</a> and <a href="../xref">Xref</a>, to perform success typing analysis and cross referencing of the code.</p>
-<h2 id="_need_more">Need more?</h2>
-<p>Not convinced yet? You can read about <a href="../why">why you should use Erlang.mk</a> and its <a href="../history">history</a>. And if you&apos;re still not convinced after that, it&apos;s OK! The world would be boring if everyone agreed on everything all the time.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/getting_started/">
- Getting started
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/updating/">
- Updating Erlang.mk
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/ports.asciidoc b/docs/en/erlang.mk/1/guide/ports.asciidoc
deleted file mode 100644
index 907ee366..00000000
--- a/docs/en/erlang.mk/1/guide/ports.asciidoc
+++ /dev/null
@@ -1,134 +0,0 @@
-[[ports]]
-== NIFs and port drivers
-
-Erlang.mk can not only build Erlang projects, but also the C code
-that some projects come with, like NIFs and port drivers.
-
-There are two ways to build the C code: using a custom Makefile,
-or making Erlang.mk do it directly. The C code will be built
-as needed when you run `make`.
-
-// @todo something for easier bootstrapping
-
-=== C source code location and Erlang environment
-
-The C source code should be located in the '$(C_SRC_DIR)' directory.
-It defaults to 'c_src/'. Should you need to modify it, all you
-need to do is to set the variable in your Makefile before including
-Erlang.mk:
-
-[source,make]
-C_SRC_DIR = $(CURDIR)/my_nif_source
-
-When this directory exists, Erlang.mk will automatically create a
-file named '$(C_SRC_ENV)'. This file defaults to '$(C_SRC_DIR)/env.mk'.
-This can also be changed:
-
-[source,make]
-C_SRC_ENV = $(C_SRC_DIR)/erlang_env.mk
-
-It contains a few variable definitions for the environment used for the build:
-
-`ERTS_INCLUDE_DIR`::
- Path to the ERTS include files ('erl_driver.h', 'erl_nif.h' and more).
-`ERL_INTERFACE_INCLUDE_DIR`::
- Path to the Erl_Interface include files ('ei.h' and related).
-`ERL_INTERFACE_LIB_DIR`::
- Path to the Erl_Interface static libraries.
-
-=== Using a custom Makefile
-
-Erlang.mk will automatically run `make` if it detects a Makefile
-in '$(C_SRC_DIR)/Makefile'.
-
-The Makefile should have at least two targets: a default target
-(which can be anything, for example `all`) which is invoked when
-building the C code, and a `clean` target invoked when cleaning
-it.
-
-You can include the 'env.mk' file to benefit from the Erlang
-environment detection:
-
-[source,make]
-include env.mk
-
-=== Using Erlang.mk directly
-
-You don't need to write a Makefile to build C source code, however.
-Erlang.mk comes with rules to build both shared libraries and
-executables, using the source files it finds in '$(C_SRC_DIR)'.
-
-By default, Erlang.mk will create a shared library. To change
-this and create an executable instead, put this in your Makefile
-before including Erlang.mk:
-
-[source,make]
-C_SRC_TYPE = executable
-
-The generated file name varies depending on the type of project
-you have (shared library or executable) and on the platform you
-build the project on.
-
-For shared libraries, the generated file name will be
-'$(C_SRC_OUTPUT)$(C_SRC_SHARED_EXTENSION)', with the default
-being '$(CURDIR)/priv/$(PROJECT)' followed by the extension:
-`.dll` on Windows, `.so` everywhere else.
-
-For executables, the generated file name is
-'$(C_SRC_OUTPUT)$(C_SRC_EXECUTABLE_EXTENSION)', with the same
-default except for the extension: `.exe` on Windows, and otherwise
-nothing.
-
-Erlang.mk sets appropriate compile and linker flags by default.
-These flags vary depending on the platform, and can of course
-be overriden.
-
-`CC`::
- The compiler to be used.
-`CFLAGS`::
- C compiler flags.
-`CXXFLAGS`::
- C++ compiler flags.
-`LDFLAGS`::
- Linker flags.
-`LDLIBS`::
- Libraries to link against.
-
-The source files are automatically gathered from the contents
-of '$(C_SRC_DIR)'. Erlang.mk looks for '.c', '.C', '.cc' and '.cpp'
-source files. You can define the variable `SOURCES` to manually
-list the files to compile.
-
-=== Propagating compile and linker flags to sub-Makefiles
-
-In some cases it might be necessary to propagate the flags
-you just defined to the sub-Makefiles of your local project.
-You generally can't just export those as this could impact
-the building of dependencies.
-
-Makefiles allow you to export variables for specific targets.
-When doing this, the variables will be exported only when
-this target runs, and not for other targets. It is therefore
-possible to export them when building the C code without
-impacting other build steps.
-
-By adding this to your Makefile all five variables will be
-made available to sub-Makefiles when building C code:
-
-[source,make]
-----
-app-c_src: export CC +=
-app-c_src: export CFLAGS +=
-app-c_src: export CPPFLAGS +=
-app-c_src: export LDFLAGS +=
-app-c_src: export LDLIBS +=
-----
-
-Appending an empty string to the existing value is necessary
-because Makefiles expect an assignment for target-specific
-exports. Alternatively you can set a new value:
-
-[source,make]
-----
-app-c_src: export CFLAGS = -O3
-----
diff --git a/docs/en/erlang.mk/1/guide/ports/index.html b/docs/en/erlang.mk/1/guide/ports/index.html
deleted file mode 100644
index 150ad761..00000000
--- a/docs/en/erlang.mk/1/guide/ports/index.html
+++ /dev/null
@@ -1,257 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: NIFs and port drivers</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>NIFs and port drivers</span></h1>
-
-<p>Erlang.mk can not only build Erlang projects, but also the C code that some projects come with, like NIFs and port drivers.</p>
-<p>There are two ways to build the C code: using a custom Makefile, or making Erlang.mk do it directly. The C code will be built as needed when you run <code>make</code>.</p>
-<!-- @todo something for easier bootstrapping-->
-<h2 id="_c_source_code_location_and_erlang_environment">C source code location and Erlang environment</h2>
-<p>The C source code should be located in the <em>$(C_SRC_DIR)</em> directory. It defaults to <em>c_src/</em>. Should you need to modify it, all you need to do is to set the variable in your Makefile before including Erlang.mk:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">C_SRC_DIR =</font> <font color="#009900">$(CURDIR)</font>/my_nif_source</tt></pre>
-</div></div>
-<p>When this directory exists, Erlang.mk will automatically create a file named <em>$(C_SRC_ENV)</em>. This file defaults to <em>$(C_SRC_DIR)/env.mk</em>. This can also be changed:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">C_SRC_ENV =</font> <font color="#009900">$(C_SRC_DIR)</font>/erlang_env.mk</tt></pre>
-</div></div>
-<p>It contains a few variable definitions for the environment used for the build:</p>
-<dl><dt><code>ERTS_INCLUDE_DIR</code></dt>
-<dd><p>Path to the ERTS include files (<em>erl_driver.h</em>, <em>erl_nif.h</em> and more).</p>
-</dd>
-<dt><code>ERL_INTERFACE_INCLUDE_DIR</code></dt>
-<dd><p>Path to the Erl_Interface include files (<em>ei.h</em> and related).</p>
-</dd>
-<dt><code>ERL_INTERFACE_LIB_DIR</code></dt>
-<dd><p>Path to the Erl_Interface static libraries.</p>
-</dd>
-</dl>
-<h2 id="_using_a_custom_makefile">Using a custom Makefile</h2>
-<p>Erlang.mk will automatically run <code>make</code> if it detects a Makefile in <em>$(C_SRC_DIR)/Makefile</em>.</p>
-<p>The Makefile should have at least two targets: a default target (which can be anything, for example <code>all</code>) which is invoked when building the C code, and a <code>clean</code> target invoked when cleaning it.</p>
-<p>You can include the <em>env.mk</em> file to benefit from the Erlang environment detection:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>include env.mk</tt></pre>
-</div></div>
-<h2 id="_using_erlang_mk_directly">Using Erlang.mk directly</h2>
-<p>You don&apos;t need to write a Makefile to build C source code, however. Erlang.mk comes with rules to build both shared libraries and executables, using the source files it finds in <em>$(C_SRC_DIR)</em>.</p>
-<p>By default, Erlang.mk will create a shared library. To change this and create an executable instead, put this in your Makefile before including Erlang.mk:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">C_SRC_TYPE =</font> executable</tt></pre>
-</div></div>
-<p>The generated file name varies depending on the type of project you have (shared library or executable) and on the platform you build the project on.</p>
-<p>For shared libraries, the generated file name will be <em>$(C_SRC_OUTPUT)$(C_SRC_SHARED_EXTENSION)</em>, with the default being <em>$(CURDIR)/priv/$(PROJECT)</em> followed by the extension: <code>.dll</code> on Windows, <code>.so</code> everywhere else.</p>
-<p>For executables, the generated file name is <em>$(C_SRC_OUTPUT)$(C_SRC_EXECUTABLE_EXTENSION)</em>, with the same default except for the extension: <code>.exe</code> on Windows, and otherwise nothing.</p>
-<p>Erlang.mk sets appropriate compile and linker flags by default. These flags vary depending on the platform, and can of course be overriden.</p>
-<dl><dt><code>CC</code></dt>
-<dd><p>The compiler to be used.</p>
-</dd>
-<dt><code>CFLAGS</code></dt>
-<dd><p>C compiler flags.</p>
-</dd>
-<dt><code>CXXFLAGS</code></dt>
-<dd><p>C++ compiler flags.</p>
-</dd>
-<dt><code>LDFLAGS</code></dt>
-<dd><p>Linker flags.</p>
-</dd>
-<dt><code>LDLIBS</code></dt>
-<dd><p>Libraries to link against.</p>
-</dd>
-</dl>
-<p>The source files are automatically gathered from the contents of <em>$(C_SRC_DIR)</em>. Erlang.mk looks for <em>.c</em>, <em>.C</em>, <em>.cc</em> and <em>.cpp</em> source files. You can define the variable <code>SOURCES</code> to manually list the files to compile.</p>
-<h2 id="_propagating_compile_and_linker_flags_to_sub_makefiles">Propagating compile and linker flags to sub-Makefiles</h2>
-<p>In some cases it might be necessary to propagate the flags you just defined to the sub-Makefiles of your local project. You generally can&apos;t just export those as this could impact the building of dependencies.</p>
-<p>Makefiles allow you to export variables for specific targets. When doing this, the variables will be exported only when this target runs, and not for other targets. It is therefore possible to export them when building the C code without impacting other build steps.</p>
-<p>By adding this to your Makefile all five variables will be made available to sub-Makefiles when building C code:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#990000">app-c_src:</font> <b><font color="#0000FF">export</font></b> CC <font color="#990000">+=</font>
-<font color="#990000">app-c_src:</font> <b><font color="#0000FF">export</font></b> CFLAGS <font color="#990000">+=</font>
-<font color="#990000">app-c_src:</font> <b><font color="#0000FF">export</font></b> CPPFLAGS <font color="#990000">+=</font>
-<font color="#990000">app-c_src:</font> <b><font color="#0000FF">export</font></b> LDFLAGS <font color="#990000">+=</font>
-<font color="#990000">app-c_src:</font> <b><font color="#0000FF">export</font></b> LDLIBS <font color="#990000">+=</font></tt></pre>
-</div></div>
-<p>Appending an empty string to the existing value is necessary because Makefiles expect an assignment for target-specific exports. Alternatively you can set a new value:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#990000">app-c_src:</font> <b><font color="#0000FF">export</font></b> CFLAGS <font color="#990000">=</font> -O<font color="#993399">3</font></tt></pre>
-</div></div>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/deps/">
- Packages and dependencies
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/releases/">
- Releases
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/proper.asciidoc b/docs/en/erlang.mk/1/guide/proper.asciidoc
deleted file mode 100644
index 37fa3d7c..00000000
--- a/docs/en/erlang.mk/1/guide/proper.asciidoc
+++ /dev/null
@@ -1,31 +0,0 @@
-[[proper]]
-== PropEr
-
-https://proper-testing.github.io/[PropEr] is a QuickCheck-like library for
-property-based testing. Erlang.mk automates discovery and checking of
-PropEr properties.
-
-To run all tests (including PropEr):
-
-[source,bash]
-$ make tests
-
-To run all tests and static checks (including PropEr):
-
-[source,bash]
-$ make check
-
-You can also run PropEr separately:
-
-[source,bash]
-$ make proper
-
-To check properties from a single module:
-
-[source,bash]
-$ make proper t=foo_tests
-
-To check a single property:
-
-[source,bash]
-$ make proper t=foo_tests:bar
diff --git a/docs/en/erlang.mk/1/guide/proper/index.html b/docs/en/erlang.mk/1/guide/proper/index.html
deleted file mode 100644
index d0867e47..00000000
--- a/docs/en/erlang.mk/1/guide/proper/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: PropEr</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>PropEr</span></h1>
-
-<p><a href="https://proper-testing.github.io/">PropEr</a> is a QuickCheck-like library for property-based testing. Erlang.mk automates discovery and checking of PropEr properties.</p>
-<p>To run all tests (including PropEr):</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make tests</tt></pre>
-</div></div>
-<p>To run all tests and static checks (including PropEr):</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make check</tt></pre>
-</div></div>
-<p>You can also run PropEr separately:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make proper</tt></pre>
-</div></div>
-<p>To check properties from a single module:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make proper <font color="#009900">t</font><font color="#990000">=</font>foo_tests</tt></pre>
-</div></div>
-<p>To check a single property:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make proper <font color="#009900">t</font><font color="#990000">=</font>foo_tests<font color="#990000">:</font>bar</tt></pre>
-</div></div>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/common_test/">
- Common Test
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/triq/">
- Triq
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/releases.asciidoc b/docs/en/erlang.mk/1/guide/releases.asciidoc
deleted file mode 100644
index 68174b30..00000000
--- a/docs/en/erlang.mk/1/guide/releases.asciidoc
+++ /dev/null
@@ -1,195 +0,0 @@
-[[relx]]
-== Releases
-
-Erlang.mk relies on _Relx_ for generating releases. This
-chapter covers the Erlang.mk-specific bits. Consult the
-https://erlware.github.io/relx/[Relx website] for more information.
-
-=== Setup
-
-Erlang.mk will create a release if it detects a Relx configuration
-file in the '$(RELX_CONFIG)' location. This defaults to
-'$(CURDIR)/relx.config'. You can override it by defining
-the variable before including Erlang.mk:
-
-[source,make]
-RELX_CONFIG = $(CURDIR)/webchat.config
-
-It is also possible to have multiple 'relx.config' files.
-For example you might have one for development and one for
-production. You can use conditionals to decide which one
-should be used:
-
-[source,make]
-----
-ifdef PROD
-RELX_CONFIG = $(CURDIR)/relx.prod.config
-else
-RELX_CONFIG = $(CURDIR)/relx.dev.config
-endif
-----
-
-Relx does not need to be installed. Erlang.mk will download
-and build it automatically.
-
-The Relx executable will be saved in the '$(RELX)' file. This
-location defaults to '$(CURDIR)/relx' and can be overriden.
-
-// @todo You can use a custom location by ???
-
-=== Configuration
-
-You can specify additional Relx options using the `RELX_OPTS`
-variable. For example, to enable `dev_mode`:
-
-[source,make]
-RELX_OPTS = -d true
-
-While you can specify the output directory for the release
-in the Relx options directly, Erlang.mk provides a specific
-variable for it: `RELX_OUTPUT_DIR`. It defaults to the '_rel'
-directory. You can also override it:
-
-[source,make]
-RELX_OUTPUT_DIR = /path/to/staging/directory
-
-=== Generating the release
-
-Now that you're all set, all you need to do is generate the
-release. As mentioned before, Erlang.mk will automatically
-generate it when it detects the '$(RELX_CONFIG)' file. This
-means the following command will also build the release:
-
-[source,bash]
-$ make
-
-If you need to generate the release, and only the release,
-the `rel` target can be used:
-
-[source,bash]
-$ make rel
-
-Erlang.mk always generates a tarball alongside the release,
-which can be directly uploaded to a server. The tarball is
-located at `$(RELX_OUTPUT_DIR)/<name>/<name>-<vsn>.tar.gz`.
-
-=== Running the release
-
-Erlang.mk provides a convenience function for running the
-release with one simple command:
-
-[source,bash]
-$ make run
-
-This command will also build the project and generate the
-release if they weren't already. It starts the release in
-_console mode_, meaning you will also have a shell ready to
-use to check things as needed.
-
-=== Upgrading a release
-
-Erlang.mk provides a `relup` target for generating release
-upgrades. Release upgrades allow updating the code and the
-state of a running release without restarting it.
-
-Once your changes are done, you need to update the version
-of the application(s) that will be updated. You also need
-to update the version of the release.
-
-For each application that needs to be updated, an
-http://erlang.org/doc/man/appup.html[appup file]
-must be written. Refer to the Erlang/OTP documentation
-for more details.
-
-For the purpose of this section, assume the initial release
-version was `1`, and the new version is `2`. The name of the
-release will be `example`.
-
-Once all this is done, you can build the tarball for the
-release upgrade:
-
-[source,bash]
-$ make relup
-
-This will create an archive at the root directory of the
-release, `$RELX_OUTPUT_DIR/example/example-2.tar.gz`.
-
-Move the archive to the correct location on the running
-node. From the release's root directory:
-
-[source,bash]
-$ mkdir releases/2/
-$ mv path/to/example-2.tar.gz releases/2/
-
-Finally, upgrade the release:
-
-[source,bash]
-$ bin/example_release upgrade "2/example_release"
-
-Or on Windows:
-
-[source,bash]
-$ bin/example_release.cmd upgrade "2/example_release"
-
-Your release was upgraded!
-
-=== Getting Relx semver value
-
-There is a *workaround* to get the semver value which is
-generated by Relx based on VCS history.
-
-Create a file 'config/version' with only one line inside:
-
-[source,erlang]
-{{ release_version }}
-
-Add/Update the `overlay` section of your `relx.config`:
-
-[source,erlang]
-{overlay, [
- {template, "config/version", "version"}
-]}.
-
-When you run `make rel` it creates the file '$(RELX_OUTPUT_DIR)/example/version'
-which contains the version value generated by Relx.
-
-[source,bash]
-$ cat _rel/app/release
-1.0.0+build.11.ref5612aa0
-
-In your `Makefile` you can use this simple snippet to get the version,
-but please keep in mind that this should depend on the `rel` target:
-
-[source,make]
-$(shell cat $(RELX_OUTPUT_DIR)/$(RELX_REL_NAME)/version)
-
-For example:
-
-[source,make]
-----
-include erlang.mk
-
-APP_VERSION = $(shell cat $(RELX_OUTPUT_DIR)/$(RELX_REL_NAME)/version)
-myrecipe: all
- echo APP_VERSION = $(APP_VERSION)
-----
-
-Would output:
-
-[source,bash]
-----
-$ make myrecipe
-...
-===> Starting relx build process ...
-===> Resolving OTP Applications from directories:
- /home/username/example/apps
- /home/username/example/deps
- /usr/lib/erlang/lib
- /home/username/example/_rel
-===> Resolved example-0.3.10+build.11.ref5612aa0
-===> Including Erts from /usr/lib/erlang
-===> release successfully created!
-===> tarball /home/username/example/_rel/example/example-0.3.10+build.11.ref5612aa0.tar.gz successfully created!
-echo APP_VERSION = 0.3.10+build.11.ref5612aa0
-APP_VERSION = 0.3.10+build.11.ref5612aa0
-----
diff --git a/docs/en/erlang.mk/1/guide/releases/index.html b/docs/en/erlang.mk/1/guide/releases/index.html
deleted file mode 100644
index bdf91e4b..00000000
--- a/docs/en/erlang.mk/1/guide/releases/index.html
+++ /dev/null
@@ -1,330 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Releases</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Releases</span></h1>
-
-<p>Erlang.mk relies on <em>Relx</em> for generating releases. This chapter covers the Erlang.mk-specific bits. Consult the <a href="https://erlware.github.io/relx/">Relx website</a> for more information.</p>
-<h2 id="_setup">Setup</h2>
-<p>Erlang.mk will create a release if it detects a Relx configuration file in the <em>$(RELX_CONFIG)</em> location. This defaults to <em>$(CURDIR)/relx.config</em>. You can override it by defining the variable before including Erlang.mk:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">RELX_CONFIG =</font> <font color="#009900">$(CURDIR)</font>/webchat.config</tt></pre>
-</div></div>
-<p>It is also possible to have multiple <em>relx.config</em> files. For example you might have one for development and one for production. You can use conditionals to decide which one should be used:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>ifdef PROD
-<font color="#009900">RELX_CONFIG =</font> <font color="#009900">$(CURDIR)</font>/relx.prod.config
-<b><font color="#0000FF">else</font></b>
-<font color="#009900">RELX_CONFIG =</font> <font color="#009900">$(CURDIR)</font>/relx.dev.config
-endif</tt></pre>
-</div></div>
-<p>Relx does not need to be installed. Erlang.mk will download and build it automatically.</p>
-<p>The Relx executable will be saved in the <em>$(RELX)</em> file. This location defaults to <em>$(CURDIR)/relx</em> and can be overriden.</p>
-<!-- @todo You can use a custom location by ???-->
-<h2 id="_configuration">Configuration</h2>
-<p>You can specify additional Relx options using the <code>RELX_OPTS</code> variable. For example, to enable <code>dev_mode</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">RELX_OPTS =</font> -d <b><font color="#0000FF">true</font></b></tt></pre>
-</div></div>
-<p>While you can specify the output directory for the release in the Relx options directly, Erlang.mk provides a specific variable for it: <code>RELX_OUTPUT_DIR</code>. It defaults to the <em>_rel</em> directory. You can also override it:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">RELX_OUTPUT_DIR =</font> /path/to/staging/directory</tt></pre>
-</div></div>
-<h2 id="_generating_the_release">Generating the release</h2>
-<p>Now that you&apos;re all set, all you need to do is generate the release. As mentioned before, Erlang.mk will automatically generate it when it detects the <em>$(RELX_CONFIG)</em> file. This means the following command will also build the release:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make</tt></pre>
-</div></div>
-<p>If you need to generate the release, and only the release, the <code>rel</code> target can be used:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make rel</tt></pre>
-</div></div>
-<p>Erlang.mk always generates a tarball alongside the release, which can be directly uploaded to a server. The tarball is located at <code>$(RELX_OUTPUT_DIR)/&lt;name&gt;/&lt;name&gt;-&lt;vsn&gt;.tar.gz</code>.</p>
-<h2 id="_running_the_release">Running the release</h2>
-<p>Erlang.mk provides a convenience function for running the release with one simple command:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make run</tt></pre>
-</div></div>
-<p>This command will also build the project and generate the release if they weren&apos;t already. It starts the release in <em>console mode</em>, meaning you will also have a shell ready to use to check things as needed.</p>
-<h2 id="_upgrading_a_release">Upgrading a release</h2>
-<p>Erlang.mk provides a <code>relup</code> target for generating release upgrades. Release upgrades allow updating the code and the state of a running release without restarting it.</p>
-<p>Once your changes are done, you need to update the version of the application(s) that will be updated. You also need to update the version of the release.</p>
-<p>For each application that needs to be updated, an <a href="http://erlang.org/doc/man/appup.html">appup file</a> must be written. Refer to the Erlang/OTP documentation for more details.</p>
-<p>For the purpose of this section, assume the initial release version was <code>1</code>, and the new version is <code>2</code>. The name of the release will be <code>example</code>.</p>
-<p>Once all this is done, you can build the tarball for the release upgrade:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make relup</tt></pre>
-</div></div>
-<p>This will create an archive at the root directory of the release, <code>$RELX_OUTPUT_DIR/example/example-2.tar.gz</code>.</p>
-<p>Move the archive to the correct location on the running node. From the release&apos;s root directory:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ mkdir releases<font color="#990000">/</font><font color="#993399">2</font><font color="#990000">/</font>
-$ mv path/to/example-<font color="#993399">2</font><font color="#990000">.</font>tar<font color="#990000">.</font>gz releases<font color="#990000">/</font><font color="#993399">2</font><font color="#990000">/</font></tt></pre>
-</div></div>
-<p>Finally, upgrade the release:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ bin/example_release upgrade <font color="#FF0000">"2/example_release"</font></tt></pre>
-</div></div>
-<p>Or on Windows:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ bin/example_release<font color="#990000">.</font>cmd upgrade <font color="#FF0000">"2/example_release"</font></tt></pre>
-</div></div>
-<p>Your release was upgraded!</p>
-<h2 id="_getting_relx_semver_value">Getting Relx semver value</h2>
-<p>There is a <strong>workaround</strong> to get the semver value which is generated by Relx based on VCS history.</p>
-<p>Create a file <em>config/version</em> with only one line inside:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{{ <font color="#FF6600">release_version</font> }}</tt></pre>
-</div></div>
-<p>Add/Update the <code>overlay</code> section of your <code>relx.config</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">overlay</font>, [
- {<font color="#FF6600">template</font>, <font color="#FF0000">"config/version"</font>, <font color="#FF0000">"version"</font>}
-]}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>When you run <code>make rel</code> it creates the file <em>$(RELX_OUTPUT_DIR)/example/version</em> which contains the version value generated by Relx.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ cat _rel/app/release
-<font color="#993399">1.0</font><font color="#990000">.</font><font color="#993399">0</font><font color="#990000">+</font>build<font color="#990000">.</font><font color="#993399">11</font><font color="#990000">.</font>ref5612aa0</tt></pre>
-</div></div>
-<p>In your <code>Makefile</code> you can use this simple snippet to get the version, but please keep in mind that this should depend on the <code>rel</code> target:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">$(</font>shell cat <font color="#009900">$(RELX_OUTPUT_DIR)/$(RELX_REL_NAME)/version)</font></tt></pre>
-</div></div>
-<p>For example:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>include erlang.mk
-
-<font color="#009900">APP_VERSION =</font> <font color="#009900">$(</font>shell cat <font color="#009900">$(RELX_OUTPUT_DIR)/$(RELX_REL_NAME)/version)</font>
-<font color="#990000">myrecipe:</font> all
- echo APP_VERSION <font color="#990000">=</font> <font color="#009900">$(APP_VERSION)</font></tt></pre>
-</div></div>
-<p>Would output:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make myrecipe
-<font color="#990000">...</font>
-<font color="#990000">===&gt;</font> Starting relx build process <font color="#990000">...</font>
-<font color="#990000">===&gt;</font> Resolving OTP Applications from directories<font color="#990000">:</font>
- /home/username/example/apps
- /home/username/example/deps
- /usr/lib/erlang/lib
- /home/username/example<font color="#990000">/</font>_rel
-<font color="#990000">===&gt;</font> Resolved example-<font color="#993399">0.3</font><font color="#990000">.</font><font color="#993399">10</font><font color="#990000">+</font>build<font color="#990000">.</font><font color="#993399">11</font><font color="#990000">.</font>ref5612aa0
-<font color="#990000">===&gt;</font> Including Erts from /usr/lib/erlang
-<font color="#990000">===&gt;</font> release successfully created<font color="#990000">!</font>
-<font color="#990000">===&gt;</font> tarball /home/username/example<font color="#990000">/</font>_rel/example/example-<font color="#993399">0.3</font><font color="#990000">.</font><font color="#993399">10</font><font color="#990000">+</font>build<font color="#990000">.</font><font color="#993399">11</font><font color="#990000">.</font>ref5612aa0<font color="#990000">.</font>tar<font color="#990000">.</font>gz successfully created<font color="#990000">!</font>
-echo APP_VERSION <font color="#990000">=</font> <font color="#993399">0.3</font><font color="#990000">.</font><font color="#993399">10</font><font color="#990000">+</font>build<font color="#990000">.</font><font color="#993399">11</font><font color="#990000">.</font>ref5612aa0
-APP_VERSION <font color="#990000">=</font> <font color="#993399">0.3</font><font color="#990000">.</font><font color="#993399">10</font><font color="#990000">+</font>build<font color="#990000">.</font><font color="#993399">11</font><font color="#990000">.</font>ref5612aa0</tt></pre>
-</div></div>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/ports/">
- NIFs and port drivers
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/sfx/">
- Self-extracting releases
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/sfx.asciidoc b/docs/en/erlang.mk/1/guide/sfx.asciidoc
deleted file mode 100644
index aae2c8d4..00000000
--- a/docs/en/erlang.mk/1/guide/sfx.asciidoc
+++ /dev/null
@@ -1,49 +0,0 @@
-[[sfx]]
-== Self-extracting releases
-
-Erlang.mk allows you to package xref:relx[Relx releases] as
-self-extracting archives. These archives contain all the
-files in the release and come in the form of a script that
-will extract and run the release automatically.
-
-This allows you to package the release as a single file
-that can then be executed.
-
-This feature is currently experimental. Feedback is much
-appreciated.
-
-=== Generating the self-extracting archive
-
-To generate a self-extracting release, all you need to do
-is pass the `SFX=1` variable to Make when you build the
-release:
-
-[source,bash]
-$ make SFX=1
-
-This will create a self-extracting archive in
-`$RELX_OUTPUT_DIR/<name>.run`. For example if the release
-is named `hello_world` and `$RELX_OUTPUT_DIR` is the default,
-the file will be located at `_rel/hello_world.run`.
-
-=== Running the release
-
-Simply execute the script to get started:
-
-[source,bash]
-----
-$ ./_rel/hello_world.run
-Exec: /tmp/tmp.3eeEq7E1ta/erts-8.1/bin/erlexec ...
-Root: /tmp/tmp.3eeEq7E1ta
-/tmp/tmp.3eeEq7E1ta
-Erlang/OTP 19 [erts-8.1] [source] [64-bit] [smp:4:4] ...
-
-Eshell V8.1 (abort with ^G)
-(hello_world@localhost)1>
-----
-
-As you can see the archive is extracted to a temporary
-directory before the release can be started.
-
-The self-extracting script currently only supports starting
-the release in `console` mode.
diff --git a/docs/en/erlang.mk/1/guide/sfx/index.html b/docs/en/erlang.mk/1/guide/sfx/index.html
deleted file mode 100644
index f86cc70a..00000000
--- a/docs/en/erlang.mk/1/guide/sfx/index.html
+++ /dev/null
@@ -1,196 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Self-extracting releases</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Self-extracting releases</span></h1>
-
-<p>Erlang.mk allows you to package <a href="../relx">Relx releases</a> as self-extracting archives. These archives contain all the files in the release and come in the form of a script that will extract and run the release automatically.</p>
-<p>This allows you to package the release as a single file that can then be executed.</p>
-<p>This feature is currently experimental. Feedback is much appreciated.</p>
-<h2 id="_generating_the_self_extracting_archive">Generating the self-extracting archive</h2>
-<p>To generate a self-extracting release, all you need to do is pass the <code>SFX=1</code> variable to Make when you build the release:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make <font color="#009900">SFX</font><font color="#990000">=</font><font color="#993399">1</font></tt></pre>
-</div></div>
-<p>This will create a self-extracting archive in <code>$RELX_OUTPUT_DIR/&lt;name&gt;.run</code>. For example if the release is named <code>hello_world</code> and <code>$RELX_OUTPUT_DIR</code> is the default, the file will be located at <code>_rel/hello_world.run</code>.</p>
-<h2 id="_running_the_release">Running the release</h2>
-<p>Simply execute the script to get started:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ <font color="#990000">./</font>_rel/hello_world<font color="#990000">.</font>run
-Exec<font color="#990000">:</font> /tmp/tmp<font color="#990000">.</font>3eeEq7E1ta/erts-<font color="#993399">8.1</font>/bin/erlexec <font color="#990000">...</font>
-Root<font color="#990000">:</font> /tmp/tmp<font color="#990000">.</font>3eeEq7E1ta
-/tmp/tmp<font color="#990000">.</font>3eeEq7E1ta
-Erlang/OTP <font color="#993399">19</font> <font color="#990000">[</font>erts-<font color="#993399">8.1</font><font color="#990000">]</font> <font color="#990000">[</font><b><font color="#0000FF">source</font></b><font color="#990000">]</font> <font color="#990000">[</font><font color="#993399">64</font>-bit<font color="#990000">]</font> <font color="#990000">[</font>smp<font color="#990000">:</font><font color="#993399">4</font><font color="#990000">:</font><font color="#993399">4</font><font color="#990000">]</font> <font color="#990000">...</font>
-
-Eshell V8<font color="#990000">.</font><font color="#993399">1</font> <font color="#990000">(</font>abort with <font color="#990000">^</font>G<font color="#990000">)</font>
-<font color="#990000">(</font>hello_world@localhost<font color="#990000">)</font><font color="#993399">1</font><font color="#990000">&gt;</font></tt></pre>
-</div></div>
-<p>As you can see the archive is extracted to a temporary directory before the release can be started.</p>
-<p>The self-extracting script currently only supports starting the release in <code>console</code> mode.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/releases/">
- Releases
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/escripts/">
- Escripts
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/shell.asciidoc b/docs/en/erlang.mk/1/guide/shell.asciidoc
deleted file mode 100644
index 5484b9df..00000000
--- a/docs/en/erlang.mk/1/guide/shell.asciidoc
+++ /dev/null
@@ -1,50 +0,0 @@
-[[shell]]
-== Erlang shell
-
-Erlang.mk provides a convenient target for starting a shell
-with all the paths set properly to experiment with your code.
-
-=== Configuration
-
-The `SHELL_DEPS` variable can be used to define dependencies
-that are only to be used when the `make shell` command is called.
-For example, if you want to use _kjell_ as your shell:
-
-[source,make]
-SHELL_DEPS = kjell
-
-Dependencies are downloaded and compiled the first time you
-run the `make shell` command.
-
-You can customize the executable used to start the Erlang shell.
-To continue with our example, if you want to use _kjell_ as your
-shell, you also need to change `SHELL_ERL` and point it to the
-`kjell` executable:
-
-[source,make]
-SHELL_ERL = $(DEPS_DIR)/kjell/bin/kjell
-
-You can specify additional options to be used when starting the
-shell using the `SHELL_OPTS` variable:
-
-[source,make]
-SHELL_OPTS = -setcookie chocolate
-
-Any of the usual `erl` options can be used, including `-eval`:
-
-[source,make]
-SHELL_OPTS = -eval 'my_app:run()'
-
-=== Usage
-
-To start the shell, all you need is the following command:
-
-[source,bash]
-$ make shell
-
-The shell can be stopped as usual with a double Ctrl+C or the
-command `q().`.
-
-Note that the `shell` target does not build the application. To do it,
-use either the `app` target or, if you want to include also test
-modules, the `test-build` target. \ No newline at end of file
diff --git a/docs/en/erlang.mk/1/guide/shell/index.html b/docs/en/erlang.mk/1/guide/shell/index.html
deleted file mode 100644
index 8579328f..00000000
--- a/docs/en/erlang.mk/1/guide/shell/index.html
+++ /dev/null
@@ -1,208 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Erlang shell</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Erlang shell</span></h1>
-
-<p>Erlang.mk provides a convenient target for starting a shell with all the paths set properly to experiment with your code.</p>
-<h2 id="_configuration">Configuration</h2>
-<p>The <code>SHELL_DEPS</code> variable can be used to define dependencies that are only to be used when the <code>make shell</code> command is called. For example, if you want to use <em>kjell</em> as your shell:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SHELL_DEPS =</font> kjell</tt></pre>
-</div></div>
-<p>Dependencies are downloaded and compiled the first time you run the <code>make shell</code> command.</p>
-<p>You can customize the executable used to start the Erlang shell. To continue with our example, if you want to use <em>kjell</em> as your shell, you also need to change <code>SHELL_ERL</code> and point it to the <code>kjell</code> executable:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SHELL_ERL =</font> <font color="#009900">$(DEPS_DIR)</font>/kjell/bin/kjell</tt></pre>
-</div></div>
-<p>You can specify additional options to be used when starting the shell using the <code>SHELL_OPTS</code> variable:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SHELL_OPTS =</font> -setcookie chocolate</tt></pre>
-</div></div>
-<p>Any of the usual <code>erl</code> options can be used, including <code>-eval</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SHELL_OPTS =</font> -eval <font color="#FF0000">'my_app:run()'</font></tt></pre>
-</div></div>
-<h2 id="_usage">Usage</h2>
-<p>To start the shell, all you need is the following command:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make shell</tt></pre>
-</div></div>
-<p>The shell can be stopped as usual with a double Ctrl+C or the command <code>q().</code>.</p>
-<p>Note that the <code>shell</code> target does not build the application. To do it, use either the <code>app</code> target or, if you want to include also test modules, the <code>test-build</code> target.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/sphinx/">
- Sphinx documentation
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/eunit/">
- EUnit
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/sphinx.asciidoc b/docs/en/erlang.mk/1/guide/sphinx.asciidoc
deleted file mode 100644
index d4de20dd..00000000
--- a/docs/en/erlang.mk/1/guide/sphinx.asciidoc
+++ /dev/null
@@ -1,129 +0,0 @@
-[[sphinx]]
-== Sphinx documentation
-
-Erlang.mk includes targets for running the
-http://www.sphinx-doc.org/[Sphinx documentation generator], which can produce
-documentation in various formats, like HTML, man pages, Texinfo, LaTeX, and
-others.
-
-=== Writing Sphinx documentation
-
-Sphinx generates documentation from a set of
-http://www.sphinx-doc.org/en/stable/rest.html[reST] documents. There is
-a http://www.sphinx-doc.org/en/stable/tutorial.html[quick start guide] on
-Sphinx' website. For Erlang.mk, we'll set up a minimal environment instead.
-
-=== Basic setup
-
-By default, Erlang.mk expects Sphinx documentation to be placed in the 'doc'
-directory, with 'doc/conf.py' config file in particular. The file contains
-information about the project, among the other things.
-
-A minimal 'doc/conf.py' will look similar to this:
-
-[source,python]
-----
-project = 'My Project'
-version = '0.0'
-release = '0.0.1'
-master_doc = 'index'
-source_suffix = '.rst'
-----
-
-It points to a 'doc/index.rst' document. A simple skeleton includes a table of
-contents for all documentation, and links to generated index of terms and
-a search page:
-
-----
-My Project
-==========
-
-Contents:
-
-.. toctree::
- :maxdepth: 2
-
- other_page
-
-Indices and tables
-==================
-
-* :ref:`genindex`
-* :ref:`search`
-----
-
-The skeleton above has a link to one other page, 'doc/other_page.rst'. Simple
-header with some text will do for now:
-
-----
-Other Page
-==========
-
-Lorem ipsum dolor sit amet...
-----
-
-The files above are enough to build HTML documentation to the 'html' directory.
-
-[source,bash]
-$ make docs # all the docs, including EDoc and AsciiDoc if applicable
-$ make sphinx # Sphinx docs specifically
-
-=== Erlang.mk configuration
-
-Erlang.mk defaults to the following configuration:
-
-[source,make]
-SPHINX_FORMATS = html
-SPHINX_SOURCE = doc
-
-To change the location of Sphinx sources, you need to set the `$(SPHINX_SOURCE)`
-variable. The 'conf.py' file should also be placed in that directory, unless you
-specify `$(SPHINX_CONFDIR)`.
-
-The variable `$(SPHINX_OPTS)` allows to provide options to `sphinx-build`, which
-is particularly useful for `-D name=value` options. You can even forego
-'doc/conf.py' file, using `-D name=value` in combination with the `-C` option,
-though in this case you will need to manually call `make sphinx` or add the
-`sphinx` target to dependencies of `docs`.
-
-The `$(SPHINX_FORMATS)` variable lists formats to generate. By default only HTML
-is generated, but it can also build man pages or LaTeX documents which can later
-be converted to PDF. See the
-http://www.sphinx-doc.org/en/stable/invocation.html#cmdoption-sphinx-build-b[description of the `-b` option]
-for `sphinx-build` for a list of known formats.
-
-Formats are by default generated to a directory called after the format
-('html' for HTML, 'man' for man pages, and so on). To change this behaviour
-for a specific format, you can set the `$(sphinx_$(format)_output)` variable, e.g.
-`$(sphinx_html_output)` for 'html' or `$(sphinx_man_output)` for 'man'.
-There are also `$(sphinx_$(format)_opts)` variables for setting `sphinx-build`
-options for a single format only.
-
-=== Generating man pages
-
-To generate man pages, you need to include `man` in `$(SPHINX_FORMATS)` in
-your Makefile and define the `man_pages` option in 'doc/conf.py':
-
-[source,python]
-----
-man_pages = [
- ('doc_name', 'page_name', 'Manpage Title', ['Page Author'], 1),
-]
-----
-
-As the
-http://www.sphinx-doc.org/en/stable/config.html#options-for-manual-page-output[Sphinx documentation]
-indicates, the structure is:
-
-* `doc_name` is the path to the man page's source (relative `$(SPHINX_SOURCE)`),
- without the '.rst' suffix
-* `page_name` is the name of the resulting man page, which will be used as a base
- for the output file name and will be included in the generated man page
-* `Manpage Title` is a short, one-line description, which will be included in
- the generated man page on a position that's used by the `apropos` command
-* `Page Author` (or more of them) will be included in the autogenerated `AUTHOR`
- section. Leaving this field empty disables generating the `AUTHOR` section
-* `1` is the man page section number
-
-With the above configuration (and Erlang.mk's defaults), 'doc/doc_name.rst' will
-be used to generate 'man/page_name.1'.
diff --git a/docs/en/erlang.mk/1/guide/sphinx/index.html b/docs/en/erlang.mk/1/guide/sphinx/index.html
deleted file mode 100644
index 7226b594..00000000
--- a/docs/en/erlang.mk/1/guide/sphinx/index.html
+++ /dev/null
@@ -1,234 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Sphinx documentation</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Sphinx documentation</span></h1>
-
-<p>Erlang.mk includes targets for running the <a href="http://www.sphinx-doc.org/">Sphinx documentation generator</a>, which can produce documentation in various formats, like HTML, man pages, Texinfo, LaTeX, and others.</p>
-<h2 id="_writing_sphinx_documentation">Writing Sphinx documentation</h2>
-<p>Sphinx generates documentation from a set of <a href="http://www.sphinx-doc.org/en/stable/rest.html">reST</a> documents. There is a <a href="http://www.sphinx-doc.org/en/stable/tutorial.html">quick start guide</a> on Sphinx&apos; website. For Erlang.mk, we&apos;ll set up a minimal environment instead.</p>
-<h2 id="_basic_setup">Basic setup</h2>
-<p>By default, Erlang.mk expects Sphinx documentation to be placed in the <em>doc</em> directory, with <em>doc/conf.py</em> config file in particular. The file contains information about the project, among the other things.</p>
-<p>A minimal <em>doc/conf.py</em> will look similar to this:</p>
-<div class="listingblock"><div class="content">source-highlight: could not find a language definition for python
-</div></div>
-<p>It points to a <em>doc/index.rst</em> document. A simple skeleton includes a table of contents for all documentation, and links to generated index of terms and a search page:</p>
-<div class="listingblock"><div class="content"><pre>My Project
-==========
-
-Contents:
-
-.. toctree::
- :maxdepth: 2
-
- other_page
-
-Indices and tables
-==================
-
-* :ref:`genindex`
-* :ref:`search`</pre></div></div>
-<p>The skeleton above has a link to one other page, <em>doc/other_page.rst</em>. Simple header with some text will do for now:</p>
-<div class="listingblock"><div class="content"><pre>Other Page
-==========
-
-Lorem ipsum dolor sit amet...</pre></div></div>
-<p>The files above are enough to build HTML documentation to the <em>html</em> directory.</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make docs <i><font color="#9A1900"># all the docs, including EDoc and AsciiDoc if applicable</font></i>
-$ make sphinx <i><font color="#9A1900"># Sphinx docs specifically</font></i></tt></pre>
-</div></div>
-<h2 id="_erlang_mk_configuration">Erlang.mk configuration</h2>
-<p>Erlang.mk defaults to the following configuration:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">SPHINX_FORMATS =</font> html
-<font color="#009900">SPHINX_SOURCE =</font> doc</tt></pre>
-</div></div>
-<p>To change the location of Sphinx sources, you need to set the <code>$(SPHINX_SOURCE)</code> variable. The <em>conf.py</em> file should also be placed in that directory, unless you specify <code>$(SPHINX_CONFDIR)</code>.</p>
-<p>The variable <code>$(SPHINX_OPTS)</code> allows to provide options to <code>sphinx-build</code>, which is particularly useful for <code>-D name=value</code> options. You can even forego <em>doc/conf.py</em> file, using <code>-D name=value</code> in combination with the <code>-C</code> option, though in this case you will need to manually call <code>make sphinx</code> or add the <code>sphinx</code> target to dependencies of <code>docs</code>.</p>
-<p>The <code>$(SPHINX_FORMATS)</code> variable lists formats to generate. By default only HTML is generated, but it can also build man pages or LaTeX documents which can later be converted to PDF. See the <a href="http://www.sphinx-doc.org/en/stable/invocation.html#cmdoption-sphinx-build-b">description of the `-b` option</a> for <code>sphinx-build</code> for a list of known formats.</p>
-<p>Formats are by default generated to a directory called after the format (<em>html</em> for HTML, <em>man</em> for man pages, and so on). To change this behaviour for a specific format, you can set the <code>$(sphinx_$(format)_output)</code> variable, e.g. <code>$(sphinx_html_output)</code> for <em>html</em> or <code>$(sphinx_man_output)</code> for <em>man</em>. There are also <code>$(sphinx_$(format)_opts)</code> variables for setting <code>sphinx-build</code> options for a single format only.</p>
-<h2 id="_generating_man_pages">Generating man pages</h2>
-<p>To generate man pages, you need to include <code>man</code> in <code>$(SPHINX_FORMATS)</code> in your Makefile and define the <code>man_pages</code> option in <em>doc/conf.py</em>:</p>
-<div class="listingblock"><div class="content">source-highlight: could not find a language definition for python
-</div></div>
-<p>As the <a href="http://www.sphinx-doc.org/en/stable/config.html#options-for-manual-page-output">Sphinx documentation</a> indicates, the structure is:</p>
-<ul><li><code>doc_name</code> is the path to the man page&apos;s source (relative <code>$(SPHINX_SOURCE)</code>), without the <em>.rst</em> suffix
-</li>
-<li><code>page_name</code> is the name of the resulting man page, which will be used as a base for the output file name and will be included in the generated man page
-</li>
-<li><code>Manpage Title</code> is a short, one-line description, which will be included in the generated man page on a position that&apos;s used by the <code>apropos</code> command
-</li>
-<li><code>Page Author</code> (or more of them) will be included in the autogenerated <code>AUTHOR</code> section. Leaving this field empty disables generating the <code>AUTHOR</code> section
-</li>
-<li><code>1</code> is the man page section number
-</li>
-</ul>
-<p>With the above configuration (and Erlang.mk&apos;s defaults), <em>doc/doc_name.rst</em> will be used to generate <em>man/page_name.1</em>.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/edoc/">
- EDoc comments
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/shell/">
- Erlang shell
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/triq.asciidoc b/docs/en/erlang.mk/1/guide/triq.asciidoc
deleted file mode 100644
index db698600..00000000
--- a/docs/en/erlang.mk/1/guide/triq.asciidoc
+++ /dev/null
@@ -1,31 +0,0 @@
-[[triq]]
-== Triq
-
-https://triq.gitlab.io/[Triq] is a QuickCheck-like library for
-property-based testing. Erlang.mk automates discovery and checking of
-Triq properties.
-
-To run all tests (including Triq):
-
-[source,bash]
-$ make tests
-
-To run all tests and static checks (including Triq):
-
-[source,bash]
-$ make check
-
-You can also run Triq separately:
-
-[source,bash]
-$ make triq
-
-To check properties from a single module:
-
-[source,bash]
-$ make triq t=foo_tests
-
-To check a single property:
-
-[source,bash]
-$ make triq t=foo_tests:bar
diff --git a/docs/en/erlang.mk/1/guide/triq/index.html b/docs/en/erlang.mk/1/guide/triq/index.html
deleted file mode 100644
index 50fb7efb..00000000
--- a/docs/en/erlang.mk/1/guide/triq/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Triq</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Triq</span></h1>
-
-<p><a href="https://triq.gitlab.io/">Triq</a> is a QuickCheck-like library for property-based testing. Erlang.mk automates discovery and checking of Triq properties.</p>
-<p>To run all tests (including Triq):</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make tests</tt></pre>
-</div></div>
-<p>To run all tests and static checks (including Triq):</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make check</tt></pre>
-</div></div>
-<p>You can also run Triq separately:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make triq</tt></pre>
-</div></div>
-<p>To check properties from a single module:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make triq <font color="#009900">t</font><font color="#990000">=</font>foo_tests</tt></pre>
-</div></div>
-<p>To check a single property:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make triq <font color="#009900">t</font><font color="#990000">=</font>foo_tests<font color="#990000">:</font>bar</tt></pre>
-</div></div>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/proper/">
- PropEr
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/coverage/">
- Code coverage
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/updating.asciidoc b/docs/en/erlang.mk/1/guide/updating.asciidoc
deleted file mode 100644
index f96fed8d..00000000
--- a/docs/en/erlang.mk/1/guide/updating.asciidoc
+++ /dev/null
@@ -1,85 +0,0 @@
-[[updating]]
-== Updating Erlang.mk
-
-This chapter describes how to update the 'erlang.mk' file
-in your repository.
-
-=== Initial bootstrap
-
-The first time you use Erlang.mk, it will bootstrap itself.
-It always uses the most recent version for this, so you don't
-have to update after creating your project.
-
-=== Updating
-
-Later on though, updating becomes a necessity. Erlang.mk
-developers and contributors relentlessly improve the project
-and add new features; it would be a waste not to benefit
-from this.
-
-That's why updating Erlang.mk is so simple. All you need
-to do is to call `make erlang-mk`:
-
-[source,bash]
-----
-$ make erlang-mk
-git clone https://github.com/ninenines/erlang.mk .erlang.mk.build
-Cloning into '.erlang.mk.build'...
-remote: Counting objects: 4035, done.
-remote: Compressing objects: 100% (12/12), done.
-remote: Total 4035 (delta 8), reused 4 (delta 4), pack-reused 4019
-Receiving objects: 100% (4035/4035), 1.10 MiB | 1000.00 KiB/s, done.
-Resolving deltas: 100% (2442/2442), done.
-Checking connectivity... done.
-if [ -f build.config ]; then cp build.config .erlang.mk.build; fi
-cd .erlang.mk.build && make
-make[1]: Entering directory '/home/essen/tmp/emkg/hello_joe/.erlang.mk.build'
-awk 'FNR==1 && NR!=1{print ""}1' core/core.mk index/*.mk core/index.mk core/deps.mk plugins/protobuffs.mk core/erlc.mk core/docs.mk core/test.mk plugins/asciidoc.mk plugins/bootstrap.mk plugins/c_src.mk plugins/ci.mk plugins/ct.mk plugins/dialyzer.mk plugins/edoc.mk plugins/elvis.mk plugins/erlydtl.mk plugins/escript.mk plugins/eunit.mk plugins/relx.mk plugins/shell.mk plugins/triq.mk plugins/xref.mk plugins/cover.mk \
- | sed 's/^ERLANG_MK_VERSION = .*/ERLANG_MK_VERSION = 1.2.0-642-gccd2b9f/' > erlang.mk
-make[1]: Leaving directory '/home/essen/tmp/emkg/hello_joe/.erlang.mk.build'
-cp .erlang.mk.build/erlang.mk ./erlang.mk
-rm -rf .erlang.mk.build
-----
-
-All that's left to do is to commit the file!
-
-Yep, it's that easy.
-
-=== Customizing the build
-
-Erlang.mk allows you to customize which components are to be included
-in the 'erlang.mk' file. The `WITHOUT` variable allows you to
-remove components from the default Erlang.mk build. The 'build.config'
-file lets you define exactly what goes in (including your own code!),
-and in what order.
-
-The `WITHOUT` file contains the list of components to exclude from
-the build. For example, to exclude the package index and the EDoc
-plugin when bootstrapping your application:
-
-[source,bash]
-$ make -f erlang.mk bootstrap WITHOUT="index plugins/edoc"
-
-The generated Erlang.mk will never include those components when
-you update it, until you change your mind and use the `WITHOUT`
-variable again when you upgrade:
-
-[source,bash]
-$ make erlang-mk WITHOUT=index
-
-The 'build.config' file is automatically used when you bootstrap
-Erlang.mk or when you update it with `make erlang-mk`.
-
-The 'build.config' file contains the list of all files that will
-be built into the resulting 'erlang.mk' file. You can start from
-the https://github.com/ninenines/erlang.mk/blob/master/build.config[most recent version]
-and customize to your needs.
-
-You can also name the file differently or put it in a separate folder
-by modifying the value for `ERLANG_MK_BUILD_CONFIG`. You can also
-tell Erlang.mk to use a different temporary directory by changing
-the `ERLANG_MK_BUILD_DIR` variable.
-
-If you want to use a different repository or a specific commit for
-updating, you may use the variables `ERLANG_MK_REPO` and
-`ERLANG_MK_COMMIT`.
diff --git a/docs/en/erlang.mk/1/guide/updating/index.html b/docs/en/erlang.mk/1/guide/updating/index.html
deleted file mode 100644
index ff945845..00000000
--- a/docs/en/erlang.mk/1/guide/updating/index.html
+++ /dev/null
@@ -1,217 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Updating Erlang.mk</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Updating Erlang.mk</span></h1>
-
-<p>This chapter describes how to update the <em>erlang.mk</em> file in your repository.</p>
-<h2 id="_initial_bootstrap">Initial bootstrap</h2>
-<p>The first time you use Erlang.mk, it will bootstrap itself. It always uses the most recent version for this, so you don&apos;t have to update after creating your project.</p>
-<h2 id="_updating">Updating</h2>
-<p>Later on though, updating becomes a necessity. Erlang.mk developers and contributors relentlessly improve the project and add new features; it would be a waste not to benefit from this.</p>
-<p>That&apos;s why updating Erlang.mk is so simple. All you need to do is to call <code>make erlang-mk</code>:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make erlang-mk
-git clone https<font color="#990000">:</font>//github<font color="#990000">.</font>com/ninenines/erlang<font color="#990000">.</font>mk <font color="#990000">.</font>erlang<font color="#990000">.</font>mk<font color="#990000">.</font>build
-Cloning into <font color="#FF0000">'.erlang.mk.build'</font><font color="#990000">...</font>
-remote<font color="#990000">:</font> Counting objects<font color="#990000">:</font> <font color="#993399">4035</font><font color="#990000">,</font> <b><font color="#0000FF">done</font></b><font color="#990000">.</font>
-remote<font color="#990000">:</font> Compressing objects<font color="#990000">:</font> <font color="#993399">100</font><font color="#990000">%</font> <font color="#990000">(</font><font color="#993399">12</font><font color="#990000">/</font><font color="#993399">12</font><font color="#990000">),</font> <b><font color="#0000FF">done</font></b><font color="#990000">.</font>
-remote<font color="#990000">:</font> Total <font color="#993399">4035</font> <font color="#990000">(</font>delta <font color="#993399">8</font><font color="#990000">),</font> reused <font color="#993399">4</font> <font color="#990000">(</font>delta <font color="#993399">4</font><font color="#990000">),</font> pack-reused <font color="#993399">4019</font>
-Receiving objects<font color="#990000">:</font> <font color="#993399">100</font><font color="#990000">%</font> <font color="#990000">(</font><font color="#993399">4035</font><font color="#990000">/</font><font color="#993399">4035</font><font color="#990000">),</font> <font color="#993399">1.10</font> MiB <font color="#990000">|</font> <font color="#993399">1000.00</font> KiB/s<font color="#990000">,</font> <b><font color="#0000FF">done</font></b><font color="#990000">.</font>
-Resolving deltas<font color="#990000">:</font> <font color="#993399">100</font><font color="#990000">%</font> <font color="#990000">(</font><font color="#993399">2442</font><font color="#990000">/</font><font color="#993399">2442</font><font color="#990000">),</font> <b><font color="#0000FF">done</font></b><font color="#990000">.</font>
-Checking connectivity<font color="#990000">...</font> <b><font color="#0000FF">done</font></b><font color="#990000">.</font>
-<b><font color="#0000FF">if</font></b> <font color="#990000">[</font> -f build<font color="#990000">.</font>config <font color="#990000">];</font> <b><font color="#0000FF">then</font></b> cp build<font color="#990000">.</font>config <font color="#990000">.</font>erlang<font color="#990000">.</font>mk<font color="#990000">.</font>build<font color="#990000">;</font> <b><font color="#0000FF">fi</font></b>
-cd <font color="#990000">.</font>erlang<font color="#990000">.</font>mk<font color="#990000">.</font>build <font color="#990000">&amp;&amp;</font> make
-make<font color="#990000">[</font><font color="#993399">1</font><font color="#990000">]:</font> Entering directory <font color="#FF0000">'/home/essen/tmp/emkg/hello_joe/.erlang.mk.build'</font>
-awk <font color="#FF0000">'FNR==1 &amp;&amp; NR!=1{print ""}1'</font> core/core<font color="#990000">.</font>mk index<font color="#990000">/*.</font>mk core/index<font color="#990000">.</font>mk core/deps<font color="#990000">.</font>mk plugins/protobuffs<font color="#990000">.</font>mk core/erlc<font color="#990000">.</font>mk core/docs<font color="#990000">.</font>mk core/test<font color="#990000">.</font>mk plugins/asciidoc<font color="#990000">.</font>mk plugins/bootstrap<font color="#990000">.</font>mk plugins/c_src<font color="#990000">.</font>mk plugins/ci<font color="#990000">.</font>mk plugins/ct<font color="#990000">.</font>mk plugins/dialyzer<font color="#990000">.</font>mk plugins/edoc<font color="#990000">.</font>mk plugins/elvis<font color="#990000">.</font>mk plugins/erlydtl<font color="#990000">.</font>mk plugins/escript<font color="#990000">.</font>mk plugins/eunit<font color="#990000">.</font>mk plugins/relx<font color="#990000">.</font>mk plugins/shell<font color="#990000">.</font>mk plugins/triq<font color="#990000">.</font>mk plugins/xref<font color="#990000">.</font>mk plugins/cover<font color="#990000">.</font>mk <font color="#990000">\</font>
- <font color="#990000">|</font> sed <font color="#FF0000">'s/^ERLANG_MK_VERSION = .*/ERLANG_MK_VERSION = 1.2.0-642-gccd2b9f/'</font> <font color="#990000">&gt;</font> erlang<font color="#990000">.</font>mk
-make<font color="#990000">[</font><font color="#993399">1</font><font color="#990000">]:</font> Leaving directory <font color="#FF0000">'/home/essen/tmp/emkg/hello_joe/.erlang.mk.build'</font>
-cp <font color="#990000">.</font>erlang<font color="#990000">.</font>mk<font color="#990000">.</font>build/erlang<font color="#990000">.</font>mk <font color="#990000">.</font>/erlang<font color="#990000">.</font>mk
-rm -rf <font color="#990000">.</font>erlang<font color="#990000">.</font>mk<font color="#990000">.</font>build</tt></pre>
-</div></div>
-<p>All that&apos;s left to do is to commit the file!</p>
-<p>Yep, it&apos;s that easy.</p>
-<h2 id="_customizing_the_build">Customizing the build</h2>
-<p>Erlang.mk allows you to customize which components are to be included in the <em>erlang.mk</em> file. The <code>WITHOUT</code> variable allows you to remove components from the default Erlang.mk build. The <em>build.config</em> file lets you define exactly what goes in (including your own code!), and in what order.</p>
-<p>The <code>WITHOUT</code> file contains the list of components to exclude from the build. For example, to exclude the package index and the EDoc plugin when bootstrapping your application:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make -f erlang<font color="#990000">.</font>mk bootstrap <font color="#009900">WITHOUT</font><font color="#990000">=</font><font color="#FF0000">"index plugins/edoc"</font></tt></pre>
-</div></div>
-<p>The generated Erlang.mk will never include those components when you update it, until you change your mind and use the <code>WITHOUT</code> variable again when you upgrade:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make erlang-mk <font color="#009900">WITHOUT</font><font color="#990000">=</font>index</tt></pre>
-</div></div>
-<p>The <em>build.config</em> file is automatically used when you bootstrap Erlang.mk or when you update it with <code>make erlang-mk</code>.</p>
-<p>The <em>build.config</em> file contains the list of all files that will be built into the resulting <em>erlang.mk</em> file. You can start from the <a href="https://github.com/ninenines/erlang.mk/blob/master/build.config">most recent version</a> and customize to your needs.</p>
-<p>You can also name the file differently or put it in a separate folder by modifying the value for <code>ERLANG_MK_BUILD_CONFIG</code>. You can also tell Erlang.mk to use a different temporary directory by changing the <code>ERLANG_MK_BUILD_DIR</code> variable.</p>
-<p>If you want to use a different repository or a specific commit for updating, you may use the variables <code>ERLANG_MK_REPO</code> and <code>ERLANG_MK_COMMIT</code>.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/overview/">
- Overview
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/limitations/">
- Limitations
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/why.asciidoc b/docs/en/erlang.mk/1/guide/why.asciidoc
deleted file mode 100644
index e91b64ca..00000000
--- a/docs/en/erlang.mk/1/guide/why.asciidoc
+++ /dev/null
@@ -1,81 +0,0 @@
-[[why]]
-== Why Erlang.mk
-
-Why would you choose Erlang.mk, if not for its
-xref:overview[many features]? This chapter will
-attempt to answer that.
-
-=== Erlang.mk is fast
-
-Erlang.mk is as fast as it gets.
-
-Erlang.mk will group the compilation of files so as to avoid
-running the BEAM more than necessary. This saves many seconds
-compared to traditional Makefiles, even on small projects.
-
-Erlang.mk will not try to be too smart. It provides a simple
-solution that works for most people, and gives additional
-options for projects that run into edge cases, often in the
-form of extra variables or rules to be defined.
-
-=== Erlang.mk gives you the full power of Unix
-
-Erlang.mk is a Makefile.
-
-You could use Erlang.mk directly without configuring anything
-and it would just work. But you can also extend it greatly
-either through configuration or hooks, and you can of course
-add your own rules to the Makefile.
-
-In all cases: for configuration, hooks or custom rules, you
-have all the power of Unix at your disposal, and can call
-any utility _or even any language interpreter_ you want,
-every time you need to. Erlang.mk also allows you to write
-scripts in this small language called Erlang directly inside
-your Makefile if you ever need to...
-
-=== Erlang.mk is a text file
-
-Erlang.mk is a Makefile.
-
-Which means Erlang.mk is a simple text file. You can edit a
-text file. Nothing stops you. If you run into any bug, or
-behavior that does not suit you, you can just open the
-'erlang.mk' file in your favorite editor, fix and/or comment
-a few lines, save, and try again. It's as simple as it gets.
-
-Currently using a binary build tool? Good luck with that.
-
-=== Erlang.mk can manage Erlang itself
-
-Erlang.mk isn't written in Erlang.
-
-That's not a good thing, you say? Well, here's one thing
-that Erlang.mk and Makefiles can do for you that Erlang
-build tool can't easily: choose what version of Erlang is
-to be used for compiling the project.
-
-This really is a one-liner in Erlang.mk (a few more lines
-if you also let it download and build Erlang directly)
-and allows for even greater things, like testing your
-project across all supported Erlang versions in one small
-command: `make -k ci`.
-
-=== Erlang.mk can do more than Erlang
-
-Erlang.mk doesn't care what your dependencies are written in.
-
-Erlang.mk will happily compile any dependency, as long as
-they come with a Makefile. The dependency can be written
-in C, C++ or even Javascript... Who cares, really? If you
-need Erlang.mk to fetch it, then Erlang.mk will fetch it
-and compile it as needed.
-
-=== Erlang.mk integrates nicely in Make and Automake projects
-
-If you are planning to put your project in the middle of
-a Make or Automake-based build environment, then the most
-logical thing to do is to use a Makefile.
-
-Erlang.mk will happily sit in such an environment and behave
-as you expect it to.
diff --git a/docs/en/erlang.mk/1/guide/why/index.html b/docs/en/erlang.mk/1/guide/why/index.html
deleted file mode 100644
index 1cd409a3..00000000
--- a/docs/en/erlang.mk/1/guide/why/index.html
+++ /dev/null
@@ -1,190 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Why Erlang.mk</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Why Erlang.mk</span></h1>
-
-<p>Why would you choose Erlang.mk, if not for its <a href="../overview">many features</a>? This chapter will attempt to answer that.</p>
-<h2 id="_erlang_mk_is_fast">Erlang.mk is fast</h2>
-<p>Erlang.mk is as fast as it gets.</p>
-<p>Erlang.mk will group the compilation of files so as to avoid running the BEAM more than necessary. This saves many seconds compared to traditional Makefiles, even on small projects.</p>
-<p>Erlang.mk will not try to be too smart. It provides a simple solution that works for most people, and gives additional options for projects that run into edge cases, often in the form of extra variables or rules to be defined.</p>
-<h2 id="_erlang_mk_gives_you_the_full_power_of_unix">Erlang.mk gives you the full power of Unix</h2>
-<p>Erlang.mk is a Makefile.</p>
-<p>You could use Erlang.mk directly without configuring anything and it would just work. But you can also extend it greatly either through configuration or hooks, and you can of course add your own rules to the Makefile.</p>
-<p>In all cases: for configuration, hooks or custom rules, you have all the power of Unix at your disposal, and can call any utility <em>or even any language interpreter</em> you want, every time you need to. Erlang.mk also allows you to write scripts in this small language called Erlang directly inside your Makefile if you ever need to...</p>
-<h2 id="_erlang_mk_is_a_text_file">Erlang.mk is a text file</h2>
-<p>Erlang.mk is a Makefile.</p>
-<p>Which means Erlang.mk is a simple text file. You can edit a text file. Nothing stops you. If you run into any bug, or behavior that does not suit you, you can just open the <em>erlang.mk</em> file in your favorite editor, fix and/or comment a few lines, save, and try again. It&apos;s as simple as it gets.</p>
-<p>Currently using a binary build tool? Good luck with that.</p>
-<h2 id="_erlang_mk_can_manage_erlang_itself">Erlang.mk can manage Erlang itself</h2>
-<p>Erlang.mk isn&apos;t written in Erlang.</p>
-<p>That&apos;s not a good thing, you say? Well, here&apos;s one thing that Erlang.mk and Makefiles can do for you that Erlang build tool can&apos;t easily: choose what version of Erlang is to be used for compiling the project.</p>
-<p>This really is a one-liner in Erlang.mk (a few more lines if you also let it download and build Erlang directly) and allows for even greater things, like testing your project across all supported Erlang versions in one small command: <code>make -k ci</code>.</p>
-<h2 id="_erlang_mk_can_do_more_than_erlang">Erlang.mk can do more than Erlang</h2>
-<p>Erlang.mk doesn&apos;t care what your dependencies are written in.</p>
-<p>Erlang.mk will happily compile any dependency, as long as they come with a Makefile. The dependency can be written in C, C++ or even Javascript... Who cares, really? If you need Erlang.mk to fetch it, then Erlang.mk will fetch it and compile it as needed.</p>
-<h2 id="_erlang_mk_integrates_nicely_in_make_and_automake_projects">Erlang.mk integrates nicely in Make and Automake projects</h2>
-<p>If you are planning to put your project in the middle of a Make or Automake-based build environment, then the most logical thing to do is to use a Makefile.</p>
-<p>Erlang.mk will happily sit in such an environment and behave as you expect it to.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/external_plugins_list/">
- List of plugins
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/history/">
- Short history
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/erlang.mk/1/guide/xref.asciidoc b/docs/en/erlang.mk/1/guide/xref.asciidoc
deleted file mode 100644
index 44ed1908..00000000
--- a/docs/en/erlang.mk/1/guide/xref.asciidoc
+++ /dev/null
@@ -1,6 +0,0 @@
-[[xref]]
-== Xref
-
-// @todo Write it.
-
-Placeholder chapter.
diff --git a/docs/en/erlang.mk/1/guide/xref/index.html b/docs/en/erlang.mk/1/guide/xref/index.html
deleted file mode 100644
index 88fd8d89..00000000
--- a/docs/en/erlang.mk/1/guide/xref/index.html
+++ /dev/null
@@ -1,169 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Xref</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Xref</span></h1>
-
-<!-- @todo Write it.-->
-<p>Placeholder chapter.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/dialyzer/">
- Dialyzer
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/erlang.mk/1/guide/external_plugins/">
- External plugins
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Erlang.mk
- 1
-
- User Guide
-</h3>
-
-<ul>
-
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/erlang.mk/1/guide">1</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.2/guide/embedded.asciidoc b/docs/en/ranch/1.2/guide/embedded.asciidoc
deleted file mode 100644
index 593a8079..00000000
--- a/docs/en/ranch/1.2/guide/embedded.asciidoc
+++ /dev/null
@@ -1,48 +0,0 @@
-== Embedded mode
-
-Embedded mode allows you to insert Ranch listeners directly
-in your supervision tree. This allows for greater fault tolerance
-control by permitting the shutdown of a listener due to the
-failure of another part of the application and vice versa.
-
-=== Embedding
-
-To embed Ranch in your application you can simply add the child specs
-to your supervision tree. This can all be done in the `init/1` function
-of one of your application supervisors.
-
-Ranch requires at the minimum two kinds of child specs for embedding.
-First, you need to add `ranch_sup` to your supervision tree, only once,
-regardless of the number of listeners you will use. Then you need to
-add the child specs for each listener.
-
-Ranch has a convenience function for getting the listeners child specs
-called `ranch:child_spec/6`, that works like `ranch:start_listener/6`,
-except that it doesn't start anything, it only returns child specs.
-
-As for `ranch_sup`, the child spec is simple enough to not require a
-convenience function.
-
-The following example adds both `ranch_sup` and one listener to another
-application's supervision tree.
-
-.Embed Ranch directly in your supervision tree
-
-[source,erlang]
-----
-init([]) ->
- RanchSupSpec = {ranch_sup, {ranch_sup, start_link, []},
- permanent, 5000, supervisor, [ranch_sup]},
- ListenerSpec = ranch:child_spec(echo, 100,
- ranch_tcp, [{port, 5555}],
- echo_protocol, []
- ),
- {ok, {{one_for_one, 10, 10}, [RanchSupSpec, ListenerSpec]}}.
-----
-
-Remember, you can add as many listener child specs as needed, but only
-one `ranch_sup` spec!
-
-It is recommended that your architecture makes sure that all listeners
-are restarted if `ranch_sup` fails. See the Ranch internals chapter for
-more details on how Ranch does it.
diff --git a/docs/en/ranch/1.2/guide/listeners.asciidoc b/docs/en/ranch/1.2/guide/listeners.asciidoc
deleted file mode 100644
index ef2d49c7..00000000
--- a/docs/en/ranch/1.2/guide/listeners.asciidoc
+++ /dev/null
@@ -1,251 +0,0 @@
-== Listeners
-
-A listener is a set of processes whose role is to listen on a port
-for new connections. It manages a pool of acceptor processes, each
-of them indefinitely accepting connections. When it does, it starts
-a new process executing the protocol handler code. All the socket
-programming is abstracted through the user of transport handlers.
-
-The listener takes care of supervising all the acceptor and connection
-processes, allowing developers to focus on building their application.
-
-=== Starting a listener
-
-Ranch does nothing by default. It is up to the application developer
-to request that Ranch listens for connections.
-
-A listener can be started and stopped at will.
-
-When starting a listener, a number of different settings are required:
-
-* A name to identify it locally and be able to interact with it.
-* The number of acceptors in the pool.
-* A transport handler and its associated options.
-* A protocol handler and its associated options.
-
-Ranch includes both TCP and SSL transport handlers, respectively
-`ranch_tcp` and `ranch_ssl`.
-
-A listener can be started by calling the `ranch:start_listener/6`
-function. Before doing so however, you must ensure that the `ranch`
-application is started.
-
-.Starting the Ranch application
-
-[source,erlang]
-ok = application:start(ranch).
-
-You are then ready to start a listener. Let's call it `tcp_echo`. It will
-have a pool of 100 acceptors, use a TCP transport and forward connections
-to the `echo_protocol` handler.
-
-.Starting a listener for TCP connections on port 5555
-
-[source,erlang]
-{ok, _} = ranch:start_listener(tcp_echo, 100,
- ranch_tcp, [{port, 5555}],
- echo_protocol, []
-).
-
-You can try this out by compiling and running the `tcp_echo` example in the
-examples directory. To do so, open a shell in the 'examples/tcp_echo/'
-directory and run the following command:
-
-.Building and starting a Ranch example
-
-[source,bash]
-$ make run
-
-You can then connect to it using telnet and see the echo server reply
-everything you send to it. Then when you're done testing, you can use
-the `Ctrl+]` key to escape to the telnet command line and type
-`quit` to exit.
-
-.Connecting to the example listener with telnet
-
-[source,bash]
-----
-$ telnet localhost 5555
-Trying 127.0.0.1...
-Connected to localhost.
-Escape character is '^]'.
-Hello!
-Hello!
-It works!
-It works!
-^]
-
-telnet> quit
-Connection closed.
-----
-
-=== Stopping a listener
-
-All you need to stop a Ranch listener is to call the
-`ranch:stop_listener/1` function with the listener's name
-as argument. In the previous section we started the listener
-named `tcp_echo`. We can now stop it.
-
-.Stopping a listener
-
-[source,erlang]
-ranch:stop_listener(tcp_echo).
-
-=== Default transport options
-
-By default the socket will be set to return `binary` data, with the
-options `{active, false}`, `{packet, raw}`, `{reuseaddr, true}` set.
-These values can't be overriden when starting the listener, but
-they can be overriden using `Transport:setopts/2` in the protocol.
-
-It will also set `{backlog, 1024}` and `{nodelay, true}`, which
-can be overriden at listener startup.
-
-=== Listening on a random port
-
-You do not have to specify a specific port to listen on. If you give
-the port number 0, or if you omit the port number entirely, Ranch will
-start listening on a random port.
-
-You can retrieve this port number by calling `ranch:get_port/1`. The
-argument is the name of the listener you gave in `ranch:start_listener/6`.
-
-.Starting a listener for TCP connections on a random port
-
-[source,erlang]
-{ok, _} = ranch:start_listener(tcp_echo, 100,
- ranch_tcp, [{port, 0}],
- echo_protocol, []
-).
-Port = ranch:get_port(tcp_echo).
-
-=== Listening on privileged ports
-
-Some systems limit access to ports below 1024 for security reasons.
-This can easily be identified by an `{error, eacces}` error when trying
-to open a listening socket on such a port.
-
-The methods for listening on privileged ports vary between systems,
-please refer to your system's documentation for more information.
-
-We recommend the use of port rewriting for systems with a single server,
-and load balancing for systems with multiple servers. Documenting these
-solutions is however out of the scope of this guide.
-
-=== Accepting connections on an existing socket
-
-If you want to accept connections on an existing socket, you can use the
-`socket` transport option, which should just be the relevant data returned
-from the connect function for the transport or the underlying socket library
-(`gen_tcp:connect`, `ssl:connect`). The accept function will then be
-called on the passed in socket. You should connect the socket in
-`{active, false}` mode, as well.
-
-Note, however, that because of a bug in SSL, you cannot change ownership of an
-SSL listen socket prior to R16. Ranch will catch the error thrown, but the
-owner of the SSL socket will remain as whatever process created the socket.
-However, this will not affect accept behaviour unless the owner process dies,
-in which case the socket is closed. Therefore, to use this feature with SSL
-with an erlang release prior to R16, ensure that the SSL socket is opened in a
-persistant process.
-
-=== Limiting the number of concurrent connections
-
-The `max_connections` transport option allows you to limit the number
-of concurrent connections. It defaults to 1024. Its purpose is to
-prevent your system from being overloaded and ensuring all the
-connections are handled optimally.
-
-.Customizing the maximum number of concurrent connections
-
-[source,erlang]
-{ok, _} = ranch:start_listener(tcp_echo, 100,
- ranch_tcp, [{port, 5555}, {max_connections, 100}],
- echo_protocol, []
-).
-
-You can disable this limit by setting its value to the atom `infinity`.
-
-.Disabling the limit for the number of connections
-
-[source,erlang]
-{ok, _} = ranch:start_listener(tcp_echo, 100,
- ranch_tcp, [{port, 5555}, {max_connections, infinity}],
- echo_protocol, []
-).
-
-You may not always want connections to be counted when checking for
-`max_connections`. For example you might have a protocol where both
-short-lived and long-lived connections are possible. If the long-lived
-connections are mostly waiting for messages, then they don't consume
-much resources and can safely be removed from the count.
-
-To remove the connection from the count, you must call the
-`ranch:remove_connection/1` from within the connection process,
-with the name of the listener as the only argument.
-
-.Removing a connection from the count of connections
-
-[source,erlang]
-ranch:remove_connection(Ref).
-
-As seen in the chapter covering protocols, this pid is received as the
-first argument of the protocol's `start_link/4` callback.
-
-You can modify the `max_connections` value on a running listener by
-using the `ranch:set_max_connections/2` function, with the name of the
-listener as first argument and the new value as the second.
-
-.Upgrading the maximum number of connections
-
-[source,erlang]
-ranch:set_max_connections(tcp_echo, MaxConns).
-
-The change will occur immediately.
-
-=== Using a supervisor for connection processes
-
-Ranch allows you to define the type of process that will be used
-for the connection processes. By default it expects a `worker`.
-When the `connection_type` configuration value is set to `supervisor`,
-Ranch will consider that the connection process it manages is a
-supervisor and will reflect that in its supervision tree.
-
-Connection processes of type `supervisor` can either handle the
-socket directly or through one of their children. In the latter
-case the start function for the connection process must return
-two pids: the pid of the supervisor you created (that will be
-supervised) and the pid of the protocol handling process (that
-will receive the socket).
-
-Instead of returning `{ok, ConnPid}`, simply return
-`{ok, SupPid, ConnPid}`.
-
-It is very important that the connection process be created
-under the supervisor process so that everything works as intended.
-If not, you will most likely experience issues when the supervised
-process is stopped.
-
-=== Upgrading
-
-Ranch allows you to upgrade the protocol options. This takes effect
-immediately and for all subsequent connections.
-
-To upgrade the protocol options, call `ranch:set_protocol_options/2`
-with the name of the listener as first argument and the new options
-as the second.
-
-.Upgrading the protocol options
-
-[source,erlang]
-ranch:set_protocol_options(tcp_echo, NewOpts).
-
-All future connections will use the new options.
-
-You can also retrieve the current options similarly by
-calling `ranch:get_protocol_options/1`.
-
-.Retrieving the current protocol options
-
-[source,erlang]
-Opts = ranch:get_protocol_options(tcp_echo).
diff --git a/docs/en/ranch/1.2/guide/listeners/index.html b/docs/en/ranch/1.2/guide/listeners/index.html
deleted file mode 100644
index 6bda95c9..00000000
--- a/docs/en/ranch/1.2/guide/listeners/index.html
+++ /dev/null
@@ -1,342 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Listeners</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Listeners</span></h1>
-
-<p>A listener is a set of processes whose role is to listen on a port for new connections. It manages a pool of acceptor processes, each of them indefinitely accepting connections. When it does, it starts a new process executing the protocol handler code. All the socket programming is abstracted through the user of transport handlers.</p>
-<p>The listener takes care of supervising all the acceptor and connection processes, allowing developers to focus on building their application.</p>
-<h2 id="_starting_a_listener">Starting a listener</h2>
-<p>Ranch does nothing by default. It is up to the application developer to request that Ranch listens for connections.</p>
-<p>A listener can be started and stopped at will.</p>
-<p>When starting a listener, a number of different settings are required:</p>
-<ul><li>A name to identify it locally and be able to interact with it.
-</li>
-<li>The number of acceptors in the pool.
-</li>
-<li>A transport handler and its associated options.
-</li>
-<li>A protocol handler and its associated options.
-</li>
-</ul>
-<p>Ranch includes both TCP and SSL transport handlers, respectively <code>ranch_tcp</code> and <code>ranch_ssl</code>.</p>
-<p>A listener can be started by calling the <code>ranch:start_listener/6</code> function. Before doing so however, you must ensure that the <code>ranch</code> application is started.</p>
-<div class="listingblock"><div class="title">Starting the Ranch application</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">application:start</font></b>(<font color="#FF6600">ranch</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You are then ready to start a listener. Let&apos;s call it <code>tcp_echo</code>. It will have a pool of 100 acceptors, use a TCP transport and forward connections to the <code>echo_protocol</code> handler.</p>
-<div class="listingblock"><div class="title">Starting a listener for TCP connections on port 5555</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">tcp_echo</font>, <font color="#993399">100</font>,
- <font color="#FF6600">ranch_tcp</font>, [{<font color="#FF6600">port</font>, <font color="#993399">5555</font>}],
- <font color="#FF6600">echo_protocol</font>, []
-)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You can try this out by compiling and running the <code>tcp_echo</code> example in the examples directory. To do so, open a shell in the <em>examples/tcp_echo/</em> directory and run the following command:</p>
-<div class="listingblock"><div class="title">Building and starting a Ranch example</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ make run</tt></pre>
-</div></div>
-<p>You can then connect to it using telnet and see the echo server reply everything you send to it. Then when you&apos;re done testing, you can use the <code>Ctrl+]</code> key to escape to the telnet command line and type <code>quit</code> to exit.</p>
-<div class="listingblock"><div class="title">Connecting to the example listener with telnet</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>$ telnet localhost <font color="#993399">5555</font>
-Trying <font color="#993399">127.0</font><font color="#990000">.</font><font color="#993399">0.1</font><font color="#990000">...</font>
-Connected to localhost<font color="#990000">.</font>
-Escape character is <font color="#FF0000">'^]'</font><font color="#990000">.</font>
-Hello<font color="#990000">!</font>
-Hello<font color="#990000">!</font>
-It works<font color="#990000">!</font>
-It works<font color="#990000">!</font>
-<font color="#990000">^]</font>
-
-telnet<font color="#990000">&gt;</font> quit
-Connection closed<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_stopping_a_listener">Stopping a listener</h2>
-<p>All you need to stop a Ranch listener is to call the <code>ranch:stop_listener/1</code> function with the listener&apos;s name as argument. In the previous section we started the listener named <code>tcp_echo</code>. We can now stop it.</p>
-<div class="listingblock"><div class="title">Stopping a listener</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">ranch:stop_listener</font></b>(<font color="#FF6600">tcp_echo</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_default_transport_options">Default transport options</h2>
-<p>By default the socket will be set to return <code>binary</code> data, with the options <code>{active, false}</code>, <code>{packet, raw}</code>, <code>{reuseaddr, true}</code> set. These values can&apos;t be overriden when starting the listener, but they can be overriden using <code>Transport:setopts/2</code> in the protocol.</p>
-<p>It will also set <code>{backlog, 1024}</code> and <code>{nodelay, true}</code>, which can be overriden at listener startup.</p>
-<h2 id="_listening_on_a_random_port">Listening on a random port</h2>
-<p>You do not have to specify a specific port to listen on. If you give the port number 0, or if you omit the port number entirely, Ranch will start listening on a random port.</p>
-<p>You can retrieve this port number by calling <code>ranch:get_port/1</code>. The argument is the name of the listener you gave in <code>ranch:start_listener/6</code>.</p>
-<div class="listingblock"><div class="title">Starting a listener for TCP connections on a random port</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">tcp_echo</font>, <font color="#993399">100</font>,
- <font color="#FF6600">ranch_tcp</font>, [{<font color="#FF6600">port</font>, <font color="#993399">0</font>}],
- <font color="#FF6600">echo_protocol</font>, []
-)<font color="#990000">.</font>
-<font color="#009900">Port</font> <font color="#990000">=</font> <b><font color="#000000">ranch:get_port</font></b>(<font color="#FF6600">tcp_echo</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_listening_on_privileged_ports">Listening on privileged ports</h2>
-<p>Some systems limit access to ports below 1024 for security reasons. This can easily be identified by an <code>{error, eacces}</code> error when trying to open a listening socket on such a port.</p>
-<p>The methods for listening on privileged ports vary between systems, please refer to your system&apos;s documentation for more information.</p>
-<p>We recommend the use of port rewriting for systems with a single server, and load balancing for systems with multiple servers. Documenting these solutions is however out of the scope of this guide.</p>
-<h2 id="_accepting_connections_on_an_existing_socket">Accepting connections on an existing socket</h2>
-<p>If you want to accept connections on an existing socket, you can use the <code>socket</code> transport option, which should just be the relevant data returned from the connect function for the transport or the underlying socket library (<code>gen_tcp:connect</code>, <code>ssl:connect</code>). The accept function will then be called on the passed in socket. You should connect the socket in <code>{active, false}</code> mode, as well.</p>
-<p>Note, however, that because of a bug in SSL, you cannot change ownership of an SSL listen socket prior to R16. Ranch will catch the error thrown, but the owner of the SSL socket will remain as whatever process created the socket. However, this will not affect accept behaviour unless the owner process dies, in which case the socket is closed. Therefore, to use this feature with SSL with an erlang release prior to R16, ensure that the SSL socket is opened in a persistant process.</p>
-<h2 id="_limiting_the_number_of_concurrent_connections">Limiting the number of concurrent connections</h2>
-<p>The <code>max_connections</code> transport option allows you to limit the number of concurrent connections. It defaults to 1024. Its purpose is to prevent your system from being overloaded and ensuring all the connections are handled optimally.</p>
-<div class="listingblock"><div class="title">Customizing the maximum number of concurrent connections</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">tcp_echo</font>, <font color="#993399">100</font>,
- <font color="#FF6600">ranch_tcp</font>, [{<font color="#FF6600">port</font>, <font color="#993399">5555</font>}, {<font color="#FF6600">max_connections</font>, <font color="#993399">100</font>}],
- <font color="#FF6600">echo_protocol</font>, []
-)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You can disable this limit by setting its value to the atom <code>infinity</code>.</p>
-<div class="listingblock"><div class="title">Disabling the limit for the number of connections</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">tcp_echo</font>, <font color="#993399">100</font>,
- <font color="#FF6600">ranch_tcp</font>, [{<font color="#FF6600">port</font>, <font color="#993399">5555</font>}, {<font color="#FF6600">max_connections</font>, <font color="#FF6600">infinity</font>}],
- <font color="#FF6600">echo_protocol</font>, []
-)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You may not always want connections to be counted when checking for <code>max_connections</code>. For example you might have a protocol where both short-lived and long-lived connections are possible. If the long-lived connections are mostly waiting for messages, then they don&apos;t consume much resources and can safely be removed from the count.</p>
-<p>To remove the connection from the count, you must call the <code>ranch:remove_connection/1</code> from within the connection process, with the name of the listener as the only argument.</p>
-<div class="listingblock"><div class="title">Removing a connection from the count of connections</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">ranch:remove_connection</font></b>(<font color="#009900">Ref</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>As seen in the chapter covering protocols, this pid is received as the first argument of the protocol&apos;s <code>start_link/4</code> callback.</p>
-<p>You can modify the <code>max_connections</code> value on a running listener by using the <code>ranch:set_max_connections/2</code> function, with the name of the listener as first argument and the new value as the second.</p>
-<div class="listingblock"><div class="title">Upgrading the maximum number of connections</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">ranch:set_max_connections</font></b>(<font color="#FF6600">tcp_echo</font>, <font color="#009900">MaxConns</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The change will occur immediately.</p>
-<h2 id="_using_a_supervisor_for_connection_processes">Using a supervisor for connection processes</h2>
-<p>Ranch allows you to define the type of process that will be used for the connection processes. By default it expects a <code>worker</code>. When the <code>connection_type</code> configuration value is set to <code>supervisor</code>, Ranch will consider that the connection process it manages is a supervisor and will reflect that in its supervision tree.</p>
-<p>Connection processes of type <code>supervisor</code> can either handle the socket directly or through one of their children. In the latter case the start function for the connection process must return two pids: the pid of the supervisor you created (that will be supervised) and the pid of the protocol handling process (that will receive the socket).</p>
-<p>Instead of returning <code>{ok, ConnPid}</code>, simply return <code>{ok, SupPid, ConnPid}</code>.</p>
-<p>It is very important that the connection process be created under the supervisor process so that everything works as intended. If not, you will most likely experience issues when the supervised process is stopped.</p>
-<h2 id="_upgrading">Upgrading</h2>
-<p>Ranch allows you to upgrade the protocol options. This takes effect immediately and for all subsequent connections.</p>
-<p>To upgrade the protocol options, call <code>ranch:set_protocol_options/2</code> with the name of the listener as first argument and the new options as the second.</p>
-<div class="listingblock"><div class="title">Upgrading the protocol options</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">ranch:set_protocol_options</font></b>(<font color="#FF6600">tcp_echo</font>, <font color="#009900">NewOpts</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>All future connections will use the new options.</p>
-<p>You can also retrieve the current options similarly by calling <code>ranch:get_protocol_options/1</code>.</p>
-<div class="listingblock"><div class="title">Retrieving the current protocol options</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Opts</font> <font color="#990000">=</font> <b><font color="#000000">ranch:get_protocol_options</font></b>(<font color="#FF6600">tcp_echo</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/ranch/1.2/guide/introduction/">
- Introduction
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/ranch/1.2/guide/transports/">
- Transports
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Ranch
- 1.2
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/ranch/1.2/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.2/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
-
- <li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
-
- <li><a href="/docs/en/ranch/1.5/guide">1.5</a></li>
-
- <li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
-
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.2/guide/parsers.asciidoc b/docs/en/ranch/1.2/guide/parsers.asciidoc
deleted file mode 100644
index 9eacbfa9..00000000
--- a/docs/en/ranch/1.2/guide/parsers.asciidoc
+++ /dev/null
@@ -1,92 +0,0 @@
-== Writing parsers
-
-There are three kinds of protocols:
-
-* Text protocols
-* Schema-less binary protocols
-* Schema-based binary protocols
-
-This chapter introduces the first two kinds. It will not cover
-more advanced topics such as continuations or parser generators.
-
-This chapter isn't specifically about Ranch, we assume here that
-you know how to read data from the socket. The data you read and
-the data that hasn't been parsed is saved in a buffer. Every
-time you read from the socket, the data read is appended to the
-buffer. What happens next depends on the kind of protocol. We
-will only cover the first two.
-
-=== Parsing text
-
-Text protocols are generally line based. This means that we can't
-do anything with them until we receive the full line.
-
-A simple way to get a full line is to use `binary:split/{2,3}`.
-
-.Using binary:split/2 to get a line of input
-
-[source,erlang]
-case binary:split(Buffer, <<"\n">>) of
- [_] ->
- get_more_data(Buffer);
- [Line, Rest] ->
- handle_line(Line, Rest)
-end.
-
-In the above example, we can have two results. Either there was
-a line break in the buffer and we get it split into two parts,
-the line and the rest of the buffer; or there was no line break
-in the buffer and we need to get more data from the socket.
-
-Next, we need to parse the line. The simplest way is to again
-split, here on space. The difference is that we want to split
-on all spaces character, as we want to tokenize the whole string.
-
-.Using binary:split/3 to split text
-
-[source,erlang]
-case binary:split(Line, <<" ">>, [global]) of
- [<<"HELLO">>] ->
- be_polite();
- [<<"AUTH">>, User, Password] ->
- authenticate_user(User, Password);
- [<<"QUIT">>, Reason] ->
- quit(Reason)
- %% ...
-end.
-
-Pretty simple, right? Match on the command name, get the rest
-of the tokens in variables and call the respective functions.
-
-After doing this, you will want to check if there is another
-line in the buffer, and handle it immediately if any.
-Otherwise wait for more data.
-
-=== Parsing binary
-
-Binary protocols can be more varied, although most of them are
-pretty similar. The first four bytes of a frame tend to be
-the size of the frame, which is followed by a certain number
-of bytes for the type of frame and then various parameters.
-
-Sometimes the size of the frame includes the first four bytes,
-sometimes not. Other times this size is encoded over two bytes.
-And even other times little-endian is used instead of big-endian.
-
-The general idea stays the same though.
-
-.Using binary pattern matching to split frames
-
-[source,erlang]
-<< Size:32, _/bits >> = Buffer,
-case Buffer of
- << Frame:Size/binary, Rest/bits >> ->
- handle_frame(Frame, Rest);
- _ ->
- get_more_data(Buffer)
-end.
-
-You will then need to parse this frame using binary pattern
-matching, and handle it. Then you will want to check if there
-is another frame fully received in the buffer, and handle it
-immediately if any. Otherwise wait for more data.
diff --git a/docs/en/ranch/1.2/guide/protocols.asciidoc b/docs/en/ranch/1.2/guide/protocols.asciidoc
deleted file mode 100644
index 80603432..00000000
--- a/docs/en/ranch/1.2/guide/protocols.asciidoc
+++ /dev/null
@@ -1,125 +0,0 @@
-== Protocols
-
-A protocol handler starts a connection process and defines the
-protocol logic executed in this process.
-
-=== Writing a protocol handler
-
-All protocol handlers must implement the `ranch_protocol` behavior
-which defines a single callback, `start_link/4`. This callback is
-responsible for spawning a new process for handling the connection.
-It receives four arguments: the name of the listener, the socket, the
-transport handler being used and the protocol options defined in
-the call to `ranch:start_listener/6`. This callback must
-return `{ok, Pid}`, with `Pid` the pid of the new process.
-
-The newly started process can then freely initialize itself. However,
-it must call `ranch:accept_ack/1` before doing any socket operation.
-This will ensure the connection process is the owner of the socket.
-It expects the listener's name as argument.
-
-.Acknowledge accepting the socket
-
-[source,erlang]
-ok = ranch:accept_ack(Ref).
-
-If your protocol code requires specific socket options, you should
-set them while initializing your connection process, after
-calling `ranch:accept_ack/1`. You can use `Transport:setopts/2`
-for that purpose.
-
-Following is the complete protocol code for the example found
-in `examples/tcp_echo/`.
-
-.Protocol module that echoes everything it receives
-
-[source,erlang]
-----
--module(echo_protocol).
--behaviour(ranch_protocol).
-
--export([start_link/4]).
--export([init/4]).
-
-start_link(Ref, Socket, Transport, Opts) ->
- Pid = spawn_link(?MODULE, init, [Ref, Socket, Transport, Opts]),
- {ok, Pid}.
-
-init(Ref, Socket, Transport, _Opts = []) ->
- ok = ranch:accept_ack(Ref),
- loop(Socket, Transport).
-
-loop(Socket, Transport) ->
- case Transport:recv(Socket, 0, 5000) of
- {ok, Data} ->
- Transport:send(Socket, Data),
- loop(Socket, Transport);
- _ ->
- ok = Transport:close(Socket)
- end.
-----
-
-=== Using gen_server
-
-Special processes like the ones that use the `gen_server` or `gen_fsm`
-behaviours have the particularity of having their `start_link` call not
-return until the `init` function returns. This is problematic, because
-you won't be able to call `ranch:accept_ack/1` from the `init` callback
-as this would cause a deadlock to happen.
-
-There are two ways of solving this problem.
-
-The first, and probably the most elegant one, is to make use of the
-`gen_server:enter_loop/3` function. It allows you to start your process
-normally (although it must be started with `proc_lib` like all special
-processes), then perform any needed operations before falling back into
-the normal `gen_server` execution loop.
-
-.Use a gen_server for protocol handling
-
-[source,erlang]
-----
--module(my_protocol).
--behaviour(gen_server).
--behaviour(ranch_protocol).
-
--export([start_link/4]).
--export([init/4]).
-%% Exports of other gen_server callbacks here.
-
-start_link(Ref, Socket, Transport, Opts) ->
- proc_lib:start_link(?MODULE, init, [Ref, Socket, Transport, Opts]).
-
-init(Ref, Socket, Transport, _Opts = []) ->
- ok = proc_lib:init_ack({ok, self()}),
- %% Perform any required state initialization here.
- ok = ranch:accept_ack(Ref),
- ok = Transport:setopts(Socket, [{active, once}]),
- gen_server:enter_loop(?MODULE, [], {state, Socket, Transport}).
-
-%% Other gen_server callbacks here.
-----
-
-The second method involves triggering a timeout just after `gen_server:init`
-ends. If you return a timeout value of `0` then the `gen_server` will call
-`handle_info(timeout, _, _)` right away.
-
-.Use a gen_server for protocol handling, method 2
-
-[source,erlang]
-----
--module(my_protocol).
--behaviour(gen_server).
--behaviour(ranch_protocol).
-
-%% Exports go here.
-
-init([Ref, Socket, Transport]) ->
- {ok, {state, Ref, Socket, Transport}, 0}.
-
-handle_info(timeout, State={state, Ref, Socket, Transport}) ->
- ok = ranch:accept_ack(Ref),
- ok = Transport:setopts(Socket, [{active, once}]),
- {noreply, State};
-%% ...
-----
diff --git a/docs/en/ranch/1.2/guide/protocols/index.html b/docs/en/ranch/1.2/guide/protocols/index.html
deleted file mode 100644
index 8d6f0ee4..00000000
--- a/docs/en/ranch/1.2/guide/protocols/index.html
+++ /dev/null
@@ -1,272 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Protocols</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Protocols</span></h1>
-
-<p>A protocol handler starts a connection process and defines the protocol logic executed in this process.</p>
-<h2 id="_writing_a_protocol_handler">Writing a protocol handler</h2>
-<p>All protocol handlers must implement the <code>ranch_protocol</code> behavior which defines a single callback, <code>start_link/4</code>. This callback is responsible for spawning a new process for handling the connection. It receives four arguments: the name of the listener, the socket, the transport handler being used and the protocol options defined in the call to <code>ranch:start_listener/6</code>. This callback must return <code>{ok, Pid}</code>, with <code>Pid</code> the pid of the new process.</p>
-<p>The newly started process can then freely initialize itself. However, it must call <code>ranch:accept_ack/1</code> before doing any socket operation. This will ensure the connection process is the owner of the socket. It expects the listener&apos;s name as argument.</p>
-<div class="listingblock"><div class="title">Acknowledge accepting the socket</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:accept_ack</font></b>(<font color="#009900">Ref</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>If your protocol code requires specific socket options, you should set them while initializing your connection process, after calling <code>ranch:accept_ack/1</code>. You can use <code>Transport:setopts/2</code> for that purpose.</p>
-<p>Following is the complete protocol code for the example found in <code>examples/tcp_echo/</code>.</p>
-<div class="listingblock"><div class="title">Protocol module that echoes everything it receives</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000080">-module</font></b>(<font color="#FF6600">echo_protocol</font>)<font color="#990000">.</font>
-<b><font color="#000080">-behaviour</font></b>(<font color="#FF6600">ranch_protocol</font>)<font color="#990000">.</font>
-
-<b><font color="#000080">-export</font></b>([<b><font color="#000000">start_link</font></b><font color="#990000">/</font><font color="#993399">4</font>])<font color="#990000">.</font>
-<b><font color="#000080">-export</font></b>([<b><font color="#000000">init</font></b><font color="#990000">/</font><font color="#993399">4</font>])<font color="#990000">.</font>
-
-<b><font color="#000000">start_link</font></b>(<font color="#009900">Ref</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Pid</font> <font color="#990000">=</font> <b><font color="#000080">spawn_link</font></b>(<b><font color="#000080">?MODULE</font></b>, <font color="#FF6600">init</font>, [<font color="#009900">Ref</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>]),
- {<font color="#FF6600">ok</font>, <font color="#009900">Pid</font>}<font color="#990000">.</font>
-
-<b><font color="#000000">init</font></b>(<font color="#009900">Ref</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>, <font color="#009900">_Opts</font> <font color="#990000">=</font> []) <font color="#990000">-&gt;</font>
- <font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:accept_ack</font></b>(<font color="#009900">Ref</font>),
- <b><font color="#000000">loop</font></b>(<font color="#009900">Socket</font>, <font color="#009900">Transport</font>)<font color="#990000">.</font>
-
-<b><font color="#000000">loop</font></b>(<font color="#009900">Socket</font>, <font color="#009900">Transport</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">recv</font></b>(<font color="#009900">Socket</font>, <font color="#993399">0</font>, <font color="#993399">5000</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">ok</font>, <font color="#009900">Data</font>} <font color="#990000">-&gt;</font>
- <font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">send</font></b>(<font color="#009900">Socket</font>, <font color="#009900">Data</font>),
- <b><font color="#000000">loop</font></b>(<font color="#009900">Socket</font>, <font color="#009900">Transport</font>);
- <font color="#990000">_</font> <font color="#990000">-&gt;</font>
- <font color="#0000FF">ok</font> <font color="#990000">=</font> <font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">close</font></b>(<font color="#009900">Socket</font>)
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_using_gen_server">Using gen_server</h2>
-<p>Special processes like the ones that use the <code>gen_server</code> or <code>gen_fsm</code> behaviours have the particularity of having their <code>start_link</code> call not return until the <code>init</code> function returns. This is problematic, because you won&apos;t be able to call <code>ranch:accept_ack/1</code> from the <code>init</code> callback as this would cause a deadlock to happen.</p>
-<p>There are two ways of solving this problem.</p>
-<p>The first, and probably the most elegant one, is to make use of the <code>gen_server:enter_loop/3</code> function. It allows you to start your process normally (although it must be started with <code>proc_lib</code> like all special processes), then perform any needed operations before falling back into the normal <code>gen_server</code> execution loop.</p>
-<div class="listingblock"><div class="title">Use a gen_server for protocol handling</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000080">-module</font></b>(<font color="#FF6600">my_protocol</font>)<font color="#990000">.</font>
-<b><font color="#000080">-behaviour</font></b>(<font color="#FF6600">gen_server</font>)<font color="#990000">.</font>
-<b><font color="#000080">-behaviour</font></b>(<font color="#FF6600">ranch_protocol</font>)<font color="#990000">.</font>
-
-<b><font color="#000080">-export</font></b>([<b><font color="#000000">start_link</font></b><font color="#990000">/</font><font color="#993399">4</font>])<font color="#990000">.</font>
-<b><font color="#000080">-export</font></b>([<b><font color="#000000">init</font></b><font color="#990000">/</font><font color="#993399">4</font>])<font color="#990000">.</font>
-<i><font color="#9A1900">%% Exports of other gen_server callbacks here.</font></i>
-
-<b><font color="#000000">start_link</font></b>(<font color="#009900">Ref</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font>
- <b><font color="#000000">proc_lib:start_link</font></b>(<b><font color="#000080">?MODULE</font></b>, <font color="#FF6600">init</font>, [<font color="#009900">Ref</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>])<font color="#990000">.</font>
-
-<b><font color="#000000">init</font></b>(<font color="#009900">Ref</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>, <font color="#009900">_Opts</font> <font color="#990000">=</font> []) <font color="#990000">-&gt;</font>
- <font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">proc_lib:init_ack</font></b>({<font color="#FF6600">ok</font>, <b><font color="#000080">self</font></b>()}),
- <i><font color="#9A1900">%% Perform any required state initialization here.</font></i>
- <font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:accept_ack</font></b>(<font color="#009900">Ref</font>),
- <font color="#0000FF">ok</font> <font color="#990000">=</font> <font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">setopts</font></b>(<font color="#009900">Socket</font>, [{<font color="#FF6600">active</font>, <font color="#FF6600">once</font>}]),
- <b><font color="#000000">gen_server:enter_loop</font></b>(<b><font color="#000080">?MODULE</font></b>, [], {<font color="#FF6600">state</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>})<font color="#990000">.</font>
-
-<i><font color="#9A1900">%% Other gen_server callbacks here.</font></i></tt></pre>
-</div></div>
-<p>The second method involves triggering a timeout just after <code>gen_server:init</code> ends. If you return a timeout value of <code>0</code> then the <code>gen_server</code> will call <code>handle_info(timeout, _, _)</code> right away.</p>
-<div class="listingblock"><div class="title">Use a gen_server for protocol handling, method 2</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000080">-module</font></b>(<font color="#FF6600">my_protocol</font>)<font color="#990000">.</font>
-<b><font color="#000080">-behaviour</font></b>(<font color="#FF6600">gen_server</font>)<font color="#990000">.</font>
-<b><font color="#000080">-behaviour</font></b>(<font color="#FF6600">ranch_protocol</font>)<font color="#990000">.</font>
-
-<i><font color="#9A1900">%% Exports go here.</font></i>
-
-<b><font color="#000000">init</font></b>([<font color="#009900">Ref</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>]) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, {<font color="#FF6600">state</font>, <font color="#009900">Ref</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>}, <font color="#993399">0</font>}<font color="#990000">.</font>
-
-<b><font color="#000000">handle_info</font></b>(<font color="#FF6600">timeout</font>, <font color="#009900">State</font><font color="#990000">=</font>{<font color="#FF6600">state</font>, <font color="#009900">Ref</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>}) <font color="#990000">-&gt;</font>
- <font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:accept_ack</font></b>(<font color="#009900">Ref</font>),
- <font color="#0000FF">ok</font> <font color="#990000">=</font> <font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">setopts</font></b>(<font color="#009900">Socket</font>, [{<font color="#FF6600">active</font>, <font color="#FF6600">once</font>}]),
- {<font color="#FF6600">noreply</font>, <font color="#009900">State</font>};
-<i><font color="#9A1900">%% ...</font></i></tt></pre>
-</div></div>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/ranch/1.2/guide/transports/">
- Transports
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/ranch/1.2/guide/embedded/">
- Embedded mode
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Ranch
- 1.2
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/ranch/1.2/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.2/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
-
- <li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
-
- <li><a href="/docs/en/ranch/1.5/guide">1.5</a></li>
-
- <li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
-
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.2/guide/ssl_auth.asciidoc b/docs/en/ranch/1.2/guide/ssl_auth.asciidoc
deleted file mode 100644
index 39f9c3c0..00000000
--- a/docs/en/ranch/1.2/guide/ssl_auth.asciidoc
+++ /dev/null
@@ -1,120 +0,0 @@
-== SSL client authentication
-
-=== Purpose
-
-SSL client authentication is a mechanism allowing applications to
-identify certificates. This allows your application to make sure that
-the client is an authorized certificate, but makes no claim about
-whether the user can be trusted. This can be combined with a password
-based authentication to attain greater security.
-
-The server only needs to retain the certificate serial number and
-the certificate issuer to authenticate the certificate. Together,
-they can be used to uniquely identify a certicate.
-
-As Ranch allows the same protocol code to be used for both SSL and
-non-SSL transports, you need to make sure you are in an SSL context
-before attempting to perform an SSL client authentication. This
-can be done by checking the return value of `Transport:name/0`.
-
-=== Obtaining client certificates
-
-You can obtain client certificates from various sources. You can
-generate them yourself, or you can use a service like CAcert.org
-which allows you to generate client and server certificates for
-free.
-
-Following are the steps you need to take to create a CAcert.org
-account, generate a certificate and install it in your favorite
-browser.
-
-* Open [CAcert.org](http://cacert.org) in your favorite browser
-* Root Certificate link: install both certificates
-* Join (Register an account)
-* Verify your account (check your email inbox!)
-* Log in
-* Client Certificates: New
-* Follow instructions to create the certificate
-* Install the certificate in your browser
-
-You can optionally save the certificate for later use, for example
-to extract the `IssuerID` information as will be detailed later on.
-
-=== Transport configuration
-
-The SSL transport does not request a client certificate by default.
-You need to specify the `{verify, verify_peer}` option when starting
-the listener to enable this behavior.
-
-.Configure a listener for SSL authentication
-
-[source,erlang]
-{ok, _} = ranch:start_listener(my_ssl, 100,
- ranch_ssl, [
- {port, SSLPort},
- {certfile, PathToCertfile},
- {cacertfile, PathToCACertfile},
- {verify, verify_peer}
- ],
- my_protocol, []
-).
-
-In this example we set the required `port` and `certfile`, but also
-the `cacertfile` containing the CACert.org root certificate, and
-the option to request the client certificate.
-
-If you enable the `{verify, verify_peer}` option and the client does
-not have a client certificate configured for your domain, then no
-certificate will be sent. This allows you to use SSL for more than
-just authenticated clients.
-
-=== Authentication
-
-To authenticate users, you must first save the certificate information
-required. If you have your users' certificate files, you can simply
-load the certificate and retrieve the information directly.
-
-.Retrieve the issuer ID from a certificate
-
-[source,erlang]
-----
-certfile_to_issuer_id(Filename) ->
- {ok, Data} = file:read_file(Filename),
- [{'Certificate', Cert, not_encrypted}] = public_key:pem_decode(Data),
- {ok, IssuerID} = public_key:pkix_issuer_id(Cert, self),
- IssuerID.
-----
-
-The `IssuerID` variable contains both the certificate serial number
-and the certificate issuer stored in a tuple, so this value alone can
-be used to uniquely identify the user certificate. You can save this
-value in a database, a configuration file or any other place where an
-Erlang term can be stored and retrieved.
-
-To retrieve the `IssuerID` from a running connection, you need to first
-retrieve the client certificate and then extract this information from
-it. Ranch does not provide a function to retrieve the client certificate.
-Instead you can use the `ssl:peercert/1` function. Once you have the
-certificate, you can again use the `public_key:pkix_issuer_id/2` to
-extract the `IssuerID` value.
-
-The following function returns the `IssuerID` or `false` if no client
-certificate was found. This snippet is intended to be used from your
-protocol code.
-
-.Retrieve the issuer ID from the certificate for the current connection
-
-[source,erlang]
-----
-socket_to_issuer_id(Socket) ->
- case ssl:peercert(Socket) of
- {error, no_peercert} ->
- false;
- {ok, Cert} ->
- {ok, IssuerID} = public_key:pkix_issuer_id(Cert, self),
- IssuerID
- end.
-----
-
-You then only need to match the `IssuerID` value to authenticate the
-user.
diff --git a/docs/en/ranch/1.2/guide/ssl_auth/index.html b/docs/en/ranch/1.2/guide/ssl_auth/index.html
deleted file mode 100644
index a1290695..00000000
--- a/docs/en/ranch/1.2/guide/ssl_auth/index.html
+++ /dev/null
@@ -1,256 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: SSL client authentication</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>SSL client authentication</span></h1>
-
-<h2 id="_purpose">Purpose</h2>
-<p>SSL client authentication is a mechanism allowing applications to identify certificates. This allows your application to make sure that the client is an authorized certificate, but makes no claim about whether the user can be trusted. This can be combined with a password based authentication to attain greater security.</p>
-<p>The server only needs to retain the certificate serial number and the certificate issuer to authenticate the certificate. Together, they can be used to uniquely identify a certicate.</p>
-<p>As Ranch allows the same protocol code to be used for both SSL and non-SSL transports, you need to make sure you are in an SSL context before attempting to perform an SSL client authentication. This can be done by checking the return value of <code>Transport:name/0</code>.</p>
-<h2 id="_obtaining_client_certificates">Obtaining client certificates</h2>
-<p>You can obtain client certificates from various sources. You can generate them yourself, or you can use a service like CAcert.org which allows you to generate client and server certificates for free.</p>
-<p>Following are the steps you need to take to create a CAcert.org account, generate a certificate and install it in your favorite browser.</p>
-<ul><li>Open [CAcert.org](<a href="http://cacert.org)">http://cacert.org)</a> in your favorite browser
-</li>
-<li>Root Certificate link: install both certificates
-</li>
-<li>Join (Register an account)
-</li>
-<li>Verify your account (check your email inbox!)
-</li>
-<li>Log in
-</li>
-<li>Client Certificates: New
-</li>
-<li>Follow instructions to create the certificate
-</li>
-<li>Install the certificate in your browser
-</li>
-</ul>
-<p>You can optionally save the certificate for later use, for example to extract the <code>IssuerID</code> information as will be detailed later on.</p>
-<h2 id="_transport_configuration">Transport configuration</h2>
-<p>The SSL transport does not request a client certificate by default. You need to specify the <code>{verify, verify_peer}</code> option when starting the listener to enable this behavior.</p>
-<div class="listingblock"><div class="title">Configure a listener for SSL authentication</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">my_ssl</font>, <font color="#993399">100</font>,
- <font color="#FF6600">ranch_ssl</font>, [
- {<font color="#FF6600">port</font>, <font color="#009900">SSLPort</font>},
- {<font color="#FF6600">certfile</font>, <font color="#009900">PathToCertfile</font>},
- {<font color="#FF6600">cacertfile</font>, <font color="#009900">PathToCACertfile</font>},
- {<font color="#FF6600">verify</font>, <font color="#FF6600">verify_peer</font>}
- ],
- <font color="#FF6600">my_protocol</font>, []
-)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>In this example we set the required <code>port</code> and <code>certfile</code>, but also the <code>cacertfile</code> containing the CACert.org root certificate, and the option to request the client certificate.</p>
-<p>If you enable the <code>{verify, verify_peer}</code> option and the client does not have a client certificate configured for your domain, then no certificate will be sent. This allows you to use SSL for more than just authenticated clients.</p>
-<h2 id="_authentication">Authentication</h2>
-<p>To authenticate users, you must first save the certificate information required. If you have your users&apos; certificate files, you can simply load the certificate and retrieve the information directly.</p>
-<div class="listingblock"><div class="title">Retrieve the issuer ID from a certificate</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">certfile_to_issuer_id</font></b>(<font color="#009900">Filename</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">Data</font>} <font color="#990000">=</font> <b><font color="#000000">file:read_file</font></b>(<font color="#009900">Filename</font>),
- [{<font color="#FF6600">'Certificate'</font>, <font color="#009900">Cert</font>, <font color="#FF6600">not_encrypted</font>}] <font color="#990000">=</font> <b><font color="#000000">public_key:pem_decode</font></b>(<font color="#009900">Data</font>),
- {<font color="#FF6600">ok</font>, <font color="#009900">IssuerID</font>} <font color="#990000">=</font> <b><font color="#000000">public_key:pkix_issuer_id</font></b>(<font color="#009900">Cert</font>, <b><font color="#000080">self</font></b>),
- <font color="#009900">IssuerID</font><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>The <code>IssuerID</code> variable contains both the certificate serial number and the certificate issuer stored in a tuple, so this value alone can be used to uniquely identify the user certificate. You can save this value in a database, a configuration file or any other place where an Erlang term can be stored and retrieved.</p>
-<p>To retrieve the <code>IssuerID</code> from a running connection, you need to first retrieve the client certificate and then extract this information from it. Ranch does not provide a function to retrieve the client certificate. Instead you can use the <code>ssl:peercert/1</code> function. Once you have the certificate, you can again use the <code>public_key:pkix_issuer_id/2</code> to extract the <code>IssuerID</code> value.</p>
-<p>The following function returns the <code>IssuerID</code> or <code>false</code> if no client certificate was found. This snippet is intended to be used from your protocol code.</p>
-<div class="listingblock"><div class="title">Retrieve the issuer ID from the certificate for the current connection</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">socket_to_issuer_id</font></b>(<font color="#009900">Socket</font>) <font color="#990000">-&gt;</font>
- <b><font color="#0000FF">case</font></b> <b><font color="#000000">ssl:peercert</font></b>(<font color="#009900">Socket</font>) <b><font color="#0000FF">of</font></b>
- {<font color="#FF6600">error</font>, <font color="#FF6600">no_peercert</font>} <font color="#990000">-&gt;</font>
- <font color="#000080">false</font>;
- {<font color="#FF6600">ok</font>, <font color="#009900">Cert</font>} <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <font color="#009900">IssuerID</font>} <font color="#990000">=</font> <b><font color="#000000">public_key:pkix_issuer_id</font></b>(<font color="#009900">Cert</font>, <b><font color="#000080">self</font></b>),
- <font color="#009900">IssuerID</font>
- <b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You then only need to match the <code>IssuerID</code> value to authenticate the user.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/ranch/1.2/guide/parsers/">
- Writing parsers
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/ranch/1.2/guide/internals/">
- Internals
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Ranch
- 1.2
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/ranch/1.2/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.2/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
-
- <li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
-
- <li><a href="/docs/en/ranch/1.5/guide">1.5</a></li>
-
- <li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
-
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.2/guide/transports.asciidoc b/docs/en/ranch/1.2/guide/transports.asciidoc
deleted file mode 100644
index 91953762..00000000
--- a/docs/en/ranch/1.2/guide/transports.asciidoc
+++ /dev/null
@@ -1,169 +0,0 @@
-== Transports
-
-A transport defines the interface to interact with a socket.
-
-Transports can be used for connecting, listening and accepting
-connections, but also for receiving and sending data. Both
-passive and active mode are supported, although all sockets
-are initialized as passive.
-
-=== TCP transport
-
-The TCP transport is a thin wrapper around `gen_tcp`.
-
-=== SSL transport
-
-The SSL transport is a thin wrapper around `ssl`. It requires
-the `crypto`, `asn1`, `public_key` and `ssl` applications
-to be started. When starting an SSL listener, Ranch will attempt
-to automatically start them. It will not try to stop them when
-the listener is removed, however.
-
-.Starting the SSL application
-
-[source,erlang]
-ssl:start().
-
-In a proper OTP setting, you will need to make your application
-depend on the `crypto`, `public_key` and `ssl` applications.
-They will be started automatically when starting your release.
-
-The SSL transport `accept/2` function performs both transport
-and SSL accepts. Errors occurring during the SSL accept phase
-are returned as `{error, {ssl_accept, atom()}}` to differentiate
-on which socket the problem occurred.
-
-=== Sending and receiving data
-
-This section assumes that `Transport` is a valid transport handler
-(like `ranch_tcp` or `ranch_ssl`) and `Socket` is a connected
-socket obtained through the listener.
-
-You can send data to a socket by calling the `Transport:send/2`
-function. The data can be given as `iodata()`, which is defined as
-`binary() | iolist()`. All the following calls will work:
-
-.Sending data to the socket
-
-[source,erlang]
-----
-Transport:send(Socket, <<"Ranch is cool!">>).
-Transport:send(Socket, "Ranch is cool!").
-Transport:send(Socket, ["Ranch", ["is", "cool!"]]).
-Transport:send(Socket, ["Ranch", [<<"is">>, "cool!"]]).
-----
-
-You can receive data either in passive or in active mode. Passive mode
-means that you will perform a blocking `Transport:recv/3` call, while
-active mode means that you will receive the data as a message.
-
-By default, all data will be received as binary. It is possible to
-receive data as strings, although this is not recommended as binaries
-are a more efficient construct, especially for binary protocols.
-
-Receiving data using passive mode requires a single function call. The
-first argument is the socket, and the third argument is a timeout duration
-before the call returns with `{error, timeout}`.
-
-The second argument is the amount of data in bytes that we want to receive.
-The function will wait for data until it has received exactly this amount.
-If you are not expecting a precise size, you can specify 0 which will make
-this call return as soon as data was read, regardless of its size.
-
-.Receiving data from the socket in passive mode
-
-[source,erlang]
-{ok, Data} = Transport:recv(Socket, 0, 5000).
-
-Active mode requires you to inform the socket that you want to receive
-data as a message and to write the code to actually receive it.
-
-There are two kinds of active modes: `{active, once}` and
-`{active, true}`. The first will send a single message before going
-back to passive mode; the second will send messages indefinitely.
-We recommend not using the `{active, true}` mode as it could quickly
-flood your process mailbox. It's better to keep the data in the socket
-and read it only when required.
-
-Three different messages can be received:
-
-* `{OK, Socket, Data}`
-* `{Closed, Socket}`
-* `{Error, Socket, Reason}`
-
-The value of `OK`, `Closed` and `Error` can be different
-depending on the transport being used. To be able to properly match
-on them you must first call the `Transport:messages/0` function.
-
-.Retrieving the transport's active message identifiers
-
-[source,erlang]
-{OK, Closed, Error} = Transport:messages().
-
-To start receiving messages you will need to call the `Transport:setopts/2`
-function, and do so every time you want to receive data.
-
-.Receiving messages from the socket in active mode
-
-[source,erlang]
-----
-{OK, Closed, Error} = Transport:messages(),
-Transport:setopts(Socket, [{active, once}]),
-receive
- {OK, Socket, Data} ->
- io:format("data received: ~p~n", [Data]);
- {Closed, Socket} ->
- io:format("socket got closed!~n");
- {Error, Socket, Reason} ->
- io:format("error happened: ~p~n", [Reason])
-end.
-----
-
-You can easily integrate active sockets with existing Erlang code as all
-you really need is just a few more clauses when receiving messages.
-
-=== Sending files
-
-As in the previous section it is assumed `Transport` is a valid transport
-handler and `Socket` is a connected socket obtained through the listener.
-
-To send a whole file, with name `Filename`, over a socket:
-
-.Sending a file by filename
-
-[source,erlang]
-{ok, SentBytes} = Transport:sendfile(Socket, Filename).
-
-Or part of a file, with `Offset` greater than or equal to 0, `Bytes` number of
-bytes and chunks of size `ChunkSize`:
-
-.Sending part of a file by filename in chunks
-
-[source,erlang]
-Opts = [{chunk_size, ChunkSize}],
-{ok, SentBytes} = Transport:sendfile(Socket, Filename, Offset, Bytes, Opts).
-
-To improve efficiency when sending multiple parts of the same file it is also
-possible to use a file descriptor opened in raw mode:
-
-.Sending a file opened in raw mode
-
-[source,erlang]
-{ok, RawFile} = file:open(Filename, [raw, read, binary]),
-{ok, SentBytes} = Transport:sendfile(Socket, RawFile, Offset, Bytes, Opts).
-
-=== Writing a transport handler
-
-A transport handler is a module implementing the `ranch_transport` behavior.
-It defines a certain number of callbacks that must be written in order to
-allow transparent usage of the transport handler.
-
-The behavior doesn't define the socket options available when opening a
-socket. These do not need to be common to all transports as it's easy enough
-to write different initialization functions for the different transports that
-will be used. With one exception though. The `setopts/2` function *must*
-implement the `{active, once}` and the `{active, true}` options.
-
-If the transport handler doesn't have a native implementation of `sendfile/5` a
-fallback is available, `ranch_transport:sendfile/6`. The extra first argument
-is the transport's module. See `ranch_ssl` for an example.
diff --git a/docs/en/ranch/1.2/guide/transports/index.html b/docs/en/ranch/1.2/guide/transports/index.html
deleted file mode 100644
index 541c7d73..00000000
--- a/docs/en/ranch/1.2/guide/transports/index.html
+++ /dev/null
@@ -1,288 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Transports</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Transports</span></h1>
-
-<p>A transport defines the interface to interact with a socket.</p>
-<p>Transports can be used for connecting, listening and accepting connections, but also for receiving and sending data. Both passive and active mode are supported, although all sockets are initialized as passive.</p>
-<h2 id="_tcp_transport">TCP transport</h2>
-<p>The TCP transport is a thin wrapper around <code>gen_tcp</code>.</p>
-<h2 id="_ssl_transport">SSL transport</h2>
-<p>The SSL transport is a thin wrapper around <code>ssl</code>. It requires the <code>crypto</code>, <code>asn1</code>, <code>public_key</code> and <code>ssl</code> applications to be started. When starting an SSL listener, Ranch will attempt to automatically start them. It will not try to stop them when the listener is removed, however.</p>
-<div class="listingblock"><div class="title">Starting the SSL application</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">ssl:start</font></b>()<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>In a proper OTP setting, you will need to make your application depend on the <code>crypto</code>, <code>public_key</code> and <code>ssl</code> applications. They will be started automatically when starting your release.</p>
-<p>The SSL transport <code>accept/2</code> function performs both transport and SSL accepts. Errors occurring during the SSL accept phase are returned as <code>{error, {ssl_accept, atom()}}</code> to differentiate on which socket the problem occurred.</p>
-<h2 id="_sending_and_receiving_data">Sending and receiving data</h2>
-<p>This section assumes that <code>Transport</code> is a valid transport handler (like <code>ranch_tcp</code> or <code>ranch_ssl</code>) and <code>Socket</code> is a connected socket obtained through the listener.</p>
-<p>You can send data to a socket by calling the <code>Transport:send/2</code> function. The data can be given as <code>iodata()</code>, which is defined as <code>binary() | iolist()</code>. All the following calls will work:</p>
-<div class="listingblock"><div class="title">Sending data to the socket</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">send</font></b>(<font color="#009900">Socket</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"Ranch is cool!"</font><font color="#990000">&gt;&gt;</font>)<font color="#990000">.</font>
-<font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">send</font></b>(<font color="#009900">Socket</font>, <font color="#FF0000">"Ranch is cool!"</font>)<font color="#990000">.</font>
-<font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">send</font></b>(<font color="#009900">Socket</font>, [<font color="#FF0000">"Ranch"</font>, [<font color="#FF0000">"is"</font>, <font color="#FF0000">"cool!"</font>]])<font color="#990000">.</font>
-<font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">send</font></b>(<font color="#009900">Socket</font>, [<font color="#FF0000">"Ranch"</font>, [<font color="#990000">&lt;&lt;</font><font color="#FF0000">"is"</font><font color="#990000">&gt;&gt;</font>, <font color="#FF0000">"cool!"</font>]])<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You can receive data either in passive or in active mode. Passive mode means that you will perform a blocking <code>Transport:recv/3</code> call, while active mode means that you will receive the data as a message.</p>
-<p>By default, all data will be received as binary. It is possible to receive data as strings, although this is not recommended as binaries are a more efficient construct, especially for binary protocols.</p>
-<p>Receiving data using passive mode requires a single function call. The first argument is the socket, and the third argument is a timeout duration before the call returns with <code>{error, timeout}</code>.</p>
-<p>The second argument is the amount of data in bytes that we want to receive. The function will wait for data until it has received exactly this amount. If you are not expecting a precise size, you can specify 0 which will make this call return as soon as data was read, regardless of its size.</p>
-<div class="listingblock"><div class="title">Receiving data from the socket in passive mode</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">Data</font>} <font color="#990000">=</font> <font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">recv</font></b>(<font color="#009900">Socket</font>, <font color="#993399">0</font>, <font color="#993399">5000</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Active mode requires you to inform the socket that you want to receive data as a message and to write the code to actually receive it.</p>
-<p>There are two kinds of active modes: <code>{active, once}</code> and <code>{active, true}</code>. The first will send a single message before going back to passive mode; the second will send messages indefinitely. We recommend not using the <code>{active, true}</code> mode as it could quickly flood your process mailbox. It&apos;s better to keep the data in the socket and read it only when required.</p>
-<p>Three different messages can be received:</p>
-<ul><li><code>{OK, Socket, Data}</code>
-</li>
-<li><code>{Closed, Socket}</code>
-</li>
-<li><code>{Error, Socket, Reason}</code>
-</li>
-</ul>
-<p>The value of <code>OK</code>, <code>Closed</code> and <code>Error</code> can be different depending on the transport being used. To be able to properly match on them you must first call the <code>Transport:messages/0</code> function.</p>
-<div class="listingblock"><div class="title">Retrieving the transport&apos;s active message identifiers</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#009900">OK</font>, <font color="#009900">Closed</font>, <font color="#009900">Error</font>} <font color="#990000">=</font> <font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">messages</font></b>()<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>To start receiving messages you will need to call the <code>Transport:setopts/2</code> function, and do so every time you want to receive data.</p>
-<div class="listingblock"><div class="title">Receiving messages from the socket in active mode</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#009900">OK</font>, <font color="#009900">Closed</font>, <font color="#009900">Error</font>} <font color="#990000">=</font> <font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">messages</font></b>(),
-<font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">setopts</font></b>(<font color="#009900">Socket</font>, [{<font color="#FF6600">active</font>, <font color="#FF6600">once</font>}]),
-<b><font color="#0000FF">receive</font></b>
- {<font color="#009900">OK</font>, <font color="#009900">Socket</font>, <font color="#009900">Data</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">io:format</font></b>(<font color="#FF0000">"data received: ~p~n"</font>, [<font color="#009900">Data</font>]);
- {<font color="#009900">Closed</font>, <font color="#009900">Socket</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">io:format</font></b>(<font color="#FF0000">"socket got closed!~n"</font>);
- {<font color="#009900">Error</font>, <font color="#009900">Socket</font>, <font color="#009900">Reason</font>} <font color="#990000">-&gt;</font>
- <b><font color="#000000">io:format</font></b>(<font color="#FF0000">"error happened: ~p~n"</font>, [<font color="#009900">Reason</font>])
-<b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You can easily integrate active sockets with existing Erlang code as all you really need is just a few more clauses when receiving messages.</p>
-<h2 id="_sending_files">Sending files</h2>
-<p>As in the previous section it is assumed <code>Transport</code> is a valid transport handler and <code>Socket</code> is a connected socket obtained through the listener.</p>
-<p>To send a whole file, with name <code>Filename</code>, over a socket:</p>
-<div class="listingblock"><div class="title">Sending a file by filename</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">SentBytes</font>} <font color="#990000">=</font> <font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">sendfile</font></b>(<font color="#009900">Socket</font>, <font color="#009900">Filename</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Or part of a file, with <code>Offset</code> greater than or equal to 0, <code>Bytes</code> number of bytes and chunks of size <code>ChunkSize</code>:</p>
-<div class="listingblock"><div class="title">Sending part of a file by filename in chunks</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Opts</font> <font color="#990000">=</font> [{<font color="#FF6600">chunk_size</font>, <font color="#009900">ChunkSize</font>}],
-{<font color="#FF6600">ok</font>, <font color="#009900">SentBytes</font>} <font color="#990000">=</font> <font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">sendfile</font></b>(<font color="#009900">Socket</font>, <font color="#009900">Filename</font>, <font color="#009900">Offset</font>, <font color="#009900">Bytes</font>, <font color="#009900">Opts</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>To improve efficiency when sending multiple parts of the same file it is also possible to use a file descriptor opened in raw mode:</p>
-<div class="listingblock"><div class="title">Sending a file opened in raw mode</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">RawFile</font>} <font color="#990000">=</font> <b><font color="#000000">file:open</font></b>(<font color="#009900">Filename</font>, [<font color="#FF6600">raw</font>, <font color="#FF6600">read</font>, <b><font color="#000080">binary</font></b>]),
-{<font color="#FF6600">ok</font>, <font color="#009900">SentBytes</font>} <font color="#990000">=</font> <font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">sendfile</font></b>(<font color="#009900">Socket</font>, <font color="#009900">RawFile</font>, <font color="#009900">Offset</font>, <font color="#009900">Bytes</font>, <font color="#009900">Opts</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<h2 id="_writing_a_transport_handler">Writing a transport handler</h2>
-<p>A transport handler is a module implementing the <code>ranch_transport</code> behavior. It defines a certain number of callbacks that must be written in order to allow transparent usage of the transport handler.</p>
-<p>The behavior doesn&apos;t define the socket options available when opening a socket. These do not need to be common to all transports as it&apos;s easy enough to write different initialization functions for the different transports that will be used. With one exception though. The <code>setopts/2</code> function <strong>must</strong> implement the <code>{active, once}</code> and the <code>{active, true}</code> options.</p>
-<p>If the transport handler doesn&apos;t have a native implementation of <code>sendfile/5</code> a fallback is available, <code>ranch_transport:sendfile/6</code>. The extra first argument is the transport&apos;s module. See <code>ranch_ssl</code> for an example.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/ranch/1.2/guide/listeners/">
- Listeners
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/ranch/1.2/guide/protocols/">
- Protocols
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Ranch
- 1.2
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/ranch/1.2/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.2/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
-
- <li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
-
- <li><a href="/docs/en/ranch/1.5/guide">1.5</a></li>
-
- <li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
-
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.2/manual/index.html b/docs/en/ranch/1.2/manual/index.html
deleted file mode 100644
index 956bede1..00000000
--- a/docs/en/ranch/1.2/manual/index.html
+++ /dev/null
@@ -1,172 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Ranch Function Reference</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Ranch Function Reference</span></h1>
-
-<ul><li><a href="ranch_app">ranch(7)</a>
-</li>
-<li><a href="ranch">ranch(3)</a>
-</li>
-<li><a href="ranch_protocol">ranch_protocol(3)</a>
-</li>
-<li><a href="ranch_ssl">ranch_ssl(3)</a>
-</li>
-<li><a href="ranch_tcp">ranch_tcp(3)</a>
-</li>
-<li><a href="ranch_transport">ranch_transport(3)</a>
-</li>
-</ul>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Ranch
- 1.2
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/ranch/1.2/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.2/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
-
- <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
-
- <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
-
- <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
-
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.2/manual/ranch/index.html b/docs/en/ranch/1.2/manual/ranch/index.html
deleted file mode 100644
index cbe0a5fa..00000000
--- a/docs/en/ranch/1.2/manual/ranch/index.html
+++ /dev/null
@@ -1,327 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: ranch(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>ranch(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>ranch - socket acceptor pool</p>
-<h2 id="_description">Description</h2>
-<p>The <code>ranch</code> module provides functions for starting and manipulating Ranch listeners.</p>
-<h2 id="_types">Types</h2>
-<h3 id="_max_conns_____non_neg_integer_____infinity">max_conns() = non_neg_integer() | infinity</h3>
-<p>Maximum number of connections allowed on this listener.</p>
-<p>This is a soft limit. The actual number of connections might be slightly above the limit due to concurrency when accepting new connections. Some connections may also be removed from this count explicitly by the user code.</p>
-<h3 id="_opt">opt()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">opt</font></b>() <font color="#990000">=</font> {<font color="#FF6600">ack_timeout</font>, <b><font color="#000000">timeout</font></b>()}
- | {<font color="#FF6600">connection_type</font>, <font color="#FF6600">worker</font> | <font color="#FF6600">supervisor</font>}
- | {<font color="#FF6600">max_connections</font>, <b><font color="#000000">max_conns</font></b>()}
- | {<font color="#000080">shutdown</font>, <b><font color="#000000">timeout</font></b>() | <font color="#FF6600">brutal_kill</font>}
- | {<font color="#FF6600">socket</font>, <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>Ranch-specific transport options.</p>
-<p>These options are not passed on to the transports. They are used by Ranch while setting up the listeners.</p>
-<h3 id="_ref_____any">ref() = any()</h3>
-<p>Unique name used to refer to a listener.</p>
-<h2 id="_option_descriptions">Option descriptions</h2>
-<p>None of the options are required.</p>
-<dl><dt>ack_timeout (5000)</dt>
-<dd><p>Maximum allowed time for the <code>ranch:accept_ack/1</code> call to finish.</p>
-</dd>
-<dt>connection_type (worker)</dt>
-<dd><p>Type of process that will handle the connection.</p>
-</dd>
-<dt>max_connections (1024)</dt>
-<dd><p>Maximum number of active connections. Soft limit. Using <code>infinity</code> will disable the limit entirely.</p>
-</dd>
-<dt>shutdown (5000)</dt>
-<dd><p>Maximum allowed time for children to stop on listener shutdown.</p>
-</dd>
-<dt>socket</dt>
-<dd><p>Listening socket opened externally to be used instead of calling <code>Transport:listen/1</code>.</p>
-</dd>
-</dl>
-<h2 id="_exports">Exports</h2>
-<h3 id="_accept_ack_ref_____ok">accept_ack(Ref) -&gt; ok</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-</dl>
-<p>Acknowledge that the connection is accepted.</p>
-<p>This function MUST be used by a connection process to inform Ranch that it initialized properly and let it perform any additional operations before the socket can be safely used.</p>
-<h3 id="_child_spec_ref__nbacceptors__transport__transopts__protocol__protoopts_____supervisor_child_spec">child_spec(Ref, NbAcceptors, Transport, TransOpts, Protocol, ProtoOpts) -&gt; supervisor:child_spec()</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>NbAcceptors = non_neg_integer()</dt>
-<dd><p>Number of acceptor processes.</p>
-</dd>
-<dt>Transport = module()</dt>
-<dd><p>Transport module.</p>
-</dd>
-<dt>TransOpts = any()</dt>
-<dd><p>Transport options.</p>
-</dd>
-<dt>Protocol = module()</dt>
-<dd><p>Protocol module.</p>
-</dd>
-<dt>ProtoOpts = any()</dt>
-<dd><p>Protocol options.</p>
-</dd>
-</dl>
-<p>Return child specifications for a new listener.</p>
-<p>This function can be used to embed a listener directly in an application instead of letting Ranch handle it.</p>
-<h3 id="_get_addr_ref______ip__port">get_addr(Ref) -&gt; {IP, Port}</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>IP = inet:ip_address()</dt>
-<dd><p>IP of the interface used by this listener.</p>
-</dd>
-<dt>Port = inet:port_number()</dt>
-<dd><p>Port number used by this listener.</p>
-</dd>
-</dl>
-<p>Return the IP address and port for the given listener.</p>
-<h3 id="_get_max_connections_ref_____maxconns">get_max_connections(Ref) -&gt; MaxConns</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>MaxConns = max_conns()</dt>
-<dd><p>Current maximum number of connections.</p>
-</dd>
-</dl>
-<p>Return the max number of connections allowed for the given listener.</p>
-<h3 id="_get_port_ref_____port">get_port(Ref) -&gt; Port</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>Port = inet:port_number()</dt>
-<dd><p>Port number used by this listener.</p>
-</dd>
-</dl>
-<p>Return the port for the given listener.</p>
-<h3 id="_get_protocol_options_ref_____protoopts">get_protocol_options(Ref) -&gt; ProtoOpts</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>ProtoOpts = any()</dt>
-<dd><p>Current protocol options.</p>
-</dd>
-</dl>
-<p>Return the protocol options set for the given listener.</p>
-<h3 id="_remove_connection_ref_____ok">remove_connection(Ref) -&gt; ok</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-</dl>
-<p>Do not count this connection when limiting the number of connections.</p>
-<p>You can use this function for long-running connection processes which spend most of their time idling rather than consuming resources. This allows Ranch to accept a lot more connections without sacrificing the latency of the system.</p>
-<p>This function may only be called from a connection process.</p>
-<h3 id="_set_max_connections_ref__maxconns_____ok">set_max_connections(Ref, MaxConns) -&gt; ok</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>MaxConns = max_conns()</dt>
-<dd><p>New maximum number of connections.</p>
-</dd>
-</dl>
-<p>Set the max number of connections for the given listener.</p>
-<p>The change will be applied immediately. If the new value is smaller than the previous one, Ranch will not kill the extra connections, but will wait for them to terminate properly.</p>
-<h3 id="_set_protocol_options_ref__protoopts_____ok">set_protocol_options(Ref, ProtoOpts) -&gt; ok</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>ProtoOpts = any()</dt>
-<dd><p>New protocol options.</p>
-</dd>
-</dl>
-<p>Set the protocol options for the given listener.</p>
-<p>The change will be applied immediately for all new connections. Old connections will not receive the new options.</p>
-<h3 id="_start_listener_ref__nbacceptors__transport__transopts__protocol__protoopts______ok__pid_______error__badarg">start_listener(Ref, NbAcceptors, Transport, TransOpts, Protocol, ProtoOpts) -&gt; {ok, pid()} | {error, badarg}</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>NbAcceptors = non_neg_integer()</dt>
-<dd><p>Number of acceptor processes.</p>
-</dd>
-<dt>Transport = module()</dt>
-<dd><p>Transport module.</p>
-</dd>
-<dt>TransOpts = any()</dt>
-<dd><p>Transport options.</p>
-</dd>
-<dt>Protocol = module()</dt>
-<dd><p>Protocol module.</p>
-</dd>
-<dt>ProtoOpts = any()</dt>
-<dd><p>Protocol options.</p>
-</dd>
-</dl>
-<p>Start listening for connections using the given transport and protocol. Returns the pid for this listener&apos;s supervisor.</p>
-<p>There are additional transport options that apply regardless of transport. They allow configuring how the connections are supervised, rate limited and more. Please consult the previous section for more details.</p>
-<h3 id="_stop_listener_ref_____ok____error__not_found">stop_listener(Ref) -&gt; ok | {error, not_found}</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-</dl>
-<p>Stop the given listener.</p>
-<p>The listener is stopped gracefully, first by closing the listening port, then by stopping the connection processes. These processes are stopped according to the <code>shutdown</code> transport option, which may be set to brutally kill all connection processes or give them some time to stop properly.</p>
-<p>This function does not return until the listener is completely stopped.</p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Ranch
- 1.2
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/ranch/1.2/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.2/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
-
- <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
-
- <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
-
- <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
-
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.2/manual/ranch_app/index.html b/docs/en/ranch/1.2/manual/ranch_app/index.html
deleted file mode 100644
index aabc0f2e..00000000
--- a/docs/en/ranch/1.2/manual/ranch_app/index.html
+++ /dev/null
@@ -1,171 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: ranch(7)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>ranch(7)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>ranch - Socket acceptor pool for TCP protocols.</p>
-<h2 id="_dependencies">Dependencies</h2>
-<p>The <code>ranch</code> application has no particular dependency required to start.</p>
-<p>It has optional dependencies that are only required when listening for SSL connections. The dependencies are <code>crypto</code>, <code>asn1</code>, <code>public_key</code> and <code>ssl</code>. They are started automatically if they weren&apos;t before.</p>
-<h2 id="_environment">Environment</h2>
-<p>The <code>ranch</code> application defines one application environment configuration parameter.</p>
-<dl><dt>profile (false)</dt>
-<dd><p>When enabled, Ranch will start <code>eprof</code> profiling automatically.</p>
-</dd>
-</dl>
-<p>You can use the <code>ranch_app:profile_output/0</code> function to stop profiling and output the results to the files <em>procs.profile</em> and <em>total.profile</em>. Do not use in production.</p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Ranch
- 1.2
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/ranch/1.2/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.2/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
-
- <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
-
- <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
-
- <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
-
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.2/manual/ranch_ssl/index.html b/docs/en/ranch/1.2/manual/ranch_ssl/index.html
deleted file mode 100644
index 68bfc092..00000000
--- a/docs/en/ranch/1.2/manual/ranch_ssl/index.html
+++ /dev/null
@@ -1,310 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: ranch_ssl(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>ranch_ssl(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>ranch_ssl - SSL transport module</p>
-<h2 id="_description">Description</h2>
-<p>The <code>ranch_ssl</code> module implements an SSL Ranch transport.</p>
-<h2 id="_types">Types</h2>
-<h3 id="_ssl_opt">ssl_opt()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">ssl_opt</font></b>() <font color="#990000">=</font> {<font color="#FF6600">alpn_preferred_protocols</font>, [<b><font color="#000080">binary</font></b>()]}
- | {<font color="#FF6600">cacertfile</font>, <b><font color="#000000">string</font></b>()}
- | {<font color="#FF6600">cacerts</font>, [<b><font color="#000000">public_key:der_encoded</font></b>()]}
- | {<font color="#FF6600">cert</font>, <b><font color="#000000">public_key:der_encoded</font></b>()}
- | {<font color="#FF6600">certfile</font>, <b><font color="#000000">string</font></b>()}
- | {<font color="#FF6600">ciphers</font>, [<b><font color="#000000">ssl:erl_cipher_suite</font></b>()] | <b><font color="#000000">string</font></b>()}
- | {<font color="#FF6600">client_renegotiation</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">crl_cache</font>, {<b><font color="#000000">module</font></b>(), {<font color="#FF6600">internal</font> | <b><font color="#000000">any</font></b>(), <b><font color="#000080">list</font></b>()}}}
- | {<font color="#FF6600">crl_check</font>, <b><font color="#000000">boolean</font></b>() | <font color="#FF6600">peer</font> | <font color="#FF6600">best_effort</font>}
- | {<font color="#FF6600">depth</font>, <font color="#993399">0</font><font color="#990000">..</font><font color="#993399">255</font>}
- | {<font color="#FF6600">dh</font>, <b><font color="#000000">public_key:der_encoded</font></b>()}
- | {<font color="#FF6600">dhfile</font>, <b><font color="#000000">string</font></b>()}
- | {<font color="#FF6600">fail_if_no_peer_cert</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">hibernate_after</font>, <b><font color="#000080">integer</font></b>() | <font color="#000080">undefined</font>}
- | {<font color="#FF6600">honor_cipher_order</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">key</font>, {<font color="#FF6600">'RSAPrivateKey'</font> | <font color="#FF6600">'DSAPrivateKey'</font> | <font color="#FF6600">'PrivateKeyInfo'</font>, <b><font color="#000000">public_key:der_encoded</font></b>()}}
- | {<font color="#FF6600">keyfile</font>, <b><font color="#000000">string</font></b>()}
- | {<font color="#FF6600">log_alert</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">next_protocols_advertised</font>, [<b><font color="#000080">binary</font></b>()]}
- | {<font color="#FF6600">partial_chain</font>, <b><font color="#0000FF">fun</font></b>(([<b><font color="#000000">public_key:der_encoded</font></b>()]) <font color="#990000">-&gt;</font> {<font color="#FF6600">trusted_ca</font>, <b><font color="#000000">public_key:der_encoded</font></b>()} | <font color="#FF6600">unknown_ca</font>)}
- | {<font color="#FF6600">password</font>, <b><font color="#000000">string</font></b>()}
- | {<font color="#FF6600">psk_identity</font>, <b><font color="#000000">string</font></b>()}
- | {<font color="#FF6600">reuse_session</font>, <b><font color="#0000FF">fun</font></b>()}
- | {<font color="#FF6600">reuse_sessions</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">secure_renegotiate</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">sni_fun</font>, <b><font color="#0000FF">fun</font></b>()}
- | {<font color="#FF6600">sni_hosts</font>, [{<b><font color="#000000">string</font></b>(), <b><font color="#000000">ssl_opt</font></b>()}]}
- | {<font color="#FF6600">user_lookup_fun</font>, {<b><font color="#0000FF">fun</font></b>(), <b><font color="#000000">any</font></b>()}}
- | {<font color="#FF6600">verify</font>, <b><font color="#000000">ssl:verify_type</font></b>()}
- | {<font color="#FF6600">verify_fun</font>, {<b><font color="#0000FF">fun</font></b>(), <b><font color="#000000">any</font></b>()}}
- | {<font color="#FF6600">versions</font>, [<b><font color="#000080">atom</font></b>()]}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>SSL-specific listen options.</p>
-<h3 id="_opt_____ranch_tcp_opt_____ssl_opt">opt() = ranch_tcp:opt() | ssl_opt()</h3>
-<p>Listen options.</p>
-<h3 id="_opts______opt">opts() = [opt()]</h3>
-<p>List of listen options.</p>
-<h2 id="_option_descriptions">Option descriptions</h2>
-<p>Specifying a certificate is mandatory, either through the <code>cert</code> or the <code>certfile</code> option. None of the other options are required.</p>
-<p>The default value is given next to the option name.</p>
-<dl><dt>alpn_preferred_protocols</dt>
-<dd><p>Perform Application-Layer Protocol Negotiation with the given list of preferred protocols.</p>
-</dd>
-<dt>cacertfile</dt>
-<dd><p>Path to PEM encoded trusted certificates file used to verify peer certificates.</p>
-</dd>
-<dt>cacerts</dt>
-<dd><p>List of DER encoded trusted certificates.</p>
-</dd>
-<dt>cert</dt>
-<dd><p>DER encoded user certificate.</p>
-</dd>
-<dt>certfile</dt>
-<dd><p>Path to the PEM encoded user certificate file. May also contain the private key.</p>
-</dd>
-<dt>ciphers</dt>
-<dd><p>List of ciphers that clients are allowed to use.</p>
-</dd>
-<dt>client_renegotiation (true)</dt>
-<dd><p>Whether to allow client-initiated renegotiation.</p>
-</dd>
-<dt>crl_cache ({ssl_crl_cache, {internal, []}})</dt>
-<dd><p>Customize the module used to cache Certificate Revocation Lists.</p>
-</dd>
-<dt>crl_check (false)</dt>
-<dd><p>Whether to perform CRL check on all certificates in the chain during validation.</p>
-</dd>
-<dt>depth (1)</dt>
-<dd><p>Maximum of intermediate certificates allowed in the certification path.</p>
-</dd>
-<dt>dh</dt>
-<dd><p>DER encoded Diffie-Hellman parameters.</p>
-</dd>
-<dt>dhfile</dt>
-<dd><p>Path to the PEM encoded Diffie-Hellman parameters file.</p>
-</dd>
-<dt>fail_if_no_peer_cert (false)</dt>
-<dd><p>Whether to refuse the connection if the client sends an empty certificate.</p>
-</dd>
-<dt>hibernate_after (undefined)</dt>
-<dd><p>Time in ms after which SSL socket processes go into hibernation to reduce memory usage.</p>
-</dd>
-<dt>honor_cipher_order (false)</dt>
-<dd><p>If true, use the server&apos;s preference for cipher selection. If false, use the client&apos;s preference.</p>
-</dd>
-<dt>key</dt>
-<dd><p>DER encoded user private key.</p>
-</dd>
-<dt>keyfile</dt>
-<dd><p>Path to the PEM encoded private key file, if different than the certfile.</p>
-</dd>
-<dt>log_alert (true)</dt>
-<dd><p>If false, error reports will not be displayed.</p>
-</dd>
-<dt>next_protocols_advertised</dt>
-<dd><p>List of protocols to send to the client if it supports the Next Protocol extension.</p>
-</dd>
-<dt>nodelay (true)</dt>
-<dd><p>Whether to enable TCP_NODELAY.</p>
-</dd>
-<dt>partial_chain</dt>
-<dd><p>Claim an intermediate CA in the chain as trusted.</p>
-</dd>
-<dt>password</dt>
-<dd><p>Password to the private key file, if password protected.</p>
-</dd>
-<dt>psk_identity</dt>
-<dd><p>Provide the given PSK identity hint to the client during the handshake.</p>
-</dd>
-<dt>reuse_session</dt>
-<dd><p>Custom policy to decide whether a session should be reused.</p>
-</dd>
-<dt>reuse_sessions (false)</dt>
-<dd><p>Whether to allow session reuse.</p>
-</dd>
-<dt>secure_renegotiate (false)</dt>
-<dd><p>Whether to reject renegotiation attempts that do not conform to RFC5746.</p>
-</dd>
-<dt>sni_fun</dt>
-<dd><p>Function called when the client requests a host using Server Name Indication. Returns options to apply.</p>
-</dd>
-<dt>sni_hosts</dt>
-<dd><p>Options to apply for the host that matches what the client requested with Server Name Indication.</p>
-</dd>
-<dt>user_lookup_fun</dt>
-<dd><p>Function called to determine the shared secret when using PSK, or provide parameters when using SRP.</p>
-</dd>
-<dt>verify (verify_none)</dt>
-<dd><p>Use <code>verify_peer</code> to request a certificate from the client.</p>
-</dd>
-<dt>verify_fun</dt>
-<dd><p>Custom policy to decide whether a client certificate is valid.</p>
-</dd>
-<dt>versions</dt>
-<dd><p>TLS protocol versions that will be supported.</p>
-</dd>
-</dl>
-<p>Note that the client will not send a certificate unless the value for the <code>verify</code> option is set to <code>verify_peer</code>. This means that the <code>fail_if_no_peer_cert</code> only apply when combined with the <code>verify</code> option. The <code>verify_fun</code> option allows greater control over the client certificate validation.</p>
-<p>The options <code>sni_fun</code> and <code>sni_hosts</code> are mutually exclusive.</p>
-<h2 id="_exports">Exports</h2>
-<p>None.</p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Ranch
- 1.2
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/ranch/1.2/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.2/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
-
- <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
-
- <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
-
- <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
-
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.2/manual/ranch_tcp/index.html b/docs/en/ranch/1.2/manual/ranch_tcp/index.html
deleted file mode 100644
index 74cc8e2e..00000000
--- a/docs/en/ranch/1.2/manual/ranch_tcp/index.html
+++ /dev/null
@@ -1,275 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: ranch_tcp(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>ranch_tcp(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>ranch_tcp - TCP transport module</p>
-<h2 id="_description">Description</h2>
-<p>The <code>ranch_tcp</code> module implements a TCP Ranch transport.</p>
-<p>Note that due to bugs in OTP up to at least R16B02, it is recommended to disable async threads when using the <code>sendfile</code> function of this transport, as it can make the threads stuck indefinitely.</p>
-<h2 id="_types">Types</h2>
-<h3 id="_opt">opt()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">opt</font></b>() <font color="#990000">=</font> {<font color="#FF6600">backlog</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | {<font color="#FF6600">buffer</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | {<font color="#FF6600">delay_send</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">dontroute</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">exit_on_close</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">fd</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | {<font color="#FF6600">high_msgq_watermark</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | {<font color="#FF6600">high_watermark</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | <font color="#FF6600">inet</font>
- | <font color="#FF6600">inet6</font>
- | {<font color="#FF6600">ip</font>, <b><font color="#000000">inet:ip_address</font></b>()}
- | {<font color="#FF6600">keepalive</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">linger</font>, {<b><font color="#000000">boolean</font></b>(), <b><font color="#000000">non_neg_integer</font></b>()}}
- | {<font color="#FF6600">low_msgq_watermark</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | {<font color="#FF6600">low_watermark</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | {<font color="#FF6600">nodelay</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">port</font>, <b><font color="#000000">inet:port_number</font></b>()}
- | {<b><font color="#000080">priority</font></b>, <b><font color="#000080">integer</font></b>()}
- | {<font color="#FF6600">raw</font>, <b><font color="#000000">non_neg_integer</font></b>(), <b><font color="#000000">non_neg_integer</font></b>(), <b><font color="#000080">binary</font></b>()}
- | {<font color="#FF6600">recbuf</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | {<font color="#FF6600">send_timeout</font>, <b><font color="#000000">timeout</font></b>()}
- | {<font color="#FF6600">send_timeout_close</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">sndbuf</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | {<font color="#FF6600">tos</font>, <b><font color="#000080">integer</font></b>()}</tt></pre>
-</div></div>
-<p>Listen options.</p>
-<p>This does not represent the entirety of the options that can be set on the socket, but only the options that may be set independently of protocol implementation.</p>
-<h3 id="_opts______opt">opts() = [opt()]</h3>
-<p>List of listen options.</p>
-<h2 id="_option_descriptions">Option descriptions</h2>
-<p>None of the options are required.</p>
-<p>Please consult the <code>gen_tcp</code> and <code>inet</code> manuals for a more thorough description of these options. This manual only aims to provide a short description along with what the defaults are. Defaults may be different in Ranch compared to <code>gen_tcp</code>. Defaults are given next to the option name.</p>
-<dl><dt>backlog (1024)</dt>
-<dd><p>Max length of the queue of pending connections.</p>
-</dd>
-<dt>buffer</dt>
-<dd><p>Size of the buffer used by the Erlang driver. Default is system-dependent.</p>
-</dd>
-<dt>delay_send (false)</dt>
-<dd><p>Always queue packets before sending, to send fewer, larger packets over the network.</p>
-</dd>
-<dt>dontroute (false)</dt>
-<dd><p>Don&apos;t send via a gateway, only send to directly connected hosts.</p>
-</dd>
-<dt>exit_on_close (true)</dt>
-<dd><p>Disable to allow sending data after a close has been detected.</p>
-</dd>
-<dt>fd</dt>
-<dd><p>File descriptor of the socket, if it was opened externally.</p>
-</dd>
-<dt>high_msgq_watermark (8192)</dt>
-<dd><p>Limit in the amount of data in the socket message queue before the socket queue becomes busy.</p>
-</dd>
-<dt>high_watermark (8192)</dt>
-<dd><p>Limit in the amount of data in the ERTS socket implementation&apos;s queue before the socket becomes busy.</p>
-</dd>
-<dt>inet</dt>
-<dd><p>Set up the socket for IPv4.</p>
-</dd>
-<dt>inet6</dt>
-<dd><p>Set up the socket for IPv6.</p>
-</dd>
-<dt>ip</dt>
-<dd><p>Interface to listen on. Listen on all interfaces by default.</p>
-</dd>
-<dt>keepalive (false)</dt>
-<dd><p>Enable sending of keep-alive messages.</p>
-</dd>
-<dt>linger ({false, 0})</dt>
-<dd><p>Whether to wait and how long to flush data sent before closing the socket.</p>
-</dd>
-<dt>low_msgq_watermark (4096)</dt>
-<dd><p>Amount of data in the socket message queue before the socket queue leaves busy state.</p>
-</dd>
-<dt>low_watermark (4096)</dt>
-<dd><p>Amount of data in the ERTS socket implementation&apos;s queue before the socket leaves busy state.</p>
-</dd>
-<dt>nodelay (true)</dt>
-<dd><p>Whether to enable TCP_NODELAY.</p>
-</dd>
-<dt>port (0)</dt>
-<dd><p>TCP port number to listen on. 0 means a random port will be used.</p>
-</dd>
-<dt>priority (0)</dt>
-<dd><p>Priority value for all packets to be sent by this socket.</p>
-</dd>
-<dt>recbuf</dt>
-<dd><p>Minimum size of the socket&apos;s receive buffer. Default is system-dependent.</p>
-</dd>
-<dt>send_timeout (30000)</dt>
-<dd><p>How long the send call may wait for confirmation before returning.</p>
-</dd>
-<dt>send_timeout_close (true)</dt>
-<dd><p>Whether to close the socket when the confirmation wasn&apos;t received.</p>
-</dd>
-<dt>sndbuf</dt>
-<dd><p>Minimum size of the socket&apos;s send buffer. Default is system-dependent.</p>
-</dd>
-<dt>tos</dt>
-<dd><p>Value for the IP_TOS IP level option. Use with caution.</p>
-</dd>
-</dl>
-<p>In addition, the <code>raw</code> option can be used to set system-specific options by specifying the protocol level, the option number and the actual option value specified as a binary. This option is not portable. Use with caution.</p>
-<h2 id="_exports">Exports</h2>
-<p>None.</p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Ranch
- 1.2
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/ranch/1.2/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.2/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
-
- <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
-
- <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
-
- <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
-
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.2/manual/ranch_transport/index.html b/docs/en/ranch/1.2/manual/ranch_transport/index.html
deleted file mode 100644
index 838bd6af..00000000
--- a/docs/en/ranch/1.2/manual/ranch_transport/index.html
+++ /dev/null
@@ -1,350 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: ranch_transport(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>ranch_transport(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>ranch_transport - behaviour for transport modules</p>
-<h2 id="_description">Description</h2>
-<p>The <code>ranch_transport</code> behaviour defines the interface used by Ranch transports.</p>
-<h2 id="_types">Types</h2>
-<h3 id="_sendfile_opts_______chunk_size__non_neg_integer">sendfile_opts() = [{chunk_size, non_neg_integer()}]</h3>
-<p>Options used by the sendfile function and callbacks.</p>
-<p>Allows configuring the chunk size, in bytes. Defaults to 8191 bytes.</p>
-<h2 id="_callbacks">Callbacks</h2>
-<h3 id="_accept_lsocket__timeout______ok__csocket_____error__closed___timeout___atom">accept(LSocket, Timeout) -&gt; {ok, CSocket} | {error, closed | timeout | atom()}</h3>
-<dl><dt>LSocket = CSocket = any()</dt>
-<dd><p>Listening socket.</p>
-</dd>
-<dt>Timeout = timeout()</dt>
-<dd><p>Accept timeout.</p>
-</dd>
-</dl>
-<p>Accept a connection on the given listening socket.</p>
-<p>The <code>accept_ack</code> callback will be used to initialize the socket after accepting the connection. This is most useful when the transport is not raw TCP, like with SSL for example.</p>
-<h3 id="_accept_ack_csocket__timeout_____ok">accept_ack(CSocket, Timeout) -&gt; ok</h3>
-<dl><dt>CSocket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>Timeout = timeout()</dt>
-<dd><p>Ack timeout.</p>
-</dd>
-</dl>
-<p>Perform post-accept initialization of the connection.</p>
-<p>This function will be called by connection processes before performing any socket operation. It allows transports that require extra initialization to perform their task and make the socket ready to use.</p>
-<h3 id="_close_socket_____ok">close(Socket) -&gt; ok</h3>
-<dl><dt>Socket = any()</dt>
-<dd><p>Socket opened with listen/1 or accept/2.</p>
-</dd>
-</dl>
-<p>Close the given socket.</p>
-<h3 id="_controlling_process_socket__pid_____ok____error__closed___not_owner___atom">controlling_process(Socket, Pid) -&gt; ok | {error, closed | not_owner | atom()}</h3>
-<dl><dt>Socket = any()</dt>
-<dd><p>Socket opened with listen/1 or accept/2.</p>
-</dd>
-<dt>Pid = pid()</dt>
-<dd><p>Pid of the new owner of the socket.</p>
-</dd>
-</dl>
-<p>Change the controlling process for the given socket.</p>
-<p>The controlling process is the process that is allowed to perform operations on the socket, and that will receive messages from the socket when active mode is used. When the controlling process dies, the socket is closed.</p>
-<h3 id="_listen_transopts______ok__lsocket_____error__atom">listen(TransOpts) -&gt; {ok, LSocket} | {error, atom()}</h3>
-<dl><dt>TransOpts = any()</dt>
-<dd><p>Transport options.</p>
-</dd>
-<dt>LSocket = any()</dt>
-<dd><p>Listening socket.</p>
-</dd>
-</dl>
-<p>Listen for connections on the given port.</p>
-<p>The port is given as part of the transport options under the key <code>port</code>. Any other option is transport dependent.</p>
-<p>The socket returned by this call can then be used to accept connections. It is not possible to send or receive data from the listening socket.</p>
-<h3 id="_messages_______ok__closed__error">messages() -&gt; {OK, Closed, Error}</h3>
-<dl><dt>OK = Closed = Error = atom()</dt>
-<dd><p>Tuple names.</p>
-</dd>
-</dl>
-<p>Return the atoms used to identify messages sent in active mode.</p>
-<h3 id="_name______name">name() -&gt; Name</h3>
-<dl><dt>Name = atom()</dt>
-<dd><p>Transport module name.</p>
-</dd>
-</dl>
-<p>Return the name of the transport.</p>
-<h3 id="_peername_csocket______ok___ip__port______error__atom">peername(CSocket) -&gt; {ok, {IP, Port}} | {error, atom()}</h3>
-<dl><dt>CSocket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>IP = inet:ip_address()</dt>
-<dd><p>IP of the remote endpoint.</p>
-</dd>
-<dt>Port = inet:port_number()</dt>
-<dd><p>Port of the remote endpoint.</p>
-</dd>
-</dl>
-<p>Return the IP and port of the remote endpoint.</p>
-<h3 id="_recv_csocket__length__timeout______ok__packet_____error__closed___timeout___atom">recv(CSocket, Length, Timeout) -&gt; {ok, Packet} | {error, closed | timeout | atom()}</h3>
-<dl><dt>CSocket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>Length = non_neg_integer()</dt>
-<dd><p>Requested length.</p>
-</dd>
-<dt>Timeout = timeout()</dt>
-<dd><p>Receive timeout.</p>
-</dd>
-<dt>Packet = iodata() | any()</dt>
-<dd><p>Data received.</p>
-</dd>
-</dl>
-<p>Receive data from the given socket when in passive mode.</p>
-<p>Trying to receive data from a socket that is in active mode will return an error.</p>
-<p>A length of 0 will return any data available on the socket.</p>
-<p>While it is possible to use the timeout value <code>infinity</code>, this is highly discouraged as this could cause your process to get stuck waiting for data that will never come. This may happen when a socket becomes half-open due to a crash of the remote endpoint. Wi-Fi going down is another common culprit of this issue.</p>
-<h3 id="_send_csocket__packet_____ok____error__atom">send(CSocket, Packet) -&gt; ok | {error, atom()}</h3>
-<dl><dt>CSocket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>Packet = iodata()</dt>
-<dd><p>Data to be sent.</p>
-</dd>
-</dl>
-<p>Send data to the given socket.</p>
-<h3 id="_sendfile_csocket__file_____sendfile_csocket__file__0__0">sendfile(CSocket, File) -&gt; sendfile(CSocket, File, 0, 0, [])</h3>
-<p>Alias of <code>ranch_transport:sendfile/5</code>.</p>
-<h3 id="_sendfile_csocket__file__offset__bytes_____sendfile_csocket__file__offset__bytes">sendfile(CSocket, File, Offset, Bytes) -&gt; sendfile(CSocket, File, Offset, Bytes, [])</h3>
-<p>Alias of <code>ranch_transport:sendfile/5</code>.</p>
-<h3 id="_sendfile_csocket__file__offset__bytes__sfopts______ok__sentbytes_____error__atom">sendfile(CSocket, File, Offset, Bytes, SfOpts) -&gt; {ok, SentBytes} | {error, atom()}</h3>
-<dl><dt>CSocket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>File = file:filename_all() | file:fd()</dt>
-<dd><p>Filename or file descriptor for the file to be sent.</p>
-</dd>
-<dt>Offset = non_neg_integer()</dt>
-<dd><p>Begin sending at this position in the file.</p>
-</dd>
-<dt>Bytes = non_neg_integer()</dt>
-<dd><p>Send this many bytes.</p>
-</dd>
-<dt>SentBytes = non_neg_integer()</dt>
-<dd><p>This many bytes were sent.</p>
-</dd>
-<dt>SfOpts = sendfile_opts()</dt>
-<dd><p>Sendfile options.</p>
-</dd>
-</dl>
-<p>Send data from a file to the given socket.</p>
-<p>The file may be sent full or in parts, and may be specified by its filename or by an already open file descriptor.</p>
-<p>Transports that manipulate TCP directly may use the <code>file:sendfile/{2,4,5}</code> function, which calls the sendfile syscall where applicable (on Linux, for example). Other transports can use the <code>sendfile/6</code> function exported from this module.</p>
-<h3 id="_setopts_csocket__sockopts_____ok____error__atom">setopts(CSocket, SockOpts) -&gt; ok | {error, atom()}</h3>
-<dl><dt>CSocket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>SockOpts = any()</dt>
-<dd><p>Socket options.</p>
-</dd>
-</dl>
-<p>Change options for the given socket.</p>
-<p>This is mainly useful for switching to active or passive mode or to set protocol-specific options.</p>
-<h3 id="_shutdown_csocket__how_____ok____error__atom">shutdown(CSocket, How) -&gt; ok | {error, atom()}</h3>
-<dl><dt>CSocket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>How = read | write | read_write</dt>
-<dd><p>Which side(s) of the socket to close.</p>
-</dd>
-</dl>
-<p>Immediately close the socket in one or two directions.</p>
-<h3 id="_sockname_socket______ok___ip__port______error__atom">sockname(Socket) -&gt; {ok, {IP, Port}} | {error, atom()}</h3>
-<dl><dt>Socket = any()</dt>
-<dd><p>Socket opened with listen/1 or accept/2.</p>
-</dd>
-<dt>IP = inet:ip_address()</dt>
-<dd><p>IP of the local endpoint.</p>
-</dd>
-<dt>Port = inet:port_number()</dt>
-<dd><p>Port of the local endpoint.</p>
-</dd>
-</dl>
-<p>Return the IP and port of the local endpoint.</p>
-<h2 id="_exports">Exports</h2>
-<h3 id="_sendfile_transport__csocket__file__offset__bytes__sfopts______ok__sentbytes_____error__atom">sendfile(Transport, CSocket, File, Offset, Bytes, SfOpts) -&gt; {ok, SentBytes} | {error, atom()}</h3>
-<dl><dt>Transport = module()</dt>
-<dd><p>Transport module for this socket.</p>
-</dd>
-<dt>CSocket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>File = file:filename_all() | file:fd()</dt>
-<dd><p>Filename or file descriptor for the file to be sent.</p>
-</dd>
-<dt>Offset = non_neg_integer()</dt>
-<dd><p>Begin sending at this position in the file.</p>
-</dd>
-<dt>Bytes = non_neg_integer()</dt>
-<dd><p>Send this many bytes.</p>
-</dd>
-<dt>SentBytes = non_neg_integer()</dt>
-<dd><p>This many bytes were sent.</p>
-</dd>
-<dt>SfOpts = sendfile_opts()</dt>
-<dd><p>Sendfile options.</p>
-</dd>
-</dl>
-<p>Send data from a file to the given socket.</p>
-<p>This function emulates the function <code>file:sendfile/{2,4,5}</code> and may be used when transports are not manipulating TCP directly.</p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Ranch
- 1.2
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/ranch/1.2/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.2/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
-
- <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
-
- <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
-
- <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
-
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.3/guide/embedded.asciidoc b/docs/en/ranch/1.3/guide/embedded.asciidoc
deleted file mode 100644
index 593a8079..00000000
--- a/docs/en/ranch/1.3/guide/embedded.asciidoc
+++ /dev/null
@@ -1,48 +0,0 @@
-== Embedded mode
-
-Embedded mode allows you to insert Ranch listeners directly
-in your supervision tree. This allows for greater fault tolerance
-control by permitting the shutdown of a listener due to the
-failure of another part of the application and vice versa.
-
-=== Embedding
-
-To embed Ranch in your application you can simply add the child specs
-to your supervision tree. This can all be done in the `init/1` function
-of one of your application supervisors.
-
-Ranch requires at the minimum two kinds of child specs for embedding.
-First, you need to add `ranch_sup` to your supervision tree, only once,
-regardless of the number of listeners you will use. Then you need to
-add the child specs for each listener.
-
-Ranch has a convenience function for getting the listeners child specs
-called `ranch:child_spec/6`, that works like `ranch:start_listener/6`,
-except that it doesn't start anything, it only returns child specs.
-
-As for `ranch_sup`, the child spec is simple enough to not require a
-convenience function.
-
-The following example adds both `ranch_sup` and one listener to another
-application's supervision tree.
-
-.Embed Ranch directly in your supervision tree
-
-[source,erlang]
-----
-init([]) ->
- RanchSupSpec = {ranch_sup, {ranch_sup, start_link, []},
- permanent, 5000, supervisor, [ranch_sup]},
- ListenerSpec = ranch:child_spec(echo, 100,
- ranch_tcp, [{port, 5555}],
- echo_protocol, []
- ),
- {ok, {{one_for_one, 10, 10}, [RanchSupSpec, ListenerSpec]}}.
-----
-
-Remember, you can add as many listener child specs as needed, but only
-one `ranch_sup` spec!
-
-It is recommended that your architecture makes sure that all listeners
-are restarted if `ranch_sup` fails. See the Ranch internals chapter for
-more details on how Ranch does it.
diff --git a/docs/en/ranch/1.3/guide/index.html b/docs/en/ranch/1.3/guide/index.html
deleted file mode 100644
index 1d3e6f66..00000000
--- a/docs/en/ranch/1.3/guide/index.html
+++ /dev/null
@@ -1,176 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Ranch User Guide</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Ranch User Guide</span></h1>
-
-<ul><li><a href="introduction/">Introduction</a>
-</li>
-<li><a href="listeners/">Listeners</a>
-</li>
-<li><a href="transports/">Transports</a>
-</li>
-<li><a href="protocols/">Protocols</a>
-</li>
-<li><a href="embedded/">Embedded mode</a>
-</li>
-<li><a href="parsers/">Writing parsers</a>
-</li>
-<li><a href="ssl_auth/">SSL client authentication</a>
-</li>
-<li><a href="internals/">Internals</a>
-</li>
-</ul>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Ranch
- 1.3
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/ranch/1.3/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.3/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
-
- <li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
-
- <li><a href="/docs/en/ranch/1.5/guide">1.5</a></li>
-
- <li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
-
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.3/guide/internals.asciidoc b/docs/en/ranch/1.3/guide/internals.asciidoc
deleted file mode 100644
index fa63f1d3..00000000
--- a/docs/en/ranch/1.3/guide/internals.asciidoc
+++ /dev/null
@@ -1,94 +0,0 @@
-== Internals
-
-This chapter may not apply to embedded Ranch as embedding allows you
-to use an architecture specific to your application, which may or may
-not be compatible with the description of the Ranch application.
-
-Note that for everything related to efficiency and performance,
-you should perform the benchmarks yourself to get the numbers that
-matter to you. Generic benchmarks found on the web may or may not
-be of use to you, you can never know until you benchmark your own
-system.
-
-=== Architecture
-
-Ranch is an OTP application.
-
-Like all OTP applications, Ranch has a top supervisor. It is responsible
-for supervising the `ranch_server` process and all the listeners that
-will be started.
-
-The `ranch_server` gen_server is a central process keeping track of the
-listeners and their acceptors. It does so through the use of a public ets
-table called `ranch_server`. The table is owned by the top supervisor
-to improve fault tolerance. This way if the `ranch_server` gen_server
-fails, it doesn't lose any information and the restarted process can
-continue as if nothing happened.
-
-Ranch uses a custom supervisor for managing connections. This supervisor
-keeps track of the number of connections and handles connection limits
-directly. While it is heavily optimized to perform the task of creating
-connection processes for accepted connections, it is still following the
-OTP principles and the usual `sys` and `supervisor` calls will work on
-it as expected.
-
-Listeners are grouped into the `ranch_listener_sup` supervisor and
-consist of three kinds of processes: the listener gen_server, the
-acceptor processes and the connection processes, both grouped under
-their own supervisor. All of these processes are registered to the
-`ranch_server` gen_server with varying amount of information.
-
-All socket operations, including listening for connections, go through
-transport handlers. Accepted connections are given to the protocol handler.
-Transport handlers are simple callback modules for performing operations on
-sockets. Protocol handlers start a new process, which receives socket
-ownership, with no requirements on how the code should be written inside
-that new process.
-
-=== Number of acceptors
-
-The second argument to `ranch:start_listener/6` is the number of
-processes that will be accepting connections. Care should be taken
-when choosing this number.
-
-First of all, it should not be confused with the maximum number
-of connections. Acceptor processes are only used for accepting and
-have nothing else in common with connection processes. Therefore
-there is nothing to be gained from setting this number too high,
-in fact it can slow everything else down.
-
-Second, this number should be high enough to allow Ranch to accept
-connections concurrently. But the number of cores available doesn't
-seem to be the only factor for choosing this number, as we can
-observe faster accepts if we have more acceptors than cores. It
-might be entirely dependent on the protocol, however.
-
-Our observations suggest that using 100 acceptors on modern hardware
-is a good solution, as it's big enough to always have acceptors ready
-and it's low enough that it doesn't have a negative impact on the
-system's performances.
-
-=== Platform-specific TCP features
-
-Some socket options are platform-specific and not supported by `inet`.
-They can be of interest because they generally are related to
-optimizations provided by the underlying OS. They can still be enabled
-thanks to the `raw` option, for which we will see an example.
-
-One of these features is `TCP_DEFER_ACCEPT` on Linux. It is a simplified
-accept mechanism which will wait for application data to come in before
-handing out the connection to the Erlang process.
-
-This is especially useful if you expect many connections to be mostly
-idle, perhaps part of a connection pool. They can be handled by the
-kernel directly until they send any real data, instead of allocating
-resources to idle connections.
-
-To enable this mechanism, the following option can be used.
-
-.Using raw transport options
-
-[source,erlang]
-{raw, 6, 9, << 30:32/native >>}
-
-It means go on layer 6, turn on option 9 with the given integer parameter.
diff --git a/docs/en/ranch/1.3/guide/internals/index.html b/docs/en/ranch/1.3/guide/internals/index.html
deleted file mode 100644
index 5cdf42a0..00000000
--- a/docs/en/ranch/1.3/guide/internals/index.html
+++ /dev/null
@@ -1,204 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Internals</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Internals</span></h1>
-
-<p>This chapter may not apply to embedded Ranch as embedding allows you to use an architecture specific to your application, which may or may not be compatible with the description of the Ranch application.</p>
-<p>Note that for everything related to efficiency and performance, you should perform the benchmarks yourself to get the numbers that matter to you. Generic benchmarks found on the web may or may not be of use to you, you can never know until you benchmark your own system.</p>
-<h2 id="_architecture">Architecture</h2>
-<p>Ranch is an OTP application.</p>
-<p>Like all OTP applications, Ranch has a top supervisor. It is responsible for supervising the <code>ranch_server</code> process and all the listeners that will be started.</p>
-<p>The <code>ranch_server</code> gen_server is a central process keeping track of the listeners and their acceptors. It does so through the use of a public ets table called <code>ranch_server</code>. The table is owned by the top supervisor to improve fault tolerance. This way if the <code>ranch_server</code> gen_server fails, it doesn&apos;t lose any information and the restarted process can continue as if nothing happened.</p>
-<p>Ranch uses a custom supervisor for managing connections. This supervisor keeps track of the number of connections and handles connection limits directly. While it is heavily optimized to perform the task of creating connection processes for accepted connections, it is still following the OTP principles and the usual <code>sys</code> and <code>supervisor</code> calls will work on it as expected.</p>
-<p>Listeners are grouped into the <code>ranch_listener_sup</code> supervisor and consist of three kinds of processes: the listener gen_server, the acceptor processes and the connection processes, both grouped under their own supervisor. All of these processes are registered to the <code>ranch_server</code> gen_server with varying amount of information.</p>
-<p>All socket operations, including listening for connections, go through transport handlers. Accepted connections are given to the protocol handler. Transport handlers are simple callback modules for performing operations on sockets. Protocol handlers start a new process, which receives socket ownership, with no requirements on how the code should be written inside that new process.</p>
-<h2 id="_number_of_acceptors">Number of acceptors</h2>
-<p>The second argument to <code>ranch:start_listener/6</code> is the number of processes that will be accepting connections. Care should be taken when choosing this number.</p>
-<p>First of all, it should not be confused with the maximum number of connections. Acceptor processes are only used for accepting and have nothing else in common with connection processes. Therefore there is nothing to be gained from setting this number too high, in fact it can slow everything else down.</p>
-<p>Second, this number should be high enough to allow Ranch to accept connections concurrently. But the number of cores available doesn&apos;t seem to be the only factor for choosing this number, as we can observe faster accepts if we have more acceptors than cores. It might be entirely dependent on the protocol, however.</p>
-<p>Our observations suggest that using 100 acceptors on modern hardware is a good solution, as it&apos;s big enough to always have acceptors ready and it&apos;s low enough that it doesn&apos;t have a negative impact on the system&apos;s performances.</p>
-<h2 id="_platform_specific_tcp_features">Platform-specific TCP features</h2>
-<p>Some socket options are platform-specific and not supported by <code>inet</code>. They can be of interest because they generally are related to optimizations provided by the underlying OS. They can still be enabled thanks to the <code>raw</code> option, for which we will see an example.</p>
-<p>One of these features is <code>TCP_DEFER_ACCEPT</code> on Linux. It is a simplified accept mechanism which will wait for application data to come in before handing out the connection to the Erlang process.</p>
-<p>This is especially useful if you expect many connections to be mostly idle, perhaps part of a connection pool. They can be handled by the kernel directly until they send any real data, instead of allocating resources to idle connections.</p>
-<p>To enable this mechanism, the following option can be used.</p>
-<div class="listingblock"><div class="title">Using raw transport options</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">raw</font>, <font color="#993399">6</font>, <font color="#993399">9</font>, <font color="#990000">&lt;&lt;</font> <b><font color="#000000">30:32</font></b><font color="#990000">/</font><font color="#FF6600">native</font> <font color="#990000">&gt;&gt;</font>}</tt></pre>
-</div></div>
-<p>It means go on layer 6, turn on option 9 with the given integer parameter.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/ranch/1.3/guide/ssl_auth/">
- SSL client authentication
- </a>
-
-
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Ranch
- 1.3
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/ranch/1.3/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.3/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
-
- <li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
-
- <li><a href="/docs/en/ranch/1.5/guide">1.5</a></li>
-
- <li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
-
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.3/guide/introduction.asciidoc b/docs/en/ranch/1.3/guide/introduction.asciidoc
deleted file mode 100644
index ac27862e..00000000
--- a/docs/en/ranch/1.3/guide/introduction.asciidoc
+++ /dev/null
@@ -1,28 +0,0 @@
-== Introduction
-
-Ranch is a socket acceptor pool for TCP protocols.
-
-Ranch aims to provide everything you need to accept TCP connections
-with a small code base and low latency while being easy to use directly
-as an application or to embed into your own.
-
-=== Prerequisites
-
-It is assumed the developer already knows Erlang and has some experience
-with socket programming and TCP protocols.
-
-=== Supported platforms
-
-Ranch is tested and supported on Linux, FreeBSD, OSX and Windows.
-
-Ranch is developed for Erlang/OTP R16B+.
-
-There are known issues with the SSL application found in Erlang/OTP
-18.3.2 and 18.3.3. These versions are therefore not supported.
-
-Ranch may be compiled on earlier Erlang versions with small source code
-modifications but there is no guarantee that it will work as expected.
-
-=== Versioning
-
-Ranch uses http://semver.org/[Semantic Versioning 2.0.0]
diff --git a/docs/en/ranch/1.3/guide/parsers/index.html b/docs/en/ranch/1.3/guide/parsers/index.html
deleted file mode 100644
index d32a3b07..00000000
--- a/docs/en/ranch/1.3/guide/parsers/index.html
+++ /dev/null
@@ -1,243 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: Writing parsers</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>Writing parsers</span></h1>
-
-<p>There are three kinds of protocols:</p>
-<ul><li>Text protocols
-</li>
-<li>Schema-less binary protocols
-</li>
-<li>Schema-based binary protocols
-</li>
-</ul>
-<p>This chapter introduces the first two kinds. It will not cover more advanced topics such as continuations or parser generators.</p>
-<p>This chapter isn&apos;t specifically about Ranch, we assume here that you know how to read data from the socket. The data you read and the data that hasn&apos;t been parsed is saved in a buffer. Every time you read from the socket, the data read is appended to the buffer. What happens next depends on the kind of protocol. We will only cover the first two.</p>
-<h2 id="_parsing_text">Parsing text</h2>
-<p>Text protocols are generally line based. This means that we can&apos;t do anything with them until we receive the full line.</p>
-<p>A simple way to get a full line is to use <code>binary:split/{2,3}</code>.</p>
-<div class="listingblock"><div class="title">Using binary:split/2 to get a line of input</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#0000FF">case</font></b> <b><font color="#000000">binary:split</font></b>(<font color="#009900">Buffer</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"\n"</font><font color="#990000">&gt;&gt;</font>) <b><font color="#0000FF">of</font></b>
- [<font color="#990000">_</font>] <font color="#990000">-&gt;</font>
- <b><font color="#000000">get_more_data</font></b>(<font color="#009900">Buffer</font>);
- [<font color="#009900">Line</font>, <font color="#009900">Rest</font>] <font color="#990000">-&gt;</font>
- <b><font color="#000000">handle_line</font></b>(<font color="#009900">Line</font>, <font color="#009900">Rest</font>)
-<b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>In the above example, we can have two results. Either there was a line break in the buffer and we get it split into two parts, the line and the rest of the buffer; or there was no line break in the buffer and we need to get more data from the socket.</p>
-<p>Next, we need to parse the line. The simplest way is to again split, here on space. The difference is that we want to split on all spaces character, as we want to tokenize the whole string.</p>
-<div class="listingblock"><div class="title">Using binary:split/3 to split text</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#0000FF">case</font></b> <b><font color="#000000">binary:split</font></b>(<font color="#009900">Line</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">" "</font><font color="#990000">&gt;&gt;</font>, [<font color="#FF6600">global</font>]) <b><font color="#0000FF">of</font></b>
- [<font color="#990000">&lt;&lt;</font><font color="#FF0000">"HELLO"</font><font color="#990000">&gt;&gt;</font>] <font color="#990000">-&gt;</font>
- <b><font color="#000000">be_polite</font></b>();
- [<font color="#990000">&lt;&lt;</font><font color="#FF0000">"AUTH"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">User</font>, <font color="#009900">Password</font>] <font color="#990000">-&gt;</font>
- <b><font color="#000000">authenticate_user</font></b>(<font color="#009900">User</font>, <font color="#009900">Password</font>);
- [<font color="#990000">&lt;&lt;</font><font color="#FF0000">"QUIT"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Reason</font>] <font color="#990000">-&gt;</font>
- <b><font color="#000000">quit</font></b>(<font color="#009900">Reason</font>)
- <i><font color="#9A1900">%% ...</font></i>
-<b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Pretty simple, right? Match on the command name, get the rest of the tokens in variables and call the respective functions.</p>
-<p>After doing this, you will want to check if there is another line in the buffer, and handle it immediately if any. Otherwise wait for more data.</p>
-<h2 id="_parsing_binary">Parsing binary</h2>
-<p>Binary protocols can be more varied, although most of them are pretty similar. The first four bytes of a frame tend to be the size of the frame, which is followed by a certain number of bytes for the type of frame and then various parameters.</p>
-<p>Sometimes the size of the frame includes the first four bytes, sometimes not. Other times this size is encoded over two bytes. And even other times little-endian is used instead of big-endian.</p>
-<p>The general idea stays the same though.</p>
-<div class="listingblock"><div class="title">Using binary pattern matching to split frames</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#990000">&lt;&lt;</font> <font color="#009900">Size</font><font color="#990000">:</font><font color="#993399">32</font>, <font color="#990000">_/</font><font color="#FF6600">bits</font> <font color="#990000">&gt;&gt;</font> <font color="#990000">=</font> <font color="#009900">Buffer</font>,
-<b><font color="#0000FF">case</font></b> <font color="#009900">Buffer</font> <b><font color="#0000FF">of</font></b>
- <font color="#990000">&lt;&lt;</font> <font color="#009900">Frame</font><font color="#990000">:</font><font color="#009900">Size</font><font color="#990000">/</font><b><font color="#000080">binary</font></b>, <font color="#009900">Rest</font><font color="#990000">/</font><font color="#FF6600">bits</font> <font color="#990000">&gt;&gt;</font> <font color="#990000">-&gt;</font>
- <b><font color="#000000">handle_frame</font></b>(<font color="#009900">Frame</font>, <font color="#009900">Rest</font>);
- <font color="#990000">_</font> <font color="#990000">-&gt;</font>
- <b><font color="#000000">get_more_data</font></b>(<font color="#009900">Buffer</font>)
-<b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
-</div></div>
-<p>You will then need to parse this frame using binary pattern matching, and handle it. Then you will want to check if there is another frame fully received in the buffer, and handle it immediately if any. Otherwise wait for more data.</p>
-
-
-
-
-
-
-
-
-
-
-
- <nav style="margin:1em 0">
-
- <a style="float:left" href="https://ninenines.eu/docs/en/ranch/1.3/guide/embedded/">
- Embedded mode
- </a>
-
-
-
- <a style="float:right" href="https://ninenines.eu/docs/en/ranch/1.3/guide/ssl_auth/">
- SSL client authentication
- </a>
-
- </nav>
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Ranch
- 1.3
-
- User Guide
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/ranch/1.3/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.3/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
-
- <li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
-
- <li><a href="/docs/en/ranch/1.5/guide">1.5</a></li>
-
- <li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
-
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.3/index.html b/docs/en/ranch/1.3/index.html
new file mode 100644
index 00000000..71a16573
--- /dev/null
+++ b/docs/en/ranch/1.3/index.html
@@ -0,0 +1 @@
+<!DOCTYPE html><html><head><title>https://ninenines.eu/docs/</title><link rel="canonical" href="https://ninenines.eu/docs/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://ninenines.eu/docs/" /></head></html> \ No newline at end of file
diff --git a/docs/en/ranch/1.3/manual/ranch/index.html b/docs/en/ranch/1.3/manual/ranch/index.html
deleted file mode 100644
index f4c9901b..00000000
--- a/docs/en/ranch/1.3/manual/ranch/index.html
+++ /dev/null
@@ -1,380 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: ranch(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>ranch(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>ranch - socket acceptor pool</p>
-<h2 id="_description">Description</h2>
-<p>The <code>ranch</code> module provides functions for starting and manipulating Ranch listeners.</p>
-<h2 id="_types">Types</h2>
-<h3 id="_max_conns_____non_neg_integer_____infinity">max_conns() = non_neg_integer() | infinity</h3>
-<p>Maximum number of connections allowed on this listener.</p>
-<p>This is a soft limit. The actual number of connections might be slightly above the limit due to concurrency when accepting new connections. Some connections may also be removed from this count explicitly by the user code.</p>
-<h3 id="_opt">opt()</h3>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">opt</font></b>() <font color="#990000">=</font> {<font color="#FF6600">ack_timeout</font>, <b><font color="#000000">timeout</font></b>()}
- | {<font color="#FF6600">connection_type</font>, <font color="#FF6600">worker</font> | <font color="#FF6600">supervisor</font>}
- | {<font color="#FF6600">max_connections</font>, <b><font color="#000000">max_conns</font></b>()}
- | {<font color="#000080">shutdown</font>, <b><font color="#000000">timeout</font></b>() | <font color="#FF6600">brutal_kill</font>}
- | {<font color="#FF6600">socket</font>, <b><font color="#000000">any</font></b>()}</tt></pre>
-</div></div>
-<p>Ranch-specific transport options.</p>
-<p>These options are not passed on to the transports. They are used by Ranch while setting up the listeners.</p>
-<h3 id="_ref_____any">ref() = any()</h3>
-<p>Unique name used to refer to a listener.</p>
-<h2 id="_option_descriptions">Option descriptions</h2>
-<p>None of the options are required.</p>
-<dl><dt>ack_timeout (5000)</dt>
-<dd><p>Maximum allowed time for the <code>ranch:accept_ack/1</code> call to finish.</p>
-</dd>
-<dt>connection_type (worker)</dt>
-<dd><p>Type of process that will handle the connection.</p>
-</dd>
-<dt>max_connections (1024)</dt>
-<dd><p>Maximum number of active connections. Soft limit. Using <code>infinity</code> will disable the limit entirely.</p>
-</dd>
-<dt>shutdown (5000)</dt>
-<dd><p>Maximum allowed time for children to stop on listener shutdown.</p>
-</dd>
-<dt>socket</dt>
-<dd><p>Listening socket opened externally to be used instead of calling <code>Transport:listen/1</code>.</p>
-</dd>
-</dl>
-<h2 id="_exports">Exports</h2>
-<h3 id="_accept_ack_ref_____ok">accept_ack(Ref) -&gt; ok</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-</dl>
-<p>Acknowledge that the connection is accepted.</p>
-<p>This function MUST be used by a connection process to inform Ranch that it initialized properly and let it perform any additional operations before the socket can be safely used.</p>
-<h3 id="_child_spec_ref__numacceptors__transport__transopts__protocol__protoopts_____supervisor_child_spec">child_spec(Ref, NumAcceptors, Transport, TransOpts, Protocol, ProtoOpts) -&gt; supervisor:child_spec()</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>NumAcceptors = non_neg_integer()</dt>
-<dd><p>Number of acceptor processes.</p>
-</dd>
-<dt>Transport = module()</dt>
-<dd><p>Transport module.</p>
-</dd>
-<dt>TransOpts = any()</dt>
-<dd><p>Transport options.</p>
-</dd>
-<dt>Protocol = module()</dt>
-<dd><p>Protocol module.</p>
-</dd>
-<dt>ProtoOpts = any()</dt>
-<dd><p>Protocol options.</p>
-</dd>
-</dl>
-<p>Return child specifications for a new listener.</p>
-<p>This function can be used to embed a listener directly in an application instead of letting Ranch handle it.</p>
-<h3 id="_get_addr_ref______ip__port">get_addr(Ref) -&gt; {IP, Port}</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>IP = inet:ip_address()</dt>
-<dd><p>IP of the interface used by this listener.</p>
-</dd>
-<dt>Port = inet:port_number()</dt>
-<dd><p>Port number used by this listener.</p>
-</dd>
-</dl>
-<p>Return the IP address and port for the given listener.</p>
-<h3 id="_get_max_connections_ref_____maxconns">get_max_connections(Ref) -&gt; MaxConns</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>MaxConns = max_conns()</dt>
-<dd><p>Current maximum number of connections.</p>
-</dd>
-</dl>
-<p>Return the max number of connections allowed for the given listener.</p>
-<h3 id="_get_port_ref_____port">get_port(Ref) -&gt; Port</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>Port = inet:port_number()</dt>
-<dd><p>Port number used by this listener.</p>
-</dd>
-</dl>
-<p>Return the port for the given listener.</p>
-<h3 id="_get_protocol_options_ref_____protoopts">get_protocol_options(Ref) -&gt; ProtoOpts</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>ProtoOpts = any()</dt>
-<dd><p>Current protocol options.</p>
-</dd>
-</dl>
-<p>Return the protocol options set for the given listener.</p>
-<h3 id="_info________ref____key__value">info() -&gt; [{Ref, [{Key, Value}]}]</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>Key = atom()</dt>
-<dd><p>Information key.</p>
-</dd>
-<dt>Value = any()</dt>
-<dd><p>Information value.</p>
-</dd>
-</dl>
-<p>Return detailed information about all Ranch listeners.</p>
-<p>The following keys are defined:</p>
-<dl><dt>pid</dt>
-<dd><p>Pid of the listener&apos;s top-level supervisor.</p>
-</dd>
-<dt>ip</dt>
-<dd><p>Interface Ranch listens on.</p>
-</dd>
-<dt>port</dt>
-<dd><p>Port number Ranch listens on.</p>
-</dd>
-<dt>num_acceptors</dt>
-<dd><p>Number of acceptor processes.</p>
-</dd>
-<dt>max_connections</dt>
-<dd><p>Maximum number of connections.</p>
-</dd>
-<dt>active_connections</dt>
-<dd><p>Number of active connections.</p>
-</dd>
-<dt>all_connections</dt>
-<dd><p>Number of connections, including those removed from the count.</p>
-</dd>
-<dt>transport</dt>
-<dd><p>Transport module.</p>
-</dd>
-<dt>transport_options</dt>
-<dd><p>Transport options.</p>
-</dd>
-<dt>protocol</dt>
-<dd><p>Protocol module.</p>
-</dd>
-<dt>protocol_options</dt>
-<dd><p>Protocol options.</p>
-</dd>
-</dl>
-<h3 id="_procs_ref__acceptors___connections______pid">procs(Ref, acceptors | connections) -&gt; [pid()]</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-</dl>
-<p>Return all acceptor or connection processes for one listener.</p>
-<h3 id="_remove_connection_ref_____ok">remove_connection(Ref) -&gt; ok</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-</dl>
-<p>Do not count this connection when limiting the number of connections.</p>
-<p>You can use this function for long-running connection processes which spend most of their time idling rather than consuming resources. This allows Ranch to accept a lot more connections without sacrificing the latency of the system.</p>
-<p>This function may only be called from a connection process.</p>
-<h3 id="_set_max_connections_ref__maxconns_____ok">set_max_connections(Ref, MaxConns) -&gt; ok</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>MaxConns = max_conns()</dt>
-<dd><p>New maximum number of connections.</p>
-</dd>
-</dl>
-<p>Set the max number of connections for the given listener.</p>
-<p>The change will be applied immediately. If the new value is smaller than the previous one, Ranch will not kill the extra connections, but will wait for them to terminate properly.</p>
-<h3 id="_set_protocol_options_ref__protoopts_____ok">set_protocol_options(Ref, ProtoOpts) -&gt; ok</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>ProtoOpts = any()</dt>
-<dd><p>New protocol options.</p>
-</dd>
-</dl>
-<p>Set the protocol options for the given listener.</p>
-<p>The change will be applied immediately for all new connections. Old connections will not receive the new options.</p>
-<h3 id="_start_listener_ref__numacceptors__transport__transopts__protocol__protoopts______ok__pid_______error__badarg">start_listener(Ref, NumAcceptors, Transport, TransOpts, Protocol, ProtoOpts) -&gt; {ok, pid()} | {error, badarg}</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>NumAcceptors = non_neg_integer()</dt>
-<dd><p>Number of acceptor processes.</p>
-</dd>
-<dt>Transport = module()</dt>
-<dd><p>Transport module.</p>
-</dd>
-<dt>TransOpts = any()</dt>
-<dd><p>Transport options.</p>
-</dd>
-<dt>Protocol = module()</dt>
-<dd><p>Protocol module.</p>
-</dd>
-<dt>ProtoOpts = any()</dt>
-<dd><p>Protocol options.</p>
-</dd>
-</dl>
-<p>Start listening for connections using the given transport and protocol. Returns the pid for this listener&apos;s supervisor.</p>
-<p>There are additional transport options that apply regardless of transport. They allow configuring how the connections are supervised, rate limited and more. Please consult the previous section for more details.</p>
-<h3 id="_stop_listener_ref_____ok____error__not_found">stop_listener(Ref) -&gt; ok | {error, not_found}</h3>
-<dl><dt>Ref = ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-</dl>
-<p>Stop the given listener.</p>
-<p>The listener is stopped gracefully, first by closing the listening port, then by stopping the connection processes. These processes are stopped according to the <code>shutdown</code> transport option, which may be set to brutally kill all connection processes or give them some time to stop properly.</p>
-<p>This function does not return until the listener is completely stopped.</p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Ranch
- 1.3
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/ranch/1.3/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.3/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
-
- <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
-
- <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
-
- <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
-
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.3/manual/ranch_protocol/index.html b/docs/en/ranch/1.3/manual/ranch_protocol/index.html
deleted file mode 100644
index 1b277ee2..00000000
--- a/docs/en/ranch/1.3/manual/ranch_protocol/index.html
+++ /dev/null
@@ -1,185 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: ranch_protocol(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>ranch_protocol(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>ranch_protocol - behaviour for protocol modules</p>
-<h2 id="_description">Description</h2>
-<p>The <code>ranch_protocol</code> behaviour defines the interface used by Ranch protocols.</p>
-<h2 id="_types">Types</h2>
-<p>None.</p>
-<h2 id="_callbacks">Callbacks</h2>
-<h3 id="_start_link_ref__socket__transport__protoopts______ok__pid_______ok__pid____pid">start_link(Ref, Socket, Transport, ProtoOpts) -&gt; {ok, pid()} | {ok, pid(), pid()}</h3>
-<dl><dt>Ref = ranch:ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>Socket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>Transport = module()</dt>
-<dd><p>Transport module for this socket.</p>
-</dd>
-<dt>ProtoOpts = any()</dt>
-<dd><p>Protocol options.</p>
-</dd>
-</dl>
-<p>Start a new connection process for the given socket.</p>
-<p>The only purpose of this callback is to start a process that will handle the socket. It must spawn the process, link and then return the new pid. This function will always be called from inside a supervisor.</p>
-<p>This callback can also return two pids. The first pid is the pid of the process that will be supervised. The second pid is the pid of the process that will receive ownership of the socket. This second process must be a child of the first. This form is only available when <code>connection_type</code> is set to <code>supervisor</code>.</p>
-<p>If any other value is returned, the supervisor will close the socket and assume no process has been started.</p>
-<p>Do not perform any operations in this callback, as this would block the supervisor responsible for starting connection processes and degrade performance severely.</p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Ranch
- 1.3
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/ranch/1.3/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.3/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
-
- <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
-
- <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
-
- <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
-
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.3/manual/ranch_transport/index.html b/docs/en/ranch/1.3/manual/ranch_transport/index.html
deleted file mode 100644
index 1b68deee..00000000
--- a/docs/en/ranch/1.3/manual/ranch_transport/index.html
+++ /dev/null
@@ -1,350 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
-
- <title>Nine Nines: ranch_transport(3)</title>
-
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
- <link href="/css/99s.css?r=5" rel="stylesheet">
-
- <link rel="shortcut icon" href="/img/ico/favicon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
- <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
-
-
-</head>
-
-
-<body class="">
- <header id="page-head">
- <div id="topbar" class="container">
- <div class="row">
- <div class="span2">
- <h1 id="logo"><a href="/" title="99s">99s</a></h1>
- </div>
- <div class="span10">
-
- <div id="side-header">
- <nav>
- <ul>
- <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
- <li><a title="Watch my talks" href="/talks">Talks</a></li>
- <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
- <li><a title="Request my services" href="/services">Consulting & Training</a></li>
- </ul>
- </nav>
- <ul id="social">
- <li>
- <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
- </li>
- <li>
- <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
-
-
-</header>
-
-<div id="contents" class="two_col">
-<div class="container">
-<div class="row">
-<div id="docs" class="span9 maincol">
-
-<h1 class="lined-header"><span>ranch_transport(3)</span></h1>
-
-<h2 id="_name">Name</h2>
-<p>ranch_transport - behaviour for transport modules</p>
-<h2 id="_description">Description</h2>
-<p>The <code>ranch_transport</code> behaviour defines the interface used by Ranch transports.</p>
-<h2 id="_types">Types</h2>
-<h3 id="_sendfile_opts_______chunk_size__non_neg_integer">sendfile_opts() = [{chunk_size, non_neg_integer()}]</h3>
-<p>Options used by the sendfile function and callbacks.</p>
-<p>Allows configuring the chunk size, in bytes. Defaults to 8191 bytes.</p>
-<h2 id="_callbacks">Callbacks</h2>
-<h3 id="_accept_lsocket__timeout______ok__csocket_____error__closed___timeout___atom">accept(LSocket, Timeout) -&gt; {ok, CSocket} | {error, closed | timeout | atom()}</h3>
-<dl><dt>LSocket = CSocket = any()</dt>
-<dd><p>Listening socket.</p>
-</dd>
-<dt>Timeout = timeout()</dt>
-<dd><p>Accept timeout.</p>
-</dd>
-</dl>
-<p>Accept a connection on the given listening socket.</p>
-<p>The <code>accept_ack</code> callback will be used to initialize the socket after accepting the connection. This is most useful when the transport is not raw TCP, like with SSL for example.</p>
-<h3 id="_accept_ack_csocket__timeout_____ok">accept_ack(CSocket, Timeout) -&gt; ok</h3>
-<dl><dt>CSocket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>Timeout = timeout()</dt>
-<dd><p>Ack timeout.</p>
-</dd>
-</dl>
-<p>Perform post-accept initialization of the connection.</p>
-<p>This function will be called by connection processes before performing any socket operation. It allows transports that require extra initialization to perform their task and make the socket ready to use.</p>
-<h3 id="_close_socket_____ok">close(Socket) -&gt; ok</h3>
-<dl><dt>Socket = any()</dt>
-<dd><p>Socket opened with listen/1 or accept/2.</p>
-</dd>
-</dl>
-<p>Close the given socket.</p>
-<h3 id="_controlling_process_socket__pid_____ok____error__closed___not_owner___atom">controlling_process(Socket, Pid) -&gt; ok | {error, closed | not_owner | atom()}</h3>
-<dl><dt>Socket = any()</dt>
-<dd><p>Socket opened with listen/1 or accept/2.</p>
-</dd>
-<dt>Pid = pid()</dt>
-<dd><p>Pid of the new owner of the socket.</p>
-</dd>
-</dl>
-<p>Change the controlling process for the given socket.</p>
-<p>The controlling process is the process that is allowed to perform operations on the socket, and that will receive messages from the socket when active mode is used. When the controlling process dies, the socket is closed.</p>
-<h3 id="_listen_transopts______ok__lsocket_____error__atom">listen(TransOpts) -&gt; {ok, LSocket} | {error, atom()}</h3>
-<dl><dt>TransOpts = any()</dt>
-<dd><p>Transport options.</p>
-</dd>
-<dt>LSocket = any()</dt>
-<dd><p>Listening socket.</p>
-</dd>
-</dl>
-<p>Listen for connections on the given port.</p>
-<p>The port is given as part of the transport options under the key <code>port</code>. Any other option is transport dependent.</p>
-<p>The socket returned by this call can then be used to accept connections. It is not possible to send or receive data from the listening socket.</p>
-<h3 id="_messages_______ok__closed__error">messages() -&gt; {OK, Closed, Error}</h3>
-<dl><dt>OK = Closed = Error = atom()</dt>
-<dd><p>Tuple names.</p>
-</dd>
-</dl>
-<p>Return the atoms used to identify messages sent in active mode.</p>
-<h3 id="_name______name">name() -&gt; Name</h3>
-<dl><dt>Name = atom()</dt>
-<dd><p>Transport module name.</p>
-</dd>
-</dl>
-<p>Return the name of the transport.</p>
-<h3 id="_peername_csocket______ok___ip__port______error__atom">peername(CSocket) -&gt; {ok, {IP, Port}} | {error, atom()}</h3>
-<dl><dt>CSocket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>IP = inet:ip_address()</dt>
-<dd><p>IP of the remote endpoint.</p>
-</dd>
-<dt>Port = inet:port_number()</dt>
-<dd><p>Port of the remote endpoint.</p>
-</dd>
-</dl>
-<p>Return the IP and port of the remote endpoint.</p>
-<h3 id="_recv_csocket__length__timeout______ok__packet_____error__closed___timeout___atom">recv(CSocket, Length, Timeout) -&gt; {ok, Packet} | {error, closed | timeout | atom()}</h3>
-<dl><dt>CSocket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>Length = non_neg_integer()</dt>
-<dd><p>Requested length.</p>
-</dd>
-<dt>Timeout = timeout()</dt>
-<dd><p>Receive timeout.</p>
-</dd>
-<dt>Packet = iodata() | any()</dt>
-<dd><p>Data received.</p>
-</dd>
-</dl>
-<p>Receive data from the given socket when in passive mode.</p>
-<p>Trying to receive data from a socket that is in active mode will return an error.</p>
-<p>A length of 0 will return any data available on the socket.</p>
-<p>While it is possible to use the timeout value <code>infinity</code>, this is highly discouraged as this could cause your process to get stuck waiting for data that will never come. This may happen when a socket becomes half-open due to a crash of the remote endpoint. Wi-Fi going down is another common culprit of this issue.</p>
-<h3 id="_send_csocket__packet_____ok____error__atom">send(CSocket, Packet) -&gt; ok | {error, atom()}</h3>
-<dl><dt>CSocket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>Packet = iodata()</dt>
-<dd><p>Data to be sent.</p>
-</dd>
-</dl>
-<p>Send data to the given socket.</p>
-<h3 id="_sendfile_csocket__file_____sendfile_csocket__file__0__0">sendfile(CSocket, File) -&gt; sendfile(CSocket, File, 0, 0, [])</h3>
-<p>Alias of <code>ranch_transport:sendfile/5</code>.</p>
-<h3 id="_sendfile_csocket__file__offset__bytes_____sendfile_csocket__file__offset__bytes">sendfile(CSocket, File, Offset, Bytes) -&gt; sendfile(CSocket, File, Offset, Bytes, [])</h3>
-<p>Alias of <code>ranch_transport:sendfile/5</code>.</p>
-<h3 id="_sendfile_csocket__file__offset__bytes__sfopts______ok__sentbytes_____error__atom">sendfile(CSocket, File, Offset, Bytes, SfOpts) -&gt; {ok, SentBytes} | {error, atom()}</h3>
-<dl><dt>CSocket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>File = file:filename_all() | file:fd()</dt>
-<dd><p>Filename or file descriptor for the file to be sent.</p>
-</dd>
-<dt>Offset = non_neg_integer()</dt>
-<dd><p>Begin sending at this position in the file.</p>
-</dd>
-<dt>Bytes = non_neg_integer()</dt>
-<dd><p>Send this many bytes.</p>
-</dd>
-<dt>SentBytes = non_neg_integer()</dt>
-<dd><p>This many bytes were sent.</p>
-</dd>
-<dt>SfOpts = sendfile_opts()</dt>
-<dd><p>Sendfile options.</p>
-</dd>
-</dl>
-<p>Send data from a file to the given socket.</p>
-<p>The file may be sent full or in parts, and may be specified by its filename or by an already open file descriptor.</p>
-<p>Transports that manipulate TCP directly may use the <code>file:sendfile/{2,4,5}</code> function, which calls the sendfile syscall where applicable (on Linux, for example). Other transports can use the <code>sendfile/6</code> function exported from this module.</p>
-<h3 id="_setopts_csocket__sockopts_____ok____error__atom">setopts(CSocket, SockOpts) -&gt; ok | {error, atom()}</h3>
-<dl><dt>CSocket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>SockOpts = any()</dt>
-<dd><p>Socket options.</p>
-</dd>
-</dl>
-<p>Change options for the given socket.</p>
-<p>This is mainly useful for switching to active or passive mode or to set protocol-specific options.</p>
-<h3 id="_shutdown_csocket__how_____ok____error__atom">shutdown(CSocket, How) -&gt; ok | {error, atom()}</h3>
-<dl><dt>CSocket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>How = read | write | read_write</dt>
-<dd><p>Which side(s) of the socket to close.</p>
-</dd>
-</dl>
-<p>Immediately close the socket in one or two directions.</p>
-<h3 id="_sockname_socket______ok___ip__port______error__atom">sockname(Socket) -&gt; {ok, {IP, Port}} | {error, atom()}</h3>
-<dl><dt>Socket = any()</dt>
-<dd><p>Socket opened with listen/1 or accept/2.</p>
-</dd>
-<dt>IP = inet:ip_address()</dt>
-<dd><p>IP of the local endpoint.</p>
-</dd>
-<dt>Port = inet:port_number()</dt>
-<dd><p>Port of the local endpoint.</p>
-</dd>
-</dl>
-<p>Return the IP and port of the local endpoint.</p>
-<h2 id="_exports">Exports</h2>
-<h3 id="_sendfile_transport__csocket__file__offset__bytes__sfopts______ok__sentbytes_____error__atom">sendfile(Transport, CSocket, File, Offset, Bytes, SfOpts) -&gt; {ok, SentBytes} | {error, atom()}</h3>
-<dl><dt>Transport = module()</dt>
-<dd><p>Transport module for this socket.</p>
-</dd>
-<dt>CSocket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>File = file:filename_all() | file:fd()</dt>
-<dd><p>Filename or file descriptor for the file to be sent.</p>
-</dd>
-<dt>Offset = non_neg_integer()</dt>
-<dd><p>Begin sending at this position in the file.</p>
-</dd>
-<dt>Bytes = non_neg_integer()</dt>
-<dd><p>Send this many bytes.</p>
-</dd>
-<dt>SentBytes = non_neg_integer()</dt>
-<dd><p>This many bytes were sent.</p>
-</dd>
-<dt>SfOpts = sendfile_opts()</dt>
-<dd><p>Sendfile options.</p>
-</dd>
-</dl>
-<p>Send data from a file to the given socket.</p>
-<p>This function emulates the function <code>file:sendfile/{2,4,5}</code> and may be used when transports are not manipulating TCP directly.</p>
-
-
-
-
-
-
-</div>
-
-<div class="span3 sidecol">
-
-
-<h3>
- Ranch
- 1.3
- Function Reference
-
-</h3>
-
-<ul>
-
- <li><a href="/docs/en/ranch/1.3/guide">User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.3/manual">Function Reference</a></li>
-
-
-</ul>
-
-<h4 id="docs-nav">Navigation</h4>
-
-<h4>Version select</h4>
-<ul>
-
-
-
- <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
-
- <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
-
- <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
-
- <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
-
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
-</ul>
-
-<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
-<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
-<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
-<input type="hidden" name="cmd" value="_donations">
-<input type="hidden" name="business" value="[email protected]">
-<input type="hidden" name="lc" value="FR">
-<input type="hidden" name="item_name" value="Loic Hoguin">
-<input type="hidden" name="item_number" value="99s">
-<input type="hidden" name="currency_code" value="EUR">
-<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
-<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
-<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
-</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
-
-
-
-</div>
-</div>
-</div>
-</div>
-
- <footer>
- <div class="container">
- <div class="row">
- <div class="span6">
- <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
- <nav>
- <ul>
- <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
- </ul>
- </nav>
- </div>
- <div class="span6 credits">
- <p><img src="/img/footer_logo.png"></p>
- <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
- </div>
- </div>
- </div>
- </footer>
-
-
- <script src="/js/custom.js"></script>
- </body>
-</html>
-
-
diff --git a/docs/en/ranch/1.4/guide/embedded/index.html b/docs/en/ranch/1.4/guide/embedded/index.html
index 457e8be5..9e6cf7c1 100644
--- a/docs/en/ranch/1.4/guide/embedded/index.html
+++ b/docs/en/ranch/1.4/guide/embedded/index.html
@@ -142,6 +142,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -150,10 +152,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.4/guide/index.html b/docs/en/ranch/1.4/guide/index.html
index ee070392..f60843d3 100644
--- a/docs/en/ranch/1.4/guide/index.html
+++ b/docs/en/ranch/1.4/guide/index.html
@@ -114,6 +114,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -122,10 +124,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.4/guide/internals/index.html b/docs/en/ranch/1.4/guide/internals/index.html
index 3e037c85..3d0d9d8b 100644
--- a/docs/en/ranch/1.4/guide/internals/index.html
+++ b/docs/en/ranch/1.4/guide/internals/index.html
@@ -142,6 +142,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -150,10 +152,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.4/guide/introduction/index.html b/docs/en/ranch/1.4/guide/introduction/index.html
index ea666fd4..24541162 100644
--- a/docs/en/ranch/1.4/guide/introduction/index.html
+++ b/docs/en/ranch/1.4/guide/introduction/index.html
@@ -126,6 +126,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -134,10 +136,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.4/guide/listeners/index.html b/docs/en/ranch/1.4/guide/listeners/index.html
index bd340960..ff678df8 100644
--- a/docs/en/ranch/1.4/guide/listeners/index.html
+++ b/docs/en/ranch/1.4/guide/listeners/index.html
@@ -325,6 +325,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -333,10 +335,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.4/guide/parsers/index.html b/docs/en/ranch/1.4/guide/parsers/index.html
index e006bbdf..e6fa2352 100644
--- a/docs/en/ranch/1.4/guide/parsers/index.html
+++ b/docs/en/ranch/1.4/guide/parsers/index.html
@@ -181,6 +181,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -189,10 +191,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.4/guide/protocols/index.html b/docs/en/ranch/1.4/guide/protocols/index.html
index f107978b..1ce65ea8 100644
--- a/docs/en/ranch/1.4/guide/protocols/index.html
+++ b/docs/en/ranch/1.4/guide/protocols/index.html
@@ -188,6 +188,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -196,10 +198,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.4/guide/ssl_auth/index.html b/docs/en/ranch/1.4/guide/ssl_auth/index.html
index 0a328122..45194521 100644
--- a/docs/en/ranch/1.4/guide/ssl_auth/index.html
+++ b/docs/en/ranch/1.4/guide/ssl_auth/index.html
@@ -194,6 +194,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -202,10 +204,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.4/guide/transports/index.html b/docs/en/ranch/1.4/guide/transports/index.html
index f590c4ae..6542121f 100644
--- a/docs/en/ranch/1.4/guide/transports/index.html
+++ b/docs/en/ranch/1.4/guide/transports/index.html
@@ -219,6 +219,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -227,10 +229,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.4/manual/index.html b/docs/en/ranch/1.4/manual/index.html
index 7bac9396..c60340ca 100644
--- a/docs/en/ranch/1.4/manual/index.html
+++ b/docs/en/ranch/1.4/manual/index.html
@@ -110,6 +110,8 @@
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -118,10 +120,6 @@
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.4/manual/ranch/index.html b/docs/en/ranch/1.4/manual/ranch/index.html
index 34485055..cd321af1 100644
--- a/docs/en/ranch/1.4/manual/ranch/index.html
+++ b/docs/en/ranch/1.4/manual/ranch/index.html
@@ -322,6 +322,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -330,10 +332,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.4/manual/ranch_app/index.html b/docs/en/ranch/1.4/manual/ranch_app/index.html
index 6a5693f2..99478225 100644
--- a/docs/en/ranch/1.4/manual/ranch_app/index.html
+++ b/docs/en/ranch/1.4/manual/ranch_app/index.html
@@ -108,6 +108,8 @@
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -116,10 +118,6 @@
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.4/manual/ranch_protocol/index.html b/docs/en/ranch/1.4/manual/ranch_protocol/index.html
index bdf32da3..779fdb90 100644
--- a/docs/en/ranch/1.4/manual/ranch_protocol/index.html
+++ b/docs/en/ranch/1.4/manual/ranch_protocol/index.html
@@ -123,6 +123,8 @@
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -131,10 +133,6 @@
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.4/manual/ranch_ssl/index.html b/docs/en/ranch/1.4/manual/ranch_ssl/index.html
index 838780e5..4401e01a 100644
--- a/docs/en/ranch/1.4/manual/ranch_ssl/index.html
+++ b/docs/en/ranch/1.4/manual/ranch_ssl/index.html
@@ -264,6 +264,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -272,10 +274,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.4/manual/ranch_tcp/index.html b/docs/en/ranch/1.4/manual/ranch_tcp/index.html
index 5039ea36..28e8cb01 100644
--- a/docs/en/ranch/1.4/manual/ranch_tcp/index.html
+++ b/docs/en/ranch/1.4/manual/ranch_tcp/index.html
@@ -217,6 +217,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -225,10 +227,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.4/manual/ranch_transport/index.html b/docs/en/ranch/1.4/manual/ranch_transport/index.html
index a83366c9..1122cc7c 100644
--- a/docs/en/ranch/1.4/manual/ranch_transport/index.html
+++ b/docs/en/ranch/1.4/manual/ranch_transport/index.html
@@ -288,6 +288,8 @@
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -296,10 +298,6 @@
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.5/guide/embedded/index.html b/docs/en/ranch/1.5/guide/embedded/index.html
index 82a7d486..b2013db3 100644
--- a/docs/en/ranch/1.5/guide/embedded/index.html
+++ b/docs/en/ranch/1.5/guide/embedded/index.html
@@ -142,6 +142,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -150,10 +152,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.5/guide/index.html b/docs/en/ranch/1.5/guide/index.html
index 9857c777..cb10c544 100644
--- a/docs/en/ranch/1.5/guide/index.html
+++ b/docs/en/ranch/1.5/guide/index.html
@@ -114,6 +114,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -122,10 +124,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.5/guide/internals/index.html b/docs/en/ranch/1.5/guide/internals/index.html
index 52c4b349..2cadde02 100644
--- a/docs/en/ranch/1.5/guide/internals/index.html
+++ b/docs/en/ranch/1.5/guide/internals/index.html
@@ -142,6 +142,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -150,10 +152,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.5/guide/introduction/index.html b/docs/en/ranch/1.5/guide/introduction/index.html
index 7b416038..e7c1468d 100644
--- a/docs/en/ranch/1.5/guide/introduction/index.html
+++ b/docs/en/ranch/1.5/guide/introduction/index.html
@@ -126,6 +126,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -134,10 +136,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.5/guide/listeners/index.html b/docs/en/ranch/1.5/guide/listeners/index.html
index 309e335c..35ec80d6 100644
--- a/docs/en/ranch/1.5/guide/listeners/index.html
+++ b/docs/en/ranch/1.5/guide/listeners/index.html
@@ -325,6 +325,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -333,10 +335,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.5/guide/parsers/index.html b/docs/en/ranch/1.5/guide/parsers/index.html
index 14a2ee9d..06bd041c 100644
--- a/docs/en/ranch/1.5/guide/parsers/index.html
+++ b/docs/en/ranch/1.5/guide/parsers/index.html
@@ -181,6 +181,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -189,10 +191,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.5/guide/protocols/index.html b/docs/en/ranch/1.5/guide/protocols/index.html
index 14090b1d..7e282100 100644
--- a/docs/en/ranch/1.5/guide/protocols/index.html
+++ b/docs/en/ranch/1.5/guide/protocols/index.html
@@ -188,6 +188,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -196,10 +198,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.5/guide/ssl_auth/index.html b/docs/en/ranch/1.5/guide/ssl_auth/index.html
index 4326689d..05861ab7 100644
--- a/docs/en/ranch/1.5/guide/ssl_auth/index.html
+++ b/docs/en/ranch/1.5/guide/ssl_auth/index.html
@@ -194,6 +194,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -202,10 +204,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.5/guide/transports/index.html b/docs/en/ranch/1.5/guide/transports/index.html
index 459f90bf..c291e4eb 100644
--- a/docs/en/ranch/1.5/guide/transports/index.html
+++ b/docs/en/ranch/1.5/guide/transports/index.html
@@ -219,6 +219,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -227,10 +229,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.5/manual/index.html b/docs/en/ranch/1.5/manual/index.html
index 86b16df3..9a16e749 100644
--- a/docs/en/ranch/1.5/manual/index.html
+++ b/docs/en/ranch/1.5/manual/index.html
@@ -110,6 +110,8 @@
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -118,10 +120,6 @@
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.5/manual/ranch/index.html b/docs/en/ranch/1.5/manual/ranch/index.html
index ae721c2a..cfcbff6b 100644
--- a/docs/en/ranch/1.5/manual/ranch/index.html
+++ b/docs/en/ranch/1.5/manual/ranch/index.html
@@ -322,6 +322,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -330,10 +332,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.5/manual/ranch_app/index.html b/docs/en/ranch/1.5/manual/ranch_app/index.html
index 3be2f41c..dc63d857 100644
--- a/docs/en/ranch/1.5/manual/ranch_app/index.html
+++ b/docs/en/ranch/1.5/manual/ranch_app/index.html
@@ -108,6 +108,8 @@
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -116,10 +118,6 @@
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.5/manual/ranch_protocol/index.html b/docs/en/ranch/1.5/manual/ranch_protocol/index.html
index f3aaaa5e..e450b4b2 100644
--- a/docs/en/ranch/1.5/manual/ranch_protocol/index.html
+++ b/docs/en/ranch/1.5/manual/ranch_protocol/index.html
@@ -123,6 +123,8 @@
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -131,10 +133,6 @@
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.5/manual/ranch_ssl/index.html b/docs/en/ranch/1.5/manual/ranch_ssl/index.html
index 72f32a51..92b5739b 100644
--- a/docs/en/ranch/1.5/manual/ranch_ssl/index.html
+++ b/docs/en/ranch/1.5/manual/ranch_ssl/index.html
@@ -264,6 +264,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -272,10 +274,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.5/manual/ranch_tcp/index.html b/docs/en/ranch/1.5/manual/ranch_tcp/index.html
index 403174b4..3ab6c28d 100644
--- a/docs/en/ranch/1.5/manual/ranch_tcp/index.html
+++ b/docs/en/ranch/1.5/manual/ranch_tcp/index.html
@@ -217,6 +217,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -225,10 +227,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.5/manual/ranch_transport/index.html b/docs/en/ranch/1.5/manual/ranch_transport/index.html
index 836bce80..349b8213 100644
--- a/docs/en/ranch/1.5/manual/ranch_transport/index.html
+++ b/docs/en/ranch/1.5/manual/ranch_transport/index.html
@@ -321,6 +321,8 @@
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -329,10 +331,6 @@
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/guide/embedded/index.html b/docs/en/ranch/1.6/guide/embedded/index.html
index 0466fa42..5de60465 100644
--- a/docs/en/ranch/1.6/guide/embedded/index.html
+++ b/docs/en/ranch/1.6/guide/embedded/index.html
@@ -142,6 +142,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -150,10 +152,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/guide/index.html b/docs/en/ranch/1.6/guide/index.html
index 63ceb334..2916ea09 100644
--- a/docs/en/ranch/1.6/guide/index.html
+++ b/docs/en/ranch/1.6/guide/index.html
@@ -129,6 +129,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -137,10 +139,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/guide/internals/index.html b/docs/en/ranch/1.6/guide/internals/index.html
index 05943e6a..21bdd5d6 100644
--- a/docs/en/ranch/1.6/guide/internals/index.html
+++ b/docs/en/ranch/1.6/guide/internals/index.html
@@ -146,6 +146,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -154,10 +156,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/guide/introduction/index.html b/docs/en/ranch/1.6/guide/introduction/index.html
index 8d2518b3..560df8a7 100644
--- a/docs/en/ranch/1.6/guide/introduction/index.html
+++ b/docs/en/ranch/1.6/guide/introduction/index.html
@@ -126,6 +126,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -134,10 +136,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/guide/listeners/index.html b/docs/en/ranch/1.6/guide/listeners/index.html
index ac4a938d..f334a897 100644
--- a/docs/en/ranch/1.6/guide/listeners/index.html
+++ b/docs/en/ranch/1.6/guide/listeners/index.html
@@ -361,6 +361,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -369,10 +371,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/guide/migrating_from_1.5/index.html b/docs/en/ranch/1.6/guide/migrating_from_1.5/index.html
index ba8f0df4..8e273afb 100644
--- a/docs/en/ranch/1.6/guide/migrating_from_1.5/index.html
+++ b/docs/en/ranch/1.6/guide/migrating_from_1.5/index.html
@@ -161,6 +161,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -169,10 +171,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/guide/migrating_from_1.6/index.html b/docs/en/ranch/1.6/guide/migrating_from_1.6/index.html
index afdf8f75..d39ec018 100644
--- a/docs/en/ranch/1.6/guide/migrating_from_1.6/index.html
+++ b/docs/en/ranch/1.6/guide/migrating_from_1.6/index.html
@@ -124,6 +124,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -132,10 +134,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/guide/migrating_from_1.x/index.html b/docs/en/ranch/1.6/guide/migrating_from_1.x/index.html
index 2d6b617e..6727388b 100644
--- a/docs/en/ranch/1.6/guide/migrating_from_1.x/index.html
+++ b/docs/en/ranch/1.6/guide/migrating_from_1.x/index.html
@@ -214,6 +214,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -222,10 +224,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/guide/parsers/index.html b/docs/en/ranch/1.6/guide/parsers/index.html
index 54cc6492..13ac5936 100644
--- a/docs/en/ranch/1.6/guide/parsers/index.html
+++ b/docs/en/ranch/1.6/guide/parsers/index.html
@@ -181,6 +181,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -189,10 +191,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/guide/protocols/index.html b/docs/en/ranch/1.6/guide/protocols/index.html
index c64b66f4..b0c9bdd8 100644
--- a/docs/en/ranch/1.6/guide/protocols/index.html
+++ b/docs/en/ranch/1.6/guide/protocols/index.html
@@ -188,6 +188,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -196,10 +198,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/guide/ssl_auth/index.html b/docs/en/ranch/1.6/guide/ssl_auth/index.html
index bdef4624..04d3ce6e 100644
--- a/docs/en/ranch/1.6/guide/ssl_auth/index.html
+++ b/docs/en/ranch/1.6/guide/ssl_auth/index.html
@@ -194,6 +194,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -202,10 +204,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/guide/transports/index.html b/docs/en/ranch/1.6/guide/transports/index.html
index b735c0b2..9e99e6e5 100644
--- a/docs/en/ranch/1.6/guide/transports/index.html
+++ b/docs/en/ranch/1.6/guide/transports/index.html
@@ -228,6 +228,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -236,10 +238,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/guide/upcoming_2.0_changes/index.html b/docs/en/ranch/1.6/guide/upcoming_2.0_changes/index.html
index 3ceb4f89..9a20ad96 100644
--- a/docs/en/ranch/1.6/guide/upcoming_2.0_changes/index.html
+++ b/docs/en/ranch/1.6/guide/upcoming_2.0_changes/index.html
@@ -135,6 +135,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -143,10 +145,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/index.html b/docs/en/ranch/1.6/manual/index.html
index fbe7df40..1e316a60 100644
--- a/docs/en/ranch/1.6/manual/index.html
+++ b/docs/en/ranch/1.6/manual/index.html
@@ -139,6 +139,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -147,10 +149,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.child_spec/index.html b/docs/en/ranch/1.6/manual/ranch.child_spec/index.html
index 231eb544..8d8bf36b 100644
--- a/docs/en/ranch/1.6/manual/ranch.child_spec/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.child_spec/index.html
@@ -159,6 +159,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -167,10 +169,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.get_addr/index.html b/docs/en/ranch/1.6/manual/ranch.get_addr/index.html
index 55f3501d..d94c46bb 100644
--- a/docs/en/ranch/1.6/manual/ranch.get_addr/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.get_addr/index.html
@@ -127,6 +127,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -135,10 +137,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.get_max_connections/index.html b/docs/en/ranch/1.6/manual/ranch.get_max_connections/index.html
index 7952b970..5d7ddab1 100644
--- a/docs/en/ranch/1.6/manual/ranch.get_max_connections/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.get_max_connections/index.html
@@ -125,6 +125,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -133,10 +135,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.get_port/index.html b/docs/en/ranch/1.6/manual/ranch.get_port/index.html
index f1dadb29..0bd57ad8 100644
--- a/docs/en/ranch/1.6/manual/ranch.get_port/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.get_port/index.html
@@ -126,6 +126,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -134,10 +136,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.get_protocol_options/index.html b/docs/en/ranch/1.6/manual/ranch.get_protocol_options/index.html
index 3c6a2384..1258f412 100644
--- a/docs/en/ranch/1.6/manual/ranch.get_protocol_options/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.get_protocol_options/index.html
@@ -125,6 +125,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -133,10 +135,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.get_status/index.html b/docs/en/ranch/1.6/manual/ranch.get_status/index.html
index 3e3eeed5..237f7457 100644
--- a/docs/en/ranch/1.6/manual/ranch.get_status/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.get_status/index.html
@@ -128,6 +128,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -136,10 +138,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.get_transport_options/index.html b/docs/en/ranch/1.6/manual/ranch.get_transport_options/index.html
index bfb889fc..154c2d2a 100644
--- a/docs/en/ranch/1.6/manual/ranch.get_transport_options/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.get_transport_options/index.html
@@ -125,6 +125,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -133,10 +135,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.handshake/index.html b/docs/en/ranch/1.6/manual/ranch.handshake/index.html
index d052ec81..4d6ec2ec 100644
--- a/docs/en/ranch/1.6/manual/ranch.handshake/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.handshake/index.html
@@ -148,6 +148,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -156,10 +158,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.info/index.html b/docs/en/ranch/1.6/manual/ranch.info/index.html
index 7fd3b804..af26ccd7 100644
--- a/docs/en/ranch/1.6/manual/ranch.info/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.info/index.html
@@ -173,6 +173,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -181,10 +183,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.procs/index.html b/docs/en/ranch/1.6/manual/ranch.procs/index.html
index a118b625..85dced9c 100644
--- a/docs/en/ranch/1.6/manual/ranch.procs/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.procs/index.html
@@ -136,6 +136,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -144,10 +146,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.remove_connection/index.html b/docs/en/ranch/1.6/manual/ranch.remove_connection/index.html
index 84f5fba3..6d73c3a4 100644
--- a/docs/en/ranch/1.6/manual/ranch.remove_connection/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.remove_connection/index.html
@@ -126,6 +126,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -134,10 +136,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.resume_listener/index.html b/docs/en/ranch/1.6/manual/ranch.resume_listener/index.html
index 376bd997..6fb18e61 100644
--- a/docs/en/ranch/1.6/manual/ranch.resume_listener/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.resume_listener/index.html
@@ -132,6 +132,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -140,10 +142,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.set_max_connections/index.html b/docs/en/ranch/1.6/manual/ranch.set_max_connections/index.html
index 62def02e..d4e2f737 100644
--- a/docs/en/ranch/1.6/manual/ranch.set_max_connections/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.set_max_connections/index.html
@@ -130,6 +130,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -138,10 +140,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.set_protocol_options/index.html b/docs/en/ranch/1.6/manual/ranch.set_protocol_options/index.html
index 45666664..35f85778 100644
--- a/docs/en/ranch/1.6/manual/ranch.set_protocol_options/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.set_protocol_options/index.html
@@ -130,6 +130,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -138,10 +140,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.set_transport_options/index.html b/docs/en/ranch/1.6/manual/ranch.set_transport_options/index.html
index d0b94f9b..1996eeb7 100644
--- a/docs/en/ranch/1.6/manual/ranch.set_transport_options/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.set_transport_options/index.html
@@ -135,6 +135,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -143,10 +145,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.start_listener/index.html b/docs/en/ranch/1.6/manual/ranch.start_listener/index.html
index eb865f13..f1133b32 100644
--- a/docs/en/ranch/1.6/manual/ranch.start_listener/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.start_listener/index.html
@@ -184,6 +184,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -192,10 +194,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.stop_listener/index.html b/docs/en/ranch/1.6/manual/ranch.stop_listener/index.html
index cb6863b3..62f26fc0 100644
--- a/docs/en/ranch/1.6/manual/ranch.stop_listener/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.stop_listener/index.html
@@ -129,6 +129,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -137,10 +139,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.suspend_listener/index.html b/docs/en/ranch/1.6/manual/ranch.suspend_listener/index.html
index 5dd11ca5..44df71ce 100644
--- a/docs/en/ranch/1.6/manual/ranch.suspend_listener/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.suspend_listener/index.html
@@ -133,6 +133,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -141,10 +143,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch.wait_for_connections/index.html b/docs/en/ranch/1.6/manual/ranch.wait_for_connections/index.html
index 51babeab..a5ca6d6f 100644
--- a/docs/en/ranch/1.6/manual/ranch.wait_for_connections/index.html
+++ b/docs/en/ranch/1.6/manual/ranch.wait_for_connections/index.html
@@ -153,6 +153,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -161,10 +163,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch/index.html b/docs/en/ranch/1.6/manual/ranch/index.html
index e0869ead..0f0432af 100644
--- a/docs/en/ranch/1.6/manual/ranch/index.html
+++ b/docs/en/ranch/1.6/manual/ranch/index.html
@@ -236,6 +236,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -244,10 +246,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch_app/index.html b/docs/en/ranch/1.6/manual/ranch_app/index.html
index 3cf028c8..c5e9eab5 100644
--- a/docs/en/ranch/1.6/manual/ranch_app/index.html
+++ b/docs/en/ranch/1.6/manual/ranch_app/index.html
@@ -139,6 +139,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -147,10 +149,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch_protocol/index.html b/docs/en/ranch/1.6/manual/ranch_protocol/index.html
index 936546b9..a8e69211 100644
--- a/docs/en/ranch/1.6/manual/ranch_protocol/index.html
+++ b/docs/en/ranch/1.6/manual/ranch_protocol/index.html
@@ -125,6 +125,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -133,10 +135,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch_ssl/index.html b/docs/en/ranch/1.6/manual/ranch_ssl/index.html
index 4b529348..8d4918c6 100644
--- a/docs/en/ranch/1.6/manual/ranch_ssl/index.html
+++ b/docs/en/ranch/1.6/manual/ranch_ssl/index.html
@@ -277,6 +277,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -285,10 +287,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch_tcp/index.html b/docs/en/ranch/1.6/manual/ranch_tcp/index.html
index c6b2fa47..e9c088b3 100644
--- a/docs/en/ranch/1.6/manual/ranch_tcp/index.html
+++ b/docs/en/ranch/1.6/manual/ranch_tcp/index.html
@@ -224,6 +224,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -232,10 +234,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch_transport.sendfile/index.html b/docs/en/ranch/1.6/manual/ranch_transport.sendfile/index.html
index 44250c1d..30211813 100644
--- a/docs/en/ranch/1.6/manual/ranch_transport.sendfile/index.html
+++ b/docs/en/ranch/1.6/manual/ranch_transport.sendfile/index.html
@@ -160,6 +160,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -168,10 +170,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.6/manual/ranch_transport/index.html b/docs/en/ranch/1.6/manual/ranch_transport/index.html
index e08d78c9..1f426230 100644
--- a/docs/en/ranch/1.6/manual/ranch_transport/index.html
+++ b/docs/en/ranch/1.6/manual/ranch_transport/index.html
@@ -325,6 +325,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -333,10 +335,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/guide/embedded/index.html b/docs/en/ranch/1.7/guide/embedded/index.html
index 6f06340a..e3ae160e 100644
--- a/docs/en/ranch/1.7/guide/embedded/index.html
+++ b/docs/en/ranch/1.7/guide/embedded/index.html
@@ -142,6 +142,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -150,10 +152,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/guide/index.html b/docs/en/ranch/1.7/guide/index.html
index cff61800..7ed6bfc3 100644
--- a/docs/en/ranch/1.7/guide/index.html
+++ b/docs/en/ranch/1.7/guide/index.html
@@ -131,6 +131,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -139,10 +141,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/guide/internals/index.html b/docs/en/ranch/1.7/guide/internals/index.html
index 9264e6cc..8bfb761a 100644
--- a/docs/en/ranch/1.7/guide/internals/index.html
+++ b/docs/en/ranch/1.7/guide/internals/index.html
@@ -146,6 +146,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -154,10 +156,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/guide/introduction/index.html b/docs/en/ranch/1.7/guide/introduction/index.html
index 4c8bdfbd..9b321017 100644
--- a/docs/en/ranch/1.7/guide/introduction/index.html
+++ b/docs/en/ranch/1.7/guide/introduction/index.html
@@ -125,6 +125,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -133,10 +135,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/guide/listeners/index.html b/docs/en/ranch/1.7/guide/listeners/index.html
index a3011cf3..1e7bc099 100644
--- a/docs/en/ranch/1.7/guide/listeners/index.html
+++ b/docs/en/ranch/1.7/guide/listeners/index.html
@@ -361,6 +361,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -369,10 +371,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/guide/migrating_from_1.5/index.html b/docs/en/ranch/1.7/guide/migrating_from_1.5/index.html
index 46faded5..44889efb 100644
--- a/docs/en/ranch/1.7/guide/migrating_from_1.5/index.html
+++ b/docs/en/ranch/1.7/guide/migrating_from_1.5/index.html
@@ -161,6 +161,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -169,10 +171,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/guide/migrating_from_1.6/index.html b/docs/en/ranch/1.7/guide/migrating_from_1.6/index.html
index f0e09a4a..3dc30394 100644
--- a/docs/en/ranch/1.7/guide/migrating_from_1.6/index.html
+++ b/docs/en/ranch/1.7/guide/migrating_from_1.6/index.html
@@ -141,6 +141,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -149,10 +151,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/guide/migrating_from_1.7/index.html b/docs/en/ranch/1.7/guide/migrating_from_1.7/index.html
index 4f701125..18aacd0b 100644
--- a/docs/en/ranch/1.7/guide/migrating_from_1.7/index.html
+++ b/docs/en/ranch/1.7/guide/migrating_from_1.7/index.html
@@ -123,6 +123,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -131,10 +133,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/guide/migrating_from_1.x/index.html b/docs/en/ranch/1.7/guide/migrating_from_1.x/index.html
index f2b8b378..3f657acc 100644
--- a/docs/en/ranch/1.7/guide/migrating_from_1.x/index.html
+++ b/docs/en/ranch/1.7/guide/migrating_from_1.x/index.html
@@ -214,6 +214,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -222,10 +224,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/guide/parsers/index.html b/docs/en/ranch/1.7/guide/parsers/index.html
index a2d8310d..49bc5330 100644
--- a/docs/en/ranch/1.7/guide/parsers/index.html
+++ b/docs/en/ranch/1.7/guide/parsers/index.html
@@ -181,6 +181,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -189,10 +191,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/guide/protocols/index.html b/docs/en/ranch/1.7/guide/protocols/index.html
index 8c768a45..87196548 100644
--- a/docs/en/ranch/1.7/guide/protocols/index.html
+++ b/docs/en/ranch/1.7/guide/protocols/index.html
@@ -188,6 +188,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -196,10 +198,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/guide/ssl_auth/index.html b/docs/en/ranch/1.7/guide/ssl_auth/index.html
index cd6b7807..b8f89392 100644
--- a/docs/en/ranch/1.7/guide/ssl_auth/index.html
+++ b/docs/en/ranch/1.7/guide/ssl_auth/index.html
@@ -194,6 +194,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -202,10 +204,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/guide/transports/index.html b/docs/en/ranch/1.7/guide/transports/index.html
index 533914ca..d65c09e9 100644
--- a/docs/en/ranch/1.7/guide/transports/index.html
+++ b/docs/en/ranch/1.7/guide/transports/index.html
@@ -228,6 +228,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -236,10 +238,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/guide/upcoming_2.0_changes/index.html b/docs/en/ranch/1.7/guide/upcoming_2.0_changes/index.html
index 91f86783..6d13d2ca 100644
--- a/docs/en/ranch/1.7/guide/upcoming_2.0_changes/index.html
+++ b/docs/en/ranch/1.7/guide/upcoming_2.0_changes/index.html
@@ -135,6 +135,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -143,10 +145,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/index.html b/docs/en/ranch/1.7/manual/index.html
index ed1d2558..efe27349 100644
--- a/docs/en/ranch/1.7/manual/index.html
+++ b/docs/en/ranch/1.7/manual/index.html
@@ -141,6 +141,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -149,10 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.child_spec/index.html b/docs/en/ranch/1.7/manual/ranch.child_spec/index.html
index 046f702e..f3276ffd 100644
--- a/docs/en/ranch/1.7/manual/ranch.child_spec/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.child_spec/index.html
@@ -159,6 +159,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -167,10 +169,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.get_addr/index.html b/docs/en/ranch/1.7/manual/ranch.get_addr/index.html
index 0d0f7bdb..1fd3892d 100644
--- a/docs/en/ranch/1.7/manual/ranch.get_addr/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.get_addr/index.html
@@ -127,6 +127,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -135,10 +137,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.get_max_connections/index.html b/docs/en/ranch/1.7/manual/ranch.get_max_connections/index.html
index 3a38c556..71eb5d26 100644
--- a/docs/en/ranch/1.7/manual/ranch.get_max_connections/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.get_max_connections/index.html
@@ -125,6 +125,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -133,10 +135,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.get_port/index.html b/docs/en/ranch/1.7/manual/ranch.get_port/index.html
index 6bc6e2d9..b0b34c52 100644
--- a/docs/en/ranch/1.7/manual/ranch.get_port/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.get_port/index.html
@@ -126,6 +126,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -134,10 +136,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.get_protocol_options/index.html b/docs/en/ranch/1.7/manual/ranch.get_protocol_options/index.html
index 6741ddaf..3073dd42 100644
--- a/docs/en/ranch/1.7/manual/ranch.get_protocol_options/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.get_protocol_options/index.html
@@ -125,6 +125,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -133,10 +135,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.get_status/index.html b/docs/en/ranch/1.7/manual/ranch.get_status/index.html
index f9752b8e..539b4754 100644
--- a/docs/en/ranch/1.7/manual/ranch.get_status/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.get_status/index.html
@@ -128,6 +128,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -136,10 +138,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.get_transport_options/index.html b/docs/en/ranch/1.7/manual/ranch.get_transport_options/index.html
index bf841a15..7cf85181 100644
--- a/docs/en/ranch/1.7/manual/ranch.get_transport_options/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.get_transport_options/index.html
@@ -125,6 +125,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -133,10 +135,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.handshake/index.html b/docs/en/ranch/1.7/manual/ranch.handshake/index.html
index 3264dfa7..fbc0585a 100644
--- a/docs/en/ranch/1.7/manual/ranch.handshake/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.handshake/index.html
@@ -148,6 +148,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -156,10 +158,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.info/index.html b/docs/en/ranch/1.7/manual/ranch.info/index.html
index d85ff3ad..525df8a0 100644
--- a/docs/en/ranch/1.7/manual/ranch.info/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.info/index.html
@@ -173,6 +173,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -181,10 +183,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.procs/index.html b/docs/en/ranch/1.7/manual/ranch.procs/index.html
index ac39cbdc..2fdd55ab 100644
--- a/docs/en/ranch/1.7/manual/ranch.procs/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.procs/index.html
@@ -136,6 +136,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -144,10 +146,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.recv_proxy_header/index.html b/docs/en/ranch/1.7/manual/ranch.recv_proxy_header/index.html
index 6cfb4391..6409975f 100644
--- a/docs/en/ranch/1.7/manual/ranch.recv_proxy_header/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.recv_proxy_header/index.html
@@ -146,6 +146,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -154,10 +156,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.remove_connection/index.html b/docs/en/ranch/1.7/manual/ranch.remove_connection/index.html
index ceb60d75..908704d8 100644
--- a/docs/en/ranch/1.7/manual/ranch.remove_connection/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.remove_connection/index.html
@@ -126,6 +126,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -134,10 +136,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.resume_listener/index.html b/docs/en/ranch/1.7/manual/ranch.resume_listener/index.html
index 3d7b32e5..78acb659 100644
--- a/docs/en/ranch/1.7/manual/ranch.resume_listener/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.resume_listener/index.html
@@ -132,6 +132,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -140,10 +142,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.set_max_connections/index.html b/docs/en/ranch/1.7/manual/ranch.set_max_connections/index.html
index e8d32fb7..4970f3f5 100644
--- a/docs/en/ranch/1.7/manual/ranch.set_max_connections/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.set_max_connections/index.html
@@ -130,6 +130,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -138,10 +140,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.set_protocol_options/index.html b/docs/en/ranch/1.7/manual/ranch.set_protocol_options/index.html
index d04463e2..b890e90f 100644
--- a/docs/en/ranch/1.7/manual/ranch.set_protocol_options/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.set_protocol_options/index.html
@@ -130,6 +130,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -138,10 +140,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.set_transport_options/index.html b/docs/en/ranch/1.7/manual/ranch.set_transport_options/index.html
index 350df3fa..9a364c73 100644
--- a/docs/en/ranch/1.7/manual/ranch.set_transport_options/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.set_transport_options/index.html
@@ -135,6 +135,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -143,10 +145,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.start_listener/index.html b/docs/en/ranch/1.7/manual/ranch.start_listener/index.html
index 2764191a..0bdf9b8a 100644
--- a/docs/en/ranch/1.7/manual/ranch.start_listener/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.start_listener/index.html
@@ -184,6 +184,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -192,10 +194,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.stop_listener/index.html b/docs/en/ranch/1.7/manual/ranch.stop_listener/index.html
index 4df8bfdb..b8d4f62d 100644
--- a/docs/en/ranch/1.7/manual/ranch.stop_listener/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.stop_listener/index.html
@@ -129,6 +129,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -137,10 +139,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.suspend_listener/index.html b/docs/en/ranch/1.7/manual/ranch.suspend_listener/index.html
index bef1f10e..bbc55d59 100644
--- a/docs/en/ranch/1.7/manual/ranch.suspend_listener/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.suspend_listener/index.html
@@ -133,6 +133,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -141,10 +143,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch.wait_for_connections/index.html b/docs/en/ranch/1.7/manual/ranch.wait_for_connections/index.html
index 7237a269..1672a1d7 100644
--- a/docs/en/ranch/1.7/manual/ranch.wait_for_connections/index.html
+++ b/docs/en/ranch/1.7/manual/ranch.wait_for_connections/index.html
@@ -153,6 +153,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -161,10 +163,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch/index.html b/docs/en/ranch/1.7/manual/ranch/index.html
index d6bb11a5..5fe04253 100644
--- a/docs/en/ranch/1.7/manual/ranch/index.html
+++ b/docs/en/ranch/1.7/manual/ranch/index.html
@@ -238,6 +238,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -246,10 +248,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch_app/index.html b/docs/en/ranch/1.7/manual/ranch_app/index.html
index 68d856e5..5c3d250d 100644
--- a/docs/en/ranch/1.7/manual/ranch_app/index.html
+++ b/docs/en/ranch/1.7/manual/ranch_app/index.html
@@ -141,6 +141,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -149,10 +151,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch_protocol/index.html b/docs/en/ranch/1.7/manual/ranch_protocol/index.html
index 3dd6f5c1..bbb0665f 100644
--- a/docs/en/ranch/1.7/manual/ranch_protocol/index.html
+++ b/docs/en/ranch/1.7/manual/ranch_protocol/index.html
@@ -125,6 +125,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -133,10 +135,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch_proxy_header.header/index.html b/docs/en/ranch/1.7/manual/ranch_proxy_header.header/index.html
index 5093ee52..99efaf3b 100644
--- a/docs/en/ranch/1.7/manual/ranch_proxy_header.header/index.html
+++ b/docs/en/ranch/1.7/manual/ranch_proxy_header.header/index.html
@@ -160,6 +160,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -168,10 +170,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch_proxy_header.parse/index.html b/docs/en/ranch/1.7/manual/ranch_proxy_header.parse/index.html
index 5a7a822c..f58acc95 100644
--- a/docs/en/ranch/1.7/manual/ranch_proxy_header.parse/index.html
+++ b/docs/en/ranch/1.7/manual/ranch_proxy_header.parse/index.html
@@ -131,6 +131,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -139,10 +141,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch_proxy_header/index.html b/docs/en/ranch/1.7/manual/ranch_proxy_header/index.html
index f12c3fcf..36211271 100644
--- a/docs/en/ranch/1.7/manual/ranch_proxy_header/index.html
+++ b/docs/en/ranch/1.7/manual/ranch_proxy_header/index.html
@@ -214,6 +214,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -222,10 +224,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch_ssl/index.html b/docs/en/ranch/1.7/manual/ranch_ssl/index.html
index f5dfb639..a4c5b451 100644
--- a/docs/en/ranch/1.7/manual/ranch_ssl/index.html
+++ b/docs/en/ranch/1.7/manual/ranch_ssl/index.html
@@ -277,6 +277,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -285,10 +287,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch_tcp/index.html b/docs/en/ranch/1.7/manual/ranch_tcp/index.html
index 23107d1e..7bd3d962 100644
--- a/docs/en/ranch/1.7/manual/ranch_tcp/index.html
+++ b/docs/en/ranch/1.7/manual/ranch_tcp/index.html
@@ -224,6 +224,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -232,10 +234,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch_transport.sendfile/index.html b/docs/en/ranch/1.7/manual/ranch_transport.sendfile/index.html
index 126b47b0..e6f7997c 100644
--- a/docs/en/ranch/1.7/manual/ranch_transport.sendfile/index.html
+++ b/docs/en/ranch/1.7/manual/ranch_transport.sendfile/index.html
@@ -160,6 +160,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -168,10 +170,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.7/manual/ranch_transport/index.html b/docs/en/ranch/1.7/manual/ranch_transport/index.html
index 78f74e27..44f943d6 100644
--- a/docs/en/ranch/1.7/manual/ranch_transport/index.html
+++ b/docs/en/ranch/1.7/manual/ranch_transport/index.html
@@ -325,6 +325,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -333,10 +335,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/2.0/guide/connection_draining.asciidoc b/docs/en/ranch/2.0/guide/connection_draining.asciidoc
new file mode 100644
index 00000000..2ccdbc84
--- /dev/null
+++ b/docs/en/ranch/2.0/guide/connection_draining.asciidoc
@@ -0,0 +1,98 @@
+== Connection draining
+
+Stopping a Ranch listener via `ranch:stop_listener/1` will invariably kill
+all connection processes the listener hosts. However, you may want to stop
+a listener in a graceful fashion, ie by not accepting any new connections,
+but allowing the existing connection processes to exit by themselves instead
+of being killed.
+
+For this purpose, you should first suspend the listener you wish to
+stop gracefully, and then wait for its connection count to drop to
+zero.
+
+.Draining a single listener
+
+[source,erlang]
+----
+ok = ranch:suspend_listener(Ref),
+ok = ranch:wait_for_connections(Ref, '==', 0),
+ok = ranch:stop_listener(Ref).
+----
+
+If you want to drain more than just one listener, it may be important to first suspend
+them all before beginning to wait for their connection counts to reach zero. Otherwise,
+the not yet suspended listeners will still be accepting connections while you wait for
+the suspended ones to be drained.
+
+.Draining multiple listeners
+
+[source,erlang]
+----
+lists:foreach(
+ fun (Ref) ->
+ ok = ranch:suspend_listener(Ref)
+ end,
+ Refs
+),
+lists:foreach(
+ fun (Ref) ->
+ ok = ranch:wait_for_connections(Ref, '==', 0),
+ ok = ranch:stop_listener(Ref)
+ end,
+ Refs
+).
+----
+
+If you have long-running connection processes hosted by the listener you want to stop
+gracefully, draining may take a long time, possibly forever. If you just want to give
+the connection processes a chance to finish, but are not willing to wait for infinity,
+the waiting part could be handled in a separate process.
+
+.Draining a listener with a timeout
+
+[source,erlang]
+----
+ok = ranch:suspend_listener(Ref),
+{DrainPid, DrainRef} = spawn_monitor(
+ fun () ->
+ ok = ranch:wait_for_connections(Ref, '==', 0)
+ end
+),
+receive
+ {'DOWN', DrainRef, process, DrainPid, _} ->
+ ok
+after DrainTimeout ->
+ exit(DrainPid, kill),
+ ok
+end,
+ok = ranch:stop_listener(Ref).
+----
+
+To drain listeners automatically as part of your application shutdown routine,
+use the `prep_stop/1` function of your application module.
+
+.Draining listeners automatically on application shutdown
+
+[source,erlang]
+----
+-module(my_app).
+
+-behavior(application).
+
+-export([start/2]).
+-export([prep_stop/1]).
+-export([stop/1]).
+
+start(_StartType, _StartArgs) ->
+ {ok, _} = ranch:start_listener(my_listener, ranch_tcp, #{}, my_protocol, []),
+ my_app_sup:start_link().
+
+prep_stop(State) ->
+ ok = ranch:suspend_listener(my_listener),
+ ok = ranch:wait_for_connections(my_listener, '==', 0),
+ ok = ranch:stop_listener(my_listener),
+ State.
+
+stop(_State) ->
+ ok.
+----
diff --git a/docs/en/ranch/2.0/guide/connection_draining/index.html b/docs/en/ranch/2.0/guide/connection_draining/index.html
new file mode 100644
index 00000000..e1d6d641
--- /dev/null
+++ b/docs/en/ranch/2.0/guide/connection_draining/index.html
@@ -0,0 +1,258 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="">
+ <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
+
+ <title>Nine Nines: Connection draining</title>
+
+ <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
+ <link href="/css/99s.css?r=5" rel="stylesheet">
+
+ <link rel="shortcut icon" href="/img/ico/favicon.ico">
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
+ <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
+
+
+</head>
+
+
+<body class="">
+ <header id="page-head">
+ <div id="topbar" class="container">
+ <div class="row">
+ <div class="span2">
+ <h1 id="logo"><a href="/" title="99s">99s</a></h1>
+ </div>
+ <div class="span10">
+
+ <div id="side-header">
+ <nav>
+ <ul>
+ <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
+ <li><a title="Watch my talks" href="/talks">Talks</a></li>
+ <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
+ <li><a title="Request my services" href="/services">Consulting & Training</a></li>
+ </ul>
+ </nav>
+ <ul id="social">
+ <li>
+ <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
+ </li>
+ <li>
+ <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+
+
+</header>
+
+<div id="contents" class="two_col">
+<div class="container">
+<div class="row">
+<div id="docs" class="span9 maincol">
+
+<h1 class="lined-header"><span>Connection draining</span></h1>
+
+<p>Stopping a Ranch listener via <code>ranch:stop_listener/1</code> will invariably kill all connection processes the listener hosts. However, you may want to stop a listener in a graceful fashion, ie by not accepting any new connections, but allowing the existing connection processes to exit by themselves instead of being killed.</p>
+<p>For this purpose, you should first suspend the listener you wish to stop gracefully, and then wait for its connection count to drop to zero.</p>
+<div class="listingblock"><div class="title">Draining a single listener</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:suspend_listener</font></b>(<font color="#009900">Ref</font>),
+<font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:wait_for_connections</font></b>(<font color="#009900">Ref</font>, <font color="#FF6600">'=='</font>, <font color="#993399">0</font>),
+<font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:stop_listener</font></b>(<font color="#009900">Ref</font>)<font color="#990000">.</font></tt></pre>
+</div></div>
+<p>If you want to drain more than just one listener, it may be important to first suspend them all before beginning to wait for their connection counts to reach zero. Otherwise, the not yet suspended listeners will still be accepting connections while you wait for the suspended ones to be drained.</p>
+<div class="listingblock"><div class="title">Draining multiple listeners</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">lists:foreach</font></b>(
+ <b><font color="#0000FF">fun</font></b> (<font color="#009900">Ref</font>) <font color="#990000">-&gt;</font>
+ <font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:suspend_listener</font></b>(<font color="#009900">Ref</font>)
+ <b><font color="#0000FF">end</font></b>,
+ <font color="#009900">Refs</font>
+),
+<b><font color="#000000">lists:foreach</font></b>(
+ <b><font color="#0000FF">fun</font></b> (<font color="#009900">Ref</font>) <font color="#990000">-&gt;</font>
+ <font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:wait_for_connections</font></b>(<font color="#009900">Ref</font>, <font color="#FF6600">'=='</font>, <font color="#993399">0</font>),
+ <font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:stop_listener</font></b>(<font color="#009900">Ref</font>)
+ <b><font color="#0000FF">end</font></b>,
+ <font color="#009900">Refs</font>
+)<font color="#990000">.</font></tt></pre>
+</div></div>
+<p>If you have long-running connection processes hosted by the listener you want to stop gracefully, draining may take a long time, possibly forever. If you just want to give the connection processes a chance to finish, but are not willing to wait for infinity, the waiting part could be handled in a separate process.</p>
+<div class="listingblock"><div class="title">Draining a listener with a timeout</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:suspend_listener</font></b>(<font color="#009900">Ref</font>),
+{<font color="#009900">DrainPid</font>, <font color="#009900">DrainRef</font>} <font color="#990000">=</font> <b><font color="#000000">spawn_monitor</font></b>(
+ <b><font color="#0000FF">fun</font></b> () <font color="#990000">-&gt;</font>
+ <font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:wait_for_connections</font></b>(<font color="#009900">Ref</font>, <font color="#FF6600">'=='</font>, <font color="#993399">0</font>)
+ <b><font color="#0000FF">end</font></b>
+),
+<b><font color="#0000FF">receive</font></b>
+ {<font color="#FF6600">'DOWN'</font>, <font color="#009900">DrainRef</font>, <b><font color="#000080">process</font></b>, <font color="#009900">DrainPid</font>, <font color="#990000">_</font>} <font color="#990000">-&gt;</font>
+ <font color="#FF6600">ok</font>
+<b><font color="#0000FF">after</font></b> <font color="#009900">DrainTimeout</font> <font color="#990000">-&gt;</font>
+ <b><font color="#000080">exit</font></b>(<font color="#009900">DrainPid</font>, <b><font color="#000080">kill</font></b>),
+ <font color="#FF6600">ok</font>
+<b><font color="#0000FF">end</font></b>,
+<font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:stop_listener</font></b>(<font color="#009900">Ref</font>)<font color="#990000">.</font></tt></pre>
+</div></div>
+<p>To drain listeners automatically as part of your application shutdown routine, use the <code>prep_stop/1</code> function of your application module.</p>
+<div class="listingblock"><div class="title">Draining listeners automatically on application shutdown</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000080">-module</font></b>(<font color="#FF6600">my_app</font>)<font color="#990000">.</font>
+
+<b><font color="#000080">-behavior</font></b>(<font color="#FF6600">application</font>)<font color="#990000">.</font>
+
+<b><font color="#000080">-export</font></b>([<b><font color="#000000">start</font></b><font color="#990000">/</font><font color="#993399">2</font>])<font color="#990000">.</font>
+<b><font color="#000080">-export</font></b>([<b><font color="#000000">prep_stop</font></b><font color="#990000">/</font><font color="#993399">1</font>])<font color="#990000">.</font>
+<b><font color="#000080">-export</font></b>([<b><font color="#000000">stop</font></b><font color="#990000">/</font><font color="#993399">1</font>])<font color="#990000">.</font>
+
+<b><font color="#000000">start</font></b>(<font color="#009900">_StartType</font>, <font color="#009900">_StartArgs</font>) <font color="#990000">-&gt;</font>
+ {<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">my_listener</font>, <font color="#FF6600">ranch_tcp</font>, #{}, <font color="#FF6600">my_protocol</font>, []),
+ <b><font color="#000000">my_app_sup:start_link</font></b>()<font color="#990000">.</font>
+
+<b><font color="#000000">prep_stop</font></b>(<font color="#009900">State</font>) <font color="#990000">-&gt;</font>
+ <font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:suspend_listener</font></b>(<font color="#FF6600">my_listener</font>),
+ <font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:wait_for_connections</font></b>(<font color="#FF6600">my_listener</font>, <font color="#FF6600">'=='</font>, <font color="#993399">0</font>),
+ <font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:stop_listener</font></b>(<font color="#FF6600">my_listener</font>),
+ <font color="#009900">State</font><font color="#990000">.</font>
+
+<b><font color="#000000">stop</font></b>(<font color="#009900">_State</font>) <font color="#990000">-&gt;</font>
+ <font color="#FF6600">ok</font><font color="#990000">.</font></tt></pre>
+</div></div>
+
+
+
+
+
+
+
+
+
+
+
+ <nav style="margin:1em 0">
+
+ <a style="float:left" href="https://ninenines.eu/docs/en/ranch/2.0/guide/ssl_auth/">
+ SSL client authentication
+ </a>
+
+
+
+ <a style="float:right" href="https://ninenines.eu/docs/en/ranch/2.0/guide/internals/">
+ Internals
+ </a>
+
+ </nav>
+
+
+
+
+</div>
+
+<div class="span3 sidecol">
+
+
+<h3>
+ Ranch
+ 2.0
+
+ User Guide
+</h3>
+
+<ul>
+
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
+
+
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
+
+
+</ul>
+
+<h4 id="docs-nav">Navigation</h4>
+
+<h4>Version select</h4>
+<ul>
+
+
+
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
+ <li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
+
+ <li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
+
+ <li><a href="/docs/en/ranch/1.5/guide">1.5</a></li>
+
+ <li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
+
+</ul>
+
+<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
+<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
+<input type="hidden" name="cmd" value="_donations">
+<input type="hidden" name="business" value="[email protected]">
+<input type="hidden" name="lc" value="FR">
+<input type="hidden" name="item_name" value="Loic Hoguin">
+<input type="hidden" name="item_number" value="99s">
+<input type="hidden" name="currency_code" value="EUR">
+<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
+<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
+<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
+</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
+
+
+
+</div>
+</div>
+</div>
+</div>
+
+ <footer>
+ <div class="container">
+ <div class="row">
+ <div class="span6">
+ <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
+ <nav>
+ <ul>
+ <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
+ </ul>
+ </nav>
+ </div>
+ <div class="span6 credits">
+ <p><img src="/img/footer_logo.png"></p>
+ <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
+ </div>
+ </div>
+ </div>
+ </footer>
+
+
+ <script src="/js/custom.js"></script>
+ </body>
+</html>
+
+
diff --git a/docs/en/ranch/2.0/guide/embedded.asciidoc b/docs/en/ranch/2.0/guide/embedded.asciidoc
new file mode 100644
index 00000000..28f567bc
--- /dev/null
+++ b/docs/en/ranch/2.0/guide/embedded.asciidoc
@@ -0,0 +1,47 @@
+== Embedded mode
+
+Embedded mode allows you to insert Ranch listeners directly
+in your supervision tree. This allows for greater fault tolerance
+control by permitting the shutdown of a listener due to the
+failure of another part of the application and vice versa.
+
+However, just as for non-embedded listeners that were started via
+`ranch:start_listener/5`, it is required that the `ranch` application
+is running before you can start embedded listeners. Furthermore,
+this also means that embedded listeners will restart when `ranch_sup` fails.
+
+WARNING: By using embedded mode, it is possible to start a listener with the same name
+as an already existing listener. This will corrupt the information Ranch
+keeps for that listener, so you should take care to ensure unique listener
+names yourself. A good way to achieve this is by combining the embedded
+listener's name with `?MODULE`, or the name of the application it is used
+in.
+
+=== Embedding
+
+To embed Ranch in your application you can simply add the child specs
+to your supervision tree. This can all be done in the `init/1` function
+of one of your application supervisors.
+
+Ranch has a convenience function for getting the listeners child specs
+called `ranch:child_spec/5`, that works like `ranch:start_listener/5`,
+except that it doesn't start anything, it only returns child specs.
+
+The following example adds one listener to another application's
+supervision tree.
+
+.Embed Ranch directly in your supervision tree
+
+[source,erlang]
+----
+init([]) ->
+ ListenerSpec = ranch:child_spec({?MODULE, echo},
+ ranch_tcp, #{socket_opts => [{port, 5555}]},
+ echo_protocol, []
+ ),
+ {ok, {#{}, [ListenerSpec]}}.
+----
+
+Embedded listeners cannot be stopped via `ranch:stop_listener/1`. Instead,
+are to be stopped as part of the shutdown of your application's supervison
+tree.
diff --git a/docs/en/ranch/1.2/guide/embedded/index.html b/docs/en/ranch/2.0/guide/embedded/index.html
index 4e944575..3b5d02d3 100644
--- a/docs/en/ranch/1.2/guide/embedded/index.html
+++ b/docs/en/ranch/2.0/guide/embedded/index.html
@@ -63,28 +63,25 @@
<h1 class="lined-header"><span>Embedded mode</span></h1>
<p>Embedded mode allows you to insert Ranch listeners directly in your supervision tree. This allows for greater fault tolerance control by permitting the shutdown of a listener due to the failure of another part of the application and vice versa.</p>
+<p>However, just as for non-embedded listeners that were started via <code>ranch:start_listener/5</code>, it is required that the <code>ranch</code> application is running before you can start embedded listeners. Furthermore, this also means that embedded listeners will restart when <code>ranch_sup</code> fails.</p>
+<p>WARNING: By using embedded mode, it is possible to start a listener with the same name as an already existing listener. This will corrupt the information Ranch keeps for that listener, so you should take care to ensure unique listener names yourself. A good way to achieve this is by combining the embedded listener&apos;s name with <code>?MODULE</code>, or the name of the application it is used in.</p>
<h2 id="_embedding">Embedding</h2>
<p>To embed Ranch in your application you can simply add the child specs to your supervision tree. This can all be done in the <code>init/1</code> function of one of your application supervisors.</p>
-<p>Ranch requires at the minimum two kinds of child specs for embedding. First, you need to add <code>ranch_sup</code> to your supervision tree, only once, regardless of the number of listeners you will use. Then you need to add the child specs for each listener.</p>
-<p>Ranch has a convenience function for getting the listeners child specs called <code>ranch:child_spec/6</code>, that works like <code>ranch:start_listener/6</code>, except that it doesn&apos;t start anything, it only returns child specs.</p>
-<p>As for <code>ranch_sup</code>, the child spec is simple enough to not require a convenience function.</p>
-<p>The following example adds both <code>ranch_sup</code> and one listener to another application&apos;s supervision tree.</p>
+<p>Ranch has a convenience function for getting the listeners child specs called <code>ranch:child_spec/5</code>, that works like <code>ranch:start_listener/5</code>, except that it doesn&apos;t start anything, it only returns child specs.</p>
+<p>The following example adds one listener to another application&apos;s supervision tree.</p>
<div class="listingblock"><div class="title">Embed Ranch directly in your supervision tree</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><b><font color="#000000">init</font></b>([]) <font color="#990000">-&gt;</font>
- <font color="#009900">RanchSupSpec</font> <font color="#990000">=</font> {<font color="#FF6600">ranch_sup</font>, {<font color="#FF6600">ranch_sup</font>, <font color="#FF6600">start_link</font>, []},
- <font color="#FF6600">permanent</font>, <font color="#993399">5000</font>, <font color="#FF6600">supervisor</font>, [<font color="#FF6600">ranch_sup</font>]},
- <font color="#009900">ListenerSpec</font> <font color="#990000">=</font> <b><font color="#000000">ranch:child_spec</font></b>(<font color="#FF6600">echo</font>, <font color="#993399">100</font>,
- <font color="#FF6600">ranch_tcp</font>, [{<font color="#FF6600">port</font>, <font color="#993399">5555</font>}],
+ <font color="#009900">ListenerSpec</font> <font color="#990000">=</font> <b><font color="#000000">ranch:child_spec</font></b>({<b><font color="#000080">?MODULE</font></b>, <font color="#FF6600">echo</font>},
+ <font color="#FF6600">ranch_tcp</font>, #{<font color="#0000FF">socket_opts</font> <font color="#990000">=&gt;</font> [{<font color="#FF6600">port</font>, <font color="#993399">5555</font>}]},
<font color="#FF6600">echo_protocol</font>, []
),
- {<font color="#FF6600">ok</font>, {{<font color="#FF6600">one_for_one</font>, <font color="#993399">10</font>, <font color="#993399">10</font>}, [<font color="#009900">RanchSupSpec</font>, <font color="#009900">ListenerSpec</font>]}}<font color="#990000">.</font></tt></pre>
+ {<font color="#FF6600">ok</font>, {#{}, [<font color="#009900">ListenerSpec</font>]}}<font color="#990000">.</font></tt></pre>
</div></div>
-<p>Remember, you can add as many listener child specs as needed, but only one <code>ranch_sup</code> spec!</p>
-<p>It is recommended that your architecture makes sure that all listeners are restarted if <code>ranch_sup</code> fails. See the Ranch internals chapter for more details on how Ranch does it.</p>
+<p>Embedded listeners cannot be stopped via <code>ranch:stop_listener/1</code>. Instead, are to be stopped as part of the shutdown of your application&apos;s supervison tree.</p>
@@ -98,13 +95,13 @@ http://www.gnu.org/software/src-highlite -->
<nav style="margin:1em 0">
- <a style="float:left" href="https://ninenines.eu/docs/en/ranch/1.2/guide/protocols/">
+ <a style="float:left" href="https://ninenines.eu/docs/en/ranch/2.0/guide/protocols/">
Protocols
</a>
- <a style="float:right" href="https://ninenines.eu/docs/en/ranch/1.2/guide/parsers/">
+ <a style="float:right" href="https://ninenines.eu/docs/en/ranch/2.0/guide/parsers/">
Writing parsers
</a>
@@ -120,17 +117,17 @@ http://www.gnu.org/software/src-highlite -->
<h3>
Ranch
- 1.2
+ 2.0
User Guide
</h3>
<ul>
- <li><a href="/docs/en/ranch/1.2/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/ranch/1.2/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -142,6 +139,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -150,10 +149,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.2/guide/index.html b/docs/en/ranch/2.0/guide/index.html
index a1099156..df41b025 100644
--- a/docs/en/ranch/1.2/guide/index.html
+++ b/docs/en/ranch/2.0/guide/index.html
@@ -62,6 +62,7 @@
<h1 class="lined-header"><span>Ranch User Guide</span></h1>
+<h2 id="_interface">Interface</h2>
<ul><li><a href="introduction/">Introduction</a>
</li>
<li><a href="listeners/">Listeners</a>
@@ -72,11 +73,27 @@
</li>
<li><a href="embedded/">Embedded mode</a>
</li>
-<li><a href="parsers/">Writing parsers</a>
+</ul>
+<h2 id="_how_to">How to</h2>
+<ul><li><a href="parsers/">Writing parsers</a>
</li>
<li><a href="ssl_auth/">SSL client authentication</a>
</li>
-<li><a href="internals/">Internals</a>
+<li><a href="connection_draining/">Connection draining</a>
+</li>
+</ul>
+<h2 id="_advanced">Advanced</h2>
+<ul><li><a href="internals/">Internals</a>
+</li>
+</ul>
+<h2 id="_additional_information">Additional information</h2>
+<ul><li><a href="migrating_from_1.7/">Migrating from Ranch 1.7 to 2.0</a>
+</li>
+<li><a href="migrating_from_1.6/">Migrating from Ranch 1.6 to 1.7</a>
+</li>
+<li><a href="migrating_from_1.5/">Migrating from Ranch 1.5 to 1.6</a>
+</li>
+<li><a href="migrating_from_1.x/">Migrating from Ranch 1.x</a>
</li>
</ul>
@@ -92,17 +109,17 @@
<h3>
Ranch
- 1.2
+ 2.0
User Guide
</h3>
<ul>
- <li><a href="/docs/en/ranch/1.2/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/ranch/1.2/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -114,6 +131,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -122,10 +141,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.2/guide/internals.asciidoc b/docs/en/ranch/2.0/guide/internals.asciidoc
index fa63f1d3..c5bde58f 100644
--- a/docs/en/ranch/1.2/guide/internals.asciidoc
+++ b/docs/en/ranch/2.0/guide/internals.asciidoc
@@ -47,7 +47,7 @@ that new process.
=== Number of acceptors
-The second argument to `ranch:start_listener/6` is the number of
+The second argument to `ranch:start_listener/5` is the number of
processes that will be accepting connections. Care should be taken
when choosing this number.
diff --git a/docs/en/ranch/1.2/guide/internals/index.html b/docs/en/ranch/2.0/guide/internals/index.html
index 231e5582..15c36084 100644
--- a/docs/en/ranch/1.2/guide/internals/index.html
+++ b/docs/en/ranch/2.0/guide/internals/index.html
@@ -72,7 +72,7 @@
<p>Listeners are grouped into the <code>ranch_listener_sup</code> supervisor and consist of three kinds of processes: the listener gen_server, the acceptor processes and the connection processes, both grouped under their own supervisor. All of these processes are registered to the <code>ranch_server</code> gen_server with varying amount of information.</p>
<p>All socket operations, including listening for connections, go through transport handlers. Accepted connections are given to the protocol handler. Transport handlers are simple callback modules for performing operations on sockets. Protocol handlers start a new process, which receives socket ownership, with no requirements on how the code should be written inside that new process.</p>
<h2 id="_number_of_acceptors">Number of acceptors</h2>
-<p>The second argument to <code>ranch:start_listener/6</code> is the number of processes that will be accepting connections. Care should be taken when choosing this number.</p>
+<p>The second argument to <code>ranch:start_listener/5</code> is the number of processes that will be accepting connections. Care should be taken when choosing this number.</p>
<p>First of all, it should not be confused with the maximum number of connections. Acceptor processes are only used for accepting and have nothing else in common with connection processes. Therefore there is nothing to be gained from setting this number too high, in fact it can slow everything else down.</p>
<p>Second, this number should be high enough to allow Ranch to accept connections concurrently. But the number of cores available doesn&apos;t seem to be the only factor for choosing this number, as we can observe faster accepts if we have more acceptors than cores. It might be entirely dependent on the protocol, however.</p>
<p>Our observations suggest that using 100 acceptors on modern hardware is a good solution, as it&apos;s big enough to always have acceptors ready and it&apos;s low enough that it doesn&apos;t have a negative impact on the system&apos;s performances.</p>
@@ -102,12 +102,16 @@ http://www.gnu.org/software/src-highlite -->
<nav style="margin:1em 0">
- <a style="float:left" href="https://ninenines.eu/docs/en/ranch/1.2/guide/ssl_auth/">
- SSL client authentication
+ <a style="float:left" href="https://ninenines.eu/docs/en/ranch/2.0/guide/connection_draining/">
+ Connection draining
</a>
+ <a style="float:right" href="https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.7/">
+ Migrating from Ranch 1.7 to Ranch 2.0
+ </a>
+
</nav>
@@ -120,17 +124,17 @@ http://www.gnu.org/software/src-highlite -->
<h3>
Ranch
- 1.2
+ 2.0
User Guide
</h3>
<ul>
- <li><a href="/docs/en/ranch/1.2/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/ranch/1.2/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -142,6 +146,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -150,10 +156,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.2/guide/introduction.asciidoc b/docs/en/ranch/2.0/guide/introduction.asciidoc
index 3199fb2f..d904c65f 100644
--- a/docs/en/ranch/1.2/guide/introduction.asciidoc
+++ b/docs/en/ranch/2.0/guide/introduction.asciidoc
@@ -13,9 +13,9 @@ with socket programming and TCP protocols.
=== Supported platforms
-Ranch is tested and supported on Linux.
+Ranch is tested and supported on Linux, FreeBSD, macOS and Windows.
-Ranch is developed for Erlang R15B01+.
+Ranch is developed for Erlang/OTP 21+.
Ranch may be compiled on earlier Erlang versions with small source code
modifications but there is no guarantee that it will work as expected.
diff --git a/docs/en/ranch/1.2/guide/introduction/index.html b/docs/en/ranch/2.0/guide/introduction/index.html
index a0be61d2..fa76c234 100644
--- a/docs/en/ranch/1.2/guide/introduction/index.html
+++ b/docs/en/ranch/2.0/guide/introduction/index.html
@@ -67,8 +67,8 @@
<h2 id="_prerequisites">Prerequisites</h2>
<p>It is assumed the developer already knows Erlang and has some experience with socket programming and TCP protocols.</p>
<h2 id="_supported_platforms">Supported platforms</h2>
-<p>Ranch is tested and supported on Linux.</p>
-<p>Ranch is developed for Erlang R15B01+.</p>
+<p>Ranch is tested and supported on Linux, FreeBSD, macOS and Windows.</p>
+<p>Ranch is developed for Erlang/OTP 21+.</p>
<p>Ranch may be compiled on earlier Erlang versions with small source code modifications but there is no guarantee that it will work as expected.</p>
<h2 id="_versioning">Versioning</h2>
<p>Ranch uses <a href="http://semver.org/">Semantic Versioning 2.0.0</a></p>
@@ -87,7 +87,7 @@
- <a style="float:right" href="https://ninenines.eu/docs/en/ranch/1.2/guide/listeners/">
+ <a style="float:right" href="https://ninenines.eu/docs/en/ranch/2.0/guide/listeners/">
Listeners
</a>
@@ -103,17 +103,17 @@
<h3>
Ranch
- 1.2
+ 2.0
User Guide
</h3>
<ul>
- <li><a href="/docs/en/ranch/1.2/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/ranch/1.2/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -125,6 +125,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -133,10 +135,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.3/guide/listeners.asciidoc b/docs/en/ranch/2.0/guide/listeners.asciidoc
index 1055b804..fd988f1c 100644
--- a/docs/en/ranch/1.3/guide/listeners.asciidoc
+++ b/docs/en/ranch/2.0/guide/listeners.asciidoc
@@ -26,7 +26,7 @@ When starting a listener, a number of different settings are required:
Ranch includes both TCP and SSL transport handlers, respectively
`ranch_tcp` and `ranch_ssl`.
-A listener can be started by calling the `ranch:start_listener/6`
+A listener can be started by calling the `ranch:start_listener/5`
function. Before doing so however, you must ensure that the `ranch`
application is started.
@@ -42,7 +42,7 @@ to the `echo_protocol` handler.
.Starting a listener for TCP connections on port 5555
[source,erlang]
-{ok, _} = ranch:start_listener(tcp_echo, 100,
+{ok, _} = ranch:start_listener(tcp_echo,
ranch_tcp, [{port, 5555}],
echo_protocol, []
).
@@ -91,6 +91,34 @@ named `tcp_echo`. We can now stop it.
[source,erlang]
ranch:stop_listener(tcp_echo).
+=== Suspending and resuming a listener
+
+Listeners can be suspended and resumed by calling
+`ranch:suspend_listener/1` and `ranch:resume_listener/1`,
+respectively, with the name of the listener as argument.
+
+Suspending a listener will cause it to stop listening and not accept
+new connections, but existing connection processes will not be stopped.
+
+.Suspending a listener
+
+[source,erlang]
+ranch:suspend_listener(tcp_echo).
+
+Resuming a listener will cause it to start listening and accept new
+connections again.
+It is worth mentioning, however, that if the listener is configured
+to listen on a random port, it will listen on a different port than
+before it was suspended.
+
+.Resuming a listener
+
+[source,erlang]
+ranch:resume_listener(tcp_echo).
+
+Whether a listener is currently running or suspended can be queried
+by calling `ranch:get_status/1` with the listener name as argument.
+
=== Default transport options
By default the socket will be set to return `binary` data, with the
@@ -108,12 +136,12 @@ the port number 0, or if you omit the port number entirely, Ranch will
start listening on a random port.
You can retrieve this port number by calling `ranch:get_port/1`. The
-argument is the name of the listener you gave in `ranch:start_listener/6`.
+argument is the name of the listener you gave in `ranch:start_listener/5`.
.Starting a listener for TCP connections on a random port
[source,erlang]
-{ok, _} = ranch:start_listener(tcp_echo, 100,
+{ok, _} = ranch:start_listener(tcp_echo,
ranch_tcp, [{port, 0}],
echo_protocol, []
).
@@ -132,34 +160,46 @@ We recommend the use of port rewriting for systems with a single server,
and load balancing for systems with multiple servers. Documenting these
solutions is however out of the scope of this guide.
+=== Listening on a UNIX Domain socket
+
+On UNIX systems, it is also possible to use Ranch to listen on a UNIX
+domain socket by specifying `{local, SocketFile}` for the `ip` socket
+option. In this case, the port must be set to 0 or omitted. The given
+file must not exist: Ranch must be able to create it.
+
+.Starting a listener for TCP connections on a UNIX Domain socket
+
+[source,erlang]
+{ok, _} = ranch:start_listener(tcp_echo,
+ ranch_tcp, #{socket_opts => [
+ {ip, {local, "/tmp/ranch_echo.sock"}},
+ {port, 0}
+ ]}, echo_protocol, []
+).
+
=== Accepting connections on an existing socket
-If you want to accept connections on an existing socket, you can use the
-`socket` transport option, which should just be the relevant data returned
-from the connect function for the transport or the underlying socket library
-(`gen_tcp:connect`, `ssl:connect`). The accept function will then be
-called on the passed in socket. You should connect the socket in
-`{active, false}` mode, as well.
-
-Note, however, that because of a bug in SSL, you cannot change ownership of an
-SSL listen socket prior to R16. Ranch will catch the error thrown, but the
-owner of the SSL socket will remain as whatever process created the socket.
-However, this will not affect accept behaviour unless the owner process dies,
-in which case the socket is closed. Therefore, to use this feature with SSL
-with an erlang release prior to R16, ensure that the SSL socket is opened in a
-persistant process.
+If you want to accept connections on an existing socket, you can write
+a custom `ranch_transport` implementation that fetches or otherwise
+acquires a listening socket in the `listen/1` callback and returns it
+in the form of `{ok, ListenSocket}`.
+
+The custom `listen/1` function must ensure that the listener process
+(usually the process calling it) is also made the controlling process
+of the socket it returns. Failing to do so will result in stop/start
+and suspend/resume not working properly for that listener.
=== Limiting the number of concurrent connections
The `max_connections` transport option allows you to limit the number
-of concurrent connections. It defaults to 1024. Its purpose is to
-prevent your system from being overloaded and ensuring all the
-connections are handled optimally.
+of concurrent connections per connection supervisor (see below).
+It defaults to 1024. Its purpose is to prevent your system from being
+overloaded and ensuring all the connections are handled optimally.
.Customizing the maximum number of concurrent connections
[source,erlang]
-{ok, _} = ranch:start_listener(tcp_echo, 100,
+{ok, _} = ranch:start_listener(tcp_echo,
ranch_tcp, [{port, 5555}, {max_connections, 100}],
echo_protocol, []
).
@@ -169,7 +209,7 @@ You can disable this limit by setting its value to the atom `infinity`.
.Disabling the limit for the number of connections
[source,erlang]
-{ok, _} = ranch:start_listener(tcp_echo, 100,
+{ok, _} = ranch:start_listener(tcp_echo,
ranch_tcp, [{port, 5555}, {max_connections, infinity}],
echo_protocol, []
).
@@ -213,6 +253,44 @@ ranch:set_max_connections(tcp_echo, MaxConns).
The change will occur immediately.
+=== Customizing the number of acceptor processes
+
+By default Ranch will use 10 acceptor processes. Their role is
+to accept connections and spawn a connection process for every
+new connection.
+
+This number can be tweaked to improve performance. A good
+number is typically between 10 or 100 acceptors. You must
+measure to find the best value for your application.
+
+.Specifying a custom number of acceptor processes
+
+[source,erlang]
+{ok, _} = ranch:start_listener(tcp_echo,
+ ranch_tcp, [{port, 5555}, {num_acceptors, 42}],
+ echo_protocol, []
+).
+
+=== Customizing the number of connection supervisors
+
+By default Ranch will use one connection supervisor for each
+acceptor process (but not vice versa). Their task is to
+supervise the connection processes started by an acceptor.
+The number of connection supervisors can be tweaked.
+
+Note that the association between the individual acceptors and
+connection supervisors is fixed, meaning that acceptors will
+always use the same connection supervisor to start connection
+processes.
+
+.Specifying a custom number of connection supervisors
+
+[source,erlang]
+{ok, _} = ranch:start_listener(tcp_echo,
+ ranch_tcp, #{socket_opts => [{port, 5555}], num_conns_sups => 42}],
+ echo_protocol, []
+).
+
=== When running out of file descriptors
Operating systems have limits on the number of sockets
@@ -278,7 +356,26 @@ calling `ranch:get_protocol_options/1`.
[source,erlang]
Opts = ranch:get_protocol_options(tcp_echo).
-=== Obtain information about listeners
+=== Changing transport options
+
+Ranch allows you to change the transport options of a listener with
+the `ranch:set_transport_options/2` function, for example to change the
+number of acceptors or to make it listen on a different port.
+
+.Changing the transport options
+
+[source,erlang]
+ranch:set_transport_options(tcp_echo, NewOpts).
+
+You can retrieve the current transport options by calling
+`ranch:get_transport_options/1`.
+
+.Retrieving the current transport options
+
+[source,erlang]
+Opts = ranch:get_transport_options(tcp_echo).
+
+=== Obtaining information about listeners
Ranch provides two functions for retrieving information about the
listeners, for reporting and diagnostic purposes.
diff --git a/docs/en/ranch/1.3/guide/listeners/index.html b/docs/en/ranch/2.0/guide/listeners/index.html
index bf5f0e4f..c4fbd325 100644
--- a/docs/en/ranch/1.3/guide/listeners/index.html
+++ b/docs/en/ranch/2.0/guide/listeners/index.html
@@ -78,7 +78,7 @@
</li>
</ul>
<p>Ranch includes both TCP and SSL transport handlers, respectively <code>ranch_tcp</code> and <code>ranch_ssl</code>.</p>
-<p>A listener can be started by calling the <code>ranch:start_listener/6</code> function. Before doing so however, you must ensure that the <code>ranch</code> application is started.</p>
+<p>A listener can be started by calling the <code>ranch:start_listener/5</code> function. Before doing so however, you must ensure that the <code>ranch</code> application is started.</p>
<div class="listingblock"><div class="title">Starting the Ranch application</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
@@ -92,7 +92,7 @@ http://www.gnu.org/software/src-highlite -->
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">tcp_echo</font>, <font color="#993399">100</font>,
+<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">tcp_echo</font>,
<font color="#FF6600">ranch_tcp</font>, [{<font color="#FF6600">port</font>, <font color="#993399">5555</font>}],
<font color="#FF6600">echo_protocol</font>, []
)<font color="#990000">.</font></tt></pre>
@@ -133,18 +133,37 @@ http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><b><font color="#000000">ranch:stop_listener</font></b>(<font color="#FF6600">tcp_echo</font>)<font color="#990000">.</font></tt></pre>
</div></div>
+<h2 id="_suspending_and_resuming_a_listener">Suspending and resuming a listener</h2>
+<p>Listeners can be suspended and resumed by calling <code>ranch:suspend_listener/1</code> and <code>ranch:resume_listener/1</code>, respectively, with the name of the listener as argument.</p>
+<p>Suspending a listener will cause it to stop listening and not accept new connections, but existing connection processes will not be stopped.</p>
+<div class="listingblock"><div class="title">Suspending a listener</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">ranch:suspend_listener</font></b>(<font color="#FF6600">tcp_echo</font>)<font color="#990000">.</font></tt></pre>
+</div></div>
+<p>Resuming a listener will cause it to start listening and accept new connections again. It is worth mentioning, however, that if the listener is configured to listen on a random port, it will listen on a different port than before it was suspended.</p>
+<div class="listingblock"><div class="title">Resuming a listener</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">ranch:resume_listener</font></b>(<font color="#FF6600">tcp_echo</font>)<font color="#990000">.</font></tt></pre>
+</div></div>
+<p>Whether a listener is currently running or suspended can be queried by calling <code>ranch:get_status/1</code> with the listener name as argument.</p>
<h2 id="_default_transport_options">Default transport options</h2>
<p>By default the socket will be set to return <code>binary</code> data, with the options <code>{active, false}</code>, <code>{packet, raw}</code>, <code>{reuseaddr, true}</code> set. These values can&apos;t be overriden when starting the listener, but they can be overriden using <code>Transport:setopts/2</code> in the protocol.</p>
<p>It will also set <code>{backlog, 1024}</code> and <code>{nodelay, true}</code>, which can be overriden at listener startup.</p>
<h2 id="_listening_on_a_random_port">Listening on a random port</h2>
<p>You do not have to specify a specific port to listen on. If you give the port number 0, or if you omit the port number entirely, Ranch will start listening on a random port.</p>
-<p>You can retrieve this port number by calling <code>ranch:get_port/1</code>. The argument is the name of the listener you gave in <code>ranch:start_listener/6</code>.</p>
+<p>You can retrieve this port number by calling <code>ranch:get_port/1</code>. The argument is the name of the listener you gave in <code>ranch:start_listener/5</code>.</p>
<div class="listingblock"><div class="title">Starting a listener for TCP connections on a random port</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">tcp_echo</font>, <font color="#993399">100</font>,
+<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">tcp_echo</font>,
<font color="#FF6600">ranch_tcp</font>, [{<font color="#FF6600">port</font>, <font color="#993399">0</font>}],
<font color="#FF6600">echo_protocol</font>, []
)<font color="#990000">.</font>
@@ -154,17 +173,31 @@ http://www.gnu.org/software/src-highlite -->
<p>Some systems limit access to ports below 1024 for security reasons. This can easily be identified by an <code>{error, eacces}</code> error when trying to open a listening socket on such a port.</p>
<p>The methods for listening on privileged ports vary between systems, please refer to your system&apos;s documentation for more information.</p>
<p>We recommend the use of port rewriting for systems with a single server, and load balancing for systems with multiple servers. Documenting these solutions is however out of the scope of this guide.</p>
+<h2 id="_listening_on_a_unix_domain_socket">Listening on a UNIX Domain socket</h2>
+<p>On UNIX systems, it is also possible to use Ranch to listen on a UNIX domain socket by specifying <code>{local, SocketFile}</code> for the <code>ip</code> socket option. In this case, the port must be set to 0 or omitted. The given file must not exist: Ranch must be able to create it.</p>
+<div class="listingblock"><div class="title">Starting a listener for TCP connections on a UNIX Domain socket</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">tcp_echo</font>,
+ <font color="#FF6600">ranch_tcp</font>, #{<font color="#0000FF">socket_opts</font> <font color="#990000">=&gt;</font> [
+ {<font color="#FF6600">ip</font>, {<font color="#FF6600">local</font>, <font color="#FF0000">"/tmp/ranch_echo.sock"</font>}},
+ {<font color="#FF6600">port</font>, <font color="#993399">0</font>}
+ ]}, <font color="#FF6600">echo_protocol</font>, []
+)<font color="#990000">.</font></tt></pre>
+</div></div>
<h2 id="_accepting_connections_on_an_existing_socket">Accepting connections on an existing socket</h2>
-<p>If you want to accept connections on an existing socket, you can use the <code>socket</code> transport option, which should just be the relevant data returned from the connect function for the transport or the underlying socket library (<code>gen_tcp:connect</code>, <code>ssl:connect</code>). The accept function will then be called on the passed in socket. You should connect the socket in <code>{active, false}</code> mode, as well.</p>
-<p>Note, however, that because of a bug in SSL, you cannot change ownership of an SSL listen socket prior to R16. Ranch will catch the error thrown, but the owner of the SSL socket will remain as whatever process created the socket. However, this will not affect accept behaviour unless the owner process dies, in which case the socket is closed. Therefore, to use this feature with SSL with an erlang release prior to R16, ensure that the SSL socket is opened in a persistant process.</p>
+<p>If you want to accept connections on an existing socket, you can write a custom <code>ranch_transport</code> implementation that fetches or otherwise acquires a listening socket in the <code>listen/1</code> callback and returns it in the form of <code>{ok, ListenSocket}</code>.</p>
+<p>The custom <code>listen/1</code> function must ensure that the listener process (usually the process calling it) is also made the controlling process of the socket it returns. Failing to do so will result in stop/start and suspend/resume not working properly for that listener.</p>
<h2 id="_limiting_the_number_of_concurrent_connections">Limiting the number of concurrent connections</h2>
-<p>The <code>max_connections</code> transport option allows you to limit the number of concurrent connections. It defaults to 1024. Its purpose is to prevent your system from being overloaded and ensuring all the connections are handled optimally.</p>
+<p>The <code>max_connections</code> transport option allows you to limit the number of concurrent connections per connection supervisor (see below). It defaults to 1024. Its purpose is to prevent your system from being overloaded and ensuring all the connections are handled optimally.</p>
<div class="listingblock"><div class="title">Customizing the maximum number of concurrent connections</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">tcp_echo</font>, <font color="#993399">100</font>,
+<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">tcp_echo</font>,
<font color="#FF6600">ranch_tcp</font>, [{<font color="#FF6600">port</font>, <font color="#993399">5555</font>}, {<font color="#FF6600">max_connections</font>, <font color="#993399">100</font>}],
<font color="#FF6600">echo_protocol</font>, []
)<font color="#990000">.</font></tt></pre>
@@ -175,7 +208,7 @@ http://www.gnu.org/software/src-highlite -->
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">tcp_echo</font>, <font color="#993399">100</font>,
+<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">tcp_echo</font>,
<font color="#FF6600">ranch_tcp</font>, [{<font color="#FF6600">port</font>, <font color="#993399">5555</font>}, {<font color="#FF6600">max_connections</font>, <font color="#FF6600">infinity</font>}],
<font color="#FF6600">echo_protocol</font>, []
)<font color="#990000">.</font></tt></pre>
@@ -201,6 +234,32 @@ http://www.gnu.org/software/src-highlite -->
<pre><tt><b><font color="#000000">ranch:set_max_connections</font></b>(<font color="#FF6600">tcp_echo</font>, <font color="#009900">MaxConns</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<p>The change will occur immediately.</p>
+<h2 id="_customizing_the_number_of_acceptor_processes">Customizing the number of acceptor processes</h2>
+<p>By default Ranch will use 10 acceptor processes. Their role is to accept connections and spawn a connection process for every new connection.</p>
+<p>This number can be tweaked to improve performance. A good number is typically between 10 or 100 acceptors. You must measure to find the best value for your application.</p>
+<div class="listingblock"><div class="title">Specifying a custom number of acceptor processes</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">tcp_echo</font>,
+ <font color="#FF6600">ranch_tcp</font>, [{<font color="#FF6600">port</font>, <font color="#993399">5555</font>}, {<font color="#FF6600">num_acceptors</font>, <font color="#993399">42</font>}],
+ <font color="#FF6600">echo_protocol</font>, []
+)<font color="#990000">.</font></tt></pre>
+</div></div>
+<h2 id="_customizing_the_number_of_connection_supervisors">Customizing the number of connection supervisors</h2>
+<p>By default Ranch will use one connection supervisor for each acceptor process (but not vice versa). Their task is to supervise the connection processes started by an acceptor. The number of connection supervisors can be tweaked.</p>
+<p>Note that the association between the individual acceptors and connection supervisors is fixed, meaning that acceptors will always use the same connection supervisor to start connection processes.</p>
+<div class="listingblock"><div class="title">Specifying a custom number of connection supervisors</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">tcp_echo</font>,
+ <font color="#FF6600">ranch_tcp</font>, #{<font color="#0000FF">socket_opts</font> <font color="#990000">=&gt;</font> [{<font color="#FF6600">port</font>, <font color="#993399">5555</font>}], <font color="#0000FF">num_conns_sups</font> <font color="#990000">=&gt;</font> <font color="#993399">42</font>}],
+ <font color="#FF6600">echo_protocol</font>, []
+)<font color="#990000">.</font></tt></pre>
+</div></div>
<h2 id="_when_running_out_of_file_descriptors">When running out of file descriptors</h2>
<p>Operating systems have limits on the number of sockets which can be opened by applications. When this maximum is reached the listener can no longer accept new connections. The accept rate of the listener will be automatically reduced, and a warning message will be logged.</p>
<div class="listingblock"><div class="content"><pre>=ERROR REPORT==== 13-Jan-2016::12:24:38 ===
@@ -230,7 +289,24 @@ http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><font color="#009900">Opts</font> <font color="#990000">=</font> <b><font color="#000000">ranch:get_protocol_options</font></b>(<font color="#FF6600">tcp_echo</font>)<font color="#990000">.</font></tt></pre>
</div></div>
-<h2 id="_obtain_information_about_listeners">Obtain information about listeners</h2>
+<h2 id="_changing_transport_options">Changing transport options</h2>
+<p>Ranch allows you to change the transport options of a listener with the <code>ranch:set_transport_options/2</code> function, for example to change the number of acceptors or to make it listen on a different port.</p>
+<div class="listingblock"><div class="title">Changing the transport options</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">ranch:set_transport_options</font></b>(<font color="#FF6600">tcp_echo</font>, <font color="#009900">NewOpts</font>)<font color="#990000">.</font></tt></pre>
+</div></div>
+<p>You can retrieve the current transport options by calling <code>ranch:get_transport_options/1</code>.</p>
+<div class="listingblock"><div class="title">Retrieving the current transport options</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><font color="#009900">Opts</font> <font color="#990000">=</font> <b><font color="#000000">ranch:get_transport_options</font></b>(<font color="#FF6600">tcp_echo</font>)<font color="#990000">.</font></tt></pre>
+</div></div>
+<h2 id="_obtaining_information_about_listeners">Obtaining information about listeners</h2>
<p>Ranch provides two functions for retrieving information about the listeners, for reporting and diagnostic purposes.</p>
<p>The <code>ranch:info/0</code> function will return detailed information about all listeners.</p>
<div class="listingblock"><div class="title">Retrieving detailed information</div>
@@ -268,13 +344,13 @@ http://www.gnu.org/software/src-highlite -->
<nav style="margin:1em 0">
- <a style="float:left" href="https://ninenines.eu/docs/en/ranch/1.3/guide/introduction/">
+ <a style="float:left" href="https://ninenines.eu/docs/en/ranch/2.0/guide/introduction/">
Introduction
</a>
- <a style="float:right" href="https://ninenines.eu/docs/en/ranch/1.3/guide/transports/">
+ <a style="float:right" href="https://ninenines.eu/docs/en/ranch/2.0/guide/transports/">
Transports
</a>
@@ -290,17 +366,17 @@ http://www.gnu.org/software/src-highlite -->
<h3>
Ranch
- 1.3
+ 2.0
User Guide
</h3>
<ul>
- <li><a href="/docs/en/ranch/1.3/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -312,6 +388,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -320,10 +398,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/2.0/guide/migrating_from_1.5.asciidoc b/docs/en/ranch/2.0/guide/migrating_from_1.5.asciidoc
new file mode 100644
index 00000000..a454f932
--- /dev/null
+++ b/docs/en/ranch/2.0/guide/migrating_from_1.5.asciidoc
@@ -0,0 +1,76 @@
+[appendix]
+== Migrating from Ranch 1.5 to 1.6
+
+Ranch 1.6 added the ability to suspend and resume listeners.
+It also deprecates a number of features and add interfaces
+that will be used in Ranch 2.0.
+
+Ranch 1.6 is compatible with Erlang/OTP 18.0 onward. Support
+for older releases has been removed.
+
+=== Features added
+
+* Listeners can now be suspended/resumed without stopping existing
+ connection processes. This effectively closes the listening socket
+ and stops the acceptor processes.
+
+* Transport options can now be updated for suspended listeners.
+
+* The `Socket` argument given when the protocol starts has been
+ deprecated. In Ranch 2.0 the socket will be obtainable only
+ by calling `ranch:handshake/1,2`.
+
+* Ranch-specific transport options and socket options are now
+ better separated. When passing Ranch-specific transport options,
+ Ranch now expects to receive a map, in which case socket
+ options are passed in the `socket_opts` value. When there
+ are only socket options they can be passed to Ranch directly
+ as a convenience.
+
+* Any future transport option will only be added to the map
+ type. This includes transport options added in this release.
+
+* The transport option `ack_timeout` was renamed to `handshake_timeout`
+ in the map type.
+
+* The `cacerts` socket option is now silenced in error logs
+ just like the `certs` and `key` options.
+
+* The manual has been heavily updated and now features one
+ manual page per function and module, complete with a per-function
+ changelog, examples and more.
+
+=== Experimental features added
+
+* It is now possible to configure the restart intensity for
+ `ranch_sup` using the OTP application environment. This
+ feature will remain undocumented unless there is popular
+ demand for it.
+
+* Add the transport option `logger` that allows configuring
+ which logger module will be used. The logger module must
+ follow the interface of the new `logger` module in Erlang/OTP 21,
+ or be set to `error_logger` to keep the old behavior.
+
+=== Changed behaviors
+
+* Transport modules must now implement `Transport:handshake/2,3`
+ which deprecates and will replace `Transport:accept_ack/1` in
+ Ranch 2.0. It returns a new socket and can therefore be used
+ for implementing TLS upgrade mechanisms.
+
+=== New functions
+
+* The functions `ranch:suspend_listener/1` and `ranch:resume_listener/1`
+ were added. In addition the function `ranch:get_state/1` can be used
+ to obtain the running state of a listener.
+
+* A function `ranch:wait_for_connections/3` was added.
+
+* A function `ranch:handshake/1,2` was added to replace the
+ function `ranch:accept_ack/1`.
+
+=== Bugs fixed
+
+* The specs for the function `Transport:sendfile/2,4,5` have been
+ corrected. The type used for the filename was too restricting.
diff --git a/docs/en/ranch/2.0/guide/migrating_from_1.5/index.html b/docs/en/ranch/2.0/guide/migrating_from_1.5/index.html
new file mode 100644
index 00000000..20271d6e
--- /dev/null
+++ b/docs/en/ranch/2.0/guide/migrating_from_1.5/index.html
@@ -0,0 +1,221 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="">
+ <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
+
+ <title>Nine Nines: Migrating from Ranch 1.5 to 1.6</title>
+
+ <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
+ <link href="/css/99s.css?r=5" rel="stylesheet">
+
+ <link rel="shortcut icon" href="/img/ico/favicon.ico">
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
+ <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
+
+
+</head>
+
+
+<body class="">
+ <header id="page-head">
+ <div id="topbar" class="container">
+ <div class="row">
+ <div class="span2">
+ <h1 id="logo"><a href="/" title="99s">99s</a></h1>
+ </div>
+ <div class="span10">
+
+ <div id="side-header">
+ <nav>
+ <ul>
+ <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
+ <li><a title="Watch my talks" href="/talks">Talks</a></li>
+ <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
+ <li><a title="Request my services" href="/services">Consulting & Training</a></li>
+ </ul>
+ </nav>
+ <ul id="social">
+ <li>
+ <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
+ </li>
+ <li>
+ <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+
+
+</header>
+
+<div id="contents" class="two_col">
+<div class="container">
+<div class="row">
+<div id="docs" class="span9 maincol">
+
+<h1 class="lined-header"><span>Migrating from Ranch 1.5 to 1.6</span></h1>
+
+<p>Ranch 1.6 added the ability to suspend and resume listeners. It also deprecates a number of features and add interfaces that will be used in Ranch 2.0.</p>
+<p>Ranch 1.6 is compatible with Erlang/OTP 18.0 onward. Support for older releases has been removed.</p>
+<h2 id="_features_added">Features added</h2>
+<ul><li>Listeners can now be suspended/resumed without stopping existing connection processes. This effectively closes the listening socket and stops the acceptor processes.
+</li>
+<li>Transport options can now be updated for suspended listeners.
+</li>
+<li>The <code>Socket</code> argument given when the protocol starts has been deprecated. In Ranch 2.0 the socket will be obtainable only by calling <code>ranch:handshake/1,2</code>.
+</li>
+<li>Ranch-specific transport options and socket options are now better separated. When passing Ranch-specific transport options, Ranch now expects to receive a map, in which case socket options are passed in the <code>socket_opts</code> value. When there are only socket options they can be passed to Ranch directly as a convenience.
+</li>
+<li>Any future transport option will only be added to the map type. This includes transport options added in this release.
+</li>
+<li>The transport option <code>ack_timeout</code> was renamed to <code>handshake_timeout</code> in the map type.
+</li>
+<li>The <code>cacerts</code> socket option is now silenced in error logs just like the <code>certs</code> and <code>key</code> options.
+</li>
+<li>The manual has been heavily updated and now features one manual page per function and module, complete with a per-function changelog, examples and more.
+</li>
+</ul>
+<h2 id="_experimental_features_added">Experimental features added</h2>
+<ul><li>It is now possible to configure the restart intensity for <code>ranch_sup</code> using the OTP application environment. This feature will remain undocumented unless there is popular demand for it.
+</li>
+<li>Add the transport option <code>logger</code> that allows configuring which logger module will be used. The logger module must follow the interface of the new <code>logger</code> module in Erlang/OTP 21, or be set to <code>error_logger</code> to keep the old behavior.
+</li>
+</ul>
+<h2 id="_changed_behaviors">Changed behaviors</h2>
+<ul><li>Transport modules must now implement <code>Transport:handshake/2,3</code> which deprecates and will replace <code>Transport:accept_ack/1</code> in Ranch 2.0. It returns a new socket and can therefore be used for implementing TLS upgrade mechanisms.
+</li>
+</ul>
+<h2 id="_new_functions">New functions</h2>
+<ul><li>The functions <code>ranch:suspend_listener/1</code> and <code>ranch:resume_listener/1</code> were added. In addition the function <code>ranch:get_state/1</code> can be used to obtain the running state of a listener.
+</li>
+<li>A function <code>ranch:wait_for_connections/3</code> was added.
+</li>
+<li>A function <code>ranch:handshake/1,2</code> was added to replace the function <code>ranch:accept_ack/1</code>.
+</li>
+</ul>
+<h2 id="_bugs_fixed">Bugs fixed</h2>
+<ul><li>The specs for the function <code>Transport:sendfile/2,4,5</code> have been corrected. The type used for the filename was too restricting.
+</li>
+</ul>
+
+
+
+
+
+
+
+
+
+
+
+ <nav style="margin:1em 0">
+
+ <a style="float:left" href="https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.6/">
+ Migrating from Ranch 1.6 to 1.7
+ </a>
+
+
+
+ <a style="float:right" href="https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.x/">
+ Migrating from Ranch 1.x
+ </a>
+
+ </nav>
+
+
+
+
+</div>
+
+<div class="span3 sidecol">
+
+
+<h3>
+ Ranch
+ 2.0
+
+ User Guide
+</h3>
+
+<ul>
+
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
+
+
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
+
+
+</ul>
+
+<h4 id="docs-nav">Navigation</h4>
+
+<h4>Version select</h4>
+<ul>
+
+
+
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
+ <li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
+
+ <li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
+
+ <li><a href="/docs/en/ranch/1.5/guide">1.5</a></li>
+
+ <li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
+
+</ul>
+
+<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
+<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
+<input type="hidden" name="cmd" value="_donations">
+<input type="hidden" name="business" value="[email protected]">
+<input type="hidden" name="lc" value="FR">
+<input type="hidden" name="item_name" value="Loic Hoguin">
+<input type="hidden" name="item_number" value="99s">
+<input type="hidden" name="currency_code" value="EUR">
+<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
+<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
+<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
+</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
+
+
+
+</div>
+</div>
+</div>
+</div>
+
+ <footer>
+ <div class="container">
+ <div class="row">
+ <div class="span6">
+ <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
+ <nav>
+ <ul>
+ <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
+ </ul>
+ </nav>
+ </div>
+ <div class="span6 credits">
+ <p><img src="/img/footer_logo.png"></p>
+ <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
+ </div>
+ </div>
+ </div>
+ </footer>
+
+
+ <script src="/js/custom.js"></script>
+ </body>
+</html>
+
+
diff --git a/docs/en/ranch/2.0/guide/migrating_from_1.6.asciidoc b/docs/en/ranch/2.0/guide/migrating_from_1.6.asciidoc
new file mode 100644
index 00000000..f0c32e88
--- /dev/null
+++ b/docs/en/ranch/2.0/guide/migrating_from_1.6.asciidoc
@@ -0,0 +1,46 @@
+[appendix]
+== Migrating from Ranch 1.6 to 1.7
+
+Ranch 1.7 adds built-in support for the PROXY protocol.
+
+The PROXY protocol is a simple and efficient way for proxies
+to transmit information about the client.
+
+While a third-party library already existed, it was not
+entirely compatible with the Ranch interface, in particular
+when socket active mode was involved. This new implementation
+fixes that and supports the full protocol with as little
+overhead as possible compared to normal operations: just one
+extra function call.
+
+Ranch 1.7 is compatible with Erlang/OTP 19.0 onward. Support
+for Erlang/OTP 18 has been removed.
+
+=== Features added
+
+* Full support for the PROXY protocol was added.
+
+=== New functions
+
+* Add the function `ranch:recv_proxy_header/2` to receive
+ the PROXY protocol header and parse it. It must be called
+ before `ranch:handshake/1,2`.
+
+* Add the functions `ranch_proxy_header:parse/1` and
+ `ranch_proxy_header:header/1,2` to parse and build a
+ PROXY protocol header, respectively.
+
+=== Bugs fixed
+
+* Fix a race condition when the listener is restarted
+ after `ranch_listener_sup` crashes. This resulted in
+ the original options being used even if the options
+ were updated at runtime.
+
+* Make the acceptors exit instead of crash when the
+ listening socket has been closed to prevent
+ unnecessary logs.
+
+* Fix an issue where listener information would not get
+ cleaned up when an embedded listener was stopped. This
+ was fixed in Ranch 1.6.2.
diff --git a/docs/en/ranch/1.3/guide/introduction/index.html b/docs/en/ranch/2.0/guide/migrating_from_1.6/index.html
index f27bc46f..aa083fe1 100644
--- a/docs/en/ranch/1.3/guide/introduction/index.html
+++ b/docs/en/ranch/2.0/guide/migrating_from_1.6/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: Introduction</title>
+ <title>Nine Nines: Migrating from Ranch 1.6 to 1.7</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,19 +60,30 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>Introduction</span></h1>
+<h1 class="lined-header"><span>Migrating from Ranch 1.6 to 1.7</span></h1>
-<p>Ranch is a socket acceptor pool for TCP protocols.</p>
-<p>Ranch aims to provide everything you need to accept TCP connections with a small code base and low latency while being easy to use directly as an application or to embed into your own.</p>
-<h2 id="_prerequisites">Prerequisites</h2>
-<p>It is assumed the developer already knows Erlang and has some experience with socket programming and TCP protocols.</p>
-<h2 id="_supported_platforms">Supported platforms</h2>
-<p>Ranch is tested and supported on Linux, FreeBSD, OSX and Windows.</p>
-<p>Ranch is developed for Erlang/OTP R16B+.</p>
-<p>There are known issues with the SSL application found in Erlang/OTP 18.3.2 and 18.3.3. These versions are therefore not supported.</p>
-<p>Ranch may be compiled on earlier Erlang versions with small source code modifications but there is no guarantee that it will work as expected.</p>
-<h2 id="_versioning">Versioning</h2>
-<p>Ranch uses <a href="http://semver.org/">Semantic Versioning 2.0.0</a></p>
+<p>Ranch 1.7 adds built-in support for the PROXY protocol.</p>
+<p>The PROXY protocol is a simple and efficient way for proxies to transmit information about the client.</p>
+<p>While a third-party library already existed, it was not entirely compatible with the Ranch interface, in particular when socket active mode was involved. This new implementation fixes that and supports the full protocol with as little overhead as possible compared to normal operations: just one extra function call.</p>
+<p>Ranch 1.7 is compatible with Erlang/OTP 19.0 onward. Support for Erlang/OTP 18 has been removed.</p>
+<h2 id="_features_added">Features added</h2>
+<ul><li>Full support for the PROXY protocol was added.
+</li>
+</ul>
+<h2 id="_new_functions">New functions</h2>
+<ul><li>Add the function <code>ranch:recv_proxy_header/2</code> to receive the PROXY protocol header and parse it. It must be called before <code>ranch:handshake/1,2</code>.
+</li>
+<li>Add the functions <code>ranch_proxy_header:parse/1</code> and <code>ranch_proxy_header:header/1,2</code> to parse and build a PROXY protocol header, respectively.
+</li>
+</ul>
+<h2 id="_bugs_fixed">Bugs fixed</h2>
+<ul><li>Fix a race condition when the listener is restarted after <code>ranch_listener_sup</code> crashes. This resulted in the original options being used even if the options were updated at runtime.
+</li>
+<li>Make the acceptors exit instead of crash when the listening socket has been closed to prevent unnecessary logs.
+</li>
+<li>Fix an issue where listener information would not get cleaned up when an embedded listener was stopped. This was fixed in Ranch 1.6.2.
+</li>
+</ul>
@@ -86,10 +97,14 @@
<nav style="margin:1em 0">
+ <a style="float:left" href="https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.7/">
+ Migrating from Ranch 1.7 to Ranch 2.0
+ </a>
+
- <a style="float:right" href="https://ninenines.eu/docs/en/ranch/1.3/guide/listeners/">
- Listeners
+ <a style="float:right" href="https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.5/">
+ Migrating from Ranch 1.5 to 1.6
</a>
</nav>
@@ -104,17 +119,17 @@
<h3>
Ranch
- 1.3
+ 2.0
User Guide
</h3>
<ul>
- <li><a href="/docs/en/ranch/1.3/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -126,6 +141,8 @@
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -134,10 +151,6 @@
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/2.0/guide/migrating_from_1.7.asciidoc b/docs/en/ranch/2.0/guide/migrating_from_1.7.asciidoc
new file mode 100644
index 00000000..f63c3467
--- /dev/null
+++ b/docs/en/ranch/2.0/guide/migrating_from_1.7.asciidoc
@@ -0,0 +1,134 @@
+[appendix]
+== Migrating from Ranch 1.7 to Ranch 2.0
+
+Ranch 2.0 adds support for multiple connection supervisors.
+
+Ranch 1.x had a bottleneck because it used only a single
+connection supervisor. This was more evident when many
+connections were dropped at once as the supervisor couldn't
+keep up and failed to accept new connections while cleaning
+up the old ones. Ranch 2.0 behaves much better in this scenario
+by default. Multiple connection supervisors also helps with
+concurrently accepting new connections.
+
+Ranch 2.0 also adds experimental support for opening more
+than one listening socket on a single port.
+
+Starting with Ranch 2.0 we are also providing a Prometheus
+collector as a separate project as well as a Grafana
+dashboard.
+
+Ranch 2.0 is compatible with Erlang/OTP 21.0 onward. Support
+for Erlang/OTP 19 and 20 has been removed.
+
+=== Features added
+
+* The `num_conns_sups` option has been added. It allows
+ configuring the number of connection supervisors. It
+ now defaults to `num_accceptors`. The old behavior can
+ be obtained by setting this value to 1.
+
+* The `logger` option is no longer experimental. It now
+ defaults to `logger` instead of `error_logger`.
+
+* UNIX domain sockets are now supported.
+
+* The active N socket option is now supported. It requires
+ Erlang/OTP 21.3 or above for TLS, however.
+
+* Embedded listeners are now failing in a predictable
+ manner when `ranch_server` goes down. It is no longer
+ necessary to embed `ranch_sup` and the recommendation
+ is now to just start Ranch normally when using embedded
+ listeners.
+
+=== Experimental features added
+
+* The experimental `num_listen_sockets` option has been
+ added. It allows opening more than one listening socket
+ per listener. It can only be used alongside the Linux
+ `SO_REUSEPORT` socket option or equivalent. It allows
+ working around a bottleneck in the kernel and maximizes
+ resource usage, leading to increased rates for accepting
+ new connections.
+
+=== Features removed
+
+* The `socket` option was removed. A more viable solution
+ is to define a custom transport module that returns a fresh
+ socket when `Transport:listen/1` is called.
+
+=== Changed behaviors
+
+* The callback function `Transport:listen/1` and its
+ implementations in `ranch_tcp` and `ranch_ssl` have changed
+ to accept a map of transport options instead of only
+ socket options.
+
+* The callback function `Transport:messages/0` return value
+ now include the tag used for passive messages.
+
+* The `Socket` argument was removed from `Protocol:start_link/3`.
+ The socket must now be obtained by calling `ranch:handshake/1,2`.
+
+=== Changed functions
+
+* The `NumAcceptors` argument was removed from `ranch:start_listener/5`
+ and `ranch:child_spec/5` and moved to the transport options.
+
+* Ranch options can no longer be passed along with socket options
+ as a proplist. The only forms allowed are now the `ranch:opts()`
+ map or only socket options as-is. Individual transport options
+ are now validated as well. The `ranch:opts()` map must
+ be used when socket options also use a map. This applies to the
+ `ranch:start_listener/5`, `ranch:child_spec/5` and
+ `ranch:set_transport_options/2` functions.
+
+* The function `ranch:info/1,2` now returns a map containing
+ each listener's information rather than a list of key/values.
+ The key `num_acceptors` was removed as it can be found in the
+ transport options.
+
+* The function `ranch:set_transport_options/2` no longer requires
+ the listener to be suspended. Which options apply immediately,
+ on suspend/resume or on restart has been documented. Some work
+ has also been done to make these option changes more predictable.
+
+=== Removed functions
+
+* The function `ranch:accept_ack/1` has been removed in favor
+ of `ranch:handshake/1,2`.
+
+=== Bugs fixed
+
+* Repeatedly calling `ranch:remove_connection/1` from a connection
+ process would crash the respective connection supervisor. This has
+ now been fixed.
+
+* When a connection process was failing to start, the socket was
+ not closed and this lead to leaking sockets. This is now corrected.
+
+=== Other changes
+
+* Connection draining has now been documented in the guide
+ following user feedback and discussions.
+
+* Ranch is now tested against `havoc`, a chaos monkey style
+ testing tool. Currently includes three scenarios: normal
+ TCP and TLS listeners and embedded TCP listener. This new
+ test suite helped uncover a misplaced `monitor/2` call
+ added during the development of Ranch 2.0.
+
+* The supervisor for acceptors and the parent supervisor for
+ connection supervisors now have an adaptive restart
+ intensity limit set to `1 + ceil(math:log2(NumChildren))`
+ to allow room for errors when they have many children.
+
+* Ranch now uses stricter compiler options. Missing function
+ specs were added to internal modules.
+
+* Ranch now calls `ssl:handshake/1,2,3` instead of
+ `ssl:ssl_accept/1,2`.
+
+* The `ranch_ssl:ssl_opt()` type has been updated to conform
+ with Erlang/OTP 22.0.
diff --git a/docs/en/ranch/2.0/guide/migrating_from_1.7/index.html b/docs/en/ranch/2.0/guide/migrating_from_1.7/index.html
new file mode 100644
index 00000000..6837867b
--- /dev/null
+++ b/docs/en/ranch/2.0/guide/migrating_from_1.7/index.html
@@ -0,0 +1,246 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="">
+ <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
+
+ <title>Nine Nines: Migrating from Ranch 1.7 to Ranch 2.0</title>
+
+ <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
+ <link href="/css/99s.css?r=5" rel="stylesheet">
+
+ <link rel="shortcut icon" href="/img/ico/favicon.ico">
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
+ <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
+
+
+</head>
+
+
+<body class="">
+ <header id="page-head">
+ <div id="topbar" class="container">
+ <div class="row">
+ <div class="span2">
+ <h1 id="logo"><a href="/" title="99s">99s</a></h1>
+ </div>
+ <div class="span10">
+
+ <div id="side-header">
+ <nav>
+ <ul>
+ <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
+ <li><a title="Watch my talks" href="/talks">Talks</a></li>
+ <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
+ <li><a title="Request my services" href="/services">Consulting & Training</a></li>
+ </ul>
+ </nav>
+ <ul id="social">
+ <li>
+ <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
+ </li>
+ <li>
+ <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+
+
+</header>
+
+<div id="contents" class="two_col">
+<div class="container">
+<div class="row">
+<div id="docs" class="span9 maincol">
+
+<h1 class="lined-header"><span>Migrating from Ranch 1.7 to Ranch 2.0</span></h1>
+
+<p>Ranch 2.0 adds support for multiple connection supervisors.</p>
+<p>Ranch 1.x had a bottleneck because it used only a single connection supervisor. This was more evident when many connections were dropped at once as the supervisor couldn&apos;t keep up and failed to accept new connections while cleaning up the old ones. Ranch 2.0 behaves much better in this scenario by default. Multiple connection supervisors also helps with concurrently accepting new connections.</p>
+<p>Ranch 2.0 also adds experimental support for opening more than one listening socket on a single port.</p>
+<p>Starting with Ranch 2.0 we are also providing a Prometheus collector as a separate project as well as a Grafana dashboard.</p>
+<p>Ranch 2.0 is compatible with Erlang/OTP 21.0 onward. Support for Erlang/OTP 19 and 20 has been removed.</p>
+<h2 id="_features_added">Features added</h2>
+<ul><li>The <code>num_conns_sups</code> option has been added. It allows configuring the number of connection supervisors. It now defaults to <code>num_accceptors</code>. The old behavior can be obtained by setting this value to 1.
+</li>
+<li>The <code>logger</code> option is no longer experimental. It now defaults to <code>logger</code> instead of <code>error_logger</code>.
+</li>
+<li>UNIX domain sockets are now supported.
+</li>
+<li>The active N socket option is now supported. It requires Erlang/OTP 21.3 or above for TLS, however.
+</li>
+<li>Embedded listeners are now failing in a predictable manner when <code>ranch_server</code> goes down. It is no longer necessary to embed <code>ranch_sup</code> and the recommendation is now to just start Ranch normally when using embedded listeners.
+</li>
+</ul>
+<h2 id="_experimental_features_added">Experimental features added</h2>
+<ul><li>The experimental <code>num_listen_sockets</code> option has been added. It allows opening more than one listening socket per listener. It can only be used alongside the Linux <code>SO_REUSEPORT</code> socket option or equivalent. It allows working around a bottleneck in the kernel and maximizes resource usage, leading to increased rates for accepting new connections.
+</li>
+</ul>
+<h2 id="_features_removed">Features removed</h2>
+<ul><li>The <code>socket</code> option was removed. A more viable solution is to define a custom transport module that returns a fresh socket when <code>Transport:listen/1</code> is called.
+</li>
+</ul>
+<h2 id="_changed_behaviors">Changed behaviors</h2>
+<ul><li>The callback function <code>Transport:listen/1</code> and its implementations in <code>ranch_tcp</code> and <code>ranch_ssl</code> have changed to accept a map of transport options instead of only socket options.
+</li>
+<li>The callback function <code>Transport:messages/0</code> return value now include the tag used for passive messages.
+</li>
+<li>The <code>Socket</code> argument was removed from <code>Protocol:start_link/3</code>. The socket must now be obtained by calling <code>ranch:handshake/1,2</code>.
+</li>
+</ul>
+<h2 id="_changed_functions">Changed functions</h2>
+<ul><li>The <code>NumAcceptors</code> argument was removed from <code>ranch:start_listener/5</code> and <code>ranch:child_spec/5</code> and moved to the transport options.
+</li>
+<li>Ranch options can no longer be passed along with socket options as a proplist. The only forms allowed are now the <code>ranch:opts()</code> map or only socket options as-is. Individual transport options are now validated as well. The <code>ranch:opts()</code> map must be used when socket options also use a map. This applies to the <code>ranch:start_listener/5</code>, <code>ranch:child_spec/5</code> and <code>ranch:set_transport_options/2</code> functions.
+</li>
+<li>The function <code>ranch:info/1,2</code> now returns a map containing each listener&apos;s information rather than a list of key/values. The key <code>num_acceptors</code> was removed as it can be found in the transport options.
+</li>
+<li>The function <code>ranch:set_transport_options/2</code> no longer requires the listener to be suspended. Which options apply immediately, on suspend/resume or on restart has been documented. Some work has also been done to make these option changes more predictable.
+</li>
+</ul>
+<h2 id="_removed_functions">Removed functions</h2>
+<ul><li>The function <code>ranch:accept_ack/1</code> has been removed in favor of <code>ranch:handshake/1,2</code>.
+</li>
+</ul>
+<h2 id="_bugs_fixed">Bugs fixed</h2>
+<ul><li>Repeatedly calling <code>ranch:remove_connection/1</code> from a connection process would crash the respective connection supervisor. This has now been fixed.
+</li>
+<li>When a connection process was failing to start, the socket was not closed and this lead to leaking sockets. This is now corrected.
+</li>
+</ul>
+<h2 id="_other_changes">Other changes</h2>
+<ul><li>Connection draining has now been documented in the guide following user feedback and discussions.
+</li>
+<li>Ranch is now tested against <code>havoc</code>, a chaos monkey style testing tool. Currently includes three scenarios: normal TCP and TLS listeners and embedded TCP listener. This new test suite helped uncover a misplaced <code>monitor/2</code> call added during the development of Ranch 2.0.
+</li>
+<li>The supervisor for acceptors and the parent supervisor for connection supervisors now have an adaptive restart intensity limit set to <code>1 + ceil(math:log2(NumChildren))</code> to allow room for errors when they have many children.
+</li>
+<li>Ranch now uses stricter compiler options. Missing function specs were added to internal modules.
+</li>
+<li>Ranch now calls <code>ssl:handshake/1,2,3</code> instead of <code>ssl:ssl_accept/1,2</code>.
+</li>
+<li>The <code>ranch_ssl:ssl_opt()</code> type has been updated to conform with Erlang/OTP 22.0.
+</li>
+</ul>
+
+
+
+
+
+
+
+
+
+
+
+ <nav style="margin:1em 0">
+
+ <a style="float:left" href="https://ninenines.eu/docs/en/ranch/2.0/guide/internals/">
+ Internals
+ </a>
+
+
+
+ <a style="float:right" href="https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.6/">
+ Migrating from Ranch 1.6 to 1.7
+ </a>
+
+ </nav>
+
+
+
+
+</div>
+
+<div class="span3 sidecol">
+
+
+<h3>
+ Ranch
+ 2.0
+
+ User Guide
+</h3>
+
+<ul>
+
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
+
+
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
+
+
+</ul>
+
+<h4 id="docs-nav">Navigation</h4>
+
+<h4>Version select</h4>
+<ul>
+
+
+
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
+ <li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
+
+ <li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
+
+ <li><a href="/docs/en/ranch/1.5/guide">1.5</a></li>
+
+ <li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
+
+</ul>
+
+<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
+<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
+<input type="hidden" name="cmd" value="_donations">
+<input type="hidden" name="business" value="[email protected]">
+<input type="hidden" name="lc" value="FR">
+<input type="hidden" name="item_name" value="Loic Hoguin">
+<input type="hidden" name="item_number" value="99s">
+<input type="hidden" name="currency_code" value="EUR">
+<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
+<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
+<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
+</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
+
+
+
+</div>
+</div>
+</div>
+</div>
+
+ <footer>
+ <div class="container">
+ <div class="row">
+ <div class="span6">
+ <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
+ <nav>
+ <ul>
+ <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
+ </ul>
+ </nav>
+ </div>
+ <div class="span6 credits">
+ <p><img src="/img/footer_logo.png"></p>
+ <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
+ </div>
+ </div>
+ </div>
+ </footer>
+
+
+ <script src="/js/custom.js"></script>
+ </body>
+</html>
+
+
diff --git a/docs/en/ranch/2.0/guide/migrating_from_1.x.asciidoc b/docs/en/ranch/2.0/guide/migrating_from_1.x.asciidoc
new file mode 100644
index 00000000..44babf17
--- /dev/null
+++ b/docs/en/ranch/2.0/guide/migrating_from_1.x.asciidoc
@@ -0,0 +1,70 @@
+[appendix]
+== Migrating from Ranch 1.x
+
+The changelog for Ranch releases before 1.6 can be found
+in this section.
+
+=== 1.5.0
+
+* Add transport functions getopts/2, getstat/1 and getstat/2
+* Fix ranch:info/0 and ranch:procs/2 in embedded mode
+* Prevent ranch_conns_sup from stopping on unexpected messages
+
+=== 1.4.0
+
+* Add new transport option num_acceptor
+* Deprecate ranch:start_listener/6 in favor of start_listener/5
+* Deprecate ranch:child_spec/6 in favor of child_spec/5
+
+=== 1.3.0
+
+The version numbers 1.3.1 and 1.3.2 were later made to fix
+small mistakes made during the 1.3.0 release process. They
+do not include code changes.
+
+* Tested with OTP R16B+ on Linux, FreeBSD, OSX and Windows
+* Add ssl to the list of dependencies
+* Add ranch:info/0 and ranch:procs/2 to retrieve Ranch state information
+* Allow configuring a listener with only SNI, without a default certificate
+* Blacklist transport options instead of whitelist
+** Unknown options are now allowed, but will result in a Dialyzer warning
+* Add many transport options typespecs and documentation
+* Don't silently drop the accept rate when running out of fds
+* Prevent a race condition when stopping listeners
+* Improve reporting for common errors, for example eaddrinuse
+* Fix double removal of connections bug
+** The number of active connections should now be exact
+* Fix stuck acceptor bug when controlling_socket returned errors
+* Numerous documentation and examples improvements
+
+=== 1.2.1
+
+* Fix bug preventing node shutdown when SSL is used with OTP 17.1+
+* Tune restart intensity in all supervisors
+
+=== 1.2.0
+
+* Allow the supervised process and the process owning the socket to be different
+* Add many transport options (please refer to the documentation)
+* Add function ranch:get_addr/1 to retrieve both IP and port of listener
+* Don't pass Ranch-specific options down to transports
+** Should make Dialyzer happy in user projects
+** New types ranch:opt(), ranch_tcp:opt(), ranch_ssl:ssl_opt() and ranch_ssl:opt()
+* Fix crash when filtering unknown options out
+* Print a warning for each option filtered out
+* Handle Transport:controlling_socket/2 errors and close the socket
+* Handle Protocol:start_link/4 crashes to avoid killing all active connections
+* Use Asciidoc for documentation
+* Test Ranch across 14 Erlang versions on CircleCI
+* Improve and document test suites with recent ct_helper improvements
+* Fix a number of intermittent test issues
+
+=== 1.1.0
+
+* Add Transport:secure/0
+* Add SSL partial_chain option
+* Stop reporting errors on {error, closed} in accept_ack
+
+=== 1.0.0
+
+* Initial release
diff --git a/docs/en/ranch/1.3/guide/embedded/index.html b/docs/en/ranch/2.0/guide/migrating_from_1.x/index.html
index e8d48237..8cc9cd69 100644
--- a/docs/en/ranch/1.3/guide/embedded/index.html
+++ b/docs/en/ranch/2.0/guide/migrating_from_1.x/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: Embedded mode</title>
+ <title>Nine Nines: Migrating from Ranch 1.x</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,31 +60,107 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>Embedded mode</span></h1>
+<h1 class="lined-header"><span>Migrating from Ranch 1.x</span></h1>
-<p>Embedded mode allows you to insert Ranch listeners directly in your supervision tree. This allows for greater fault tolerance control by permitting the shutdown of a listener due to the failure of another part of the application and vice versa.</p>
-<h2 id="_embedding">Embedding</h2>
-<p>To embed Ranch in your application you can simply add the child specs to your supervision tree. This can all be done in the <code>init/1</code> function of one of your application supervisors.</p>
-<p>Ranch requires at the minimum two kinds of child specs for embedding. First, you need to add <code>ranch_sup</code> to your supervision tree, only once, regardless of the number of listeners you will use. Then you need to add the child specs for each listener.</p>
-<p>Ranch has a convenience function for getting the listeners child specs called <code>ranch:child_spec/6</code>, that works like <code>ranch:start_listener/6</code>, except that it doesn&apos;t start anything, it only returns child specs.</p>
-<p>As for <code>ranch_sup</code>, the child spec is simple enough to not require a convenience function.</p>
-<p>The following example adds both <code>ranch_sup</code> and one listener to another application&apos;s supervision tree.</p>
-<div class="listingblock"><div class="title">Embed Ranch directly in your supervision tree</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>([]) <font color="#990000">-&gt;</font>
- <font color="#009900">RanchSupSpec</font> <font color="#990000">=</font> {<font color="#FF6600">ranch_sup</font>, {<font color="#FF6600">ranch_sup</font>, <font color="#FF6600">start_link</font>, []},
- <font color="#FF6600">permanent</font>, <font color="#993399">5000</font>, <font color="#FF6600">supervisor</font>, [<font color="#FF6600">ranch_sup</font>]},
- <font color="#009900">ListenerSpec</font> <font color="#990000">=</font> <b><font color="#000000">ranch:child_spec</font></b>(<font color="#FF6600">echo</font>, <font color="#993399">100</font>,
- <font color="#FF6600">ranch_tcp</font>, [{<font color="#FF6600">port</font>, <font color="#993399">5555</font>}],
- <font color="#FF6600">echo_protocol</font>, []
- ),
- {<font color="#FF6600">ok</font>, {{<font color="#FF6600">one_for_one</font>, <font color="#993399">10</font>, <font color="#993399">10</font>}, [<font color="#009900">RanchSupSpec</font>, <font color="#009900">ListenerSpec</font>]}}<font color="#990000">.</font></tt></pre>
-</div></div>
-<p>Remember, you can add as many listener child specs as needed, but only one <code>ranch_sup</code> spec!</p>
-<p>It is recommended that your architecture makes sure that all listeners are restarted if <code>ranch_sup</code> fails. See the Ranch internals chapter for more details on how Ranch does it.</p>
+<p>The changelog for Ranch releases before 1.6 can be found in this section.</p>
+<h2 id="_1_5_0">1.5.0</h2>
+<ul><li>Add transport functions getopts/2, getstat/1 and getstat/2
+</li>
+<li>Fix ranch:info/0 and ranch:procs/2 in embedded mode
+</li>
+<li>Prevent ranch_conns_sup from stopping on unexpected messages
+</li>
+</ul>
+<h2 id="_1_4_0">1.4.0</h2>
+<ul><li>Add new transport option num_acceptor
+</li>
+<li>Deprecate ranch:start_listener/6 in favor of start_listener/5
+</li>
+<li>Deprecate ranch:child_spec/6 in favor of child_spec/5
+</li>
+</ul>
+<h2 id="_1_3_0">1.3.0</h2>
+<p>The version numbers 1.3.1 and 1.3.2 were later made to fix small mistakes made during the 1.3.0 release process. They do not include code changes.</p>
+<ul><li>Tested with OTP R16B+ on Linux, FreeBSD, OSX and Windows
+</li>
+<li>Add ssl to the list of dependencies
+</li>
+<li>Add ranch:info/0 and ranch:procs/2 to retrieve Ranch state information
+</li>
+<li>Allow configuring a listener with only SNI, without a default certificate
+</li>
+<li>Blacklist transport options instead of whitelist
+<ul><li>Unknown options are now allowed, but will result in a Dialyzer warning
+</li>
+</ul>
+</li>
+<li>Add many transport options typespecs and documentation
+</li>
+<li>Don&apos;t silently drop the accept rate when running out of fds
+</li>
+<li>Prevent a race condition when stopping listeners
+</li>
+<li>Improve reporting for common errors, for example eaddrinuse
+</li>
+<li>Fix double removal of connections bug
+<ul><li>The number of active connections should now be exact
+</li>
+</ul>
+</li>
+<li>Fix stuck acceptor bug when controlling_socket returned errors
+</li>
+<li>Numerous documentation and examples improvements
+</li>
+</ul>
+<h2 id="_1_2_1">1.2.1</h2>
+<ul><li>Fix bug preventing node shutdown when SSL is used with OTP 17.1+
+</li>
+<li>Tune restart intensity in all supervisors
+</li>
+</ul>
+<h2 id="_1_2_0">1.2.0</h2>
+<ul><li>Allow the supervised process and the process owning the socket to be different
+</li>
+<li>Add many transport options (please refer to the documentation)
+</li>
+<li>Add function ranch:get_addr/1 to retrieve both IP and port of listener
+</li>
+<li>Don&apos;t pass Ranch-specific options down to transports
+<ul><li>Should make Dialyzer happy in user projects
+</li>
+<li>New types ranch:opt(), ranch_tcp:opt(), ranch_ssl:ssl_opt() and ranch_ssl:opt()
+</li>
+</ul>
+</li>
+<li>Fix crash when filtering unknown options out
+</li>
+<li>Print a warning for each option filtered out
+</li>
+<li>Handle Transport:controlling_socket/2 errors and close the socket
+</li>
+<li>Handle Protocol:start_link/4 crashes to avoid killing all active connections
+</li>
+<li>Use Asciidoc for documentation
+</li>
+<li>Test Ranch across 14 Erlang versions on CircleCI
+</li>
+<li>Improve and document test suites with recent ct_helper improvements
+</li>
+<li>Fix a number of intermittent test issues
+</li>
+</ul>
+<h2 id="_1_1_0">1.1.0</h2>
+<ul><li>Add Transport:secure/0
+</li>
+<li>Add SSL partial_chain option
+</li>
+<li>Stop reporting errors on {error, closed} in accept_ack
+</li>
+</ul>
+<h2 id="_1_0_0">1.0.0</h2>
+<ul><li>Initial release
+</li>
+</ul>
@@ -98,16 +174,12 @@ http://www.gnu.org/software/src-highlite -->
<nav style="margin:1em 0">
- <a style="float:left" href="https://ninenines.eu/docs/en/ranch/1.3/guide/protocols/">
- Protocols
+ <a style="float:left" href="https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.5/">
+ Migrating from Ranch 1.5 to 1.6
</a>
- <a style="float:right" href="https://ninenines.eu/docs/en/ranch/1.3/guide/parsers/">
- Writing parsers
- </a>
-
</nav>
@@ -120,17 +192,17 @@ http://www.gnu.org/software/src-highlite -->
<h3>
Ranch
- 1.3
+ 2.0
User Guide
</h3>
<ul>
- <li><a href="/docs/en/ranch/1.3/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -142,6 +214,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -150,10 +224,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.3/guide/parsers.asciidoc b/docs/en/ranch/2.0/guide/parsers.asciidoc
index 9eacbfa9..7a9c5a53 100644
--- a/docs/en/ranch/1.3/guide/parsers.asciidoc
+++ b/docs/en/ranch/2.0/guide/parsers.asciidoc
@@ -21,7 +21,7 @@ will only cover the first two.
Text protocols are generally line based. This means that we can't
do anything with them until we receive the full line.
-A simple way to get a full line is to use `binary:split/{2,3}`.
+A simple way to get a full line is to use `binary:split/2,3`.
.Using binary:split/2 to get a line of input
diff --git a/docs/en/ranch/1.2/guide/parsers/index.html b/docs/en/ranch/2.0/guide/parsers/index.html
index 77ed4778..c68b9e9d 100644
--- a/docs/en/ranch/1.2/guide/parsers/index.html
+++ b/docs/en/ranch/2.0/guide/parsers/index.html
@@ -74,7 +74,7 @@
<p>This chapter isn&apos;t specifically about Ranch, we assume here that you know how to read data from the socket. The data you read and the data that hasn&apos;t been parsed is saved in a buffer. Every time you read from the socket, the data read is appended to the buffer. What happens next depends on the kind of protocol. We will only cover the first two.</p>
<h2 id="_parsing_text">Parsing text</h2>
<p>Text protocols are generally line based. This means that we can&apos;t do anything with them until we receive the full line.</p>
-<p>A simple way to get a full line is to use <code>binary:split/{2,3}</code>.</p>
+<p>A simple way to get a full line is to use <code>binary:split/2,3</code>.</p>
<div class="listingblock"><div class="title">Using binary:split/2 to get a line of input</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
@@ -137,13 +137,13 @@ http://www.gnu.org/software/src-highlite -->
<nav style="margin:1em 0">
- <a style="float:left" href="https://ninenines.eu/docs/en/ranch/1.2/guide/embedded/">
+ <a style="float:left" href="https://ninenines.eu/docs/en/ranch/2.0/guide/embedded/">
Embedded mode
</a>
- <a style="float:right" href="https://ninenines.eu/docs/en/ranch/1.2/guide/ssl_auth/">
+ <a style="float:right" href="https://ninenines.eu/docs/en/ranch/2.0/guide/ssl_auth/">
SSL client authentication
</a>
@@ -159,17 +159,17 @@ http://www.gnu.org/software/src-highlite -->
<h3>
Ranch
- 1.2
+ 2.0
User Guide
</h3>
<ul>
- <li><a href="/docs/en/ranch/1.2/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/ranch/1.2/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -181,6 +181,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -189,10 +191,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.3/guide/protocols.asciidoc b/docs/en/ranch/2.0/guide/protocols.asciidoc
index 48c74ef5..89360ef3 100644
--- a/docs/en/ranch/1.3/guide/protocols.asciidoc
+++ b/docs/en/ranch/2.0/guide/protocols.asciidoc
@@ -10,22 +10,22 @@ which defines a single callback, `start_link/4`. This callback is
responsible for spawning a new process for handling the connection.
It receives four arguments: the name of the listener, the socket, the
transport handler being used and the protocol options defined in
-the call to `ranch:start_listener/6`. This callback must
+the call to `ranch:start_listener/5`. This callback must
return `{ok, Pid}`, with `Pid` the pid of the new process.
The newly started process can then freely initialize itself. However,
-it must call `ranch:accept_ack/1` before doing any socket operation.
+it must call `ranch:handshake/1,2` before doing any socket operation.
This will ensure the connection process is the owner of the socket.
It expects the listener's name as argument.
-.Acknowledge accepting the socket
+.Perform the socket handshake
[source,erlang]
-ok = ranch:accept_ack(Ref).
+{ok, Socket} = ranch:handshake(Ref).
If your protocol code requires specific socket options, you should
set them while initializing your connection process, after
-calling `ranch:accept_ack/1`. You can use `Transport:setopts/2`
+calling `ranch:handshake/1,2`. You can use `Transport:setopts/2`
for that purpose.
Following is the complete protocol code for the example found
@@ -38,15 +38,15 @@ in `examples/tcp_echo/`.
-module(echo_protocol).
-behaviour(ranch_protocol).
--export([start_link/4]).
--export([init/4]).
+-export([start_link/3]).
+-export([init/3]).
-start_link(Ref, Socket, Transport, Opts) ->
- Pid = spawn_link(?MODULE, init, [Ref, Socket, Transport, Opts]),
+start_link(Ref, Transport, Opts) ->
+ Pid = spawn_link(?MODULE, init, [Ref, Transport, Opts]),
{ok, Pid}.
-init(Ref, Socket, Transport, _Opts = []) ->
- ok = ranch:accept_ack(Ref),
+init(Ref, Transport, _Opts = []) ->
+ {ok, Socket} = ranch:handshake(Ref),
loop(Socket, Transport).
loop(Socket, Transport) ->
@@ -59,41 +59,41 @@ loop(Socket, Transport) ->
end.
----
-=== Using gen_server
+=== Using gen_statem
-Special processes like the ones that use the `gen_server` or `gen_fsm`
+Special processes like the ones that use the `gen_statem` or `gen_server`
behaviours have the particularity of having their `start_link` call not
return until the `init` function returns. This is problematic, because
-you won't be able to call `ranch:accept_ack/1` from the `init` callback
+you won't be able to call `ranch:handshake/1,2` from the `init` callback
as this would cause a deadlock to happen.
-Use the `gen_server:enter_loop/3` function. It allows you to start your process
+Use the `gen_statem:enter_loop/4` function. It allows you to start your process
normally (although it must be started with `proc_lib` like all special
processes), then perform any needed operations before falling back into
-the normal `gen_server` execution loop.
+the normal `gen_statem` execution loop.
-.Use a gen_server for protocol handling
+.Use a gen_statem for protocol handling
[source,erlang]
----
-module(my_protocol).
--behaviour(gen_server).
+-behaviour(gen_statem).
-behaviour(ranch_protocol).
--export([start_link/4]).
+-export([start_link/3]).
-export([init/1]).
-%% Exports of other gen_server callbacks here.
+%% Exports of other gen_statem callbacks here.
-start_link(Ref, Socket, Transport, Opts) ->
- {ok, proc_lib:spawn_link(?MODULE, init, [{Ref, Socket, Transport, Opts}])}.
+start_link(Ref, Transport, Opts) ->
+ {ok, proc_lib:spawn_link(?MODULE, init, [{Ref, Transport, Opts}])}.
-init({Ref, Socket, Transport, _Opts = []}) ->
+init({Ref, Transport, _Opts = []}) ->
%% Perform any required state initialization here.
- ok = ranch:accept_ack(Ref),
+ {ok, Socket} = ranch:handshake(Ref),
ok = Transport:setopts(Socket, [{active, once}]),
- gen_server:enter_loop(?MODULE, [], {state, Socket, Transport}).
+ gen_statem:enter_loop(?MODULE, [], state_name, {state_data, Socket, Transport}).
-%% Other gen_server callbacks here.
+%% Other gen_statem callbacks here.
----
Check the `tcp_reverse` example for a complete example.
diff --git a/docs/en/ranch/1.3/guide/protocols/index.html b/docs/en/ranch/2.0/guide/protocols/index.html
index c15259af..aa7d950c 100644
--- a/docs/en/ranch/1.3/guide/protocols/index.html
+++ b/docs/en/ranch/2.0/guide/protocols/index.html
@@ -64,16 +64,16 @@
<p>A protocol handler starts a connection process and defines the protocol logic executed in this process.</p>
<h2 id="_writing_a_protocol_handler">Writing a protocol handler</h2>
-<p>All protocol handlers must implement the <code>ranch_protocol</code> behavior which defines a single callback, <code>start_link/4</code>. This callback is responsible for spawning a new process for handling the connection. It receives four arguments: the name of the listener, the socket, the transport handler being used and the protocol options defined in the call to <code>ranch:start_listener/6</code>. This callback must return <code>{ok, Pid}</code>, with <code>Pid</code> the pid of the new process.</p>
-<p>The newly started process can then freely initialize itself. However, it must call <code>ranch:accept_ack/1</code> before doing any socket operation. This will ensure the connection process is the owner of the socket. It expects the listener&apos;s name as argument.</p>
-<div class="listingblock"><div class="title">Acknowledge accepting the socket</div>
+<p>All protocol handlers must implement the <code>ranch_protocol</code> behavior which defines a single callback, <code>start_link/4</code>. This callback is responsible for spawning a new process for handling the connection. It receives four arguments: the name of the listener, the socket, the transport handler being used and the protocol options defined in the call to <code>ranch:start_listener/5</code>. This callback must return <code>{ok, Pid}</code>, with <code>Pid</code> the pid of the new process.</p>
+<p>The newly started process can then freely initialize itself. However, it must call <code>ranch:handshake/1,2</code> before doing any socket operation. This will ensure the connection process is the owner of the socket. It expects the listener&apos;s name as argument.</p>
+<div class="listingblock"><div class="title">Perform the socket handshake</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:accept_ack</font></b>(<font color="#009900">Ref</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">Socket</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:handshake</font></b>(<font color="#009900">Ref</font>)<font color="#990000">.</font></tt></pre>
</div></div>
-<p>If your protocol code requires specific socket options, you should set them while initializing your connection process, after calling <code>ranch:accept_ack/1</code>. You can use <code>Transport:setopts/2</code> for that purpose.</p>
+<p>If your protocol code requires specific socket options, you should set them while initializing your connection process, after calling <code>ranch:handshake/1,2</code>. You can use <code>Transport:setopts/2</code> for that purpose.</p>
<p>Following is the complete protocol code for the example found in <code>examples/tcp_echo/</code>.</p>
<div class="listingblock"><div class="title">Protocol module that echoes everything it receives</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
@@ -83,15 +83,15 @@ http://www.gnu.org/software/src-highlite -->
<pre><tt><b><font color="#000080">-module</font></b>(<font color="#FF6600">echo_protocol</font>)<font color="#990000">.</font>
<b><font color="#000080">-behaviour</font></b>(<font color="#FF6600">ranch_protocol</font>)<font color="#990000">.</font>
-<b><font color="#000080">-export</font></b>([<b><font color="#000000">start_link</font></b><font color="#990000">/</font><font color="#993399">4</font>])<font color="#990000">.</font>
-<b><font color="#000080">-export</font></b>([<b><font color="#000000">init</font></b><font color="#990000">/</font><font color="#993399">4</font>])<font color="#990000">.</font>
+<b><font color="#000080">-export</font></b>([<b><font color="#000000">start_link</font></b><font color="#990000">/</font><font color="#993399">3</font>])<font color="#990000">.</font>
+<b><font color="#000080">-export</font></b>([<b><font color="#000000">init</font></b><font color="#990000">/</font><font color="#993399">3</font>])<font color="#990000">.</font>
-<b><font color="#000000">start_link</font></b>(<font color="#009900">Ref</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Pid</font> <font color="#990000">=</font> <b><font color="#000080">spawn_link</font></b>(<b><font color="#000080">?MODULE</font></b>, <font color="#FF6600">init</font>, [<font color="#009900">Ref</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>]),
+<b><font color="#000000">start_link</font></b>(<font color="#009900">Ref</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font>
+ <font color="#009900">Pid</font> <font color="#990000">=</font> <b><font color="#000080">spawn_link</font></b>(<b><font color="#000080">?MODULE</font></b>, <font color="#FF6600">init</font>, [<font color="#009900">Ref</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>]),
{<font color="#FF6600">ok</font>, <font color="#009900">Pid</font>}<font color="#990000">.</font>
-<b><font color="#000000">init</font></b>(<font color="#009900">Ref</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>, <font color="#009900">_Opts</font> <font color="#990000">=</font> []) <font color="#990000">-&gt;</font>
- <font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:accept_ack</font></b>(<font color="#009900">Ref</font>),
+<b><font color="#000000">init</font></b>(<font color="#009900">Ref</font>, <font color="#009900">Transport</font>, <font color="#009900">_Opts</font> <font color="#990000">=</font> []) <font color="#990000">-&gt;</font>
+ {<font color="#FF6600">ok</font>, <font color="#009900">Socket</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:handshake</font></b>(<font color="#009900">Ref</font>),
<b><font color="#000000">loop</font></b>(<font color="#009900">Socket</font>, <font color="#009900">Transport</font>)<font color="#990000">.</font>
<b><font color="#000000">loop</font></b>(<font color="#009900">Socket</font>, <font color="#009900">Transport</font>) <font color="#990000">-&gt;</font>
@@ -103,32 +103,32 @@ http://www.gnu.org/software/src-highlite -->
<font color="#0000FF">ok</font> <font color="#990000">=</font> <font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">close</font></b>(<font color="#009900">Socket</font>)
<b><font color="#0000FF">end</font></b><font color="#990000">.</font></tt></pre>
</div></div>
-<h2 id="_using_gen_server">Using gen_server</h2>
-<p>Special processes like the ones that use the <code>gen_server</code> or <code>gen_fsm</code> behaviours have the particularity of having their <code>start_link</code> call not return until the <code>init</code> function returns. This is problematic, because you won&apos;t be able to call <code>ranch:accept_ack/1</code> from the <code>init</code> callback as this would cause a deadlock to happen.</p>
-<p>Use the <code>gen_server:enter_loop/3</code> function. It allows you to start your process normally (although it must be started with <code>proc_lib</code> like all special processes), then perform any needed operations before falling back into the normal <code>gen_server</code> execution loop.</p>
-<div class="listingblock"><div class="title">Use a gen_server for protocol handling</div>
+<h2 id="_using_gen_statem">Using gen_statem</h2>
+<p>Special processes like the ones that use the <code>gen_statem</code> or <code>gen_server</code> behaviours have the particularity of having their <code>start_link</code> call not return until the <code>init</code> function returns. This is problematic, because you won&apos;t be able to call <code>ranch:handshake/1,2</code> from the <code>init</code> callback as this would cause a deadlock to happen.</p>
+<p>Use the <code>gen_statem:enter_loop/4</code> function. It allows you to start your process normally (although it must be started with <code>proc_lib</code> like all special processes), then perform any needed operations before falling back into the normal <code>gen_statem</code> execution loop.</p>
+<div class="listingblock"><div class="title">Use a gen_statem for protocol handling</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><b><font color="#000080">-module</font></b>(<font color="#FF6600">my_protocol</font>)<font color="#990000">.</font>
-<b><font color="#000080">-behaviour</font></b>(<font color="#FF6600">gen_server</font>)<font color="#990000">.</font>
+<b><font color="#000080">-behaviour</font></b>(<font color="#FF6600">gen_statem</font>)<font color="#990000">.</font>
<b><font color="#000080">-behaviour</font></b>(<font color="#FF6600">ranch_protocol</font>)<font color="#990000">.</font>
-<b><font color="#000080">-export</font></b>([<b><font color="#000000">start_link</font></b><font color="#990000">/</font><font color="#993399">4</font>])<font color="#990000">.</font>
+<b><font color="#000080">-export</font></b>([<b><font color="#000000">start_link</font></b><font color="#990000">/</font><font color="#993399">3</font>])<font color="#990000">.</font>
<b><font color="#000080">-export</font></b>([<b><font color="#000000">init</font></b><font color="#990000">/</font><font color="#993399">1</font>])<font color="#990000">.</font>
-<i><font color="#9A1900">%% Exports of other gen_server callbacks here.</font></i>
+<i><font color="#9A1900">%% Exports of other gen_statem callbacks here.</font></i>
-<b><font color="#000000">start_link</font></b>(<font color="#009900">Ref</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">ok</font>, <b><font color="#000000">proc_lib:spawn_link</font></b>(<b><font color="#000080">?MODULE</font></b>, <font color="#FF6600">init</font>, [{<font color="#009900">Ref</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>}])}<font color="#990000">.</font>
+<b><font color="#000000">start_link</font></b>(<font color="#009900">Ref</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font>
+ {<font color="#FF6600">ok</font>, <b><font color="#000000">proc_lib:spawn_link</font></b>(<b><font color="#000080">?MODULE</font></b>, <font color="#FF6600">init</font>, [{<font color="#009900">Ref</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>}])}<font color="#990000">.</font>
-<b><font color="#000000">init</font></b>({<font color="#009900">Ref</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>, <font color="#009900">_Opts</font> <font color="#990000">=</font> []}) <font color="#990000">-&gt;</font>
+<b><font color="#000000">init</font></b>({<font color="#009900">Ref</font>, <font color="#009900">Transport</font>, <font color="#009900">_Opts</font> <font color="#990000">=</font> []}) <font color="#990000">-&gt;</font>
<i><font color="#9A1900">%% Perform any required state initialization here.</font></i>
- <font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:accept_ack</font></b>(<font color="#009900">Ref</font>),
+ {<font color="#FF6600">ok</font>, <font color="#009900">Socket</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:handshake</font></b>(<font color="#009900">Ref</font>),
<font color="#0000FF">ok</font> <font color="#990000">=</font> <font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">setopts</font></b>(<font color="#009900">Socket</font>, [{<font color="#FF6600">active</font>, <font color="#FF6600">once</font>}]),
- <b><font color="#000000">gen_server:enter_loop</font></b>(<b><font color="#000080">?MODULE</font></b>, [], {<font color="#FF6600">state</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>})<font color="#990000">.</font>
+ <b><font color="#000000">gen_statem:enter_loop</font></b>(<b><font color="#000080">?MODULE</font></b>, [], <font color="#FF6600">state_name</font>, {<font color="#FF6600">state_data</font>, <font color="#009900">Socket</font>, <font color="#009900">Transport</font>})<font color="#990000">.</font>
-<i><font color="#9A1900">%% Other gen_server callbacks here.</font></i></tt></pre>
+<i><font color="#9A1900">%% Other gen_statem callbacks here.</font></i></tt></pre>
</div></div>
<p>Check the <code>tcp_reverse</code> example for a complete example.</p>
@@ -144,13 +144,13 @@ http://www.gnu.org/software/src-highlite -->
<nav style="margin:1em 0">
- <a style="float:left" href="https://ninenines.eu/docs/en/ranch/1.3/guide/transports/">
+ <a style="float:left" href="https://ninenines.eu/docs/en/ranch/2.0/guide/transports/">
Transports
</a>
- <a style="float:right" href="https://ninenines.eu/docs/en/ranch/1.3/guide/embedded/">
+ <a style="float:right" href="https://ninenines.eu/docs/en/ranch/2.0/guide/embedded/">
Embedded mode
</a>
@@ -166,17 +166,17 @@ http://www.gnu.org/software/src-highlite -->
<h3>
Ranch
- 1.3
+ 2.0
User Guide
</h3>
<ul>
- <li><a href="/docs/en/ranch/1.3/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -188,6 +188,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -196,10 +198,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.3/guide/ssl_auth.asciidoc b/docs/en/ranch/2.0/guide/ssl_auth.asciidoc
index de0bbaf0..de16107a 100644
--- a/docs/en/ranch/1.3/guide/ssl_auth.asciidoc
+++ b/docs/en/ranch/2.0/guide/ssl_auth.asciidoc
@@ -49,7 +49,7 @@ the listener to enable this behavior.
.Configure a listener for SSL authentication
[source,erlang]
-{ok, _} = ranch:start_listener(my_ssl, 100,
+{ok, _} = ranch:start_listener(my_ssl,
ranch_ssl, [
{port, SSLPort},
{certfile, PathToCertfile},
diff --git a/docs/en/ranch/1.3/guide/ssl_auth/index.html b/docs/en/ranch/2.0/guide/ssl_auth/index.html
index 9d4a7938..a4bee067 100644
--- a/docs/en/ranch/1.3/guide/ssl_auth/index.html
+++ b/docs/en/ranch/2.0/guide/ssl_auth/index.html
@@ -94,7 +94,7 @@
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">my_ssl</font>, <font color="#993399">100</font>,
+<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">my_ssl</font>,
<font color="#FF6600">ranch_ssl</font>, [
{<font color="#FF6600">port</font>, <font color="#009900">SSLPort</font>},
{<font color="#FF6600">certfile</font>, <font color="#009900">PathToCertfile</font>},
@@ -150,14 +150,14 @@ http://www.gnu.org/software/src-highlite -->
<nav style="margin:1em 0">
- <a style="float:left" href="https://ninenines.eu/docs/en/ranch/1.3/guide/parsers/">
+ <a style="float:left" href="https://ninenines.eu/docs/en/ranch/2.0/guide/parsers/">
Writing parsers
</a>
- <a style="float:right" href="https://ninenines.eu/docs/en/ranch/1.3/guide/internals/">
- Internals
+ <a style="float:right" href="https://ninenines.eu/docs/en/ranch/2.0/guide/connection_draining/">
+ Connection draining
</a>
</nav>
@@ -172,17 +172,17 @@ http://www.gnu.org/software/src-highlite -->
<h3>
Ranch
- 1.3
+ 2.0
User Guide
</h3>
<ul>
- <li><a href="/docs/en/ranch/1.3/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -194,6 +194,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -202,10 +204,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.3/guide/transports.asciidoc b/docs/en/ranch/2.0/guide/transports.asciidoc
index f5bb17eb..70efa1be 100644
--- a/docs/en/ranch/1.3/guide/transports.asciidoc
+++ b/docs/en/ranch/2.0/guide/transports.asciidoc
@@ -144,6 +144,17 @@ possible to use a file descriptor opened in raw mode:
{ok, RawFile} = file:open(Filename, [raw, read, binary]),
{ok, SentBytes} = Transport:sendfile(Socket, RawFile, Offset, Bytes, Opts).
+=== Upgrading a TCP socket to SSL
+
+A connected TCP socket can be upgraded to a SSL socket via the function
+`ranch_ssl:handshake/3`. The socket *must* be in `{active, false}` mode
+before telling the client that the server is ready to upgrade in order
+to avoid race conditions.
+
+.Performing a TLS handshake on a TCP socket
+[source,erlang]
+{ok, NewSocket} = ranch_ssl:handshake(Socket, SslOpts, 5000).
+
=== Writing a transport handler
A transport handler is a module implementing the `ranch_transport` behavior.
diff --git a/docs/en/ranch/1.3/guide/transports/index.html b/docs/en/ranch/2.0/guide/transports/index.html
index f4d53f1d..84771ee3 100644
--- a/docs/en/ranch/1.3/guide/transports/index.html
+++ b/docs/en/ranch/2.0/guide/transports/index.html
@@ -158,6 +158,15 @@ http://www.gnu.org/software/src-highlite -->
<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">RawFile</font>} <font color="#990000">=</font> <b><font color="#000000">file:open</font></b>(<font color="#009900">Filename</font>, [<font color="#FF6600">raw</font>, <font color="#FF6600">read</font>, <b><font color="#000080">binary</font></b>]),
{<font color="#FF6600">ok</font>, <font color="#009900">SentBytes</font>} <font color="#990000">=</font> <font color="#009900">Transport</font><font color="#990000">:</font><b><font color="#000000">sendfile</font></b>(<font color="#009900">Socket</font>, <font color="#009900">RawFile</font>, <font color="#009900">Offset</font>, <font color="#009900">Bytes</font>, <font color="#009900">Opts</font>)<font color="#990000">.</font></tt></pre>
</div></div>
+<h2 id="_upgrading_a_tcp_socket_to_ssl">Upgrading a TCP socket to SSL</h2>
+<p>A connected TCP socket can be upgraded to a SSL socket via the function <code>ranch_ssl:handshake/3</code>. The socket <strong>must</strong> be in <code>{active, false}</code> mode before telling the client that the server is ready to upgrade in order to avoid race conditions.</p>
+<div class="listingblock"><div class="title">Performing a TLS handshake on a TCP socket</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt>{<font color="#FF6600">ok</font>, <font color="#009900">NewSocket</font>} <font color="#990000">=</font> <b><font color="#000000">ranch_ssl:handshake</font></b>(<font color="#009900">Socket</font>, <font color="#009900">SslOpts</font>, <font color="#993399">5000</font>)<font color="#990000">.</font></tt></pre>
+</div></div>
<h2 id="_writing_a_transport_handler">Writing a transport handler</h2>
<p>A transport handler is a module implementing the <code>ranch_transport</code> behavior. It defines a certain number of callbacks that must be written in order to allow transparent usage of the transport handler.</p>
<p>The behavior doesn&apos;t define the socket options available when opening a socket. These do not need to be common to all transports as it&apos;s easy enough to write different initialization functions for the different transports that will be used. With one exception though. The <code>setopts/2</code> function <strong>must</strong> implement the <code>{active, once}</code> and the <code>{active, true}</code> options.</p>
@@ -175,13 +184,13 @@ http://www.gnu.org/software/src-highlite -->
<nav style="margin:1em 0">
- <a style="float:left" href="https://ninenines.eu/docs/en/ranch/1.3/guide/listeners/">
+ <a style="float:left" href="https://ninenines.eu/docs/en/ranch/2.0/guide/listeners/">
Listeners
</a>
- <a style="float:right" href="https://ninenines.eu/docs/en/ranch/1.3/guide/protocols/">
+ <a style="float:right" href="https://ninenines.eu/docs/en/ranch/2.0/guide/protocols/">
Protocols
</a>
@@ -197,17 +206,17 @@ http://www.gnu.org/software/src-highlite -->
<h3>
Ranch
- 1.3
+ 2.0
User Guide
</h3>
<ul>
- <li><a href="/docs/en/ranch/1.3/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -219,6 +228,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/guide">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/guide">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/guide">1.6</a></li>
@@ -227,10 +238,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/guide">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.3/manual/index.html b/docs/en/ranch/2.0/manual/index.html
index 07d317dd..5f466c74 100644
--- a/docs/en/ranch/1.3/manual/index.html
+++ b/docs/en/ranch/2.0/manual/index.html
@@ -66,14 +66,62 @@
</li>
<li><a href="ranch">ranch(3)</a>
</li>
+<li><a href="ranch.child_spec">ranch:child_spec(3)</a>
+</li>
+<li><a href="ranch.get_addr">ranch:get_addr(3)</a>
+</li>
+<li><a href="ranch.get_max_connections">ranch:get_max_connections(3)</a>
+</li>
+<li><a href="ranch.get_port">ranch:get_port(3)</a>
+</li>
+<li><a href="ranch.get_protocol_options">ranch:get_protocol_options(3)</a>
+</li>
+<li><a href="ranch.get_status">ranch:get_status(3)</a>
+</li>
+<li><a href="ranch.get_transport_options">ranch:get_transport_options(3)</a>
+</li>
+<li><a href="ranch.handshake">ranch:handshake(3)</a>
+</li>
+<li><a href="ranch.info">ranch:info(3)</a>
+</li>
+<li><a href="ranch.procs">ranch:procs(3)</a>
+</li>
<li><a href="ranch_protocol">ranch_protocol(3)</a>
</li>
+<li><a href="ranch_proxy_header">ranch_proxy_header(3)</a>
+</li>
+<li><a href="ranch_proxy_header.header">ranch_proxy_header:header(3)</a>
+</li>
+<li><a href="ranch_proxy_header.parse">ranch_proxy_header:parse(3)</a>
+</li>
+<li><a href="ranch.recv_proxy_header">ranch:recv_proxy_header(3)</a>
+</li>
+<li><a href="ranch.remove_connection">ranch:remove_connection(3)</a>
+</li>
+<li><a href="ranch.resume_listener">ranch:resume_listener(3)</a>
+</li>
+<li><a href="ranch.set_max_connections">ranch:set_max_connections(3)</a>
+</li>
+<li><a href="ranch.set_protocol_options">ranch:set_protocol_options(3)</a>
+</li>
+<li><a href="ranch.set_transport_options">ranch:set_transport_options(3)</a>
+</li>
<li><a href="ranch_ssl">ranch_ssl(3)</a>
</li>
+<li><a href="ranch.start_listener">ranch:start_listener(3)</a>
+</li>
+<li><a href="ranch.stop_listener">ranch:stop_listener(3)</a>
+</li>
+<li><a href="ranch.suspend_listener">ranch:suspend_listener(3)</a>
+</li>
<li><a href="ranch_tcp">ranch_tcp(3)</a>
</li>
<li><a href="ranch_transport">ranch_transport(3)</a>
</li>
+<li><a href="ranch_transport.sendfile">ranch_transport:sendfile(3)</a>
+</li>
+<li><a href="ranch.wait_for_connections">ranch:wait_for_connections(3)</a>
+</li>
</ul>
@@ -88,17 +136,17 @@
<h3>
Ranch
- 1.3
+ 2.0
Function Reference
</h3>
<ul>
- <li><a href="/docs/en/ranch/1.3/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -110,6 +158,8 @@
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -118,10 +168,6 @@
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.inform/index.html b/docs/en/ranch/2.0/manual/ranch.child_spec/index.html
index c20b3566..7f610906 100644
--- a/docs/en/cowboy/2.1/manual/cowboy_req.inform/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.child_spec/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy_req:inform(3)</title>
+ <title>Nine Nines: ranch:child_spec(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,67 +60,74 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy_req:inform(3)</span></h1>
+<h1 class="lined-header"><span>ranch:child_spec(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy_req:inform - Send an informational response</p>
+<p>ranch:child_spec - Build child specifications for a new listener</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">inform</font></b>(<font color="#009900">Status</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <b><font color="#000000">inform</font></b>(<font color="#009900">StatusCode</font>, #{}, <font color="#009900">Req</font>)
-
-<b><font color="#000000">inform</font></b>(<font color="#009900">Status</font>, <font color="#009900">Headers</font>, <font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>())
- <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font>
-
-<font color="#009900">Status</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:http_status</font></b>()
-<font color="#009900">Headers</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:http_headers</font></b>()</tt></pre>
+<pre><tt><b><font color="#000000">child_spec</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch_ref</font></b>(),
+ <font color="#009900">Transport</font> <font color="#990000">::</font> <b><font color="#000000">module</font></b>(),
+ <font color="#009900">TransOpts</font> <font color="#990000">::</font> <b><font color="#000000">ranch:opts</font></b>(),
+ <font color="#009900">Protocol</font> <font color="#990000">::</font> <b><font color="#000000">module</font></b>(),
+ <font color="#009900">ProtoOpts</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>())
+ <font color="#990000">-&gt;</font> <b><font color="#000000">supervisor:child_spec</font></b>()</tt></pre>
</div></div>
-<p>Send an informational response.</p>
-<p>Informational responses use a status code between 100 and 199. They cannot include a body. This function will not use any of the previously set headers. All headers to be sent must be given directly.</p>
-<p>Any number of informational responses can be sent as long as they are sent before the proper response. Attempting to use this function after sending a normal response will result in an error.</p>
-<p>The header names must be given as lowercase binary strings. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
+<p>Build child specifications for a new listener which can be embedded directly in an application&apos;s supervision tree.</p>
+<p>The actual listener is placed under a supervisor which monitors <code>ranch_server</code> via a proxy process and will restart the listener if <code>ranch_server</code> crashes.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Status</dt>
-<dd><p>The status code for the response.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name is used to refer to this listener in future calls, for example when updating the configuration.</p>
+<p>It can be any Erlang term. An atom is generally good enough, for example <code>api</code>, <code>my_app_clear</code> or <code>my_app_tls</code>.</p>
</dd>
-<dt>Headers</dt>
-<dd><p>The response headers.</p>
+<dt>Transport</dt>
+<dd><p>The transport module that will be used by Ranch to accept connections and that will be passed to the protocol module along with the socket.</p>
+<p>The interface of the transport module is documented in the <a href="../ranch_transport">ranch_transport(3)</a> manual.</p>
</dd>
-</dl>
-<p>Header names must be given as lowercase binary strings.</p>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
+<dt>TransportOpts</dt>
+<dd><p>Transport options include the Ranch-specific options and the socket options. The listener&apos;s port number must be defined in the socket options.</p>
+<p>Socket options may be given directly if there are no Ranch-specific options.</p>
+<p>The available options for the built-in Ranch transports are documented in the <a href="../ranch_tcp">ranch_tcp(3)</a> and <a href="../ranch_ssl">ranch_ssl(3)</a> manuals.</p>
+</dd>
+<dt>Protocol</dt>
+<dd><p>The protocol module that will be used by Ranch after the connection has been accepted.</p>
+<p>The interface of the protocol module is documented in the <a href="../ranch_protocol">ranch_protocol(3)</a> manual.</p>
+</dd>
+<dt>ProtocolOpts</dt>
+<dd><p>The protocol options given when calling the protocol module. Please consult the documentation of the protocol module you are using for more details.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
-<p>The atom <code>ok</code> is always returned. It can be safely ignored.</p>
+<p>Child specifications are returned.</p>
<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.1</strong>: Function introduced.
+<ul><li><strong>2.0</strong>: The actual listener is placed under a supervisor in order to restart the listener if <code>ranch_server</code> crashes.
+</li>
+<li><strong>2.0</strong>: The <code>TransOpts</code> argument must no longer contain Ranch-specific options if given as a list. Use a map.
+</li>
+<li><strong>1.4</strong>: The <code>NumAcceptors</code> argument was moved to the transport options.
</li>
</ul>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Send an informational response</div>
+<div class="listingblock"><div class="title">Embed a listener</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:inform</font></b>(<font color="#993399">102</font>, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
-</div></div>
-<div class="listingblock"><div class="title">Send an informational response with headers</div>
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:inform</font></b>(<font color="#993399">103</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"link"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"&lt;/style.css&gt;; rel=preload; as=style"</font><font color="#990000">&gt;&gt;</font>,
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"link"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"&lt;/script.js&gt;; rel=preload; as=script"</font><font color="#990000">&gt;&gt;</font>
-}, <font color="#009900">Req0</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt><b><font color="#000080">-behavior</font></b>(<font color="#FF6600">supervisor</font>)<font color="#990000">.</font>
+
+<b><font color="#000000">init</font></b>(<font color="#990000">_</font>) <font color="#990000">-&gt;</font>
+ {<font color="#FF6600">ok</font>, {#{<font color="#0000FF">strategy</font> <font color="#990000">=&gt;</font> <font color="#FF6600">one_for_one</font>}, [
+ <b><font color="#000000">ranch:child_spec</font></b>(<font color="#FF6600">echo</font>,
+ <font color="#FF6600">ranch_tcp</font>, [{<font color="#FF6600">port</font>, <font color="#993399">5555</font>}],
+ <font color="#FF6600">echo_protocol</font>, []
+ )
+ ]}}<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.reply">cowboy_req:reply(3)</a>, <a href="../cowboy_req.stream_reply">cowboy_req:stream_reply(3)</a>, <a href="../cowboy_req.push">cowboy_req:push(3)</a></p>
+<p><a href="../ranch.start_listener">ranch:start_listener(3)</a>, <a href="../ranch.stop_listener">ranch:stop_listener(3)</a>, <a href="../ranch">ranch(3)</a>, <a href="../ranch_tcp">ranch_tcp(3)</a>, <a href="../ranch_ssl">ranch_ssl(3)</a>, <a href="../ranch_transport">ranch_transport(3)</a>, <a href="../ranch_protocol">ranch_protocol(3)</a></p>
@@ -133,18 +140,18 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
- 2.1
+ Ranch
+ 2.0
Function Reference
</h3>
<ul>
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -156,21 +163,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.peer/index.html b/docs/en/ranch/2.0/manual/ranch.get_addr/index.html
index 7fa1f4b2..e50c8ed2 100644
--- a/docs/en/cowboy/2.0/manual/cowboy_req.peer/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.get_addr/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy_req:peer(3)</title>
+ <title>Nine Nines: ranch:get_addr(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,52 +60,48 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy_req:peer(3)</span></h1>
+<h1 class="lined-header"><span>ranch:get_addr(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy_req:peer - Peer address and port</p>
+<p>ranch:get_addr - Get the listening address</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">peer</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Peer</font>
-
-<font color="#009900">Peer</font> <font color="#990000">::</font> {<b><font color="#000000">inet:ip_address</font></b>(), <b><font color="#000000">inet:port_number</font></b>()}</tt></pre>
-</div></div>
-<p>Return the peer&apos;s IP address and port number.</p>
-<p>The peer can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">peer</font> <font color="#990000">:=</font> {<font color="#009900">IP</font>, <font color="#009900">Port</font>}} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
+<pre><tt><b><font color="#000000">get_addr</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>())
+ <font color="#990000">-&gt;</font> {<font color="#009900">IP</font> <font color="#990000">::</font> <b><font color="#000000">inet:ip_address</font></b>(),
+ <font color="#009900">Port</font> <font color="#990000">::</font> <b><font color="#000000">inet:port_number</font></b>()}
+ | {<font color="#FF6600">local</font>, <font color="#009900">SocketFile</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()}
+ | {<font color="#000080">undefined</font>, <font color="#000080">undefined</font>}</tt></pre>
</div></div>
+<p>Get the listening address.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
-<p>The peer&apos;s IP address and port number.</p>
-<p>The peer is not necessarily the client&apos;s IP address and port. It is the IP address of the endpoint connecting directly to the server, which may be a gateway or a proxy.</p>
-<p>The forwarded header can be used to get better information about the different endpoints from the client to the server. Note however that it is only informative; there is no reliable way of determining the source of an HTTP request.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the peer is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
+<p>The address of the listener is returned as a tuple of the form <code>{IP, Port}</code> when listening on a network interface, or <code>{local, SocketFile}</code> when listening on a UNIX Domain socket. When the listener is suspended, <code>{undefined, undefined}</code> will be returned.</p>
+<p>The IP address is the IP of the network interface the socket is bound to.</p>
+<p>The socket file is the path of a file on your system the socket is bound to.</p>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the peer IP address and port number.</div>
+<div class="listingblock"><div class="title">Get the listening port and IP</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#009900">IP</font>, <font color="#009900">Port</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:peer</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt>{<font color="#009900">IP</font>, <font color="#009900">Port</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:get_addr</font></b>(<font color="#FF6600">example</font>)<font color="#990000">.</font></tt></pre>
+</div></div>
+<div class="listingblock"><div class="title">Get the listening UNIX Domain socket file</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt>{<font color="#FF6600">local</font>, <font color="#009900">SocketFile</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:get_addr</font></b>(<font color="#FF6600">example</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a></p>
+<p><a href="../ranch.start_listener">ranch:start_listener(3)</a>, <a href="../ranch.get_port">ranch:get_port(3)</a>, <a href="../ranch.info">ranch:info(3)</a>, <a href="../ranch">ranch(3)</a></p>
@@ -118,7 +114,7 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
+ Ranch
2.0
Function Reference
@@ -126,10 +122,10 @@ http://www.gnu.org/software/src-highlite -->
<ul>
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -141,21 +137,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.has_body/index.html b/docs/en/ranch/2.0/manual/ranch.get_max_connections/index.html
index c8aed75e..907dc3bd 100644
--- a/docs/en/cowboy/2.0/manual/cowboy_req.has_body/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.get_max_connections/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy_req:has_body(3)</title>
+ <title>Nine Nines: ranch:get_max_connections(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,39 +60,40 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy_req:has_body(3)</span></h1>
+<h1 class="lined-header"><span>ranch:get_max_connections(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy_req:has_body - Is there a request body?</p>
+<p>ranch:get_max_connections - Get the max number of connections per connection supervisor</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">has_body</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">boolean</font></b>()</tt></pre>
+<pre><tt><b><font color="#000000">get_max_connections</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>())
+ <font color="#990000">-&gt;</font> <font color="#009900">MaxConns</font> <font color="#990000">::</font> <b><font color="#000000">ranch:max_conns</font></b>()</tt></pre>
</div></div>
-<p>Return whether the request has a body.</p>
+<p>Get the max number of connections per connection supervisor.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
-<p>A boolean indicating whether the request has a body.</p>
+<p>The maximum number of connections per connection supervisor is returned.</p>
<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Function introduced.
+<ul><li><strong>2.0</strong>: The maximum number of connections is now per connection supervisor.
</li>
</ul>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Ensure the request has a body</div>
+<div class="listingblock"><div class="title">Get the max number of connections per connection supervisor</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#000080">true</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:has_body</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt><font color="#009900">MaxConns</font> <font color="#990000">=</font> <b><font color="#000000">ranch:get_max_connections</font></b>(<font color="#FF6600">example</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.body_length">cowboy_req:body_length(3)</a>, <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a>, <a href="../cowboy_req.read_urlencoded_body">cowboy_req:read_urlencoded_body(3)</a>, <a href="../cowboy_req.read_part">cowboy_req:read_part(3)</a>, <a href="../cowboy_req.read_part_body">cowboy_req:read_part_body(3)</a></p>
+<p><a href="../ranch.get_protocol_options">ranch:get_protocol_options(3)</a>, <a href="../ranch.get_transport_options">ranch:get_transport_options(3)</a>, <a href="../ranch.set_max_connections">ranch:set_max_connections(3)</a>, <a href="../ranch">ranch(3)</a></p>
@@ -105,7 +106,7 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
+ Ranch
2.0
Function Reference
@@ -113,10 +114,10 @@ http://www.gnu.org/software/src-highlite -->
<ul>
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -128,21 +129,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.has_body/index.html b/docs/en/ranch/2.0/manual/ranch.get_port/index.html
index 965501c5..de9157b8 100644
--- a/docs/en/cowboy/2.1/manual/cowboy_req.has_body/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.get_port/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy_req:has_body(3)</title>
+ <title>Nine Nines: ranch:get_port(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,39 +60,38 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy_req:has_body(3)</span></h1>
+<h1 class="lined-header"><span>ranch:get_port(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy_req:has_body - Is there a request body?</p>
+<p>ranch:get_port - Get the listening port</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">has_body</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">boolean</font></b>()</tt></pre>
+<pre><tt><b><font color="#000000">get_port</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>())
+ <font color="#990000">-&gt;</font> <font color="#009900">Port</font> <font color="#990000">::</font> <b><font color="#000000">inet:port_number</font></b>() | <font color="#000080">undefined</font></tt></pre>
</div></div>
-<p>Return whether the request has a body.</p>
+<p>Get the listening port.</p>
+<p>This function is particularly useful to retrieve the listening port number when it was not provided in the options and was chosen randomly instead.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
-<p>A boolean indicating whether the request has a body.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
+<p>The listening port is returned.</p>
+<p>When the listener is suspended or using a UNIX Domain socket instead of a network interface, <code>undefined</code> will be returned.</p>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Ensure the request has a body</div>
+<div class="listingblock"><div class="title">Get the listening port</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#000080">true</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:has_body</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt><font color="#009900">Port</font> <font color="#990000">=</font> <b><font color="#000000">ranch:get_port</font></b>(<font color="#FF6600">example</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.body_length">cowboy_req:body_length(3)</a>, <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a>, <a href="../cowboy_req.read_urlencoded_body">cowboy_req:read_urlencoded_body(3)</a>, <a href="../cowboy_req.read_part">cowboy_req:read_part(3)</a>, <a href="../cowboy_req.read_part_body">cowboy_req:read_part_body(3)</a></p>
+<p><a href="../ranch.start_listener">ranch:start_listener(3)</a>, <a href="../ranch.get_addr">ranch:get_addr(3)</a>, <a href="../ranch.info">ranch:info(3)</a>, <a href="../ranch">ranch(3)</a></p>
@@ -105,18 +104,18 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
- 2.1
+ Ranch
+ 2.0
Function Reference
</h3>
<ul>
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -128,21 +127,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/ranch/2.0/manual/ranch.get_protocol_options/index.html b/docs/en/ranch/2.0/manual/ranch.get_protocol_options/index.html
new file mode 100644
index 00000000..d865f2fa
--- /dev/null
+++ b/docs/en/ranch/2.0/manual/ranch.get_protocol_options/index.html
@@ -0,0 +1,185 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="">
+ <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
+
+ <title>Nine Nines: ranch:get_protocol_options(3)</title>
+
+ <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
+ <link href="/css/99s.css?r=5" rel="stylesheet">
+
+ <link rel="shortcut icon" href="/img/ico/favicon.ico">
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
+ <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
+
+
+</head>
+
+
+<body class="">
+ <header id="page-head">
+ <div id="topbar" class="container">
+ <div class="row">
+ <div class="span2">
+ <h1 id="logo"><a href="/" title="99s">99s</a></h1>
+ </div>
+ <div class="span10">
+
+ <div id="side-header">
+ <nav>
+ <ul>
+ <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
+ <li><a title="Watch my talks" href="/talks">Talks</a></li>
+ <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
+ <li><a title="Request my services" href="/services">Consulting & Training</a></li>
+ </ul>
+ </nav>
+ <ul id="social">
+ <li>
+ <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
+ </li>
+ <li>
+ <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+
+
+</header>
+
+<div id="contents" class="two_col">
+<div class="container">
+<div class="row">
+<div id="docs" class="span9 maincol">
+
+<h1 class="lined-header"><span>ranch:get_protocol_options(3)</span></h1>
+
+<h2 id="_name">Name</h2>
+<p>ranch:get_protocol_options - Get the current protocol options</p>
+<h2 id="_description">Description</h2>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">get_protocol_options</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>())
+ <font color="#990000">-&gt;</font> <font color="#009900">ProtoOpts</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
+</div></div>
+<p>Get the current protocol options.</p>
+<h2 id="_arguments">Arguments</h2>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
+</dd>
+</dl>
+<h2 id="_return_value">Return value</h2>
+<p>The current protocol options are returned.</p>
+<h2 id="_examples">Examples</h2>
+<div class="listingblock"><div class="title">Get the current protocol options</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><font color="#009900">ProtoOpts</font> <font color="#990000">=</font> <b><font color="#000000">ranch:get_protocol_options</font></b>(<font color="#FF6600">example</font>)<font color="#990000">.</font></tt></pre>
+</div></div>
+<h2 id="_see_also">See also</h2>
+<p><a href="../ranch.get_max_connections">ranch:get_max_connections(3)</a>, <a href="../ranch.get_transport_options">ranch:get_transport_options(3)</a>, <a href="../ranch.set_protocol_options">ranch:set_protocol_options(3)</a>, <a href="../ranch">ranch(3)</a></p>
+
+
+
+
+
+
+</div>
+
+<div class="span3 sidecol">
+
+
+<h3>
+ Ranch
+ 2.0
+ Function Reference
+
+</h3>
+
+<ul>
+
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
+
+
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
+
+
+</ul>
+
+<h4 id="docs-nav">Navigation</h4>
+
+<h4>Version select</h4>
+<ul>
+
+
+
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
+
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
+
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
+
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
+
+</ul>
+
+<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
+<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
+<input type="hidden" name="cmd" value="_donations">
+<input type="hidden" name="business" value="[email protected]">
+<input type="hidden" name="lc" value="FR">
+<input type="hidden" name="item_name" value="Loic Hoguin">
+<input type="hidden" name="item_number" value="99s">
+<input type="hidden" name="currency_code" value="EUR">
+<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
+<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
+<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
+</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
+
+
+
+</div>
+</div>
+</div>
+</div>
+
+ <footer>
+ <div class="container">
+ <div class="row">
+ <div class="span6">
+ <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
+ <nav>
+ <ul>
+ <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
+ </ul>
+ </nav>
+ </div>
+ <div class="span6 credits">
+ <p><img src="/img/footer_logo.png"></p>
+ <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
+ </div>
+ </div>
+ </div>
+ </footer>
+
+
+ <script src="/js/custom.js"></script>
+ </body>
+</html>
+
+
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.resp_headers/index.html b/docs/en/ranch/2.0/manual/ranch.get_status/index.html
index 2a90d8c6..8897e63a 100644
--- a/docs/en/cowboy/2.0/manual/cowboy_req.resp_headers/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.get_status/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy_req:resp_headers(3)</title>
+ <title>Nine Nines: ranch:get_status(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,39 +60,39 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy_req:resp_headers(3)</span></h1>
+<h1 class="lined-header"><span>ranch:get_status(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy_req:resp_headers - Response headers</p>
+<p>ranch:get_status - Get a listener&apos;s running state</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">resp_headers</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">cowboy:http_headers</font></b>()</tt></pre>
+<pre><tt><b><font color="#000000">get_status</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch_ref</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000080">running</font></b> | <font color="#FF6600">suspended</font></tt></pre>
</div></div>
-<p>Return all response headers.</p>
+<p>Get a listener&apos;s running state.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
-<p>Headers are returned as a map with keys being lowercase binary strings, and values as binary strings.</p>
+<p>An atom is returned indicating the running status of the listener.</p>
<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced.
+<ul><li><strong>1.6</strong>: Function introduced.
</li>
</ul>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get all response headers</div>
+<div class="listingblock"><div class="title">Get a listener&apos;s running state</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Headers</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:resp_headers</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt><b><font color="#000000">ranch:get_status</font></b>(<font color="#FF6600">example</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.resp_header">cowboy_req:resp_header(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a></p>
+<p><a href="../ranch.start_listener">ranch:start_listener(3)</a>, <a href="../ranch.stop_listener">ranch:stop_listener(3)</a>, <a href="../ranch.suspend_listener">ranch:suspend_listener(3)</a>, <a href="../ranch.resume_listener">ranch:resume_listener(3)</a>, <a href="../ranch.set_transport_options">ranch:set_transport_options(3)</a>, <a href="../ranch.wait_for_connections">ranch:wait_for_connections(3)</a>, <a href="../ranch">ranch(3)</a></p>
@@ -105,7 +105,7 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
+ Ranch
2.0
Function Reference
@@ -113,10 +113,10 @@ http://www.gnu.org/software/src-highlite -->
<ul>
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -128,21 +128,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/ranch/2.0/manual/ranch.get_transport_options/index.html b/docs/en/ranch/2.0/manual/ranch.get_transport_options/index.html
new file mode 100644
index 00000000..e7080ae1
--- /dev/null
+++ b/docs/en/ranch/2.0/manual/ranch.get_transport_options/index.html
@@ -0,0 +1,185 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="">
+ <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
+
+ <title>Nine Nines: ranch:get_transport_options(3)</title>
+
+ <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
+ <link href="/css/99s.css?r=5" rel="stylesheet">
+
+ <link rel="shortcut icon" href="/img/ico/favicon.ico">
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
+ <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
+
+
+</head>
+
+
+<body class="">
+ <header id="page-head">
+ <div id="topbar" class="container">
+ <div class="row">
+ <div class="span2">
+ <h1 id="logo"><a href="/" title="99s">99s</a></h1>
+ </div>
+ <div class="span10">
+
+ <div id="side-header">
+ <nav>
+ <ul>
+ <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
+ <li><a title="Watch my talks" href="/talks">Talks</a></li>
+ <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
+ <li><a title="Request my services" href="/services">Consulting & Training</a></li>
+ </ul>
+ </nav>
+ <ul id="social">
+ <li>
+ <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
+ </li>
+ <li>
+ <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+
+
+</header>
+
+<div id="contents" class="two_col">
+<div class="container">
+<div class="row">
+<div id="docs" class="span9 maincol">
+
+<h1 class="lined-header"><span>ranch:get_transport_options(3)</span></h1>
+
+<h2 id="_name">Name</h2>
+<p>ranch:get_transport_options - Get the current transport options</p>
+<h2 id="_description">Description</h2>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">get_transport_options</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>())
+ <font color="#990000">-&gt;</font> <font color="#009900">TransOpts</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
+</div></div>
+<p>Get the current transport options.</p>
+<h2 id="_arguments">Arguments</h2>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
+</dd>
+</dl>
+<h2 id="_return_value">Return value</h2>
+<p>The current transport options are returned.</p>
+<h2 id="_examples">Examples</h2>
+<div class="listingblock"><div class="title">Get the current transport options</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><font color="#009900">TransOpts</font> <font color="#990000">=</font> <b><font color="#000000">ranch:get_transport_options</font></b>(<font color="#FF6600">example</font>)<font color="#990000">.</font></tt></pre>
+</div></div>
+<h2 id="_see_also">See also</h2>
+<p><a href="../ranch.get_max_connections">ranch:get_max_connections(3)</a>, <a href="../ranch.get_protocol_options">ranch:get_protocol_options(3)</a>, <a href="../ranch.set_transport_options">ranch:set_transport_options(3)</a>, <a href="../ranch">ranch(3)</a></p>
+
+
+
+
+
+
+</div>
+
+<div class="span3 sidecol">
+
+
+<h3>
+ Ranch
+ 2.0
+ Function Reference
+
+</h3>
+
+<ul>
+
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
+
+
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
+
+
+</ul>
+
+<h4 id="docs-nav">Navigation</h4>
+
+<h4>Version select</h4>
+<ul>
+
+
+
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
+
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
+
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
+
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
+
+</ul>
+
+<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
+<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
+<input type="hidden" name="cmd" value="_donations">
+<input type="hidden" name="business" value="[email protected]">
+<input type="hidden" name="lc" value="FR">
+<input type="hidden" name="item_name" value="Loic Hoguin">
+<input type="hidden" name="item_number" value="99s">
+<input type="hidden" name="currency_code" value="EUR">
+<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
+<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
+<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
+</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
+
+
+
+</div>
+</div>
+</div>
+</div>
+
+ <footer>
+ <div class="container">
+ <div class="row">
+ <div class="span6">
+ <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
+ <nav>
+ <ul>
+ <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
+ </ul>
+ </nav>
+ </div>
+ <div class="span6 credits">
+ <p><img src="/img/footer_logo.png"></p>
+ <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
+ </div>
+ </div>
+ </div>
+ </footer>
+
+
+ <script src="/js/custom.js"></script>
+ </body>
+</html>
+
+
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.scheme/index.html b/docs/en/ranch/2.0/manual/ranch.handshake/index.html
index 634e8eba..c3b5ee9b 100644
--- a/docs/en/cowboy/2.0/manual/cowboy_req.scheme/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.handshake/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy_req:scheme(3)</title>
+ <title>Nine Nines: ranch:handshake(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,53 +60,58 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy_req:scheme(3)</span></h1>
+<h1 class="lined-header"><span>ranch:handshake(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy_req:scheme - URI scheme</p>
+<p>ranch:handshake - Perform the transport handshake</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">scheme</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Scheme</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()</tt></pre>
-</div></div>
-<p>Return the scheme of the effective request URI.</p>
-<p>The scheme can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">scheme</font> <font color="#990000">:=</font> <font color="#009900">Scheme</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
+<pre><tt><b><font color="#000000">handshake</font></b>(<font color="#009900">Ref</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">handshake</font></b>(<font color="#009900">Ref</font>, [])
+<b><font color="#000000">handshake</font></b>(<font color="#009900">Ref</font>, <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Socket</font>}
+
+<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>()
+<font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
+<font color="#009900">Socket</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
</div></div>
+<p>Perform the transport handshake.</p>
+<p>This function must be called by the protocol process in order to retrieve the socket for the connection. Ranch performs the handshake necessary to give control of the socket to this process and also does the transport handshake, for example setting up the TLS connection.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
+</dd>
+<dt>Opts</dt>
+<dd><p>Transport handshake options.</p>
+<p>Allowed options depend on the transport module.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
-<p>The scheme is returned as a binary. It is case insensitive.</p>
-<p>Cowboy will only set the scheme to <code>&lt;&lt;&quot;http&quot;&gt;&gt;</code> or <code>&lt;&lt;&quot;https&quot;&gt;&gt;</code>.</p>
+<p>An <code>ok</code> tuple is returned containing the socket for the connection.</p>
+<p>This function will trigger an exception when an error occurs.</p>
<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced.
+<ul><li><strong>1.6</strong>: Function introduced. Replaces <code>ranch:accept_ack/1</code>.
</li>
</ul>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Redirect HTTP to HTTPS</div>
+<div class="listingblock"><div class="title">Initialize the connection process</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req0</font><font color="#990000">=</font>#{<font color="#FF6600">scheme</font> <font color="#990000">:=</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"http"</font><font color="#990000">&gt;&gt;</font>}, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">302</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"location"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">scheme</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"https"</font><font color="#990000">&gt;&gt;</font>})
- }, <font color="#009900">Req0</font>),
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>};
-<b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">cowboy_rest</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
+<pre><tt><b><font color="#000000">start_link</font></b>(<font color="#009900">Ref</font>, <font color="#990000">_</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font>
+ <font color="#009900">Pid</font> <font color="#990000">=</font> <b><font color="#000000">proc_lib:spawn_link</font></b>(<b><font color="#000080">?MODULE</font></b>, <font color="#FF6600">init</font>,
+ [<font color="#009900">Ref</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>]),
+ {<font color="#FF6600">ok</font>, <font color="#009900">Pid</font>}<font color="#990000">.</font>
+
+<b><font color="#000000">init</font></b>(<font color="#009900">Ref</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font>
+ {<font color="#FF6600">ok</font>, <font color="#009900">Socket</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:handshake</font></b>(<font color="#009900">Ref</font>),
+ <b><font color="#000000">loop</font></b>(<font color="#008080">#state</font>{<font color="#0000FF">ref</font><font color="#990000">=</font><font color="#009900">Ref</font>, <font color="#0000FF">socket</font><font color="#990000">=</font><font color="#009900">Socket</font>,
+ <font color="#0000FF">transport</font><font color="#990000">=</font><font color="#009900">Transport</font>, <font color="#0000FF">opts</font><font color="#990000">=</font><font color="#009900">Opts</font>})<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a></p>
+<p><a href="../ranch.start_listener">ranch:start_listener(3)</a>, <a href="../ranch.recv_proxy_header">ranch:recv_proxy_header(3)</a>, <a href="../ranch.remove_connection">ranch:remove_connection(3)</a>, <a href="../ranch">ranch(3)</a></p>
@@ -119,7 +124,7 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
+ Ranch
2.0
Function Reference
@@ -127,10 +132,10 @@ http://www.gnu.org/software/src-highlite -->
<ul>
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -142,21 +147,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.peer/index.html b/docs/en/ranch/2.0/manual/ranch.info/index.html
index e8e218c6..bd459342 100644
--- a/docs/en/cowboy/2.1/manual/cowboy_req.peer/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.info/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy_req:peer(3)</title>
+ <title>Nine Nines: ranch:info(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,52 +60,85 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy_req:peer(3)</span></h1>
+<h1 class="lined-header"><span>ranch:info(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy_req:peer - Peer address and port</p>
+<p>ranch:info - Overview of Ranch listeners</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">peer</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Info</font>
+<pre><tt><b><font color="#000000">info</font></b>() <font color="#990000">-&gt;</font> #{<font color="#009900">Ref</font> <font color="#990000">:=</font> <font color="#009900">Info</font>}
+<b><font color="#000000">info</font></b>(<font color="#009900">Ref</font>) <font color="#990000">-&gt;</font> <font color="#009900">Info</font>
-<font color="#009900">Info</font> <font color="#990000">::</font> {<b><font color="#000000">inet:ip_address</font></b>(), <b><font color="#000000">inet:port_number</font></b>()}</tt></pre>
-</div></div>
-<p>Return the peer&apos;s IP address and port number.</p>
-<p>The peer information can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">peer</font> <font color="#990000">:=</font> {<font color="#009900">IP</font>, <font color="#009900">Port</font>}} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
+<font color="#009900">Info</font> <font color="#990000">::</font> #{<font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>() <font color="#990000">:=</font> <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()}</tt></pre>
</div></div>
+<p>Overview of Ranch listeners.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
-<p>The peer&apos;s IP address and port number.</p>
-<p>The peer is not necessarily the client&apos;s IP address and port. It is the IP address of the endpoint connecting directly to the server, which may be a gateway or a proxy.</p>
-<p>The forwarded header can be used to get better information about the different endpoints from the client to the server. Note however that it is only informative; there is no reliable way of determining the source of an HTTP request.</p>
+<p>Returns detailed information about one or all Ranch listeners. The following keys are returned:</p>
+<dl><dt>pid</dt>
+<dd><p>Pid of the listener&apos;s top-level supervisor.</p>
+</dd>
+<dt>status</dt>
+<dd><p>Listener status, either running or suspended.</p>
+</dd>
+<dt>ip</dt>
+<dd><p>Interface Ranch listens on.</p>
+</dd>
+<dt>port</dt>
+<dd><p>Port number Ranch listens on.</p>
+</dd>
+<dt>max_connections</dt>
+<dd><p>Maximum number of connections per connection supervisor.</p>
+</dd>
+<dt>active_connections</dt>
+<dd><p>Number of active connections.</p>
+</dd>
+<dt>all_connections</dt>
+<dd><p>Number of connections, including those removed from the count.</p>
+</dd>
+<dt>transport</dt>
+<dd><p>Transport module.</p>
+</dd>
+<dt>transport_options</dt>
+<dd><p>Transport options.</p>
+</dd>
+<dt>protocol</dt>
+<dd><p>Protocol module.</p>
+</dd>
+<dt>protocol_options</dt>
+<dd><p>Protocol options.</p>
+</dd>
+</dl>
<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the peer is returned, it is no longer wrapped in a tuple.
+<ul><li><strong>2.0</strong>: The listener info is now returned as a map.
</li>
-<li><strong>1.0</strong>: Function introduced.
+<li><strong>2.0</strong>: The <code>num_acceptors</code> key has been removed.
</li>
</ul>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the peer IP address and port number.</div>
+<div class="listingblock"><div class="title">Get information about all listeners</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><font color="#009900">AllInfo</font> <font color="#990000">=</font> <b><font color="#000000">ranch:info</font></b>()<font color="#990000">.</font></tt></pre>
+</div></div>
+<div class="listingblock"><div class="title">Get information about a specific listener</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt>{<font color="#009900">IP</font>, <font color="#009900">Port</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy_req:peer</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt><font color="#009900">Info</font> <font color="#990000">=</font> <b><font color="#000000">ranch:info</font></b>(<font color="#FF6600">example</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.sock">cowboy_req:sock(3)</a>, <a href="../cowboy_req.cert">cowboy_req:cert(3)</a></p>
+<p><a href="../ranch.get_addr">ranch:get_addr(3)</a>, <a href="../ranch.get_port">ranch:get_port(3)</a>, <a href="../ranch.procs">ranch:procs(3)</a>, <a href="../ranch">ranch(3)</a></p>
@@ -118,18 +151,18 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
- 2.1
+ Ranch
+ 2.0
Function Reference
</h3>
<ul>
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -141,21 +174,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.version/index.html b/docs/en/ranch/2.0/manual/ranch.procs/index.html
index 7c725407..8012cb47 100644
--- a/docs/en/cowboy/2.0/manual/cowboy_req.version/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.procs/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy_req:version(3)</title>
+ <title>Nine Nines: ranch:procs(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,48 +60,47 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy_req:version(3)</span></h1>
+<h1 class="lined-header"><span>ranch:procs(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy_req:version - HTTP version</p>
+<p>ranch:procs - Retrieve pids from a listener</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">version</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Version</font> <font color="#990000">::</font> <b><font color="#000000">cowboy:http_version</font></b>()</tt></pre>
-</div></div>
-<p>Return the HTTP version used for the request.</p>
-<p>The version can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">version</font> <font color="#990000">:=</font> <font color="#009900">Version</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
+<pre><tt><b><font color="#000000">procs</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>(),
+ <font color="#009900">Type</font> <font color="#990000">::</font> <font color="#FF6600">acceptors</font> | <font color="#FF6600">connections</font>)
+ <font color="#990000">-&gt;</font> <font color="#009900">Pids</font> <font color="#990000">::</font> [<b><font color="#000080">pid</font></b>()]</tt></pre>
</div></div>
+<p>Retrieve pids from a listener.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
+</dd>
+<dt>Type</dt>
+<dd><p>The type of process that will be returned.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
-<p>The HTTP version used for the request is returned as an atom. It is provided for informative purposes only.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the version is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
+<p>A list of pids is returned.</p>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the HTTP version</div>
+<div class="listingblock"><div class="title">Get the pids of the acceptor processes</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Version</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:version</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt><font color="#009900">Pids</font> <font color="#990000">=</font> <b><font color="#000000">ranch:procs</font></b>(<font color="#FF6600">acceptors</font>)<font color="#990000">.</font></tt></pre>
+</div></div>
+<div class="listingblock"><div class="title">Get the pids of the connection processes</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><font color="#009900">Pids</font> <font color="#990000">=</font> <b><font color="#000000">ranch:procs</font></b>(<font color="#FF6600">connections</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a></p>
+<p><a href="../ranch.get_addr">ranch:get_addr(3)</a>, <a href="../ranch.get_port">ranch:get_port(3)</a>, <a href="../ranch.info">ranch:info(3)</a>, <a href="../ranch">ranch(3)</a></p>
@@ -114,7 +113,7 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
+ Ranch
2.0
Function Reference
@@ -122,10 +121,10 @@ http://www.gnu.org/software/src-highlite -->
<ul>
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -137,21 +136,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.scheme/index.html b/docs/en/ranch/2.0/manual/ranch.recv_proxy_header/index.html
index ef59810e..d46347e6 100644
--- a/docs/en/cowboy/2.1/manual/cowboy_req.scheme/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.recv_proxy_header/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy_req:scheme(3)</title>
+ <title>Nine Nines: ranch:recv_proxy_header(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,53 +60,57 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy_req:scheme(3)</span></h1>
+<h1 class="lined-header"><span>ranch:recv_proxy_header(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy_req:scheme - URI scheme</p>
+<p>ranch:recv_proxy_header - Receive the PROXY protocol header</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">scheme</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#009900">Scheme</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()</tt></pre>
-</div></div>
-<p>Return the scheme of the effective request URI.</p>
-<p>The scheme can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">scheme</font> <font color="#990000">:=</font> <font color="#009900">Scheme</font>} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
+<pre><tt><b><font color="#000000">recv_proxy_header</font></b>(<b><font color="#000000">ranch:ref</font></b>(), <b><font color="#000000">timeout</font></b>())
+ <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <b><font color="#000000">ranch_proxy_header:proxy_info</font></b>()}
+ | {<font color="#FF6600">error</font>, <font color="#009900">Reason</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>()}
+ | {<font color="#FF6600">error</font>, <font color="#FF6600">protocol_error</font>, <font color="#009900">HumanReadable</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>()}</tt></pre>
</div></div>
+<p>Receive the PROXY protocol header.</p>
+<p>This function must be called before <code>ranch:handshake/1,2</code> on newly accepted connections to read and parse the PROXY protocol header, if any.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
+</dd>
+<dt>Timeout</dt>
+<dd><p>Receive timeout in milliseconds.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
-<p>The scheme is returned as a binary. It is case insensitive.</p>
-<p>Cowboy will only set the scheme to <code>&lt;&lt;&quot;http&quot;&gt;&gt;</code> or <code>&lt;&lt;&quot;https&quot;&gt;&gt;</code>.</p>
+<p>An <code>ok</code> tuple is returned containing PROXY header information on success.</p>
+<p>An <code>error</code> 2-tuple is returned when a socket error occurs.</p>
+<p>An <code>error</code> 3-tuple is returned when a protocol error occurs and Ranch was not able to parse the PROXY header information. The third element contains a human-readable description of the error.</p>
<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced.
+<ul><li><strong>1.7</strong>: Function introduced.
</li>
</ul>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Redirect HTTP to HTTPS</div>
+<div class="listingblock"><div class="title">Receive the PROXY protocol header</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">init</font></b>(<font color="#009900">Req0</font><font color="#990000">=</font>#{<font color="#FF6600">scheme</font> <font color="#990000">:=</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"http"</font><font color="#990000">&gt;&gt;</font>}, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- <font color="#009900">Req</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:reply</font></b>(<font color="#993399">302</font>, #{
- <font color="#990000">&lt;&lt;</font><font color="#FF0000">"location"</font><font color="#990000">&gt;&gt;</font> <font color="#990000">=&gt;</font> <b><font color="#000000">cowboy_req:uri</font></b>(<font color="#009900">Req</font>, #{<font color="#0000FF">scheme</font> <font color="#990000">=&gt;</font> <font color="#990000">&lt;&lt;</font><font color="#FF0000">"https"</font><font color="#990000">&gt;&gt;</font>})
- }, <font color="#009900">Req0</font>),
- {<font color="#FF6600">ok</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>};
-<b><font color="#000000">init</font></b>(<font color="#009900">Req</font>, <font color="#009900">State</font>) <font color="#990000">-&gt;</font>
- {<font color="#FF6600">cowboy_rest</font>, <font color="#009900">Req</font>, <font color="#009900">State</font>}<font color="#990000">.</font></tt></pre>
+<pre><tt><b><font color="#000000">start_link</font></b>(<font color="#009900">Ref</font>, <font color="#990000">_</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font>
+ <font color="#009900">Pid</font> <font color="#990000">=</font> <b><font color="#000000">proc_lib:spawn_link</font></b>(<b><font color="#000080">?MODULE</font></b>, <font color="#FF6600">init</font>,
+ [<font color="#009900">Ref</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>]),
+ {<font color="#FF6600">ok</font>, <font color="#009900">Pid</font>}<font color="#990000">.</font>
+
+<b><font color="#000000">init</font></b>(<font color="#009900">Ref</font>, <font color="#009900">Transport</font>, <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font>
+ {<font color="#FF6600">ok</font>, <font color="#009900">ProxyInfo</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:recv_proxy_header</font></b>(<font color="#009900">Ref</font>, <font color="#993399">1000</font>),
+ {<font color="#FF6600">ok</font>, <font color="#009900">Socket</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:handshake</font></b>(<font color="#009900">Ref</font>),
+ <b><font color="#000000">loop</font></b>(<font color="#008080">#state</font>{<font color="#0000FF">ref</font><font color="#990000">=</font><font color="#009900">Ref</font>, <font color="#0000FF">socket</font><font color="#990000">=</font><font color="#009900">Socket</font>, <font color="#0000FF">transport</font><font color="#990000">=</font><font color="#009900">Transport</font>,
+ <font color="#0000FF">proxy_info</font><font color="#990000">=</font><font color="#009900">ProxyInfo</font>, <font color="#0000FF">opts</font><font color="#990000">=</font><font color="#009900">Opts</font>})<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a></p>
+<p><a href="../ranch.start_listener">ranch:start_listener(3)</a>, <a href="../ranch.handshake">ranch:handshake(3)</a>, <a href="../ranch.remove_connection">ranch:remove_connection(3)</a>, <a href="../ranch">ranch(3)</a></p>
@@ -119,18 +123,18 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
- 2.1
+ Ranch
+ 2.0
Function Reference
</h3>
<ul>
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -142,21 +146,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/cowboy/2.1/manual/cowboy_req.resp_headers/index.html b/docs/en/ranch/2.0/manual/ranch.remove_connection/index.html
index bc27f9ab..ca8fe676 100644
--- a/docs/en/cowboy/2.1/manual/cowboy_req.resp_headers/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.remove_connection/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy_req:resp_headers(3)</title>
+ <title>Nine Nines: ranch:remove_connection(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,39 +60,37 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy_req:resp_headers(3)</span></h1>
+<h1 class="lined-header"><span>ranch:remove_connection(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy_req:resp_headers - Response headers</p>
+<p>ranch:remove_connection - Remove connection from the count</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">resp_headers</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">cowboy:http_headers</font></b>()</tt></pre>
+<pre><tt><b><font color="#000000">remove_connection</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>()) <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font></tt></pre>
</div></div>
-<p>Return all response headers.</p>
+<p>Remove connection from the count.</p>
+<p>This connection will no longer be included in the count when limiting the number of connections. This can be useful in a mixed environment where some connections are active and others are passive. Passive connections spend most of their time idling and are not consuming much resources.</p>
+<p>This function may only be called from a connection process.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
-<p>Headers are returned as a map with keys being lowercase binary strings, and values as binary strings.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced.
-</li>
-</ul>
+<p>The atom <code>ok</code> is always returned. It can be safely ignored.</p>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get all response headers</div>
+<div class="listingblock"><div class="title">Remove the connection process from the count</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Headers</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:resp_headers</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt><b><font color="#000000">ranch:remove_connection</font></b>(<font color="#FF6600">example</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.resp_header">cowboy_req:resp_header(3)</a>, <a href="../cowboy_req.set_resp_header">cowboy_req:set_resp_header(3)</a>, <a href="../cowboy_req.set_resp_headers">cowboy_req:set_resp_headers(3)</a></p>
+<p><a href="../ranch.start_listener">ranch:start_listener(3)</a>, <a href="../ranch.handshake">ranch:handshake(3)</a>, <a href="../ranch">ranch(3)</a></p>
@@ -105,18 +103,18 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
- 2.1
+ Ranch
+ 2.0
Function Reference
</h3>
<ul>
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -128,21 +126,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/cowboy/2.1/manual/cowboy.stop_listener/index.html b/docs/en/ranch/2.0/manual/ranch.resume_listener/index.html
index 9f1c276e..3bf23762 100644
--- a/docs/en/cowboy/2.1/manual/cowboy.stop_listener/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.resume_listener/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy:stop_listener(3)</title>
+ <title>Nine Nines: ranch:resume_listener(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,43 +60,43 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy:stop_listener(3)</span></h1>
+<h1 class="lined-header"><span>ranch:resume_listener(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy:stop_listener - Stop the given listener</p>
+<p>ranch:resume_listener - Resume a suspended listener</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">stop_listener</font></b>(<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>())
- <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> | {<font color="#FF6600">error</font>, <font color="#FF6600">not_found</font>}<font color="#990000">.</font></tt></pre>
+<pre><tt><b><font color="#000000">resume_listener</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch_ref</font></b>())
+ <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> | {<font color="#FF6600">error</font>, <b><font color="#000000">any</font></b>()}</tt></pre>
</div></div>
-<p>Stop a previously started listener.</p>
-<p>Alias of <a href="../ranch.stop_listener">ranch:stop_listener(3)</a>.</p>
+<p>Resume a suspended listener.</p>
+<p>Ranch will start listening for and accepting connections again. The function <a href="../ranch.set_transport_options">ranch:set_transport_options(3)</a> can be used to change the transport options before resuming the listener.</p>
+<p>Nothing is done when the listener is already running.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>The name of the listener to be stopped.</p>
-<p>The name of the listener is the first argument given to the <a href="../cowboy.start_clear">cowboy:start_clear(3)</a>, <a href="../cowboy.start_tls">cowboy:start_tls(3)</a> or <a href="../ranch.start_listener">ranch:start_listener(3)</a> function.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
<p>The atom <code>ok</code> is returned on success.</p>
-<p>The <code>{error, not_found}</code> tuple is returned when the listener does not exist.</p>
+<p>An error tuple is returned when the listener could not be restarted.</p>
<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Function introduced.
+<ul><li><strong>1.6</strong>: Function introduced.
</li>
</ul>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Stop a listener</div>
+<div class="listingblock"><div class="title">Resume a listener</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">cowboy:stop_listener</font></b>(<font color="#FF6600">example</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt><font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:resume_listener</font></b>(<font color="#FF6600">example</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy">cowboy(3)</a>, <a href="../cowboy.start_clear">cowboy:start_clear(3)</a>, <a href="../cowboy.start_tls">cowboy:start_tls(3)</a>, <a href="../ranch">ranch(3)</a>, <a href="../ranch.start_listener">ranch:start_listener(3)</a></p>
+<p><a href="../ranch.start_listener">ranch:start_listener(3)</a>, <a href="../ranch.stop_listener">ranch:stop_listener(3)</a>, <a href="../ranch.suspend_listener">ranch:suspend_listener(3)</a>, <a href="../ranch.get_status">ranch:get_status(3)</a>, <a href="../ranch.set_transport_options">ranch:set_transport_options(3)</a>, <a href="../ranch.wait_for_connections">ranch:wait_for_connections(3)</a>, <a href="../ranch">ranch(3)</a></p>
@@ -109,18 +109,18 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
- 2.1
+ Ranch
+ 2.0
Function Reference
</h3>
<ul>
- <li><a href="/docs/en/cowboy/2.1/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -132,21 +132,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
-
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
-
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.path_info/index.html b/docs/en/ranch/2.0/manual/ranch.set_max_connections/index.html
index c0b97978..70d8d6be 100644
--- a/docs/en/cowboy/2.0/manual/cowboy_req.path_info/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.set_max_connections/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy_req:path_info(3)</title>
+ <title>Nine Nines: ranch:set_max_connections(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,42 +60,45 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy_req:path_info(3)</span></h1>
+<h1 class="lined-header"><span>ranch:set_max_connections(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy_req:path_info - Access the route&apos;s trailing path segments</p>
+<p>ranch:set_max_connections - Set the max number of connections per connection supervisor</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">path_info</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">cowboy_router:tokens</font></b>()</tt></pre>
+<pre><tt><b><font color="#000000">set_max_connections</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>(),
+ <font color="#009900">MaxConns</font> <font color="#990000">::</font> <b><font color="#000000">ranch:max_conns</font></b>())
+ <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font></tt></pre>
</div></div>
-<p>Return the tokens for the trailing path segments.</p>
-<p>This is the part of the host name that was matched using the <code>...</code> notation.</p>
+<p>Set the max number of connections per connection supervisor.</p>
+<p>The change will be applied immediately. If the new value is smaller than the previous one, Ranch will wait for the extra connections to terminate and will not accept new connections until the number of connections goes below the limit.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
+</dd>
+<dt>MaxConns</dt>
+<dd><p>The new maximum number of connections per connection supervisor.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
-<p>The tokens are returned as a list of case sensitive binary strings.</p>
+<p>The atom <code>ok</code> is always returned. It can be safely ignored.</p>
<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the tokens are returned, they are no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
+<ul><li><strong>2.0</strong>: The maximum number of connections is now per connection supervisor.
</li>
</ul>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the path_info tokens</div>
+<div class="listingblock"><div class="title">Set the max number of connections per connection supervisor</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">PathInfo</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:path_info</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt><b><font color="#000000">ranch:set_max_connections</font></b>(<font color="#FF6600">example</font>, <font color="#993399">10000</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.binding">cowboy_req:binding(3)</a>, <a href="../cowboy_req.bindings">cowboy_req:bindings(3)</a>, <a href="../cowboy_req.host_info">cowboy_req:host_info(3)</a>, <a href="../cowboy_router">cowboy_router(3)</a></p>
+<p><a href="../ranch.get_max_connections">ranch:get_max_connections(3)</a>, <a href="../ranch.set_protocol_options">ranch:set_protocol_options(3)</a>, <a href="../ranch.set_transport_options">ranch:set_transport_options(3)</a>, <a href="../ranch">ranch(3)</a></p>
@@ -108,7 +111,7 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
+ Ranch
2.0
Function Reference
@@ -116,10 +119,10 @@ http://www.gnu.org/software/src-highlite -->
<ul>
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -131,21 +134,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/ranch/2.0/manual/ranch.set_protocol_options/index.html b/docs/en/ranch/2.0/manual/ranch.set_protocol_options/index.html
new file mode 100644
index 00000000..dfec36ce
--- /dev/null
+++ b/docs/en/ranch/2.0/manual/ranch.set_protocol_options/index.html
@@ -0,0 +1,190 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="">
+ <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
+
+ <title>Nine Nines: ranch:set_protocol_options(3)</title>
+
+ <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
+ <link href="/css/99s.css?r=5" rel="stylesheet">
+
+ <link rel="shortcut icon" href="/img/ico/favicon.ico">
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
+ <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
+
+
+</head>
+
+
+<body class="">
+ <header id="page-head">
+ <div id="topbar" class="container">
+ <div class="row">
+ <div class="span2">
+ <h1 id="logo"><a href="/" title="99s">99s</a></h1>
+ </div>
+ <div class="span10">
+
+ <div id="side-header">
+ <nav>
+ <ul>
+ <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
+ <li><a title="Watch my talks" href="/talks">Talks</a></li>
+ <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
+ <li><a title="Request my services" href="/services">Consulting & Training</a></li>
+ </ul>
+ </nav>
+ <ul id="social">
+ <li>
+ <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
+ </li>
+ <li>
+ <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+
+
+</header>
+
+<div id="contents" class="two_col">
+<div class="container">
+<div class="row">
+<div id="docs" class="span9 maincol">
+
+<h1 class="lined-header"><span>ranch:set_protocol_options(3)</span></h1>
+
+<h2 id="_name">Name</h2>
+<p>ranch:set_protocol_options - Set the protocol options</p>
+<h2 id="_description">Description</h2>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">set_protocol_options</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>(),
+ <font color="#009900">ProtoOpts</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>())
+ <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font></tt></pre>
+</div></div>
+<p>Set the protocol options.</p>
+<p>The change will be applied immediately for all new connections. Old connections will not receive the new options.</p>
+<h2 id="_arguments">Arguments</h2>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
+</dd>
+<dt>ProtoOpts</dt>
+<dd><p>The new protocol options.</p>
+</dd>
+</dl>
+<h2 id="_return_value">Return value</h2>
+<p>The atom <code>ok</code> is always returned. It can be safely ignored.</p>
+<h2 id="_examples">Examples</h2>
+<div class="listingblock"><div class="title">Set the protocol options</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">ranch:set_protocol_options</font></b>(<font color="#FF6600">example</font>, <font color="#009900">ProtoOpts</font>)<font color="#990000">.</font></tt></pre>
+</div></div>
+<h2 id="_see_also">See also</h2>
+<p><a href="../ranch.get_protocol_options">ranch:get_protocol_options(3)</a>, <a href="../ranch.set_max_connections">ranch:set_max_connections(3)</a>, <a href="../ranch.set_transport_options">ranch:set_transport_options(3)</a>, <a href="../ranch">ranch(3)</a></p>
+
+
+
+
+
+
+</div>
+
+<div class="span3 sidecol">
+
+
+<h3>
+ Ranch
+ 2.0
+ Function Reference
+
+</h3>
+
+<ul>
+
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
+
+
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
+
+
+</ul>
+
+<h4 id="docs-nav">Navigation</h4>
+
+<h4>Version select</h4>
+<ul>
+
+
+
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
+
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
+
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
+
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
+
+</ul>
+
+<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
+<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
+<input type="hidden" name="cmd" value="_donations">
+<input type="hidden" name="business" value="[email protected]">
+<input type="hidden" name="lc" value="FR">
+<input type="hidden" name="item_name" value="Loic Hoguin">
+<input type="hidden" name="item_number" value="99s">
+<input type="hidden" name="currency_code" value="EUR">
+<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
+<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
+<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
+</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
+
+
+
+</div>
+</div>
+</div>
+</div>
+
+ <footer>
+ <div class="container">
+ <div class="row">
+ <div class="span6">
+ <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
+ <nav>
+ <ul>
+ <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
+ </ul>
+ </nav>
+ </div>
+ <div class="span6 credits">
+ <p><img src="/img/footer_logo.png"></p>
+ <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
+ </div>
+ </div>
+ </div>
+ </footer>
+
+
+ <script src="/js/custom.js"></script>
+ </body>
+</html>
+
+
diff --git a/docs/en/cowboy/2.0/manual/cowboy.set_env/index.html b/docs/en/ranch/2.0/manual/ranch.set_transport_options/index.html
index 9d81542f..49c6c424 100644
--- a/docs/en/cowboy/2.0/manual/cowboy.set_env/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.set_transport_options/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy:set_env(3)</title>
+ <title>Nine Nines: ranch:set_transport_options(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,60 +60,80 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy:set_env(3)</span></h1>
+<h1 class="lined-header"><span>ranch:set_transport_options(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy:set_env - Update a listener&apos;s environment value</p>
+<p>ranch:set_transport_options - Set the transport options</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">set_env</font></b>(<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>(),
- <font color="#009900">Key</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>(),
- <font color="#009900">Value</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>())
- <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font></tt></pre>
+<pre><tt><b><font color="#000000">set_transport_options</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>(),
+ <font color="#009900">TransOpts</font> <font color="#990000">::</font> <b><font color="#000000">ranch:opts</font></b>())
+ <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> | {<font color="#FF6600">error</font>, <font color="#009900">Reason</font> <font color="#990000">::</font> <b><font color="#000000">term</font></b>()}</tt></pre>
</div></div>
-<p>Set or update an environment value for a previously started listener.</p>
-<p>This is most useful for updating the routes dynamically, without having to restart the listener.</p>
-<p>The new value will only be available to new connections. Pre-existing connections will still use the old value.</p>
+<p>Set the transport options.</p>
+<p>Changes to the following options will take effect...</p>
+<ul><li>immediately:
+<ul><li><code>max_connections</code>
+</li>
+<li><code>handshake_timeout</code>
+</li>
+<li><code>shutdown</code>
+</li>
+</ul>
+</li>
+<li>only after the listener has been suspended and resumed:
+<ul><li><code>num_acceptors</code>
+</li>
+<li><code>num_listen_sockets</code>
+</li>
+<li><code>socket_opts</code>
+</li>
+</ul>
+</li>
+<li>only when the entire listener is restarted:
+<ul><li><code>connection_type</code>
+</li>
+<li><code>num_conns_sups</code>
+</li>
+<li><code>logger</code>
+</li>
+</ul>
+</li>
+</ul>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>The name of the listener to update.</p>
-<p>The name of the listener is the first argument given to the <a href="../cowboy.start_clear">cowboy:start_clear(3)</a>, <a href="../cowboy.start_tls">cowboy:start_tls(3)</a> or <a href="../ranch.start_listener">ranch:start_listener(3)</a> function.</p>
-</dd>
-<dt>Key</dt>
-<dd><p>The key in the environment map. Common keys include <code>dispatch</code> and <code>middlewares</code>.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
</dd>
-<dt>Value</dt>
-<dd><p>The new value.</p>
-<p>The type of the value differs depending on the key.</p>
+<dt>TransOpts</dt>
+<dd><p>The new transport options.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
<p>The atom <code>ok</code> is returned on success.</p>
-<p>An <code>exit:badarg</code> exception is thrown when the listener does not exist.</p>
+<p>An error tuple is returned on failure, for example if the given transport options contain invalid values.</p>
<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Function introduced.
+<ul><li><strong>2.0</strong>: The restriction that the listener must be suspended has been removed.
+</li>
+<li><strong>2.0</strong>: The <code>TransOpts</code> argument must no longer contain Ranch-specific options if given as a list. Use a map.
</li>
</ul>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Update a listener&apos;s routes</div>
+<div class="listingblock"><div class="title">Set the transport options</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>([
- {<font color="#FF6600">'_'</font>, [
- {<font color="#FF0000">"/"</font>, <font color="#FF6600">toppage_h</font>, []},
- {<font color="#FF0000">"/ws"</font>, <font color="#FF6600">websocket_h</font>, []}
- ]}
-]),
-
-<b><font color="#000000">cowboy:set_env</font></b>(<font color="#FF6600">example</font>, <font color="#FF6600">dispatch</font>, <font color="#009900">Dispatch</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt><font color="#009900">Ref</font> <font color="#990000">=</font> <font color="#FF6600">example</font>,
+
+<font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:suspend_listener</font></b>(<font color="#009900">Ref</font>),
+<font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:set_transport_options</font></b>(<font color="#009900">Ref</font>, <font color="#009900">TransOpts</font>),
+<font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:resume_listener</font></b>(<font color="#009900">Ref</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy">cowboy(3)</a>, <a href="../cowboy.start_clear">cowboy:start_clear(3)</a>, <a href="../cowboy.start_tls">cowboy:start_tls(3)</a>, <a href="../ranch.set_protocol_options">ranch:set_protocol_options(3)</a></p>
+<p><a href="../ranch.suspend_listener">ranch:suspend_listener(3)</a>, <a href="../ranch.resume_listener">ranch:resume_listener(3)</a>, <a href="../ranch.get_transport_options">ranch:get_transport_options(3)</a>, <a href="../ranch.set_max_connections">ranch:set_max_connections(3)</a>, <a href="../ranch.set_protocol_options">ranch:set_protocol_options(3)</a>, <a href="../ranch">ranch(3)</a></p>
@@ -126,7 +146,7 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
+ Ranch
2.0
Function Reference
@@ -134,10 +154,10 @@ http://www.gnu.org/software/src-highlite -->
<ul>
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -149,21 +169,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/cowboy/2.0/manual/cowboy.start_tls/index.html b/docs/en/ranch/2.0/manual/ranch.start_listener/index.html
index 052790bc..c13f7c14 100644
--- a/docs/en/cowboy/2.0/manual/cowboy.start_tls/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.start_listener/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy:start_tls(3)</title>
+ <title>Nine Nines: ranch:start_listener(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,45 +60,55 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy:start_tls(3)</span></h1>
+<h1 class="lined-header"><span>ranch:start_listener(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy:start_tls - Listen for connections using TLS</p>
+<p>ranch:start_listener - Start a listener</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">start_tls</font></b>(<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>(),
- <font color="#009900">TransportOpts</font> <font color="#990000">::</font> <b><font color="#000000">ranch_ssl:opts</font></b>(),
- <font color="#009900">ProtocolOpts</font> <font color="#990000">::</font> <b><font color="#000000">opts</font></b>())
+<pre><tt><b><font color="#000000">start_listener</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch_ref</font></b>(),
+ <font color="#009900">Transport</font> <font color="#990000">::</font> <b><font color="#000000">module</font></b>(),
+ <font color="#009900">TransOpts</font> <font color="#990000">::</font> <b><font color="#000000">ranch:opts</font></b>(),
+ <font color="#009900">Protocol</font> <font color="#990000">::</font> <b><font color="#000000">module</font></b>(),
+ <font color="#009900">ProtoOpts</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>())
<font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">ListenerPid</font> <font color="#990000">::</font> <b><font color="#000080">pid</font></b>()}
| {<font color="#FF6600">error</font>, <b><font color="#000000">any</font></b>()}</tt></pre>
</div></div>
-<p>Start listening for connections over a secure TLS channel.</p>
-<p>Both HTTP/1.1 and HTTP/2 are supported on this listener. The ALPN TLS extension must be used to initiate an HTTP/2 connection.</p>
+<p>Start a listener.</p>
+<p>A listener is a set of processes that accepts and manages connections using the given transport and protocol modules.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>The listener name is used to refer to this listener in future calls, for example when stopping it or when updating the routes defined.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name is used to refer to this listener in future calls, for example when stopping it or when updating the configuration.</p>
<p>It can be any Erlang term. An atom is generally good enough, for example <code>api</code>, <code>my_app_clear</code> or <code>my_app_tls</code>.</p>
</dd>
+<dt>Transport</dt>
+<dd><p>The transport module that will be used by Ranch to accept connections and that will be passed to the protocol module along with the socket.</p>
+<p>The interface of the transport module is documented in the <a href="../ranch_transport">ranch_transport(3)</a> manual.</p>
+</dd>
<dt>TransportOpts</dt>
-<dd><p>The transport options are where the TCP options, including the listener&apos;s port number, are defined. They also contain the TLS options, like the server&apos;s certificate. Transport options are provided as a list of keys and values, for example <code>[{port, 8443}, {certfile, &quot;path/to/cert.pem&quot;}]</code>.</p>
-<p>The available options are documented in the <a href="../ranch_ssl">ranch_ssl(3)</a> manual.</p>
+<dd><p>Transport options include the Ranch-specific options and the socket options. The listener&apos;s port number must be defined in the socket options.</p>
+<p>Socket options may be given directly if there are no Ranch-specific options.</p>
+<p>The available options for the built-in Ranch transports are documented in the <a href="../ranch_tcp">ranch_tcp(3)</a> and <a href="../ranch_ssl">ranch_ssl(3)</a> manuals.</p>
+</dd>
+<dt>Protocol</dt>
+<dd><p>The protocol module that will be used by Ranch after the connection has been accepted.</p>
+<p>The interface of the protocol module is documented in the <a href="../ranch_protocol">ranch_protocol(3)</a> manual.</p>
</dd>
<dt>ProtocolOpts</dt>
-<dd><p>The protocol options are in a map containing all the options for the different protocols that may be involved when connecting to the listener, including HTTP/1.1 and HTTP/2.</p>
-<p>The HTTP/1.1 options are documented in the <a href="../cowboy_http">cowboy_http(3)</a> manual; and the HTTP/2 options in <a href="../cowboy_http2">cowboy_http2(3)</a>.</p>
+<dd><p>The protocol options given when calling the protocol module. Please consult the documentation of the protocol module you are using for more details.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
<p>An ok tuple is returned on success. It contains the pid of the top-level supervisor for the listener.</p>
<p>An error tuple is returned on error. The error reason may be any Erlang term.</p>
-<p>A common error is <code>eaddrinuse</code>. It indicates that the port configured for Cowboy is already in use.</p>
+<p>A common error is <code>eaddrinuse</code>. It indicates that the port configured for Ranch is already in use.</p>
<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: HTTP/2 support added.
+<ul><li><strong>2.0</strong>: The <code>TransOpts</code> argument must no longer contain Ranch-specific options if given as a list. Use a map.
</li>
-<li><strong>2.0</strong>: Function introduced. Replaces <code>cowboy:start_https/4</code>.
+<li><strong>1.4</strong>: The <code>NumAcceptors</code> argument was moved to the transport options.
</li>
</ul>
<h2 id="_examples">Examples</h2>
@@ -107,36 +117,40 @@ http://www.gnu.org/software/src-highlite -->
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Dispatch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_router:compile</font></b>([
- {<font color="#FF6600">'_'</font>, [
- {<font color="#FF0000">"/"</font>, <font color="#FF6600">toppage_h</font>, []}
- ]}
-]),
-
-{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_tls</font></b>(<font color="#FF6600">example</font>, [
- {<font color="#FF6600">port</font>, <font color="#993399">8443</font>},
- {<font color="#FF6600">cert</font>, <font color="#FF0000">"path/to/cert.pem"</font>}
-], #{
- <font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}
-})<font color="#990000">.</font></tt></pre>
+<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">example</font>,
+ <font color="#FF6600">ranch_tcp</font>, [{<font color="#FF6600">port</font>, <font color="#993399">8080</font>}],
+ <font color="#FF6600">cowboy_http2</font>, #{}
+)<font color="#990000">.</font></tt></pre>
+</div></div>
+<div class="listingblock"><div class="title">Start a listener with Ranch-specific options</div>
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#FF6600">example</font>,
+ <font color="#FF6600">ranch_tcp</font>, #{
+ <font color="#0000FF">num_acceptors</font> <font color="#990000">=&gt;</font> <font color="#993399">75</font>,
+ <font color="#0000FF">socket_opts</font> <font color="#990000">=&gt;</font> [{<font color="#FF6600">port</font>, <font color="#993399">8080</font>}]
+ },
+ <font color="#FF6600">cowboy_http2</font>, #{}
+)<font color="#990000">.</font></tt></pre>
</div></div>
<div class="listingblock"><div class="title">Start a listener on a random port</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Name</font> <font color="#990000">=</font> <font color="#FF6600">example</font>,
+<pre><tt><font color="#009900">Ref</font> <font color="#990000">=</font> <font color="#FF6600">example</font>,
-{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_tls</font></b>(<font color="#009900">Name</font>, [
- {<font color="#FF6600">cert</font>, <font color="#FF0000">"path/to/cert.pem"</font>}
-], #{
- <font color="#0000FF">env</font> <font color="#990000">=&gt;</font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=&gt;</font> <font color="#009900">Dispatch</font>}
-}),
+{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">ranch:start_listener</font></b>(<font color="#009900">Ref</font>,
+ <font color="#FF6600">ranch_tcp</font>, #{},
+ <font color="#FF6600">cowboy_http2</font>, #{}
+),
-<font color="#009900">Port</font> <font color="#990000">=</font> <b><font color="#000000">ranch:get_port</font></b>(<font color="#009900">Name</font>)<font color="#990000">.</font></tt></pre>
+<font color="#009900">Port</font> <font color="#990000">=</font> <b><font color="#000000">ranch:get_port</font></b>(<font color="#009900">Ref</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy">cowboy(3)</a>, <a href="../cowboy.start_clear">cowboy:start_clear(3)</a>, <a href="../cowboy.stop_listener">cowboy:stop_listener(3)</a>, <a href="../ranch">ranch(3)</a></p>
+<p><a href="../ranch.stop_listener">ranch:stop_listener(3)</a>, <a href="../ranch.child_spec">ranch:child_spec(3)</a>, <a href="../ranch">ranch(3)</a>, <a href="../ranch_tcp">ranch_tcp(3)</a>, <a href="../ranch_ssl">ranch_ssl(3)</a>, <a href="../ranch_transport">ranch_transport(3)</a>, <a href="../ranch_protocol">ranch_protocol(3)</a></p>
@@ -149,7 +163,7 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
+ Ranch
2.0
Function Reference
@@ -157,10 +171,10 @@ http://www.gnu.org/software/src-highlite -->
<ul>
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -172,21 +186,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/cowboy/2.0/manual/cowboy.stop_listener/index.html b/docs/en/ranch/2.0/manual/ranch.stop_listener/index.html
index af996a70..1b869e27 100644
--- a/docs/en/cowboy/2.0/manual/cowboy.stop_listener/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.stop_listener/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy:stop_listener(3)</title>
+ <title>Nine Nines: ranch:stop_listener(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,43 +60,40 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy:stop_listener(3)</span></h1>
+<h1 class="lined-header"><span>ranch:stop_listener(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy:stop_listener - Stop the given listener</p>
+<p>ranch:stop_listener - Stop a listener</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">stop_listener</font></b>(<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>())
- <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> | {<font color="#FF6600">error</font>, <font color="#FF6600">not_found</font>}<font color="#990000">.</font></tt></pre>
+<pre><tt><b><font color="#000000">stop_listener</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch_ref</font></b>())
+ <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> | {<font color="#FF6600">error</font>, <font color="#FF6600">not_found</font>}</tt></pre>
</div></div>
-<p>Stop a previously started listener.</p>
-<p>Alias of <a href="../ranch.stop_listener">ranch:stop_listener(3)</a>.</p>
+<p>Stop a listener.</p>
+<p>The listener is stopped gracefully, first by closing the listening port, then by stopping the connection processes. These processes are stopped according to the <code>shutdown</code> transport option, which may be set to brutally kill all connection processes or give them some time to stop properly.</p>
+<p>In order for the connection processes to exit gracefully, they need to trap exit signals and stop before the configured shutdown timeout. If greater control over the shutdown is required the functions <a href="../ranch.suspend_listener">ranch:suspend_listener(3)</a> and <a href="../ranch.wait_for_connections">ranch:wait_for_connections(3)</a> can be used.</p>
+<p>This function does not return until the listener is completely stopped.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>The name of the listener to be stopped.</p>
-<p>The name of the listener is the first argument given to the <a href="../cowboy.start_clear">cowboy:start_clear(3)</a>, <a href="../cowboy.start_tls">cowboy:start_tls(3)</a> or <a href="../ranch.start_listener">ranch:start_listener(3)</a> function.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
<p>The atom <code>ok</code> is returned on success.</p>
-<p>The <code>{error, not_found}</code> tuple is returned when the listener does not exist.</p>
-<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>1.0</strong>: Function introduced.
-</li>
-</ul>
+<p>An error tuple is returned when the listener is not found.</p>
<h2 id="_examples">Examples</h2>
<div class="listingblock"><div class="title">Stop a listener</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">cowboy:stop_listener</font></b>(<font color="#FF6600">example</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt><font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:stop_listener</font></b>(<font color="#FF6600">example</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy">cowboy(3)</a>, <a href="../cowboy.start_clear">cowboy:start_clear(3)</a>, <a href="../cowboy.start_tls">cowboy:start_tls(3)</a>, <a href="../ranch">ranch(3)</a>, <a href="../ranch.start_listener">ranch:start_listener(3)</a></p>
+<p><a href="../ranch.start_listener">ranch:start_listener(3)</a>, <a href="../ranch.child_spec">ranch:child_spec(3)</a>, <a href="../ranch.suspend_listener">ranch:suspend_listener(3)</a>, <a href="../ranch">ranch(3)</a></p>
@@ -109,7 +106,7 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
+ Ranch
2.0
Function Reference
@@ -117,10 +114,10 @@ http://www.gnu.org/software/src-highlite -->
<ul>
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -132,21 +129,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.body_length/index.html b/docs/en/ranch/2.0/manual/ranch.suspend_listener/index.html
index 1a31500d..aaf08e50 100644
--- a/docs/en/cowboy/2.0/manual/cowboy_req.body_length/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.suspend_listener/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy_req:body_length(3)</title>
+ <title>Nine Nines: ranch:suspend_listener(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,42 +60,44 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy_req:body_length(3)</span></h1>
+<h1 class="lined-header"><span>ranch:suspend_listener(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy_req:body_length - Body length</p>
+<p>ranch:suspend_listener - Suspend a running listener</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">body_length</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <font color="#000080">undefined</font> | <b><font color="#000000">non_neg_integer</font></b>()</tt></pre>
+<pre><tt><b><font color="#000000">suspend_listener</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch_ref</font></b>())
+ <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> | {<font color="#FF6600">error</font>, <b><font color="#000000">any</font></b>()}</tt></pre>
</div></div>
-<p>Return the length of the request body.</p>
-<p>The length is not always known before reading the body. In those cases Cowboy will return <code>undefined</code>. The body length is available after the body has been fully read.</p>
+<p>Suspend a running listener.</p>
+<p>Ranch will stop listening for and accepting connections and the listening socket will be closed. Existing connections will continue undisturbed. The function <a href="../ranch.wait_for_connections">ranch:wait_for_connections(3)</a> can be used to wait for connections to be closed if necessary.</p>
+<p>Some transport options can only be changed when the listener is suspended. Please consult the <a href="../ranch.set_transport_options">ranch:set_transport_options(3)</a> manual for more information.</p>
+<p>Nothing is done when the listener is already suspended.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
-<p>The length of the request body, or <code>undefined</code> if it is not known.</p>
+<p>The atom <code>ok</code> is returned on success.</p>
+<p>An error tuple is returned when the listener could not be suspended.</p>
<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the length is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
+<ul><li><strong>1.6</strong>: Function introduced.
</li>
</ul>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the body length</div>
+<div class="listingblock"><div class="title">Suspend a listener</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Length</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:body_length</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt><font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:suspend_listener</font></b>(<font color="#FF6600">example</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.has_body">cowboy_req:has_body(3)</a>, <a href="../cowboy_req.read_body">cowboy_req:read_body(3)</a>, <a href="../cowboy_req.read_urlencoded_body">cowboy_req:read_urlencoded_body(3)</a>, <a href="../cowboy_req.read_part">cowboy_req:read_part(3)</a>, <a href="../cowboy_req.read_part_body">cowboy_req:read_part_body(3)</a></p>
+<p><a href="../ranch.start_listener">ranch:start_listener(3)</a>, <a href="../ranch.stop_listener">ranch:stop_listener(3)</a>, <a href="../ranch.resume_listener">ranch:resume_listener(3)</a>, <a href="../ranch.get_status">ranch:get_status(3)</a>, <a href="../ranch.set_transport_options">ranch:set_transport_options(3)</a>, <a href="../ranch.wait_for_connections">ranch:wait_for_connections(3)</a>, <a href="../ranch">ranch(3)</a></p>
@@ -108,7 +110,7 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
+ Ranch
2.0
Function Reference
@@ -116,10 +118,10 @@ http://www.gnu.org/software/src-highlite -->
<ul>
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -131,21 +133,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.binding/index.html b/docs/en/ranch/2.0/manual/ranch.wait_for_connections/index.html
index ba64004f..52a3999a 100644
--- a/docs/en/cowboy/2.0/manual/cowboy_req.binding/index.html
+++ b/docs/en/ranch/2.0/manual/ranch.wait_for_connections/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy_req:binding(3)</title>
+ <title>Nine Nines: ranch:wait_for_connections(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,61 +60,64 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy_req:binding(3)</span></h1>
+<h1 class="lined-header"><span>ranch:wait_for_connections(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy_req:binding - Access a value bound from the route</p>
+<p>ranch:wait_for_connections - Wait for a specific number of connections</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">binding</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">binding</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>, <font color="#000080">undefined</font>)
-<b><font color="#000000">binding</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>, <font color="#009900">Default</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">any</font></b>() | <font color="#009900">Default</font>
+<pre><tt><b><font color="#000000">wait_for_connections</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>(),
+ <font color="#009900">Operator</font>,
+ <font color="#009900">NumConns</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>())
+ <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font>
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>()
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
+<font color="#009900">Operator</font> <font color="#990000">::</font> <font color="#FF6600">'&gt;'</font> | <font color="#FF6600">'&gt;='</font> | <font color="#FF6600">'=='</font> | <font color="#FF6600">'=&lt;'</font> | <font color="#FF6600">'&lt;'</font></tt></pre>
</div></div>
-<p>Return the value for the given binding.</p>
+<p>Wait for a specific number of connections.</p>
+<p>This function waits until the number of connections on the given listener becomes higher than, equal to or lower than the given number. It never returns otherwise.</p>
+<p>This function can be used to gracefully shutdown a listener by first suspending the listener and then waiting for connections to terminate before finally stopping the listener.</p>
+<!-- @todo The suspend/wait/stop pattern should be tested.-->
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>Desired binding name as an atom.</p>
+<dl><dt>Ref</dt>
+<dd><p>The listener name.</p>
</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
+<dt>Operator</dt>
+<dd><p>The operator to use for the comparison.</p>
</dd>
-<dt>Default</dt>
-<dd><p>Default value returned when the binding is missing.</p>
+<dt>NumConns</dt>
+<dd><p>The number of connections to reach.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
-<p>By default the value is a case sensitive binary string, however constraints may change the type of this value (for example automatically converting numbers to integer).</p>
+<p>The atom <code>ok</code> is always returned. It can be safely ignored.</p>
<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the value is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
+<ul><li><strong>1.6</strong>: Function introduced.
</li>
</ul>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the username from the path</div>
+<div class="listingblock"><div class="title">Wait for at least 100 connections</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% Route is "/users/:user"</font></i>
-<font color="#009900">Username</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:binding</font></b>(<font color="#FF6600">user</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt><b><font color="#000000">ranch:wait_for_connections</font></b>(<font color="#FF6600">example</font>, <font color="#FF6600">'&gt;='</font>, <font color="#993399">100</font>)<font color="#990000">.</font></tt></pre>
</div></div>
-<div class="listingblock"><div class="title">Get the branch name, with a default</div>
+<div class="listingblock"><div class="title">Gracefully shutdown a listener</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><i><font color="#9A1900">%% Route is "/log[/:branch]"</font></i>
-<font color="#009900">Branch</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:binding</font></b>(<font color="#FF6600">branch</font>, <font color="#009900">Req</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"master"</font><font color="#990000">&gt;&gt;</font>)</tt></pre>
+<pre><tt><font color="#009900">Ref</font> <font color="#990000">=</font> <font color="#FF6600">example</font>,
+
+<font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:suspend_listener</font></b>(<font color="#009900">Ref</font>),
+<b><font color="#000000">ranch:wait_for_connections</font></b>(<font color="#009900">Ref</font>, <font color="#FF6600">'=='</font>, <font color="#993399">0</font>),
+<font color="#0000FF">ok</font> <font color="#990000">=</font> <b><font color="#000000">ranch:stop_listener</font></b>(<font color="#009900">Ref</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.bindings">cowboy_req:bindings(3)</a>, <a href="../cowboy_req.host_info">cowboy_req:host_info(3)</a>, <a href="../cowboy_req.path_info">cowboy_req:path_info(3)</a>, <a href="../cowboy_router">cowboy_router(3)</a></p>
+<p><a href="../ranch.stop_listener">ranch:stop_listener(3)</a>, <a href="../ranch.suspend_listener">ranch:suspend_listener(3)</a>, <a href="../ranch.resume_listener">ranch:resume_listener(3)</a>, <a href="../ranch">ranch(3)</a></p>
@@ -127,7 +130,7 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
+ Ranch
2.0
Function Reference
@@ -135,10 +138,10 @@ http://www.gnu.org/software/src-highlite -->
<ul>
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -150,21 +153,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/ranch/2.0/manual/ranch/index.html b/docs/en/ranch/2.0/manual/ranch/index.html
new file mode 100644
index 00000000..b0bfd9f7
--- /dev/null
+++ b/docs/en/ranch/2.0/manual/ranch/index.html
@@ -0,0 +1,305 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="">
+ <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
+
+ <title>Nine Nines: ranch(3)</title>
+
+ <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
+ <link href="/css/99s.css?r=5" rel="stylesheet">
+
+ <link rel="shortcut icon" href="/img/ico/favicon.ico">
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
+ <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
+
+
+</head>
+
+
+<body class="">
+ <header id="page-head">
+ <div id="topbar" class="container">
+ <div class="row">
+ <div class="span2">
+ <h1 id="logo"><a href="/" title="99s">99s</a></h1>
+ </div>
+ <div class="span10">
+
+ <div id="side-header">
+ <nav>
+ <ul>
+ <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
+ <li><a title="Watch my talks" href="/talks">Talks</a></li>
+ <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
+ <li><a title="Request my services" href="/services">Consulting & Training</a></li>
+ </ul>
+ </nav>
+ <ul id="social">
+ <li>
+ <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
+ </li>
+ <li>
+ <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+
+
+</header>
+
+<div id="contents" class="two_col">
+<div class="container">
+<div class="row">
+<div id="docs" class="span9 maincol">
+
+<h1 class="lined-header"><span>ranch(3)</span></h1>
+
+<h2 id="_name">Name</h2>
+<p>ranch - Socket acceptor pool</p>
+<h2 id="_description">Description</h2>
+<p>The module <code>ranch</code> provides functions for starting and manipulating Ranch listeners.</p>
+<h2 id="_exports">Exports</h2>
+<p>Start/stop:</p>
+<ul><li><a href="../ranch.start_listener">ranch:start_listener(3)</a> - Start a listener
+</li>
+<li><a href="../ranch.stop_listener">ranch:stop_listener(3)</a> - Stop a listener
+</li>
+<li><a href="../ranch.child_spec">ranch:child_spec(3)</a> - Build child specifications for a new listener
+</li>
+</ul>
+<p>Suspend/resume:</p>
+<ul><li><a href="../ranch.suspend_listener">ranch:suspend_listener(3)</a> - Suspend a running listener
+</li>
+<li><a href="../ranch.resume_listener">ranch:resume_listener(3)</a> - Resume a suspended listener
+</li>
+<li><a href="../ranch.get_status">ranch:get_status(3)</a> - Get a listener&apos;s running state
+</li>
+</ul>
+<p>Connections:</p>
+<ul><li><a href="../ranch.handshake">ranch:handshake(3)</a> - Perform the transport handshake
+</li>
+<li><a href="../ranch.recv_proxy_header">ranch:recv_proxy_header(3)</a> - Receive the PROXY protocol header
+</li>
+<li><a href="../ranch.remove_connection">ranch:remove_connection(3)</a> - Remove connection from the count
+</li>
+</ul>
+<p>Options:</p>
+<ul><li><a href="../ranch.get_max_connections">ranch:get_max_connections(3)</a> - Get the max number of connections per connection supervisor
+</li>
+<li><a href="../ranch.get_protocol_options">ranch:get_protocol_options(3)</a> - Get the current protocol options
+</li>
+<li><a href="../ranch.get_transport_options">ranch:get_transport_options(3)</a> - Get the current transport options
+</li>
+<li><a href="../ranch.set_max_connections">ranch:set_max_connections(3)</a> - Set the max number of connections per connection supervisor
+</li>
+<li><a href="../ranch.set_protocol_options">ranch:set_protocol_options(3)</a> - Set the protocol options
+</li>
+<li><a href="../ranch.set_transport_options">ranch:set_transport_options(3)</a> - Set the transport options
+</li>
+</ul>
+<p>Introspection:</p>
+<ul><li><a href="../ranch.get_addr">ranch:get_addr(3)</a> - Get the listening address
+</li>
+<li><a href="../ranch.get_port">ranch:get_port(3)</a> - Get the listening port
+</li>
+<li><a href="../ranch.info">ranch:info(3)</a> - Overview of Ranch listeners
+</li>
+<li><a href="../ranch.procs">ranch:procs(3)</a> - Retrieve pids from a listener
+</li>
+<li><a href="../ranch.wait_for_connections">ranch:wait_for_connections(3)</a> - Wait for a specific number of connections
+</li>
+</ul>
+<h2 id="_types">Types</h2>
+<h3 id="_max_conns">max_conns()</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">max_conns</font></b>() <font color="#990000">=</font> <b><font color="#000000">non_neg_integer</font></b>() | <font color="#FF6600">infinity</font></tt></pre>
+</div></div>
+<p>Maximum number of connections allowed per connection supervisor.</p>
+<p>This is a soft limit. The actual number of connections might be slightly above the limit due to concurrency when accepting new connections. Some connections may also be removed from this count explicitly by the user code.</p>
+<h3 id="_opts">opts()</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">opts</font></b>() <font color="#990000">=</font> <b><font color="#000000">any</font></b>() | <b><font color="#000000">transport_opts</font></b>(<b><font color="#000000">any</font></b>())</tt></pre>
+</div></div>
+<p>Transport or socket options.</p>
+<p>It is possible to give the full transport options in a map (see <code>transport_opts(SocketOpts)</code>), or only the socket options (assuming they are not a map and no Ranch-specific option needs to be given).</p>
+<h3 id="_ref">ref()</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">ref</font></b>() <font color="#990000">=</font> <b><font color="#000000">any</font></b>()</tt></pre>
+</div></div>
+<p>Unique name used to refer to a listener.</p>
+<h3 id="_transport_opts_socketopts">transport_opts(SocketOpts)</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">transport_opts</font></b>(<font color="#009900">SocketOpts</font>) <font color="#990000">=</font> #{
+ <font color="#0000FF">connection_type</font> <font color="#990000">=&gt;</font> <font color="#FF6600">worker</font> | <font color="#FF6600">supervisor</font>,
+ <font color="#0000FF">handshake_timeout</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>(),
+ <font color="#0000FF">max_connections</font> <font color="#990000">=&gt;</font> <b><font color="#000000">max_conns</font></b>(),
+ <font color="#0000FF">logger</font> <font color="#990000">=&gt;</font> <b><font color="#000000">module</font></b>(),
+ <font color="#0000FF">num_acceptors</font> <font color="#990000">=&gt;</font> <b><font color="#000000">pos_integer</font></b>(),
+ <font color="#0000FF">num_conns_sups</font> <font color="#990000">=&gt;</font> <b><font color="#000000">pos_integer</font></b>(),
+ <font color="#000080">shutdown</font> <font color="#990000">=&gt;</font> <b><font color="#000000">timeout</font></b>() | <font color="#FF6600">brutal_kill</font>,
+ <font color="#0000FF">socket_opts</font> <font color="#990000">=&gt;</font> <font color="#009900">SocketOpts</font>
+}</tt></pre>
+</div></div>
+<p>Transport options.</p>
+<p>The transport options are a combination of Ranch-specific options and transport-specific socket options.</p>
+<p>None of the options are required.</p>
+<dl><dt>connection_type (worker)</dt>
+<dd><p>Type of process that will handle the connection.</p>
+</dd>
+<dt>handshake_timeout (5000)</dt>
+<dd><p>Maximum allowed time for the <code>ranch:handshake/1,2</code> call to finish.</p>
+</dd>
+<dt>logger (logger)</dt>
+<dd><p>The module that will be used to write log messages.</p>
+</dd>
+<dt>max_connections (1024)</dt>
+<dd><p>Maximum number of active connections per connection supervisor. Soft limit. Use <code>infinity</code> to disable the limit entirely.</p>
+</dd>
+<dt>num_acceptors (10)</dt>
+<dd><p>Number of processes that accept connections.</p>
+</dd>
+<dt>num_conns_sups - see below</dt>
+<dd><p>Number of processes that supervise connection processes. If not specified, defaults to be equal to <code>num_acceptors</code>.</p>
+</dd>
+<dt>shutdown (5000)</dt>
+<dd><p>Maximum allowed time for children to stop on listener shutdown.</p>
+</dd>
+<dt>socket_opts</dt>
+<dd><p>Socket options to be used by <code>Transport:listen/1</code>. Please refer to the documentation of the transport module you are using for more details.</p>
+</dd>
+</dl>
+<h2 id="_changelog">Changelog</h2>
+<ul><li><strong>2.0</strong>: The type <code>transport_opts(SocketOpts)</code> was added.
+</li>
+<li><strong>2.0</strong>: The function <code>ranch:accept_ack/1</code> was removed in favor of <a href="../ranch.handshake">ranch:handshake(3)</a>.
+</li>
+<li><strong>2.0</strong>: The option <code>max_connections</code> is now per connection supervisor.
+</li>
+<li><strong>2.0</strong>: The <code>num_conns_sup</code> option was added.
+</li>
+<li><strong>2.0</strong>: The <code>socket</code> option was removed.
+</li>
+<li><strong>2.0</strong>: The <code>logger</code> option is no longer experimental. It now defaults to <code>logger</code> instead of <code>error_logger</code>.
+</li>
+<li><strong>2.0</strong>: The <code>opt()</code> type was removed.
+</li>
+<li><strong>1.6</strong>: The experimental <code>logger</code> option was added.
+</li>
+<li><strong>1.6</strong>: The <code>opt()</code> type was deprecated in favor of the new <code>opts()</code> type.
+</li>
+</ul>
+<h2 id="_see_also">See also</h2>
+<p><a href="../ranch_app">ranch(7)</a></p>
+
+
+
+
+
+
+</div>
+
+<div class="span3 sidecol">
+
+
+<h3>
+ Ranch
+ 2.0
+ Function Reference
+
+</h3>
+
+<ul>
+
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
+
+
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
+
+
+</ul>
+
+<h4 id="docs-nav">Navigation</h4>
+
+<h4>Version select</h4>
+<ul>
+
+
+
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
+
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
+
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
+
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
+
+</ul>
+
+<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
+<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
+<input type="hidden" name="cmd" value="_donations">
+<input type="hidden" name="business" value="[email protected]">
+<input type="hidden" name="lc" value="FR">
+<input type="hidden" name="item_name" value="Loic Hoguin">
+<input type="hidden" name="item_number" value="99s">
+<input type="hidden" name="currency_code" value="EUR">
+<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
+<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
+<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
+</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
+
+
+
+</div>
+</div>
+</div>
+</div>
+
+ <footer>
+ <div class="container">
+ <div class="row">
+ <div class="span6">
+ <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
+ <nav>
+ <ul>
+ <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
+ </ul>
+ </nav>
+ </div>
+ <div class="span6 credits">
+ <p><img src="/img/footer_logo.png"></p>
+ <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
+ </div>
+ </div>
+ </div>
+ </footer>
+
+
+ <script src="/js/custom.js"></script>
+ </body>
+</html>
+
+
diff --git a/docs/en/ranch/1.3/manual/ranch_app/index.html b/docs/en/ranch/2.0/manual/ranch_app/index.html
index 1d315c58..1fadb80c 100644
--- a/docs/en/ranch/1.3/manual/ranch_app/index.html
+++ b/docs/en/ranch/2.0/manual/ranch_app/index.html
@@ -63,16 +63,49 @@
<h1 class="lined-header"><span>ranch(7)</span></h1>
<h2 id="_name">Name</h2>
-<p>ranch - Socket acceptor pool for TCP protocols.</p>
+<p>ranch - Socket acceptor pool for TCP protocols</p>
+<h2 id="_description">Description</h2>
+<p>Ranch is a socket acceptor pool for TCP protocols.</p>
+<p>Ranch manages listeners which are a set of processes that accept and manage connections. The connection&apos;s transport and protocol modules are configured per listener. Listeners can be inspected and reconfigured without interruptions in service.</p>
+<h2 id="_modules">Modules</h2>
+<p>Functions:</p>
+<ul><li><a href="../ranch">ranch(3)</a> - Socket acceptor pool
+</li>
+<li><a href="../ranch_proxy_header">ranch_proxy_header(3)</a> - PROXY protocol
+</li>
+</ul>
+<p>Transports:</p>
+<ul><li><a href="../ranch_ssl">ranch_ssl(3)</a> - SSL transport
+</li>
+<li><a href="../ranch_tcp">ranch_tcp(3)</a> - TCP transport
+</li>
+</ul>
+<p>Behaviors:</p>
+<ul><li><a href="../ranch_protocol">ranch_protocol(3)</a> - Protocol modules
+</li>
+<li><a href="../ranch_transport">ranch_transport(3)</a> - Transport modules
+</li>
+</ul>
<h2 id="_dependencies">Dependencies</h2>
-<p>The <code>ranch</code> application depends on the <code>ssl</code> application to start. It is used for handling secure connections, when the transport is <code>ranch_ssl</code>. It can be disabled if SSL is not used.</p>
+<ul><li>ssl - Secure communication over sockets
+</li>
+</ul>
+<p>All these applications must be started before the <code>ranch</code> application. To start Ranch and all dependencies at once:</p>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">application:ensure_all_started</font></b>(<font color="#FF6600">ranch</font>)<font color="#990000">.</font></tt></pre>
+</div></div>
<h2 id="_environment">Environment</h2>
<p>The <code>ranch</code> application defines one application environment configuration parameter.</p>
<dl><dt>profile (false)</dt>
<dd><p>When enabled, Ranch will start <code>eprof</code> profiling automatically.</p>
+<p>You can use the <code>ranch_app:profile_output/0</code> function to stop profiling and output the results to the files <em>procs.profile</em> and <em>total.profile</em>. Do not use in production.</p>
</dd>
</dl>
-<p>You can use the <code>ranch_app:profile_output/0</code> function to stop profiling and output the results to the files <em>procs.profile</em> and <em>total.profile</em>. Do not use in production.</p>
+<h2 id="_see_also">See also</h2>
+<p>ssl(7)</p>
@@ -86,17 +119,17 @@
<h3>
Ranch
- 1.3
+ 2.0
Function Reference
</h3>
<ul>
- <li><a href="/docs/en/ranch/1.3/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -108,6 +141,8 @@
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -116,10 +151,6 @@
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.2/manual/ranch_protocol/index.html b/docs/en/ranch/2.0/manual/ranch_protocol/index.html
index c4a76feb..536386f8 100644
--- a/docs/en/ranch/1.2/manual/ranch_protocol/index.html
+++ b/docs/en/ranch/2.0/manual/ranch_protocol/index.html
@@ -63,31 +63,34 @@
<h1 class="lined-header"><span>ranch_protocol(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>ranch_protocol - behaviour for protocol modules</p>
+<p>ranch_protocol - Protocol modules</p>
<h2 id="_description">Description</h2>
-<p>The <code>ranch_protocol</code> behaviour defines the interface used by Ranch protocols.</p>
-<h2 id="_types">Types</h2>
-<p>None.</p>
+<p>The module <code>ranch_protocol</code> defines the interface used by Ranch protocols.</p>
<h2 id="_callbacks">Callbacks</h2>
-<h3 id="_start_link_ref__socket__transport__protoopts______ok__pid_______ok__pid____pid">start_link(Ref, Socket, Transport, ProtoOpts) -&gt; {ok, pid()} | {ok, pid(), pid()}</h3>
-<dl><dt>Ref = ranch:ref()</dt>
-<dd><p>Listener name.</p>
-</dd>
-<dt>Socket = any()</dt>
-<dd><p>Socket for this connection.</p>
-</dd>
-<dt>Transport = module()</dt>
-<dd><p>Transport module for this socket.</p>
-</dd>
-<dt>ProtoOpts = any()</dt>
-<dd><p>Protocol options.</p>
-</dd>
-</dl>
-<p>Start a new connection process for the given socket.</p>
+<p>Ranch protocols implement the following interface:</p>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">start_link</font></b>(<font color="#009900">Ref</font> <font color="#990000">::</font> <b><font color="#000000">ranch:ref</font></b>(),
+ <font color="#009900">Transport</font> <font color="#990000">::</font> <b><font color="#000000">module</font></b>(),
+ <font color="#009900">ProtoOpts</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>())
+ <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">ConnPid</font> <font color="#990000">::</font> <b><font color="#000080">pid</font></b>()}
+ | {<font color="#FF6600">ok</font>, <font color="#009900">SupPid</font> <font color="#990000">::</font> <b><font color="#000080">pid</font></b>(), <font color="#009900">ConnPid</font> <font color="#990000">::</font> <b><font color="#000080">pid</font></b>()}</tt></pre>
+</div></div>
+<p>Start a new connection process.</p>
<p>The only purpose of this callback is to start a process that will handle the socket. It must spawn the process, link and then return the new pid. This function will always be called from inside a supervisor.</p>
<p>This callback can also return two pids. The first pid is the pid of the process that will be supervised. The second pid is the pid of the process that will receive ownership of the socket. This second process must be a child of the first. This form is only available when <code>connection_type</code> is set to <code>supervisor</code>.</p>
<p>If any other value is returned, the supervisor will close the socket and assume no process has been started.</p>
<p>Do not perform any operations in this callback, as this would block the supervisor responsible for starting connection processes and degrade performance severely.</p>
+<h2 id="_changelog">Changelog</h2>
+<ul><li><strong>2.0</strong>: The second argument <code>Socket</code> was removed.
+</li>
+<li><strong>1.6</strong>: The second argument <code>Socket</code> was deprecated. Call <a href="../ranch.handshake">ranch:handshake(3)</a> to obtain the socket.
+</li>
+</ul>
+<h2 id="_see_also">See also</h2>
+<p><a href="../ranch.handshake">ranch:handshake(3)</a>, <a href="../ranch_app">ranch(7)</a></p>
@@ -101,17 +104,17 @@
<h3>
Ranch
- 1.2
+ 2.0
Function Reference
</h3>
<ul>
- <li><a href="/docs/en/ranch/1.2/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/ranch/1.2/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -123,6 +126,8 @@
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -131,10 +136,6 @@
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.header/index.html b/docs/en/ranch/2.0/manual/ranch_proxy_header.header/index.html
index b38817c9..3c58e99b 100644
--- a/docs/en/cowboy/2.0/manual/cowboy_req.header/index.html
+++ b/docs/en/ranch/2.0/manual/ranch_proxy_header.header/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy_req:header(3)</title>
+ <title>Nine Nines: ranch_proxy_header:header(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,68 +60,71 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy_req:header(3)</span></h1>
+<h1 class="lined-header"><span>ranch_proxy_header:header(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy_req:header - HTTP header</p>
+<p>ranch_proxy_header:header - Build a PROXY protocol header</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>, <font color="#000080">undefined</font>)
-<b><font color="#000000">header</font></b>(<font color="#009900">Name</font>, <font color="#009900">Req</font>, <font color="#009900">Default</font>) <font color="#990000">-&gt;</font> <b><font color="#000080">binary</font></b>() | <font color="#009900">Default</font>
-
-<font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% lowercase; case insensitive</font></i>
-<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()
-<font color="#009900">Default</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
-</div></div>
-<p>Return the value for the given HTTP header.</p>
-<p>The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</p>
-<p>Headers can also be obtained using pattern matching:</p>
-<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt>#{<font color="#FF6600">headers</font> <font color="#990000">:=</font> #{<font color="#009900">Name</font> <font color="#990000">:=</font> <font color="#009900">Value</font>}} <font color="#990000">=</font> <font color="#009900">Req</font><font color="#990000">.</font></tt></pre>
+<pre><tt><b><font color="#000000">header</font></b>(<font color="#009900">ProxyInfo</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">header</font></b>(<font color="#009900">ProxyInfo</font>, #{})
+<b><font color="#000000">header</font></b>(<font color="#009900">ProxyInfo</font>, <font color="#009900">BuildOpts</font>) <font color="#990000">-&gt;</font> <b><font color="#000000">iodata</font></b>()
+
+<font color="#009900">ProxyInfo</font> <font color="#990000">::</font> <b><font color="#000000">ranch_proxy_header:proxy_info</font></b>()
+<font color="#009900">BuildOpts</font> <font color="#990000">::</font> #{
+ <font color="#0000FF">checksum</font> <font color="#990000">=&gt;</font> <font color="#FF6600">crc32c</font>,
+ <font color="#0000FF">padding</font> <font color="#990000">=&gt;</font> <b><font color="#000000">pos_integer</font></b>() <i><font color="#9A1900">%% &gt;= 3</font></i>
+}</tt></pre>
</div></div>
-<p>Note that this snippet will crash if the header is missing.</p>
+<p>Build a PROXY protocol header.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Name</dt>
-<dd><p>Desired HTTP header name as a lowercase binary string.</p>
+<dl><dt>ProxyInfo</dt>
+<dd><p>The proxy information to encode.</p>
</dd>
-<dt>Req</dt>
-<dd><p>The Req object.</p>
-</dd>
-<dt>Default</dt>
-<dd><p>Default value returned when the header is missing.</p>
+<dt>BuildOpts</dt>
+<dd><p>Options to control whether to add a checksum or padding should be included in the encoded PROXY protocol header.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
-<p>The header value is returned as a binary string. When the header is missing, the default argument is returned.</p>
+<p>The PROXY protocol header is returned.</p>
<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the header value is returned, it is no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
+<ul><li><strong>1.7</strong>: Function introduced.
</li>
</ul>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the accept header</div>
+<div class="listingblock"><div class="title">Build a PROXY protocol header</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Accept</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"accept"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt><font color="#009900">ProxyInfo</font> <font color="#990000">=</font> #{
+ <font color="#0000FF">version</font> <font color="#990000">=&gt;</font> <font color="#993399">2</font>,
+ <b><font color="#000080">command</font></b> <font color="#990000">=&gt;</font> <font color="#FF6600">proxy</font>,
+
+ <font color="#0000FF">transport_family</font> <font color="#990000">=&gt;</font> <font color="#FF6600">ipv4</font>,
+ <font color="#0000FF">transport_protocol</font> <font color="#990000">=&gt;</font> <font color="#FF6600">stream</font>,
+
+ <font color="#0000FF">src_address</font> <font color="#990000">=&gt;</font> {<font color="#993399">192</font>, <font color="#993399">168</font>, <font color="#993399">1</font>, <font color="#993399">11</font>},
+ <font color="#0000FF">src_port</font> <font color="#990000">=&gt;</font> <font color="#993399">54321</font>,
+ <font color="#0000FF">dest_address</font> <font color="#990000">=&gt;</font> {<font color="#993399">192</font>, <font color="#993399">168</font>, <font color="#993399">1</font>, <font color="#993399">42</font>},
+ <font color="#0000FF">dest_port</font> <font color="#990000">=&gt;</font> <font color="#993399">443</font>
+},
+<font color="#009900">Data</font> <font color="#990000">=</font> <b><font color="#000000">ranch_proxy_header:parse</font></b>(<font color="#009900">ProxyInfo</font>)<font color="#990000">.</font></tt></pre>
</div></div>
-<div class="listingblock"><div class="title">Get the content-length header with a default value</div>
+<div class="listingblock"><div class="title">Build a PROXY protocol header with checksum and padding</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">Length</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:header</font></b>(<font color="#990000">&lt;&lt;</font><font color="#FF0000">"content-length"</font><font color="#990000">&gt;&gt;</font>, <font color="#009900">Req</font>, <font color="#990000">&lt;&lt;</font><font color="#FF0000">"0"</font><font color="#990000">&gt;&gt;</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt><font color="#009900">Data</font> <font color="#990000">=</font> <b><font color="#000000">ranch_proxy_header:parse</font></b>(<font color="#009900">ProxyInfo</font>, #{
+ <font color="#0000FF">checksum</font> <font color="#990000">=&gt;</font> <font color="#FF6600">crc32c</font>,
+ <font color="#0000FF">padding</font> <font color="#990000">=&gt;</font> <font color="#993399">7</font>
+})<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.headers">cowboy_req:headers(3)</a>, <a href="../cowboy_req.parse_header">cowboy_req:parse_header(3)</a></p>
+<p><a href="../ranch_proxy_header.header">ranch_proxy_header:header(3)</a>, <a href="../ranch_proxy_header">ranch_proxy_header(3)</a></p>
@@ -134,7 +137,7 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
+ Ranch
2.0
Function Reference
@@ -142,10 +145,10 @@ http://www.gnu.org/software/src-highlite -->
<ul>
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -157,21 +160,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.host_info/index.html b/docs/en/ranch/2.0/manual/ranch_proxy_header.parse/index.html
index a13ef26d..19a855dc 100644
--- a/docs/en/cowboy/2.0/manual/cowboy_req.host_info/index.html
+++ b/docs/en/ranch/2.0/manual/ranch_proxy_header.parse/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy_req:host_info(3)</title>
+ <title>Nine Nines: ranch_proxy_header:parse(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,42 +60,42 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy_req:host_info(3)</span></h1>
+<h1 class="lined-header"><span>ranch_proxy_header:parse(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy_req:host_info - Access the route&apos;s heading host segments</p>
+<p>ranch_proxy_header:parse - Parse a PROXY protocol header</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">host_info</font></b>(<font color="#009900">Req</font> <font color="#990000">::</font> <b><font color="#000000">cowboy_req:req</font></b>()) <font color="#990000">-&gt;</font> <b><font color="#000000">cowboy_router:tokens</font></b>()</tt></pre>
+<pre><tt><b><font color="#000000">parse</font></b>(<font color="#009900">Data</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>())
+ <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <b><font color="#000000">ranch_proxy_header:proxy_info</font></b>(), <font color="#009900">Rest</font> <font color="#990000">::</font> <b><font color="#000080">binary</font></b>()}
+ | {<font color="#FF6600">error</font>, <font color="#009900">HumanReadable</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>()}</tt></pre>
</div></div>
-<p>Return the tokens for the heading host segments.</p>
-<p>This is the part of the host name that was matched using the <code>...</code> notation.</p>
+<p>Parse a PROXY protocol header.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Req</dt>
-<dd><p>The Req object.</p>
+<dl><dt>Data</dt>
+<dd><p>The PROXY protocol header optionally followed by more data.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
-<p>The tokens are returned as a list of case insensitive binary strings.</p>
+<p>An <code>ok</code> tuple is returned on success, containing the proxy information found in the header and the rest of the data if more was provided.</p>
+<p>An <code>error</code> tuple is returned when a protocol error is detected. It contains a human readable message about the error.</p>
<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Only the tokens are returned, they are no longer wrapped in a tuple.
-</li>
-<li><strong>1.0</strong>: Function introduced.
+<ul><li><strong>1.7</strong>: Function introduced.
</li>
</ul>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Get the host_info tokens</div>
+<div class="listingblock"><div class="title">Parse the PROXY protocol header</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><font color="#009900">HostInfo</font> <font color="#990000">=</font> <b><font color="#000000">cowboy_req:host_info</font></b>(<font color="#009900">Req</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt>{<font color="#FF6600">ok</font> <font color="#009900">ProxyInfo</font>, <font color="#009900">Rest</font>} <font color="#990000">=</font> <b><font color="#000000">ranch_proxy_header:parse</font></b>(<font color="#009900">Data</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_req">cowboy_req(3)</a>, <a href="../cowboy_req.binding">cowboy_req:binding(3)</a>, <a href="../cowboy_req.bindings">cowboy_req:bindings(3)</a>, <a href="../cowboy_req.path_info">cowboy_req:path_info(3)</a>, <a href="../cowboy_router">cowboy_router(3)</a></p>
+<p><a href="../ranch_proxy_header.header">ranch_proxy_header:header(3)</a>, <a href="../ranch_proxy_header">ranch_proxy_header(3)</a></p>
@@ -108,7 +108,7 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
+ Ranch
2.0
Function Reference
@@ -116,10 +116,10 @@ http://www.gnu.org/software/src-highlite -->
<ul>
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -131,21 +131,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/ranch/2.0/manual/ranch_proxy_header/index.html b/docs/en/ranch/2.0/manual/ranch_proxy_header/index.html
new file mode 100644
index 00000000..431ceaa6
--- /dev/null
+++ b/docs/en/ranch/2.0/manual/ranch_proxy_header/index.html
@@ -0,0 +1,274 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="">
+ <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
+
+ <title>Nine Nines: ranch_proxy_header(3)</title>
+
+ <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
+ <link href="/css/99s.css?r=5" rel="stylesheet">
+
+ <link rel="shortcut icon" href="/img/ico/favicon.ico">
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
+ <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
+
+
+</head>
+
+
+<body class="">
+ <header id="page-head">
+ <div id="topbar" class="container">
+ <div class="row">
+ <div class="span2">
+ <h1 id="logo"><a href="/" title="99s">99s</a></h1>
+ </div>
+ <div class="span10">
+
+ <div id="side-header">
+ <nav>
+ <ul>
+ <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
+ <li><a title="Watch my talks" href="/talks">Talks</a></li>
+ <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
+ <li><a title="Request my services" href="/services">Consulting & Training</a></li>
+ </ul>
+ </nav>
+ <ul id="social">
+ <li>
+ <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
+ </li>
+ <li>
+ <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+
+
+</header>
+
+<div id="contents" class="two_col">
+<div class="container">
+<div class="row">
+<div id="docs" class="span9 maincol">
+
+<h1 class="lined-header"><span>ranch_proxy_header(3)</span></h1>
+
+<h2 id="_name">Name</h2>
+<p>ranch_proxy_header - PROXY protocol</p>
+<h2 id="_description">Description</h2>
+<p>The module <code>ranch_proxy_header</code> provides functions for parsing and building the PROXY protocol header.</p>
+<h2 id="_exports">Exports</h2>
+<ul><li><a href="../ranch_proxy_header.parse">ranch_proxy_header:parse(3)</a> - Parse a PROXY protocol header
+</li>
+<li><a href="../ranch_proxy_header.header">ranch_proxy_header:header(3)</a> - Build a PROXY protocol header
+</li>
+</ul>
+<h2 id="_types">Types</h2>
+<h3 id="_proxy_info">proxy_info()</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">proxy_info</font></b>() <font color="#990000">=</font> #{
+ <i><font color="#9A1900">%% Mandatory part.</font></i>
+ <font color="#FF6600">version</font> <font color="#990000">:=</font> <font color="#993399">1</font> | <font color="#993399">2</font>,
+ <font color="#FF6600">command</font> <font color="#990000">:=</font> <font color="#FF6600">local</font> | <font color="#FF6600">proxy</font>,
+ <font color="#0000FF">transport_family</font> <font color="#990000">=&gt;</font> <font color="#000080">undefined</font> | <font color="#FF6600">ipv4</font> | <font color="#FF6600">ipv6</font> | <font color="#FF6600">unix</font>,
+ <font color="#0000FF">transport_protocol</font> <font color="#990000">=&gt;</font> <font color="#000080">undefined</font> | <font color="#FF6600">stream</font> | <font color="#FF6600">dgram</font>,
+
+ <i><font color="#9A1900">%% Addresses.</font></i>
+ <font color="#0000FF">src_address</font> <font color="#990000">=&gt;</font> <b><font color="#000000">inet:ip_address</font></b>() | <b><font color="#000080">binary</font></b>(),
+ <font color="#0000FF">src_port</font> <font color="#990000">=&gt;</font> <b><font color="#000000">inet:port_number</font></b>(),
+ <font color="#0000FF">dest_address</font> <font color="#990000">=&gt;</font> <b><font color="#000000">inet:ip_address</font></b>() | <b><font color="#000080">binary</font></b>(),
+ <font color="#0000FF">dest_port</font> <font color="#990000">=&gt;</font> <b><font color="#000000">inet:port_number</font></b>(),
+
+ <i><font color="#9A1900">%% Extra TLV-encoded data.</font></i>
+ <font color="#0000FF">alpn</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% US-ASCII.</font></i>
+ <font color="#0000FF">authority</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% UTF-8.</font></i>
+ <font color="#0000FF">netns</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% US-ASCII.</font></i>
+ <font color="#0000FF">ssl</font> <font color="#990000">=&gt;</font> #{
+ <font color="#FF6600">client</font> <font color="#990000">:=</font> [<font color="#FF6600">ssl</font> | <font color="#FF6600">cert_conn</font> | <font color="#FF6600">cert_sess</font>],
+ <font color="#FF6600">verified</font> <font color="#990000">:=</font> <b><font color="#000000">boolean</font></b>(),
+ <font color="#0000FF">version</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% US-ASCII.</font></i>
+ <font color="#0000FF">cipher</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% US-ASCII.</font></i>
+ <font color="#0000FF">sig_alg</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% US-ASCII.</font></i>
+ <font color="#0000FF">key_alg</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>(), <i><font color="#9A1900">%% US-ASCII.</font></i>
+ <font color="#0000FF">cn</font> <font color="#990000">=&gt;</font> <b><font color="#000080">binary</font></b>() <i><font color="#9A1900">%% UTF-8.</font></i>
+ },
+
+ <i><font color="#9A1900">%% Unknown TLVs can't be parsed so the raw data is given.</font></i>
+ <font color="#0000FF">raw_tlvs</font> <font color="#990000">=&gt;</font> [{<font color="#993399">0</font><font color="#990000">..</font><font color="#993399">255</font>, <b><font color="#000080">binary</font></b>()}]
+}<font color="#990000">.</font></tt></pre>
+</div></div>
+<p>The PROXY protocol information.</p>
+<p>The following fields may be found, although most of them are optional:</p>
+<dl><dt>version</dt>
+<dd><p>The PROXY protocol version used.</p>
+</dd>
+<dt>command</dt>
+<dd><p><code>proxy</code> is used for proxied connections. <code>local</code> for non-proxied connections. Those do not have any additional information.</p>
+</dd>
+<dt>transport_family</dt>
+<dd><p>The transport family of the original connection.</p>
+</dd>
+<dt>transport_protocol</dt>
+<dd><p>The transport protocol of the original connection.</p>
+</dd>
+<dt>src_address</dt>
+<dd><p>The source address of the original connection. This is the original address of the client.</p>
+</dd>
+<dt>src_port</dt>
+<dd><p>The source port of the original connection. This is the port the client opened on its end for the connection. It is not defined for UNIX domain sockets.</p>
+</dd>
+<dt>dest_address</dt>
+<dd><p>The destination address of the original connection.</p>
+</dd>
+<dt>dest_port</dt>
+<dd><p>The destination port of the original connection. It is not defined for UNIX domain sockets.</p>
+</dd>
+<dt>alpn</dt>
+<dd><p>The upper layer protocol in use over the connection. This is typically negotiated via the ALPN extension for TLS.</p>
+</dd>
+<dt>authority</dt>
+<dd><p>The host name serving as authority for the connection. This is typically passed using the SNI extension for TLS.</p>
+</dd>
+<dt>netns</dt>
+<dd><p>The namespace&apos;s name for the original connection.</p>
+</dd>
+<dt>ssl</dt>
+<dd><p>Various informations pertaining to the original SSL/TLS connection.</p>
+<dl><dt>client</dt>
+<dd><p>A list containing a number of flags. <code>ssl</code> indicates that the client connected over SSL/TLS. <code>cert_conn</code> indicates that the client provided a certificate over the original connection. <code>cert_sess</code> indicates that the client provided a certificate at least once over the TLS session this connection belongs to.</p>
+</dd>
+<dt>verified</dt>
+<dd><p>Whether the client presented a certificate and it was successfully verified.</p>
+</dd>
+<dt>version</dt>
+<dd><p>The US-ASCII string containing the SSL/TLS version used for the original connection.</p>
+</dd>
+<dt>cipher</dt>
+<dd><p>The US-ASCII string name of the cipher used.</p>
+</dd>
+<dt>sig_alg</dt>
+<dd><p>The US-ASCII string name of the algorithm used to sign the certificate provided by the client.</p>
+</dd>
+<dt>key_alg</dt>
+<dd><p>The US-ASCII string name of the algorithm used to generate the key of the certificate provided by the client.</p>
+</dd>
+<dt>cn</dt>
+<dd><p>The UTF-8 string representation of the Common Name field of the client certificate&apos;s Distinguished Name.</p>
+</dd>
+</dl>
+</dd>
+<dt>raw_tlvs</dt>
+<dd><p>The non-standard TLVs that Ranch was not able to parse.</p>
+</dd>
+</dl>
+<h2 id="_changelog">Changelog</h2>
+<ul><li><strong>1.7</strong>: Module introduced.
+</li>
+</ul>
+<h2 id="_see_also">See also</h2>
+<p><a href="../ranch_app">ranch(7)</a></p>
+
+
+
+
+
+
+</div>
+
+<div class="span3 sidecol">
+
+
+<h3>
+ Ranch
+ 2.0
+ Function Reference
+
+</h3>
+
+<ul>
+
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
+
+
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
+
+
+</ul>
+
+<h4 id="docs-nav">Navigation</h4>
+
+<h4>Version select</h4>
+<ul>
+
+
+
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
+
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
+
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
+
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
+
+</ul>
+
+<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
+<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
+<input type="hidden" name="cmd" value="_donations">
+<input type="hidden" name="business" value="[email protected]">
+<input type="hidden" name="lc" value="FR">
+<input type="hidden" name="item_name" value="Loic Hoguin">
+<input type="hidden" name="item_number" value="99s">
+<input type="hidden" name="currency_code" value="EUR">
+<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
+<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
+<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
+</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
+
+
+
+</div>
+</div>
+</div>
+</div>
+
+ <footer>
+ <div class="container">
+ <div class="row">
+ <div class="span6">
+ <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
+ <nav>
+ <ul>
+ <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
+ </ul>
+ </nav>
+ </div>
+ <div class="span6 credits">
+ <p><img src="/img/footer_logo.png"></p>
+ <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
+ </div>
+ </div>
+ </div>
+ </footer>
+
+
+ <script src="/js/custom.js"></script>
+ </body>
+</html>
+
+
diff --git a/docs/en/ranch/1.3/manual/ranch_ssl/index.html b/docs/en/ranch/2.0/manual/ranch_ssl/index.html
index a28d2f61..dfc087ae 100644
--- a/docs/en/ranch/1.3/manual/ranch_ssl/index.html
+++ b/docs/en/ranch/2.0/manual/ranch_ssl/index.html
@@ -63,63 +63,82 @@
<h1 class="lined-header"><span>ranch_ssl(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>ranch_ssl - SSL transport module</p>
+<p>ranch_ssl - SSL transport</p>
<h2 id="_description">Description</h2>
-<p>The <code>ranch_ssl</code> module implements an SSL Ranch transport.</p>
+<p>The module <code>ranch_ssl</code> implements an SSL Ranch transport.</p>
+<h2 id="_exports">Exports</h2>
+<p>The module <code>ranch_ssl</code> implements the interface defined by <a href="../ranch_transport">ranch_transport(3)</a>.</p>
<h2 id="_types">Types</h2>
+<h3 id="_opt">opt()</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">opt</font></b>() <font color="#990000">::</font> <b><font color="#000000">ranch_tcp:opt</font></b>() | <b><font color="#000000">ssl_opt</font></b>()</tt></pre>
+</div></div>
+<p>Listen options.</p>
+<p>The TCP options are defined in <a href="../ranch_tcp">ranch_tcp(3)</a>.</p>
+<h3 id="_opts">opts()</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">opts</font></b>() <font color="#990000">::</font> [<b><font color="#000000">opt</font></b>()]</tt></pre>
+</div></div>
+<p>List of listen options.</p>
<h3 id="_ssl_opt">ssl_opt()</h3>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><b><font color="#000000">ssl_opt</font></b>() <font color="#990000">=</font> {<font color="#FF6600">alpn_preferred_protocols</font>, [<b><font color="#000080">binary</font></b>()]}
- | {<font color="#FF6600">beast_mitigation</font>, <font color="#FF6600">one_n_minus_one</font> | <font color="#FF6600">zero_n</font> | <font color="#FF6600">disabled</font>}
- | {<font color="#FF6600">cacertfile</font>, <b><font color="#000000">string</font></b>()}
- | {<font color="#FF6600">cacerts</font>, [<b><font color="#000000">public_key:der_encoded</font></b>()]}
- | {<font color="#FF6600">cert</font>, <b><font color="#000000">public_key:der_encoded</font></b>()}
- | {<font color="#FF6600">certfile</font>, <b><font color="#000000">string</font></b>()}
- | {<font color="#FF6600">ciphers</font>, [<b><font color="#000000">ssl:erl_cipher_suite</font></b>()] | <b><font color="#000000">string</font></b>()}
- | {<font color="#FF6600">client_renegotiation</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">crl_cache</font>, {<b><font color="#000000">module</font></b>(), {<font color="#FF6600">internal</font> | <b><font color="#000000">any</font></b>(), <b><font color="#000080">list</font></b>()}}}
- | {<font color="#FF6600">crl_check</font>, <b><font color="#000000">boolean</font></b>() | <font color="#FF6600">peer</font> | <font color="#FF6600">best_effort</font>}
- | {<font color="#FF6600">depth</font>, <font color="#993399">0</font><font color="#990000">..</font><font color="#993399">255</font>}
- | {<font color="#FF6600">dh</font>, <b><font color="#000000">public_key:der_encoded</font></b>()}
- | {<font color="#FF6600">dhfile</font>, <b><font color="#000000">string</font></b>()}
- | {<font color="#FF6600">fail_if_no_peer_cert</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">hibernate_after</font>, <b><font color="#000080">integer</font></b>() | <font color="#000080">undefined</font>}
- | {<font color="#FF6600">honor_cipher_order</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">key</font>, {<font color="#FF6600">'RSAPrivateKey'</font> | <font color="#FF6600">'DSAPrivateKey'</font> | <font color="#FF6600">'PrivateKeyInfo'</font>, <b><font color="#000000">public_key:der_encoded</font></b>()}}
- | {<font color="#FF6600">keyfile</font>, <b><font color="#000000">string</font></b>()}
- | {<font color="#FF6600">log_alert</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">next_protocols_advertised</font>, [<b><font color="#000080">binary</font></b>()]}
- | {<font color="#FF6600">padding_check</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">partial_chain</font>, <b><font color="#0000FF">fun</font></b>(([<b><font color="#000000">public_key:der_encoded</font></b>()]) <font color="#990000">-&gt;</font> {<font color="#FF6600">trusted_ca</font>, <b><font color="#000000">public_key:der_encoded</font></b>()} | <font color="#FF6600">unknown_ca</font>)}
- | {<font color="#FF6600">password</font>, <b><font color="#000000">string</font></b>()}
- | {<font color="#FF6600">psk_identity</font>, <b><font color="#000000">string</font></b>()}
- | {<font color="#FF6600">reuse_session</font>, <b><font color="#0000FF">fun</font></b>()}
- | {<font color="#FF6600">reuse_sessions</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">secure_renegotiate</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">signature_algs</font>, [{<b><font color="#000080">atom</font></b>(), <b><font color="#000080">atom</font></b>()}]}
- | {<font color="#FF6600">sni_fun</font>, <b><font color="#0000FF">fun</font></b>()}
- | {<font color="#FF6600">sni_hosts</font>, [{<b><font color="#000000">string</font></b>(), <b><font color="#000000">ssl_opt</font></b>()}]}
- | {<font color="#FF6600">user_lookup_fun</font>, {<b><font color="#0000FF">fun</font></b>(), <b><font color="#000000">any</font></b>()}}
- | {<font color="#FF6600">v2_hello_compatible</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">verify</font>, <b><font color="#000000">ssl:verify_type</font></b>()}
- | {<font color="#FF6600">verify_fun</font>, {<b><font color="#0000FF">fun</font></b>(), <b><font color="#000000">any</font></b>()}}
- | {<font color="#FF6600">versions</font>, [<b><font color="#000080">atom</font></b>()]}<font color="#990000">.</font></tt></pre>
+ | {<font color="#FF6600">beast_mitigation</font>, <font color="#FF6600">one_n_minus_one</font> | <font color="#FF6600">zero_n</font> | <font color="#FF6600">disabled</font>}
+ | {<font color="#FF6600">cacertfile</font>, <b><font color="#000000">file:filename</font></b>()}
+ | {<font color="#FF6600">cacerts</font>, [<b><font color="#000000">public_key:der_encoded</font></b>()]}
+ | {<font color="#FF6600">cert</font>, <b><font color="#000000">public_key:der_encoded</font></b>()}
+ | {<font color="#FF6600">certfile</font>, <b><font color="#000000">file:filename</font></b>()}
+ | {<font color="#FF6600">ciphers</font>, <b><font color="#000000">ssl:ciphers</font></b>()}
+ | {<font color="#FF6600">client_renegotiation</font>, <b><font color="#000000">boolean</font></b>()}
+ | {<font color="#FF6600">crl_cache</font>, [<b><font color="#000000">any</font></b>()]}
+ | {<font color="#FF6600">crl_check</font>, <b><font color="#000000">boolean</font></b>() | <font color="#FF6600">peer</font> | <font color="#FF6600">best_effort</font>}
+ | {<font color="#FF6600">depth</font>, <b><font color="#000080">integer</font></b>()}
+ | {<font color="#FF6600">dh</font>, <b><font color="#000080">binary</font></b>()}
+ | {<font color="#FF6600">dhfile</font>, <b><font color="#000000">file:filename</font></b>()}
+ | {<font color="#FF6600">eccs</font>, [<b><font color="#000080">atom</font></b>()]}
+ | {<font color="#FF6600">fail_if_no_peer_cert</font>, <b><font color="#000000">boolean</font></b>()}
+ | {<font color="#FF6600">hibernate_after</font>, <b><font color="#000000">timeout</font></b>()}
+ | {<font color="#FF6600">honor_cipher_order</font>, <b><font color="#000000">boolean</font></b>()}
+ | {<font color="#FF6600">honor_ecc_order</font>, <b><font color="#000000">boolean</font></b>()}
+ | {<font color="#FF6600">key</font>, <b><font color="#000000">ssl:key</font></b>()}
+ | {<font color="#FF6600">keyfile</font>, <b><font color="#000000">file:filename</font></b>()}
+ | {<font color="#FF6600">log_alert</font>, <b><font color="#000000">boolean</font></b>()}
+ | {<font color="#FF6600">log_level</font>, <b><font color="#000000">logger:level</font></b>()}
+ | {<font color="#FF6600">max_handshake_size</font>, <b><font color="#000080">integer</font></b>()}
+ | {<font color="#FF6600">next_protocols_advertised</font>, [<b><font color="#000080">binary</font></b>()]}
+ | {<font color="#FF6600">padding_check</font>, <b><font color="#000000">boolean</font></b>()}
+ | {<font color="#FF6600">partial_chain</font>, <b><font color="#0000FF">fun</font></b>()}
+ | {<font color="#FF6600">password</font>, <b><font color="#000000">string</font></b>()}
+ | {<font color="#FF6600">protocol</font>, <font color="#FF6600">tls</font> | <font color="#FF6600">dtls</font>}
+ | {<font color="#FF6600">psk_identity</font>, <b><font color="#000000">string</font></b>()}
+ | {<font color="#FF6600">reuse_session</font>, <b><font color="#0000FF">fun</font></b>()}
+ | {<font color="#FF6600">reuse_sessions</font>, <b><font color="#000000">boolean</font></b>()}
+ | {<font color="#FF6600">secure_renegotiate</font>, <b><font color="#000000">boolean</font></b>()}
+ | {<font color="#FF6600">signature_algs</font>, [{<b><font color="#000000">ssl:hash</font></b>(), <b><font color="#000000">ssl:sign_algo</font></b>()}]}
+ | {<font color="#FF6600">signature_algs_cert</font>, [<b><font color="#000080">atom</font></b>()]}
+ | {<font color="#FF6600">sni_fun</font>, <b><font color="#0000FF">fun</font></b>()}
+ | {<font color="#FF6600">sni_hosts</font>, [{<b><font color="#000000">string</font></b>(), <b><font color="#000000">ssl_opt</font></b>()}]}
+ | {<font color="#FF6600">user_lookup_fun</font>, {<b><font color="#0000FF">fun</font></b>(), <b><font color="#000000">any</font></b>()}}
+ | {<font color="#FF6600">verify</font>, <font color="#FF6600">verify_none</font> | <font color="#FF6600">verify_peer</font>}
+ | {<font color="#FF6600">verify_fun</font>, {<b><font color="#0000FF">fun</font></b>(), <b><font color="#000000">any</font></b>()}}
+ | {<font color="#FF6600">versions</font>, [<b><font color="#000000">ssl:protocol_version</font></b>()]}</tt></pre>
</div></div>
<p>SSL-specific listen options.</p>
-<h3 id="_opt_____ranch_tcp_opt_____ssl_opt">opt() = ranch_tcp:opt() | ssl_opt()</h3>
-<p>Listen options.</p>
-<h3 id="_opts______opt">opts() = [opt()]</h3>
-<p>List of listen options.</p>
-<h2 id="_option_descriptions">Option descriptions</h2>
-<p>Specifying a certificate is mandatory, either through the <code>cert</code> or the <code>certfile</code> option. None of the other options are required.</p>
-<p>The default value is given next to the option name.</p>
+<p>Specifying a certificate is mandatory, either through the <code>cert</code> or <code>certfile</code> option, or by configuring SNI. None of the other options are required.</p>
+<p>The default value is given next to the option name:</p>
<dl><dt>alpn_preferred_protocols</dt>
<dd><p>Perform Application-Layer Protocol Negotiation with the given list of preferred protocols.</p>
</dd>
-<dt>beast_mitigation</dt>
+<dt>beast_mitigation (one_n_minus_one)</dt>
<dd><p>Change the BEAST mitigation strategy for SSL-3.0 and TLS-1.0 to interoperate with legacy software.</p>
</dd>
<dt>cacertfile</dt>
@@ -155,6 +174,9 @@ http://www.gnu.org/software/src-highlite -->
<dt>dhfile</dt>
<dd><p>Path to the PEM encoded Diffie-Hellman parameters file.</p>
</dd>
+<dt>eccs</dt>
+<dd><p>List of named ECC curves.</p>
+</dd>
<dt>fail_if_no_peer_cert (false)</dt>
<dd><p>Whether to refuse the connection if the client sends an empty certificate.</p>
</dd>
@@ -164,21 +186,27 @@ http://www.gnu.org/software/src-highlite -->
<dt>honor_cipher_order (false)</dt>
<dd><p>If true, use the server&apos;s preference for cipher selection. If false, use the client&apos;s preference.</p>
</dd>
+<dt>honor_ecc_order (false)</dt>
+<dd><p>If true, use the server&apos;s preference for ECC curve selection. If false, use the client&apos;s preference.</p>
+</dd>
<dt>key</dt>
<dd><p>DER encoded user private key.</p>
</dd>
<dt>keyfile</dt>
-<dd><p>Path to the PEM encoded private key file, if different than the certfile.</p>
+<dd><p>Path to the PEM encoded private key file, if different from the certfile.</p>
</dd>
<dt>log_alert (true)</dt>
<dd><p>If false, error reports will not be displayed.</p>
</dd>
+<dt>log_level</dt>
+<dd><p>Specifies the log level for TLS/DTLS.</p>
+</dd>
+<dt>max_handshake_size (256*1024)</dt>
+<dd><p>Used to limit the size of valid TLS handshake packets to avoid DoS attacks.</p>
+</dd>
<dt>next_protocols_advertised</dt>
<dd><p>List of protocols to send to the client if it supports the Next Protocol extension.</p>
</dd>
-<dt>nodelay (true)</dt>
-<dd><p>Whether to enable TCP_NODELAY.</p>
-</dd>
<dt>padding_check</dt>
<dd><p>Allow disabling the block cipher padding check for TLS-1.0 to be able to interoperate with legacy software.</p>
</dd>
@@ -188,6 +216,9 @@ http://www.gnu.org/software/src-highlite -->
<dt>password</dt>
<dd><p>Password to the private key file, if password protected.</p>
</dd>
+<dt>protocol (tls)</dt>
+<dd><p>Choose TLS or DTLS protocol for the transport layer security.</p>
+</dd>
<dt>psk_identity</dt>
<dd><p>Provide the given PSK identity hint to the client during the handshake.</p>
</dd>
@@ -203,6 +234,9 @@ http://www.gnu.org/software/src-highlite -->
<dt>signature_algs</dt>
<dd><p>The TLS signature algorithm extension may be used, from TLS 1.2, to negotiate which signature algorithm to use during the TLS handshake.</p>
</dd>
+<dt>signature_algs_cert</dt>
+<dd><p>List of signature schemes for the signature_algs_cert extension introduced in TLS 1.3, in order to make special requirements on signatures used in certificates.</p>
+</dd>
<dt>sni_fun</dt>
<dd><p>Function called when the client requests a host using Server Name Indication. Returns options to apply.</p>
</dd>
@@ -212,9 +246,6 @@ http://www.gnu.org/software/src-highlite -->
<dt>user_lookup_fun</dt>
<dd><p>Function called to determine the shared secret when using PSK, or provide parameters when using SRP.</p>
</dd>
-<dt>v2_hello_compatible</dt>
-<dd><p>Accept clients that send hello messages in SSL-2.0 format while offering supported SSL/TLS versions.</p>
-</dd>
<dt>verify (verify_none)</dt>
<dd><p>Use <code>verify_peer</code> to request a certificate from the client.</p>
</dd>
@@ -225,10 +256,14 @@ http://www.gnu.org/software/src-highlite -->
<dd><p>TLS protocol versions that will be supported.</p>
</dd>
</dl>
-<p>Note that the client will not send a certificate unless the value for the <code>verify</code> option is set to <code>verify_peer</code>. This means that the <code>fail_if_no_peer_cert</code> only apply when combined with the <code>verify</code> option. The <code>verify_fun</code> option allows greater control over the client certificate validation.</p>
+<p>Note that the client will not send a certificate unless the value for the <code>verify</code> option is set to <code>verify_peer</code>. This means that <code>fail_if_no_peer_cert</code> only applies when combined with the <code>verify</code> option. The <code>verify_fun</code> option allows greater control over the client certificate validation.</p>
<p>The options <code>sni_fun</code> and <code>sni_hosts</code> are mutually exclusive.</p>
-<h2 id="_exports">Exports</h2>
-<p>None.</p>
+<h2 id="_changelog">Changelog</h2>
+<ul><li><strong>2.0</strong>: The <code>ssl_opt()</code> type was updated for OTP-22.0.
+</li>
+</ul>
+<h2 id="_see_also">See also</h2>
+<p><a href="../ranch_app">ranch(7)</a>, <a href="../ranch_transport">ranch_transport(3)</a>, <a href="../ranch_tcp">ranch_tcp(3)</a>, ssl(3)</p>
@@ -242,17 +277,17 @@ http://www.gnu.org/software/src-highlite -->
<h3>
Ranch
- 1.3
+ 2.0
Function Reference
</h3>
<ul>
- <li><a href="/docs/en/ranch/1.3/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -264,6 +299,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -272,10 +309,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/ranch/1.3/manual/ranch_tcp/index.html b/docs/en/ranch/2.0/manual/ranch_tcp/index.html
index e178372d..901f3565 100644
--- a/docs/en/ranch/1.3/manual/ranch_tcp/index.html
+++ b/docs/en/ranch/2.0/manual/ranch_tcp/index.html
@@ -63,10 +63,12 @@
<h1 class="lined-header"><span>ranch_tcp(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>ranch_tcp - TCP transport module</p>
+<p>ranch_tcp - TCP transport</p>
<h2 id="_description">Description</h2>
-<p>The <code>ranch_tcp</code> module implements a TCP Ranch transport.</p>
-<p>Note that due to bugs in OTP up to at least R16B02, it is recommended to disable async threads when using the <code>sendfile</code> function of this transport, as it can make the threads stuck indefinitely.</p>
+<p>The module <code>ranch_tcp</code> implements a TCP Ranch transport.</p>
+<p>The function <code>sendfile</code> may not work correctly when used against files stored in a VirtualBox shared folder.</p>
+<h2 id="_exports">Exports</h2>
+<p>The module <code>ranch_tcp</code> implements the interface defined by <a href="../ranch_transport">ranch_transport(3)</a>.</p>
<h2 id="_types">Types</h2>
<h3 id="_opt">opt()</h3>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
@@ -74,38 +76,35 @@ by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><b><font color="#000000">opt</font></b>() <font color="#990000">=</font> {<font color="#FF6600">backlog</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | {<font color="#FF6600">buffer</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | {<font color="#FF6600">delay_send</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">dontroute</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">exit_on_close</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">fd</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | {<font color="#FF6600">high_msgq_watermark</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | {<font color="#FF6600">high_watermark</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | <font color="#FF6600">inet</font>
- | <font color="#FF6600">inet6</font>
- | {<font color="#FF6600">ip</font>, <b><font color="#000000">inet:ip_address</font></b>()}
- | {<font color="#FF6600">ipv6_v6only</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">keepalive</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">linger</font>, {<b><font color="#000000">boolean</font></b>(), <b><font color="#000000">non_neg_integer</font></b>()}}
- | {<font color="#FF6600">low_msgq_watermark</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | {<font color="#FF6600">low_watermark</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | {<font color="#FF6600">nodelay</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">port</font>, <b><font color="#000000">inet:port_number</font></b>()}
- | {<b><font color="#000080">priority</font></b>, <b><font color="#000080">integer</font></b>()}
- | {<font color="#FF6600">raw</font>, <b><font color="#000000">non_neg_integer</font></b>(), <b><font color="#000000">non_neg_integer</font></b>(), <b><font color="#000080">binary</font></b>()}
- | {<font color="#FF6600">recbuf</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | {<font color="#FF6600">send_timeout</font>, <b><font color="#000000">timeout</font></b>()}
- | {<font color="#FF6600">send_timeout_close</font>, <b><font color="#000000">boolean</font></b>()}
- | {<font color="#FF6600">sndbuf</font>, <b><font color="#000000">non_neg_integer</font></b>()}
- | {<font color="#FF6600">tos</font>, <b><font color="#000080">integer</font></b>()}</tt></pre>
+ | {<font color="#FF6600">buffer</font>, <b><font color="#000000">non_neg_integer</font></b>()}
+ | {<font color="#FF6600">delay_send</font>, <b><font color="#000000">boolean</font></b>()}
+ | {<font color="#FF6600">dontroute</font>, <b><font color="#000000">boolean</font></b>()}
+ | {<font color="#FF6600">exit_on_close</font>, <b><font color="#000000">boolean</font></b>()}
+ | {<font color="#FF6600">fd</font>, <b><font color="#000000">non_neg_integer</font></b>()}
+ | {<font color="#FF6600">high_msgq_watermark</font>, <b><font color="#000000">non_neg_integer</font></b>()}
+ | {<font color="#FF6600">high_watermark</font>, <b><font color="#000000">non_neg_integer</font></b>()}
+ | <font color="#FF6600">inet</font>
+ | <font color="#FF6600">inet6</font>
+ | {<font color="#FF6600">ip</font>, <b><font color="#000000">inet:ip_address</font></b>() | <b><font color="#000000">inet:local_address</font></b>()}
+ | {<font color="#FF6600">ipv6_v6only</font>, <b><font color="#000000">boolean</font></b>()}
+ | {<font color="#FF6600">keepalive</font>, <b><font color="#000000">boolean</font></b>()}
+ | {<font color="#FF6600">linger</font>, {<b><font color="#000000">boolean</font></b>(), <b><font color="#000000">non_neg_integer</font></b>()}}
+ | {<font color="#FF6600">low_msgq_watermark</font>, <b><font color="#000000">non_neg_integer</font></b>()}
+ | {<font color="#FF6600">low_watermark</font>, <b><font color="#000000">non_neg_integer</font></b>()}
+ | {<font color="#FF6600">nodelay</font>, <b><font color="#000000">boolean</font></b>()}
+ | {<font color="#FF6600">port</font>, <b><font color="#000000">inet:port_number</font></b>()}
+ | {<b><font color="#000080">priority</font></b>, <b><font color="#000080">integer</font></b>()}
+ | {<font color="#FF6600">raw</font>, <b><font color="#000000">non_neg_integer</font></b>(), <b><font color="#000000">non_neg_integer</font></b>(), <b><font color="#000080">binary</font></b>()}
+ | {<font color="#FF6600">recbuf</font>, <b><font color="#000000">non_neg_integer</font></b>()}
+ | {<font color="#FF6600">send_timeout</font>, <b><font color="#000000">timeout</font></b>()}
+ | {<font color="#FF6600">send_timeout_close</font>, <b><font color="#000000">boolean</font></b>()}
+ | {<font color="#FF6600">sndbuf</font>, <b><font color="#000000">non_neg_integer</font></b>()}
+ | {<font color="#FF6600">tos</font>, <b><font color="#000080">integer</font></b>()}</tt></pre>
</div></div>
<p>Listen options.</p>
-<p>This does not represent the entirety of the options that can be set on the socket, but only the options that may be set independently of protocol implementation.</p>
-<h3 id="_opts______opt">opts() = [opt()]</h3>
-<p>List of listen options.</p>
-<h2 id="_option_descriptions">Option descriptions</h2>
+<p>Note that additional options may be set by the protocol module using <code>Transport:setopts/2</code>.</p>
<p>None of the options are required.</p>
-<p>Please consult the <code>gen_tcp</code> and <code>inet</code> manuals for a more thorough description of these options. This manual only aims to provide a short description along with what the defaults are. Defaults may be different in Ranch compared to <code>gen_tcp</code>. Defaults are given next to the option name.</p>
+<p>Please consult the <code>gen_tcp</code> and <code>inet</code> manuals for a more thorough description of these options. This manual only aims to provide a short description along with what the defaults are. Defaults may be different in Ranch compared to <code>gen_tcp</code>. Defaults are given next to the option name:</p>
<dl><dt>backlog (1024)</dt>
<dd><p>Max length of the queue of pending connections.</p>
</dd>
@@ -113,7 +112,7 @@ http://www.gnu.org/software/src-highlite -->
<dd><p>Size of the buffer used by the Erlang driver. Default is system-dependent.</p>
</dd>
<dt>delay_send (false)</dt>
-<dd><p>Always queue packets before sending, to send fewer, larger packets over the network.</p>
+<dd><p>Always queue data before sending, to send fewer, larger packets over the network.</p>
</dd>
<dt>dontroute (false)</dt>
<dd><p>Don&apos;t send via a gateway, only send to directly connected hosts.</p>
@@ -125,7 +124,7 @@ http://www.gnu.org/software/src-highlite -->
<dd><p>File descriptor of the socket, if it was opened externally.</p>
</dd>
<dt>high_msgq_watermark (8192)</dt>
-<dd><p>Limit in the amount of data in the socket message queue before the socket queue becomes busy.</p>
+<dd><p>Limit in the amount of data in the socket message queue before the queue becomes busy.</p>
</dd>
<dt>high_watermark (8192)</dt>
<dd><p>Limit in the amount of data in the ERTS socket implementation&apos;s queue before the socket becomes busy.</p>
@@ -137,9 +136,11 @@ http://www.gnu.org/software/src-highlite -->
<dd><p>Set up the socket for IPv6.</p>
</dd>
<dt>ip</dt>
-<dd><p>Interface to listen on. Listen on all interfaces by default.</p>
+<dd><p>Interface to listen on. Listen on all network interfaces by default.</p>
</dd>
-<dt>ipv6_v6only (false)</dt>
+</dl>
+<p>On UNIX systems, it is also possible to use a UNIX Domain socket file by specifying <code>{local, SocketFile}</code>.</p>
+<dl><dt>ipv6_v6only (false)</dt>
<dd><p>Listen on IPv4 and IPv6 (false) or only on IPv6 (true). Use with inet6.</p>
</dd>
<dt>keepalive (false)</dt>
@@ -149,7 +150,7 @@ http://www.gnu.org/software/src-highlite -->
<dd><p>Whether to wait and how long to flush data sent before closing the socket.</p>
</dd>
<dt>low_msgq_watermark (4096)</dt>
-<dd><p>Amount of data in the socket message queue before the socket queue leaves busy state.</p>
+<dd><p>Amount of data in the socket message queue before the queue leaves busy state.</p>
</dd>
<dt>low_watermark (4096)</dt>
<dd><p>Amount of data in the ERTS socket implementation&apos;s queue before the socket leaves busy state.</p>
@@ -161,7 +162,7 @@ http://www.gnu.org/software/src-highlite -->
<dd><p>TCP port number to listen on. 0 means a random port will be used.</p>
</dd>
<dt>priority (0)</dt>
-<dd><p>Priority value for all packets to be sent by this socket.</p>
+<dd><p>Priority value for all packets to be sent on this socket.</p>
</dd>
<dt>recbuf</dt>
<dd><p>Minimum size of the socket&apos;s receive buffer. Default is system-dependent.</p>
@@ -180,8 +181,16 @@ http://www.gnu.org/software/src-highlite -->
</dd>
</dl>
<p>In addition, the <code>raw</code> option can be used to set system-specific options by specifying the protocol level, the option number and the actual option value specified as a binary. This option is not portable. Use with caution.</p>
-<h2 id="_exports">Exports</h2>
-<p>None.</p>
+<h3 id="_opts">opts()</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">opts</font></b>() <font color="#990000">::</font> [<b><font color="#000000">opt</font></b>()]</tt></pre>
+</div></div>
+<p>List of listen options.</p>
+<h2 id="_see_also">See also</h2>
+<p><a href="../ranch_app">ranch(7)</a>, <a href="../ranch_transport">ranch_transport(3)</a>, <a href="../ranch_ssl">ranch_ssl(3)</a>, gen_tcp(3), inet(3)</p>
@@ -195,17 +204,17 @@ http://www.gnu.org/software/src-highlite -->
<h3>
Ranch
- 1.3
+ 2.0
Function Reference
</h3>
<ul>
- <li><a href="/docs/en/ranch/1.3/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -217,6 +226,8 @@ http://www.gnu.org/software/src-highlite -->
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
<li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
<li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
@@ -225,10 +236,6 @@ http://www.gnu.org/software/src-highlite -->
<li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
- <li><a href="/docs/en/ranch/1.3/manual">1.3</a></li>
-
- <li><a href="/docs/en/ranch/1.2/manual">1.2</a></li>
-
</ul>
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
diff --git a/docs/en/cowboy/2.0/manual/cowboy_handler.terminate/index.html b/docs/en/ranch/2.0/manual/ranch_transport.sendfile/index.html
index aff05180..984042c2 100644
--- a/docs/en/cowboy/2.0/manual/cowboy_handler.terminate/index.html
+++ b/docs/en/ranch/2.0/manual/ranch_transport.sendfile/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <title>Nine Nines: cowboy_handler:terminate(3)</title>
+ <title>Nine Nines: ranch_transport:sendfile(3)</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="/css/99s.css?r=5" rel="stylesheet">
@@ -60,55 +60,71 @@
<div class="row">
<div id="docs" class="span9 maincol">
-<h1 class="lined-header"><span>cowboy_handler:terminate(3)</span></h1>
+<h1 class="lined-header"><span>ranch_transport:sendfile(3)</span></h1>
<h2 id="_name">Name</h2>
-<p>cowboy_handler:terminate - Terminate the handler</p>
+<p>ranch_transport:sendfile - Send a file on the socket</p>
<h2 id="_description">Description</h2>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">terminate</font></b>(<font color="#009900">Reason</font>, <font color="#009900">PartialReq</font>, <font color="#009900">State</font>, <font color="#009900">Handler</font>) <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font>
-
-<font color="#009900">Reason</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">PartialReq</font> <font color="#990000">::</font> <b><font color="#000000">map</font></b>()
-<font color="#009900">State</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()
-<font color="#009900">Handler</font> <font color="#990000">::</font> <b><font color="#000000">module</font></b>()</tt></pre>
+<pre><tt><b><font color="#000000">sendfile</font></b>(<font color="#009900">Transport</font> <font color="#990000">::</font> <b><font color="#000000">module</font></b>(),
+ <font color="#009900">Socket</font> <font color="#990000">::</font> <b><font color="#000000">ranch_transport:socket</font></b>(),
+ <font color="#009900">File</font> <font color="#990000">::</font> <b><font color="#000000">file:name_all</font></b>() | <b><font color="#000000">file:fd</font></b>(),
+ <font color="#009900">Offset</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>(),
+ <font color="#009900">Bytes</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>(),
+ <font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">ranch_transport:sendfile_opts</font></b>())
+ <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">SentBytes</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>()} | {<font color="#FF6600">error</font>, <b><font color="#000080">atom</font></b>()}</tt></pre>
</div></div>
-<p>Call the optional terminate callback if it is defined.</p>
-<p>Make sure to use this function at the end of the execution of modules that implement custom handler behaviors.</p>
+<p>Send a file on the socket.</p>
+<p>The file may be sent full or in parts, and may be specified by its filename or by an already open file descriptor.</p>
+<p>This function emulates the function <code>file:sendfile/2,4,5</code> and may be used when transports are not manipulating TCP directly.</p>
<h2 id="_arguments">Arguments</h2>
-<dl><dt>Reason</dt>
-<dd><p>Reason for termination.</p>
+<dl><dt>Transport</dt>
+<dd><p>The transport module.</p>
+</dd>
+<dt>Socket</dt>
+<dd><p>The socket.</p>
</dd>
-<dt>PartialReq</dt>
-<dd><p>The Req object.</p>
-<p>It is possible to remove fields from the Req object to save memory when the handler has no concept of requests/responses. The only requirement is that a map is provided.</p>
+<dt>File</dt>
+<dd><p>The filename or file descriptor for the file to be sent.</p>
</dd>
-<dt>State</dt>
-<dd><p>Handler state.</p>
+<dt>Offset</dt>
+<dd><p>Start position in the file, in bytes.</p>
</dd>
-<dt>Handler</dt>
-<dd><p>Handler module.</p>
+<dt>Bytes</dt>
+<dd><p>Length in bytes.</p>
+</dd>
+<dt>Opts</dt>
+<dd><p>Additional options.</p>
</dd>
</dl>
<h2 id="_return_value">Return value</h2>
-<p>The atom <code>ok</code> is always returned. It can be safely ignored.</p>
+<p>The number of bytes actually sent is returned on success inside an <code>ok</code> tuple.</p>
+<p>An <code>error</code> tuple is returned otherwise.</p>
<h2 id="_changelog">Changelog</h2>
-<ul><li><strong>2.0</strong>: Function introduced.
+<ul><li><strong>1.6</strong>: The type of the <code>File</code> argument was extended.
</li>
</ul>
<h2 id="_examples">Examples</h2>
-<div class="listingblock"><div class="title">Terminate a handler normally</div>
+<div class="listingblock"><div class="title">Implement Transport:sendfile using the fallback</div>
<div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt><b><font color="#000000">cowboy_handler:terminate</font></b>(<b><font color="#000080">normal</font></b>, <font color="#009900">Req</font>, <font color="#009900">State</font>, <font color="#009900">Handler</font>)<font color="#990000">.</font></tt></pre>
+<pre><tt><b><font color="#000000">sendfile</font></b>(<font color="#009900">Socket</font>, <font color="#009900">Filename</font>) <font color="#990000">-&gt;</font>
+ <b><font color="#000000">sendfile</font></b>(<font color="#009900">Socket</font>, <font color="#009900">Filename</font>, <font color="#993399">0</font>, <font color="#993399">0</font>, [])<font color="#990000">.</font>
+
+<b><font color="#000000">sendfile</font></b>(<font color="#009900">Socket</font>, <font color="#009900">File</font>, <font color="#009900">Offset</font>, <font color="#009900">Bytes</font>) <font color="#990000">-&gt;</font>
+ <b><font color="#000000">sendfile</font></b>(<font color="#009900">Socket</font>, <font color="#009900">File</font>, <font color="#009900">Offset</font>, <font color="#009900">Bytes</font>, [])<font color="#990000">.</font>
+
+<b><font color="#000000">sendfile</font></b>(<font color="#009900">Socket</font>, <font color="#009900">File</font>, <font color="#009900">Offset</font>, <font color="#009900">Bytes</font>, <font color="#009900">Opts</font>) <font color="#990000">-&gt;</font>
+ <b><font color="#000000">ranch_transport:sendfile</font></b>(<b><font color="#000080">?MODULE</font></b>, <font color="#009900">Socket</font>,
+ <font color="#009900">File</font>, <font color="#009900">Offset</font>, <font color="#009900">Bytes</font>, <font color="#009900">Opts</font>)<font color="#990000">.</font></tt></pre>
</div></div>
<h2 id="_see_also">See also</h2>
-<p><a href="../cowboy_handler">cowboy_handler(3)</a></p>
+<p><a href="../ranch_transport">ranch_transport(3)</a></p>
@@ -121,7 +137,7 @@ http://www.gnu.org/software/src-highlite -->
<h3>
- Cowboy
+ Ranch
2.0
Function Reference
@@ -129,10 +145,10 @@ http://www.gnu.org/software/src-highlite -->
<ul>
- <li><a href="/docs/en/cowboy/2.0/guide">User Guide</a></li>
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">Function Reference</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
</ul>
@@ -144,21 +160,15 @@ http://www.gnu.org/software/src-highlite -->
- <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li>
-
- <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li>
-
- <li><a href="/docs/en/cowboy/2.4/manual">2.4</a></li>
-
- <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
- <li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
- <li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
- <li><a href="/docs/en/cowboy/2.0/manual">2.0</a></li>
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
- <li><a href="/docs/en/cowboy/1.0/manual">1.0</a></li>
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
</ul>
diff --git a/docs/en/ranch/2.0/manual/ranch_transport/index.html b/docs/en/ranch/2.0/manual/ranch_transport/index.html
new file mode 100644
index 00000000..3bdb9f4c
--- /dev/null
+++ b/docs/en/ranch/2.0/manual/ranch_transport/index.html
@@ -0,0 +1,392 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="description" content="">
+ <meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
+
+ <title>Nine Nines: ranch_transport(3)</title>
+
+ <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic' rel='stylesheet' type='text/css'>
+ <link href="/css/99s.css?r=5" rel="stylesheet">
+
+ <link rel="shortcut icon" href="/img/ico/favicon.ico">
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/ico/apple-touch-icon-114.png">
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/ico/apple-touch-icon-72.png">
+ <link rel="apple-touch-icon-precomposed" href="/img/ico/apple-touch-icon-57.png">
+
+
+</head>
+
+
+<body class="">
+ <header id="page-head">
+ <div id="topbar" class="container">
+ <div class="row">
+ <div class="span2">
+ <h1 id="logo"><a href="/" title="99s">99s</a></h1>
+ </div>
+ <div class="span10">
+
+ <div id="side-header">
+ <nav>
+ <ul>
+ <li><a title="Hear my thoughts" href="/articles">Articles</a></li>
+ <li><a title="Watch my talks" href="/talks">Talks</a></li>
+ <li class="active"><a title="Read the docs" href="/docs">Documentation</a></li>
+ <li><a title="Request my services" href="/services">Consulting & Training</a></li>
+ </ul>
+ </nav>
+ <ul id="social">
+ <li>
+ <a href="https://github.com/ninenines" title="Check my Github repositories"><img src="/img/ico_github.png" data-hover="/img/ico_github_alt.png" alt="Github"></a>
+ </li>
+ <li>
+ <a title="Contact me" href="mailto:[email protected]"><img src="/img/ico_mail.png" data-hover="/img/ico_mail_alt.png"></a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+
+
+</header>
+
+<div id="contents" class="two_col">
+<div class="container">
+<div class="row">
+<div id="docs" class="span9 maincol">
+
+<h1 class="lined-header"><span>ranch_transport(3)</span></h1>
+
+<h2 id="_name">Name</h2>
+<p>ranch_transport - Transport modules</p>
+<h2 id="_description">Description</h2>
+<p>The module <code>ranch_transport</code> defines the interface used by Ranch transports.</p>
+<h2 id="_callbacks">Callbacks</h2>
+<p>Ranch transports implement the following interface:</p>
+<h3 id="_accept">accept</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">accept</font></b>(<font color="#009900">LSocket</font> <font color="#990000">::</font> <b><font color="#000000">socket</font></b>(), <font color="#009900">Timeout</font> <font color="#990000">::</font> <b><font color="#000000">timeout</font></b>())
+ <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Socket</font> <font color="#990000">::</font> <b><font color="#000000">socket</font></b>()}
+ | {<font color="#FF6600">error</font>, <font color="#FF6600">closed</font> | <font color="#FF6600">timeout</font> | <b><font color="#000080">atom</font></b>()}</tt></pre>
+</div></div>
+<p>Use the listening socket returned by <code>listen/1</code> to accept a new connection. The timeout is specified in milliseconds.</p>
+<h3 id="_close">close</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">close</font></b>(<font color="#009900">Socket</font> <font color="#990000">::</font> <b><font color="#000000">socket</font></b>()) <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font></tt></pre>
+</div></div>
+<p>Close the socket.</p>
+<h3 id="_controlling_process">controlling_process</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">controlling_process</font></b>(<font color="#009900">Socket</font> <font color="#990000">::</font> <b><font color="#000000">socket</font></b>(), <font color="#009900">Pid</font> <font color="#990000">::</font> <b><font color="#000080">pid</font></b>())
+ <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> | {<font color="#FF6600">error</font>, <font color="#FF6600">closed</font> | <font color="#FF6600">not_owner</font> | <b><font color="#000080">atom</font></b>()}</tt></pre>
+</div></div>
+<p>Assign a new controlling process to the socket. The controlling process is the process that is linked to and receives messages from the socket.</p>
+<h3 id="_getopts">getopts</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">getopts</font></b>(<font color="#009900">Socket</font> <font color="#990000">::</font> <b><font color="#000000">socket</font></b>(), <font color="#009900">SockOpts</font> <font color="#990000">::</font> [<b><font color="#000080">atom</font></b>()])
+ <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <b><font color="#000000">any</font></b>()} | {<font color="#FF6600">error</font>, <b><font color="#000080">atom</font></b>()}</tt></pre>
+</div></div>
+<p>Get one or more options for the socket.</p>
+<h3 id="_getstat">getstat</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">getstat</font></b>(<font color="#009900">Socket</font> <font color="#990000">::</font> <b><font color="#000000">socket</font></b>())
+ <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">SockStatValues</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()} | {<font color="#FF6600">error</font>, <b><font color="#000080">atom</font></b>()}</tt></pre>
+</div></div>
+<p>Get all statistics for the socket.</p>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">getstat</font></b>(<font color="#009900">Socket</font> <font color="#990000">::</font> <b><font color="#000000">socket</font></b>(), <font color="#009900">SockStats</font> <font color="#990000">::</font> [<b><font color="#000080">atom</font></b>()])
+ <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">SockStatValues</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()} | {<font color="#FF6600">error</font>, <b><font color="#000080">atom</font></b>()}</tt></pre>
+</div></div>
+<p>Get one or more statistic options for the socket.</p>
+<h3 id="_handshake">handshake</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">handshake</font></b>(<font color="#009900">Socket0</font> <font color="#990000">::</font> <b><font color="#000000">socket</font></b>(),
+ <font color="#009900">SockOpts</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>(),
+ <font color="#009900">Timeout</font> <font color="#990000">::</font> <b><font color="#000000">timeout</font></b>())
+ <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Socket</font>}</tt></pre>
+</div></div>
+<p>Perform the transport-level handshake.</p>
+<p>This function will be called by connection processes before performing any socket operation. It allows transports that require extra initialization to perform their task and return a socket that is ready to use.</p>
+<p>This function may also be used to upgrade a connection from a transport to another depending on the capabilities of the transports. For example a <code>ranch_tcp</code> socket may be upgraded to a <code>ranch_ssl</code> one using this function.</p>
+<h3 id="_listen">listen</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">listen</font></b>(<font color="#009900">TransportOpts</font> <font color="#990000">::</font> <b><font color="#000000">ranch:transport_opts</font></b>(<b><font color="#000000">any</font></b>()))
+ <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">LSocket</font> <font color="#990000">::</font> <b><font color="#000000">socket</font></b>()} | {<font color="#FF6600">error</font>, <b><font color="#000080">atom</font></b>()}</tt></pre>
+</div></div>
+<p>Create a socket that listens on the port given in the socket options.</p>
+<p>The port may not be specified or may be set to 0, which means a random available port number will be chosen.</p>
+<h3 id="_messages">messages</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">messages</font></b>()
+ <font color="#990000">-&gt;</font> {<font color="#009900">OK</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>(),
+ <font color="#009900">Closed</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>(),
+ <font color="#009900">Error</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>(),
+ <font color="#009900">Passive</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>()}</tt></pre>
+</div></div>
+<p>Return the tuple keys for the messages sent by the socket.</p>
+<h3 id="_name">name</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000080">name</font></b>() <font color="#990000">-&gt;</font> <font color="#009900">Name</font> <font color="#990000">::</font> <b><font color="#000080">atom</font></b>()</tt></pre>
+</div></div>
+<p>Return the name of the transport.</p>
+<h3 id="_peername">peername</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">peername</font></b>(<font color="#009900">Socket</font> <font color="#990000">::</font> <b><font color="#000000">socket</font></b>())
+ <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, {<b><font color="#000000">inet:ip_address</font></b>(), <b><font color="#000000">inet:port_number</font></b>()}}
+ | {<font color="#FF6600">local</font>, <b><font color="#000080">binary</font></b>()} | {<font color="#FF6600">error</font>, <b><font color="#000080">atom</font></b>()}<font color="#990000">.</font></tt></pre>
+</div></div>
+<p>Return the address and port number for the other end of the connection.</p>
+<p>For UNIX Domain sockets the return value will be <code>{local, PeerSocket}</code>, with <code>PeerSocket</code> typically an empty binary.</p>
+<h3 id="_recv">recv</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">recv</font></b>(<font color="#009900">Socket</font> <font color="#990000">::</font> <b><font color="#000000">socket</font></b>(),
+ <font color="#009900">Length</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>(),
+ <font color="#009900">Timeout</font> <font color="#990000">::</font> <b><font color="#000000">timeout</font></b>())
+ <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">Packet</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>()}
+ | {<font color="#FF6600">error</font>, <font color="#FF6600">closed</font> | <font color="#FF6600">timeout</font> | <b><font color="#000080">atom</font></b>()}</tt></pre>
+</div></div>
+<p>Receive a packet from the socket in passive mode.</p>
+<p>Attempting to receive data from a socket that is in active mode will return an error.</p>
+<p>A length of 0 will return the data available on the socket as soon as possible, regardless of length.</p>
+<p>While it is possible to use the timeout value <code>infinity</code>, it is highly discouraged as it could cause your process to get stuck waiting for data that will never come. This may happen when a socket becomes half-open due to a crash of the remote endpoint. Wi-Fi going down is another common culprit.</p>
+<h3 id="_secure">secure</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">secure</font></b>() <font color="#990000">-&gt;</font> <b><font color="#000000">boolean</font></b>()</tt></pre>
+</div></div>
+<p>Return whether the transport can be used for secure connections.</p>
+<h3 id="_send">send</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">send</font></b>(<font color="#009900">Socket</font> <font color="#990000">::</font> <b><font color="#000000">socket</font></b>(), <font color="#009900">Packet</font> <font color="#990000">::</font> <b><font color="#000000">iodata</font></b>())
+ <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> | {<font color="#FF6600">error</font>, <b><font color="#000080">atom</font></b>()}</tt></pre>
+</div></div>
+<p>Send a packet on the socket.</p>
+<h3 id="_sendfile">sendfile</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">sendfile</font></b>(<font color="#009900">Socket</font>, <font color="#009900">File</font>)
+ <font color="#990000">-&gt;</font> <b><font color="#000000">sendfile</font></b>(<font color="#009900">Socket</font>, <font color="#009900">File</font>, <font color="#993399">0</font>, <font color="#993399">0</font>, [])
+
+<b><font color="#000000">sendfile</font></b>(<font color="#009900">Socket</font>, <font color="#009900">File</font>, <font color="#009900">Offset</font>, <font color="#009900">Bytes</font>)
+ <font color="#990000">-&gt;</font> <b><font color="#000000">sendfile</font></b>(<font color="#009900">Socket</font>, <font color="#009900">File</font>, <font color="#009900">Offset</font>, <font color="#009900">Bytes</font>, [])
+
+<b><font color="#000000">sendfile</font></b>(<font color="#009900">Socket</font> <font color="#990000">::</font> <b><font color="#000000">socket</font></b>(),
+ <font color="#009900">File</font> <font color="#990000">::</font> <b><font color="#000000">file:name_all</font></b>() | <b><font color="#000000">file:fd</font></b>(),
+ <font color="#009900">Offset</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>(),
+ <font color="#009900">Bytes</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>(),
+ <font color="#009900">Opts</font> <font color="#990000">::</font> <b><font color="#000000">sendfile_opts</font></b>())
+ <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, <font color="#009900">SentBytes</font> <font color="#990000">::</font> <b><font color="#000000">non_neg_integer</font></b>()} | {<font color="#FF6600">error</font>, <b><font color="#000080">atom</font></b>()}</tt></pre>
+</div></div>
+<p>Send a file on the socket.</p>
+<p>The file may be sent full or in parts, and may be specified by its filename or by an already open file descriptor.</p>
+<p>Transports that manipulate TCP directly may use the <code>file:sendfile/2,4,5</code> function, which calls the <code>sendfile</code> syscall where applicable (on Linux, for example). Other transports can use the <code>sendfile/6</code> function exported from this module.</p>
+<h3 id="_setopts">setopts</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">setopts</font></b>(<font color="#009900">Socket</font> <font color="#990000">::</font> <b><font color="#000000">socket</font></b>(), <font color="#009900">SockOpts</font> <font color="#990000">::</font> <b><font color="#000000">any</font></b>())
+ <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> | {<font color="#FF6600">error</font>, <b><font color="#000080">atom</font></b>()}</tt></pre>
+</div></div>
+<p>Set one or more options for the socket.</p>
+<h3 id="_shutdown">shutdown</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><font color="#000080">shutdown</font>(<font color="#009900">Socket</font> <font color="#990000">::</font> <b><font color="#000000">socket</font></b>(),
+ <font color="#009900">How</font> <font color="#990000">::</font> <font color="#FF6600">read</font> | <font color="#FF6600">write</font> | <font color="#FF6600">read_write</font>)
+ <font color="#990000">-&gt;</font> <font color="#FF6600">ok</font> | {<font color="#FF6600">error</font>, <b><font color="#000080">atom</font></b>()}</tt></pre>
+</div></div>
+<p>Close the socket for reading and/or writing.</p>
+<h3 id="_sockname">sockname</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">sockname</font></b>(<font color="#009900">Socket</font> <font color="#990000">::</font> <b><font color="#000000">socket</font></b>())
+ <font color="#990000">-&gt;</font> {<font color="#FF6600">ok</font>, {<b><font color="#000000">inet:ip_address</font></b>(), <b><font color="#000000">inet:port_number</font></b>()}}
+ | {<font color="#FF6600">error</font>, <b><font color="#000080">atom</font></b>()}<font color="#990000">.</font></tt></pre>
+</div></div>
+<p>Return the address and port number for the local end of the connection.</p>
+<p>For UNIX Domain sockets the return value will be <code>{local, SocketFile}</code>.</p>
+<h2 id="_exports">Exports</h2>
+<p>The following function can be used when implementing transport modules:</p>
+<ul><li><a href="../ranch_transport.sendfile">ranch_transport:sendfile(3)</a> - Send a file on the socket
+</li>
+</ul>
+<h2 id="_types">Types</h2>
+<h3 id="_sendfile_opts">sendfile_opts()</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">sendfile_opts</font></b>() <font color="#990000">::</font> [{<font color="#FF6600">chunk_size</font>, <b><font color="#000000">non_neg_integer</font></b>()}]</tt></pre>
+</div></div>
+<p>Options accepted by the sendfile function and callbacks:</p>
+<dl><dt>chunk_size (8191)</dt>
+<dd><p>The chunk size, in bytes.</p>
+</dd>
+</dl>
+<h3 id="_socket">socket()</h3>
+<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt><b><font color="#000000">socket</font></b>() <font color="#990000">::</font> <b><font color="#000000">any</font></b>()</tt></pre>
+</div></div>
+<p>The socket.</p>
+<p>The exact type will vary depending on the transport module.</p>
+<h2 id="_changelog">Changelog</h2>
+<ul><li><strong>2.0</strong>: The callback <code>listen/1</code> has changed to accept a map of transport options instead of socket options.
+</li>
+<li><strong>2.0</strong>: The callback <code>messages/0</code> return value was updated to include the passive message for <code>{active, N}</code>.
+</li>
+<li><strong>1.6</strong>: The <code>socket()</code> type was added for documentation purposes.
+</li>
+<li><strong>1.6</strong>: The type of the sendfile filename was extended.
+</li>
+</ul>
+<h2 id="_see_also">See also</h2>
+<p><a href="../ranch_app">ranch(7)</a>, <a href="../ranch_tcp">ranch_tcp(3)</a>, <a href="../ranch_ssl">ranch_ssl(3)</a></p>
+
+
+
+
+
+
+</div>
+
+<div class="span3 sidecol">
+
+
+<h3>
+ Ranch
+ 2.0
+ Function Reference
+
+</h3>
+
+<ul>
+
+ <li><a href="/docs/en/ranch/2.0/guide">User Guide</a></li>
+
+
+ <li><a href="/docs/en/ranch/2.0/manual">Function Reference</a></li>
+
+
+</ul>
+
+<h4 id="docs-nav">Navigation</h4>
+
+<h4>Version select</h4>
+<ul>
+
+
+
+ <li><a href="/docs/en/ranch/2.0/manual">2.0</a></li>
+
+ <li><a href="/docs/en/ranch/1.7/manual">1.7</a></li>
+
+ <li><a href="/docs/en/ranch/1.6/manual">1.6</a></li>
+
+ <li><a href="/docs/en/ranch/1.5/manual">1.5</a></li>
+
+ <li><a href="/docs/en/ranch/1.4/manual">1.4</a></li>
+
+</ul>
+
+<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
+<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
+<input type="hidden" name="cmd" value="_donations">
+<input type="hidden" name="business" value="[email protected]">
+<input type="hidden" name="lc" value="FR">
+<input type="hidden" name="item_name" value="Loic Hoguin">
+<input type="hidden" name="item_number" value="99s">
+<input type="hidden" name="currency_code" value="EUR">
+<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
+<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
+<img alt="" border="0" src="https://www.paypalobjects.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
+</form><p>Recurring payment options are also available via <a href="https://salt.bountysource.com/teams/ninenines">BountySource</a>. These funds are used to cover the recurring expenses like dedicated servers or domain names.</p>
+
+
+
+</div>
+</div>
+</div>
+</div>
+
+ <footer>
+ <div class="container">
+ <div class="row">
+ <div class="span6">
+ <p id="scroll-top"><a href="#">↑ Scroll to top</a></p>
+ <nav>
+ <ul>
+ <li><a href="mailto:[email protected]" title="Contact us">Contact us</a></li><li><a href="https://github.com/ninenines/ninenines.github.io" title="Github repository">Contribute to this site</a></li>
+ </ul>
+ </nav>
+ </div>
+ <div class="span6 credits">
+ <p><img src="/img/footer_logo.png"></p>
+ <p>Copyright &copy; Loïc Hoguin 2012-2018</p>
+ </div>
+ </div>
+ </div>
+ </footer>
+
+
+ <script src="/js/custom.js"></script>
+ </body>
+</html>
+
+
diff --git a/docs/index.html b/docs/index.html
index 9baabd14..f08ee5bf 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -103,27 +103,6 @@
<li><a href="/docs/en/cowboy/2.2/manual">Cowboy 2.2 Function Reference</a></li>
-
- <li><a href="/docs/en/cowboy/2.1/guide">Cowboy 2.1 User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.1/manual">Cowboy 2.1 Function Reference</a></li>
-
-
-
- <li><a href="/docs/en/cowboy/2.0/guide">Cowboy 2.0 User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/2.0/manual">Cowboy 2.0 Function Reference</a></li>
-
-
-
- <li><a href="/docs/en/cowboy/1.0/guide">Cowboy 1.0 User Guide</a></li>
-
-
- <li><a href="/docs/en/cowboy/1.0/manual">Cowboy 1.0 Function Reference</a></li>
-
-
</ul>
@@ -178,6 +157,13 @@
<ul>
+ <li><a href="/docs/en/ranch/2.0/guide">Ranch 2.0 User Guide</a></li>
+
+
+ <li><a href="/docs/en/ranch/2.0/manual">Ranch 2.0 Function Reference</a></li>
+
+
+
<li><a href="/docs/en/ranch/1.7/guide">Ranch 1.7 User Guide</a></li>
@@ -205,20 +191,6 @@
<li><a href="/docs/en/ranch/1.4/manual">Ranch 1.4 Function Reference</a></li>
-
- <li><a href="/docs/en/ranch/1.3/guide">Ranch 1.3 User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.3/manual">Ranch 1.3 Function Reference</a></li>
-
-
-
- <li><a href="/docs/en/ranch/1.2/guide">Ranch 1.2 User Guide</a></li>
-
-
- <li><a href="/docs/en/ranch/1.2/manual">Ranch 1.2 Function Reference</a></li>
-
-
</ul>
diff --git a/docs/index.xml b/docs/index.xml
index 1ce55c1a..dd9f08cd 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -11,18 +11,6 @@
<item>
- <title>Installation</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/installation/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/installation/</guid>
- <description>On Unix Erlang.mk requires GNU Make to be installed. While it will currently work with GNU Make 3.81, support for this version is deprecated and will be removed in 2017. We recommend GNU Make 4.1 or later.
-Git and Erlang/OTP must also be installed.
-Some functionality requires that Autoconf 2.59 or later be installed, in order to compile Erlang/OTP. Erlang/OTP may have further requirements depending on your needs.
-Some packages may require additional libraries.</description>
- </item>
-
- <item>
<title>Introduction</title>
<link>https://ninenines.eu/docs/en/gun/1.0/guide/introduction/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -84,30 +72,6 @@ Copyright (c) 2013-2018, Loïc Hoguin &amp;lt;[email protected]&amp;gt; Permiss
<item>
<title>Introduction</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/introduction/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/introduction/</guid>
- <description>Ranch is a socket acceptor pool for TCP protocols.
-Ranch aims to provide everything you need to accept TCP connections with a small code base and low latency while being easy to use directly as an application or to embed into your own.
-Prerequisites It is assumed the developer already knows Erlang and has some experience with socket programming and TCP protocols.
-Supported platforms Ranch is tested and supported on Linux.</description>
- </item>
-
- <item>
- <title>Introduction</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/introduction/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/introduction/</guid>
- <description>Ranch is a socket acceptor pool for TCP protocols.
-Ranch aims to provide everything you need to accept TCP connections with a small code base and low latency while being easy to use directly as an application or to embed into your own.
-Prerequisites It is assumed the developer already knows Erlang and has some experience with socket programming and TCP protocols.
-Supported platforms Ranch is tested and supported on Linux, FreeBSD, OSX and Windows.</description>
- </item>
-
- <item>
- <title>Introduction</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/guide/introduction/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -155,25 +119,15 @@ Supported platforms Ranch is tested and supported on Linux, FreeBSD, OSX and Win
</item>
<item>
- <title>The modern Web</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/modern_web/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/modern_web/</guid>
- <description>Cowboy is a server for the modern Web. This chapter explains what it means and details all the standards involved.
-Cowboy supports all the standards listed in this document.
-HTTP/2 HTTP/2 is the most efficient protocol for consuming Web services. It enables clients to keep a connection open for long periods of time; to send requests concurrently; to reduce the size of requests through HTTP headers compression; and more. The protocol is binary, greatly reducing the resources needed to parse it.</description>
- </item>
-
- <item>
- <title>The modern Web</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/modern_web/</link>
+ <title>Introduction</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/introduction/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/modern_web/</guid>
- <description>Cowboy is a server for the modern Web. This chapter explains what it means and details all the standards involved.
-Cowboy supports all the standards listed in this document.
-HTTP/2 HTTP/2 is the most efficient protocol for consuming Web services. It enables clients to keep a connection open for long periods of time; to send requests concurrently; to reduce the size of requests through HTTP headers compression; and more. The protocol is binary, greatly reducing the resources needed to parse it.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/introduction/</guid>
+ <description>Ranch is a socket acceptor pool for TCP protocols.
+Ranch aims to provide everything you need to accept TCP connections with a small code base and low latency while being easy to use directly as an application or to embed into your own.
+Prerequisites It is assumed the developer already knows Erlang and has some experience with socket programming and TCP protocols.
+Supported platforms Ranch is tested and supported on Linux, FreeBSD, macOS and Windows.</description>
</item>
<item>
@@ -233,26 +187,6 @@ HTTP/2 HTTP/2 is the most efficient protocol for consuming Web services. It enab
<item>
<title>Erlang and the Web</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/erlang_web/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/erlang_web/</guid>
- <description>Erlang is the ideal platform for writing Web applications. Its features are a perfect match for the requirements of modern Web applications.
-The Web is concurrent When you access a website there is little concurrency involved. A few connections are opened and requests are sent through these connections. Then the web page is displayed on your screen. Your browser will only open up to 4 or 8 connections to the server, depending on your settings.</description>
- </item>
-
- <item>
- <title>Erlang and the Web</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/erlang_web/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/erlang_web/</guid>
- <description>Erlang is the ideal platform for writing Web applications. Its features are a perfect match for the requirements of modern Web applications.
-The Web is concurrent When you access a website there is little concurrency involved. A few connections are opened and requests are sent through these connections. Then the web page is displayed on your screen. Your browser will only open up to 4 or 8 connections to the server, depending on your settings.</description>
- </item>
-
- <item>
- <title>Erlang and the Web</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/erlang_web/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -302,37 +236,6 @@ The Web is concurrent When you access a website there is little concurrency invo
</item>
<item>
- <title>Getting started</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/getting_started/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/getting_started/</guid>
- <description>This chapter explains how to get started using Erlang.mk.
-Creating a folder for your project The first step is always to create a new folder that will contain your project.
-$ mkdir hello_joe $ cd hello_joe Most people tend to put all their projects side by side in a common folder. We recommend keeping an organization similar to your remote repositories. For example, for GitHub users, put all your projects in a common folder with the same name as your username.</description>
- </item>
-
- <item>
- <title>Listeners</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/listeners/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/listeners/</guid>
- <description>A listener is a set of processes whose role is to listen on a port for new connections. It manages a pool of acceptor processes, each of them indefinitely accepting connections. When it does, it starts a new process executing the protocol handler code. All the socket programming is abstracted through the user of transport handlers.
-The listener takes care of supervising all the acceptor and connection processes, allowing developers to focus on building their application.</description>
- </item>
-
- <item>
- <title>Listeners</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/listeners/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/listeners/</guid>
- <description>A listener is a set of processes whose role is to listen on a port for new connections. It manages a pool of acceptor processes, each of them indefinitely accepting connections. When it does, it starts a new process executing the protocol handler code. All the socket programming is abstracted through the use of transport handlers.
-The listener takes care of supervising all the acceptor and connection processes, allowing developers to focus on building their application.</description>
- </item>
-
- <item>
<title>Listeners</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/guide/listeners/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -373,6 +276,16 @@ The listener takes care of supervising all the acceptor and connection processes
</item>
<item>
+ <title>Listeners</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/listeners/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/listeners/</guid>
+ <description>A listener is a set of processes whose role is to listen on a port for new connections. It manages a pool of acceptor processes, each of them indefinitely accepting connections. When it does, it starts a new process executing the protocol handler code. All the socket programming is abstracted through the use of transport handlers.
+The listener takes care of supervising all the acceptor and connection processes, allowing developers to focus on building their application.</description>
+ </item>
+
+ <item>
<title>Starting and stopping</title>
<link>https://ninenines.eu/docs/en/gun/1.0/guide/start/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -474,30 +387,6 @@ Gun will send a gun_inform message for every intermediate informational response
<item>
<title>Introduction</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/introduction/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/introduction/</guid>
- <description>Cowboy is a small, fast and modern HTTP server for Erlang/OTP.
-Cowboy aims to provide a complete modern Web stack. This includes HTTP/1.1, HTTP/2, Websocket, Server-Sent Events and Webmachine-based REST.
-Cowboy comes with functions for introspection and tracing, enabling developers to know precisely what is happening at any time. Its modular design also easily enable developers to add instrumentation.
-Cowboy is a high quality project. It has a small code base, is very efficient (both in latency and memory use) and can easily be embedded in another application.</description>
- </item>
-
- <item>
- <title>Introduction</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/introduction/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/introduction/</guid>
- <description>Cowboy is a small, fast and modern HTTP server for Erlang/OTP.
-Cowboy aims to provide a complete modern Web stack. This includes HTTP/1.1, HTTP/2, Websocket, Server-Sent Events and Webmachine-based REST.
-Cowboy comes with functions for introspection and tracing, enabling developers to know precisely what is happening at any time. Its modular design also easily enable developers to add instrumentation.
-Cowboy is a high quality project. It has a small code base, is very efficient (both in latency and memory use) and can easily be embedded in another application.</description>
- </item>
-
- <item>
- <title>Introduction</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/introduction/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -558,31 +447,6 @@ Cowboy is a high quality project. It has a small code base, is very efficient (b
<item>
<title>Transports</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/transports/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/transports/</guid>
- <description>A transport defines the interface to interact with a socket.
-Transports can be used for connecting, listening and accepting connections, but also for receiving and sending data. Both passive and active mode are supported, although all sockets are initialized as passive.
-TCP transport The TCP transport is a thin wrapper around gen_tcp.
-SSL transport The SSL transport is a thin wrapper around ssl. It requires the crypto, asn1, public_key and ssl applications to be started.</description>
- </item>
-
- <item>
- <title>Transports</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/transports/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/transports/</guid>
- <description>A transport defines the interface to interact with a socket.
-Transports can be used for connecting, listening and accepting connections, but also for receiving and sending data. Both passive and active mode are supported, although all sockets are initialized as passive.
-TCP transport The TCP transport is a thin wrapper around gen_tcp.
-SSL transport The SSL transport is a thin wrapper around ssl.
-Ranch depends on ssl by default so any necessary dependencies will start when Ranch is started.</description>
- </item>
-
- <item>
- <title>Transports</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/guide/transports/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -634,14 +498,16 @@ Ranch depends on ssl by default so any necessary dependencies will start when Ra
</item>
<item>
- <title>Overview</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/overview/</link>
+ <title>Transports</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/transports/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/overview/</guid>
- <description>Now that you know how to get started, let&amp;apos;s take a look at what Erlang.mk can do for you.
-Building your project Erlang.mk is first and foremost a build tool. It is especially tailored for Erlang developers and follows widely accepted practices in the Erlang community.
-Erlang.mk will happily build all Erlang-specific files you throw at it. Other kinds of files too, like C or C++ code when you are working on a NIF or a port driver.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/transports/</guid>
+ <description>A transport defines the interface to interact with a socket.
+Transports can be used for connecting, listening and accepting connections, but also for receiving and sending data. Both passive and active mode are supported, although all sockets are initialized as passive.
+TCP transport The TCP transport is a thin wrapper around gen_tcp.
+SSL transport The SSL transport is a thin wrapper around ssl.
+Ranch depends on ssl by default so any necessary dependencies will start when Ranch is started.</description>
</item>
<item>
@@ -690,26 +556,6 @@ A Gun connection is an Erlang process that manages a socket to a remote endpoint
<item>
<title>Protocols</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/protocols/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/protocols/</guid>
- <description>A protocol handler starts a connection process and defines the protocol logic executed in this process.
-Writing a protocol handler All protocol handlers must implement the ranch_protocol behavior which defines a single callback, start_link/4. This callback is responsible for spawning a new process for handling the connection. It receives four arguments: the name of the listener, the socket, the transport handler being used and the protocol options defined in the call to ranch:start_listener/6.</description>
- </item>
-
- <item>
- <title>Protocols</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/protocols/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/protocols/</guid>
- <description>A protocol handler starts a connection process and defines the protocol logic executed in this process.
-Writing a protocol handler All protocol handlers must implement the ranch_protocol behavior which defines a single callback, start_link/4. This callback is responsible for spawning a new process for handling the connection. It receives four arguments: the name of the listener, the socket, the transport handler being used and the protocol options defined in the call to ranch:start_listener/6.</description>
- </item>
-
- <item>
- <title>Protocols</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/guide/protocols/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -749,23 +595,13 @@ Writing a protocol handler All protocol handlers must implement the ranch_protoc
</item>
<item>
- <title>Getting started</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/getting_started/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/getting_started/</guid>
- <description>Erlang is more than a language, it is also an operating system for your applications. Erlang developers rarely write standalone modules, they write libraries or applications, and then bundle those into what is called a release. A release contains the Erlang VM plus all applications required to run the node, so it can be pushed to production directly.
-This chapter walks you through all the steps of setting up Cowboy, writing your first application and generating your first release.</description>
- </item>
-
- <item>
- <title>Getting started</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/getting_started/</link>
+ <title>Protocols</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/protocols/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/getting_started/</guid>
- <description>Erlang is more than a language, it is also an operating system for your applications. Erlang developers rarely write standalone modules, they write libraries or applications, and then bundle those into what is called a release. A release contains the Erlang VM plus all applications required to run the node, so it can be pushed to production directly.
-This chapter walks you through all the steps of setting up Cowboy, writing your first application and generating your first release.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/protocols/</guid>
+ <description>A protocol handler starts a connection process and defines the protocol logic executed in this process.
+Writing a protocol handler All protocol handlers must implement the ranch_protocol behavior which defines a single callback, start_link/4. This callback is responsible for spawning a new process for handling the connection. It receives four arguments: the name of the listener, the socket, the transport handler being used and the protocol options defined in the call to ranch:start_listener/5.</description>
</item>
<item>
@@ -819,17 +655,6 @@ This chapter walks you through all the steps of setting up Cowboy, writing your
</item>
<item>
- <title>Updating Erlang.mk</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/updating/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/updating/</guid>
- <description>This chapter describes how to update the erlang.mk file in your repository.
-Initial bootstrap The first time you use Erlang.mk, it will bootstrap itself. It always uses the most recent version for this, so you don&amp;apos;t have to update after creating your project.
-Updating Later on though, updating becomes a necessity. Erlang.mk developers and contributors relentlessly improve the project and add new features; it would be a waste not to benefit from this.</description>
- </item>
-
- <item>
<title>HTTP</title>
<link>https://ninenines.eu/docs/en/gun/1.0/guide/http/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -879,26 +704,6 @@ Streams can be canceled at any time.</description>
<item>
<title>Embedded mode</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/embedded/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/embedded/</guid>
- <description>Embedded mode allows you to insert Ranch listeners directly in your supervision tree. This allows for greater fault tolerance control by permitting the shutdown of a listener due to the failure of another part of the application and vice versa.
-Embedding To embed Ranch in your application you can simply add the child specs to your supervision tree. This can all be done in the init/1 function of one of your application supervisors.</description>
- </item>
-
- <item>
- <title>Embedded mode</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/embedded/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/embedded/</guid>
- <description>Embedded mode allows you to insert Ranch listeners directly in your supervision tree. This allows for greater fault tolerance control by permitting the shutdown of a listener due to the failure of another part of the application and vice versa.
-Embedding To embed Ranch in your application you can simply add the child specs to your supervision tree. This can all be done in the init/1 function of one of your application supervisors.</description>
- </item>
-
- <item>
- <title>Embedded mode</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/guide/embedded/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -938,40 +743,13 @@ Embedding To embed Ranch in your application you can simply add the child specs
</item>
<item>
- <title>Limitations</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/limitations/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/limitations/</guid>
- <description>No software is perfect.
-It&amp;apos;s very important, when evaluating and when using a tool, to understand its limitations, so as to avoid making mistakes and wasting valuable time.
-This chapter lists all known limitations of Erlang.mk.
-Erlang must be available Currently Erlang.mk requires you to install Erlang beforehand. Installing Erlang is not always easy, particularly if you need a specific version of Erlang for a specific project.
-In addition, the Erlang being used must be in your $PATH before you use Erlang.</description>
- </item>
-
- <item>
- <title>Flow diagram</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/flow_diagram/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/flow_diagram/</guid>
- <description>Cowboy is a lightweight HTTP server with support for HTTP/1.1, HTTP/2 and Websocket.
-It is built on top of Ranch. Please see the Ranch guide for more information about how the network connections are handled.
-Overview As you can see on the diagram, the client begins by connecting to the server. This step is handled by a Ranch acceptor, which is a process dedicated to accepting new connections.
-After Ranch accepts a new connection, whether it is an HTTP/1.</description>
- </item>
-
- <item>
- <title>Flow diagram</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/flow_diagram/</link>
+ <title>Embedded mode</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/embedded/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/flow_diagram/</guid>
- <description>Cowboy is a lightweight HTTP server with support for HTTP/1.1, HTTP/2 and Websocket.
-It is built on top of Ranch. Please see the Ranch guide for more information about how the network connections are handled.
-Overview As you can see on the diagram, the client begins by connecting to the server. This step is handled by a Ranch acceptor, which is a process dedicated to accepting new connections.
-After Ranch accepts a new connection, whether it is an HTTP/1.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/embedded/</guid>
+ <description>Embedded mode allows you to insert Ranch listeners directly in your supervision tree. This allows for greater fault tolerance control by permitting the shutdown of a listener due to the failure of another part of the application and vice versa.
+However, just as for non-embedded listeners that were started via ranch:start_listener/5, it is required that the ranch application is running before you can start embedded listeners. Furthermore, this also means that embedded listeners will restart when ranch_sup fails.</description>
</item>
<item>
@@ -1080,28 +858,6 @@ You must use the gun:ws_upgrade/2,3,4 function to upgrade to Websocket.</descrip
<item>
<title>Writing parsers</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/parsers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/parsers/</guid>
- <description>There are three kinds of protocols:
-Text protocols Schema-less binary protocols Schema-based binary protocols This chapter introduces the first two kinds. It will not cover more advanced topics such as continuations or parser generators.
-This chapter isn&amp;apos;t specifically about Ranch, we assume here that you know how to read data from the socket. The data you read and the data that hasn&amp;apos;t been parsed is saved in a buffer.</description>
- </item>
-
- <item>
- <title>Writing parsers</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/parsers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/parsers/</guid>
- <description>There are three kinds of protocols:
-Text protocols Schema-less binary protocols Schema-based binary protocols This chapter introduces the first two kinds. It will not cover more advanced topics such as continuations or parser generators.
-This chapter isn&amp;apos;t specifically about Ranch, we assume here that you know how to read data from the socket. The data you read and the data that hasn&amp;apos;t been parsed is saved in a buffer.</description>
- </item>
-
- <item>
- <title>Writing parsers</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/guide/parsers/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -1145,15 +901,14 @@ This chapter isn&amp;apos;t specifically about Ranch, we assume here that you kn
</item>
<item>
- <title>Building</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/app/</link>
+ <title>Writing parsers</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/parsers/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/app/</guid>
- <description>Erlang.mk can do a lot of things, but it is, first and foremost, a build tool. In this chapter we will cover the basics of building a project with Erlang.mk.
-For most of this chapter, we will assume that you are using a project generated by Erlang.mk.
-How to build To build a project, all you have to do is type make:
-$ make It will work regardless of your project: OTP applications, library applications, NIFs, port drivers or even releases.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/parsers/</guid>
+ <description>There are three kinds of protocols:
+Text protocols Schema-less binary protocols Schema-based binary protocols This chapter introduces the first two kinds. It will not cover more advanced topics such as continuations or parser generators.
+This chapter isn&amp;apos;t specifically about Ranch, we assume here that you know how to read data from the socket. The data you read and the data that hasn&amp;apos;t been parsed is saved in a buffer.</description>
</item>
<item>
@@ -1188,28 +943,6 @@ Features added The protocols CONNECT destination option has been added as a repl
<item>
<title>Listeners</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/listeners/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/listeners/</guid>
- <description>A listener is a set of processes that listens on a port for new connections. Incoming connections get handled by Cowboy. Depending on the connection handshake, one or another protocol may be used.
-This chapter is specific to Cowboy. Please refer to the Ranch User Guide for more information about listeners.
-Cowboy provides two types of listeners: one listening for clear TCP connections, and one listening for secure TLS connections. Both of them support the HTTP/1.</description>
- </item>
-
- <item>
- <title>Listeners</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/listeners/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/listeners/</guid>
- <description>A listener is a set of processes that listens on a port for new connections. Incoming connections get handled by Cowboy. Depending on the connection handshake, one or another protocol may be used.
-This chapter is specific to Cowboy. Please refer to the Ranch User Guide for more information about listeners.
-Cowboy provides two types of listeners: one listening for clear TCP connections, and one listening for secure TLS connections. Both of them support the HTTP/1.</description>
- </item>
-
- <item>
- <title>Listeners</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/listeners/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -1265,26 +998,6 @@ Cowboy provides two types of listeners: one listening for clear TCP connections,
<item>
<title>SSL client authentication</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/ssl_auth/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/ssl_auth/</guid>
- <description>Purpose SSL client authentication is a mechanism allowing applications to identify certificates. This allows your application to make sure that the client is an authorized certificate, but makes no claim about whether the user can be trusted. This can be combined with a password based authentication to attain greater security.
-The server only needs to retain the certificate serial number and the certificate issuer to authenticate the certificate. Together, they can be used to uniquely identify a certicate.</description>
- </item>
-
- <item>
- <title>SSL client authentication</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/ssl_auth/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/ssl_auth/</guid>
- <description>Purpose SSL client authentication is a mechanism allowing applications to identify certificates. This allows your application to make sure that the client is an authorized certificate, but makes no claim about whether the user can be trusted. This can be combined with a password based authentication to attain greater security.
-The server only needs to retain the certificate serial number and the certificate issuer to authenticate the certificate. Together, they can be used to uniquely identify a certicate.</description>
- </item>
-
- <item>
- <title>SSL client authentication</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/guide/ssl_auth/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -1324,38 +1037,13 @@ The server only needs to retain the certificate serial number and the certificat
</item>
<item>
- <title>Packages and dependencies</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/deps/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/deps/</guid>
- <description>Erlang.mk can fetch and compile the dependencies that your project requires. Erlang.mk improves upon the concepts introduced by Rebar, so they should be familiar to many seasoned Erlang developers.
-Erlang.mk is not a package manager, nor is it trying to be, but it does include an index of Erlang packages to make discovering useful projects easier.
-This chapter will explain how to use packages, add dependencies to your project or bundle them directly in a single repository.</description>
- </item>
-
- <item>
- <title>Routing</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/routing/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/routing/</guid>
- <description>Cowboy does nothing by default.
-To make Cowboy useful, you need to map URIs to Erlang modules that will handle the requests. This is called routing.
-When Cowboy receives a request, it tries to match the requested host and path to the configured routes. When there&amp;apos;s a match, the route&amp;apos;s associated handler is executed.
-Routes need to be compiled before they can be used by Cowboy. The result of the compilation is the dispatch rules.</description>
- </item>
-
- <item>
- <title>Routing</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/routing/</link>
+ <title>SSL client authentication</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/ssl_auth/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/routing/</guid>
- <description>Cowboy does nothing by default.
-To make Cowboy useful, you need to map URIs to Erlang modules that will handle the requests. This is called routing.
-When Cowboy receives a request, it tries to match the requested host and path to the configured routes. When there&amp;apos;s a match, the route&amp;apos;s associated handler is executed.
-Routes need to be compiled before they can be used by Cowboy. The result of the compilation is the dispatch rules.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/ssl_auth/</guid>
+ <description>Purpose SSL client authentication is a mechanism allowing applications to identify certificates. This allows your application to make sure that the client is an authorized certificate, but makes no claim about whether the user can be trusted. This can be combined with a password based authentication to attain greater security.
+The server only needs to retain the certificate serial number and the certificate issuer to authenticate the certificate. Together, they can be used to uniquely identify a certicate.</description>
</item>
<item>
@@ -1419,34 +1107,13 @@ Routes need to be compiled before they can be used by Cowboy. The result of the
</item>
<item>
- <title>NIFs and port drivers</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/ports/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/ports/</guid>
- <description>Erlang.mk can not only build Erlang projects, but also the C code that some projects come with, like NIFs and port drivers.
-There are two ways to build the C code: using a custom Makefile, or making Erlang.mk do it directly. The C code will be built as needed when you run make.
-C source code location and Erlang environment The C source code should be located in the $(C_SRC_DIR) directory.</description>
- </item>
-
- <item>
- <title>Internals</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/internals/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/internals/</guid>
- <description>This chapter may not apply to embedded Ranch as embedding allows you to use an architecture specific to your application, which may or may not be compatible with the description of the Ranch application.
-Note that for everything related to efficiency and performance, you should perform the benchmarks yourself to get the numbers that matter to you. Generic benchmarks found on the web may or may not be of use to you, you can never know until you benchmark your own system.</description>
- </item>
-
- <item>
- <title>Internals</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/internals/</link>
+ <title>Connection draining</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/connection_draining/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/internals/</guid>
- <description>This chapter may not apply to embedded Ranch as embedding allows you to use an architecture specific to your application, which may or may not be compatible with the description of the Ranch application.
-Note that for everything related to efficiency and performance, you should perform the benchmarks yourself to get the numbers that matter to you. Generic benchmarks found on the web may or may not be of use to you, you can never know until you benchmark your own system.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/connection_draining/</guid>
+ <description>Stopping a Ranch listener via ranch:stop_listener/1 will invariably kill all connection processes the listener hosts. However, you may want to stop a listener in a graceful fashion, ie by not accepting any new connections, but allowing the existing connection processes to exit by themselves instead of being killed.
+For this purpose, you should first suspend the listener you wish to stop gracefully, and then wait for its connection count to drop to zero.</description>
</item>
<item>
@@ -1511,30 +1178,6 @@ Features added CONNECT requests can now be issued on HTTP/1.1 connections. The t
<item>
<title>Constraints</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/constraints/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/constraints/</guid>
- <description>Constraints are validation and conversion functions applied to user input.
-They are used in various places in Cowboy, including the router and the cowboy_req match functions.
-Syntax Constraints are provided as a list of fields. For each field in the list, specific constraints can be applied, as well as a default value if the field is missing.
-A field can take the form of an atom field, a tuple with constraints {field, Constraints} or a tuple with constraints and a default value {field, Constraints, Default}.</description>
- </item>
-
- <item>
- <title>Constraints</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/constraints/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/constraints/</guid>
- <description>Constraints are validation and conversion functions applied to user input.
-They are used in various places in Cowboy, including the router and the cowboy_req match functions.
-Syntax Constraints are provided as a list of fields. For each field in the list, specific constraints can be applied, as well as a default value if the field is missing.
-A field can take the form of an atom field, a tuple with constraints {field, Constraints} or a tuple with constraints and a default value {field, Constraints, Default}.</description>
- </item>
-
- <item>
- <title>Constraints</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/constraints/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -1594,17 +1237,6 @@ A field can take the form of an atom field, a tuple with constraints {field, Con
</item>
<item>
- <title>Releases</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/releases/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/releases/</guid>
- <description>Erlang.mk relies on Relx for generating releases. This chapter covers the Erlang.mk-specific bits. Consult the Relx website for more information.
-Setup Erlang.mk will create a release if it detects a Relx configuration file in the $(RELX_CONFIG) location. This defaults to $(CURDIR)/relx.config. You can override it by defining the variable before including Erlang.mk:
-RELX_CONFIG = $(CURDIR)/webchat.config It is also possible to have multiple relx.config files. For example you might have one for development and one for production.</description>
- </item>
-
- <item>
<title>Upcoming changes in Ranch 2.0</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/guide/upcoming_2.0_changes/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -1625,51 +1257,23 @@ The function ranch:start_listener/6 has been deprecated in favor of ranch:start_
</item>
<item>
- <title>Migrating from Gun 1.0 to 1.1</title>
- <link>https://ninenines.eu/docs/en/gun/1.3/guide/migrating_from_1.0/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/gun/1.3/guide/migrating_from_1.0/</guid>
- <description>Gun 1.1 updates the Cowlib dependency to 2.5.1 and fixes a few problems with experimental features.
-Features added Update Cowlib to 2.5.1 Bugs fixed A bug in the experimental gun_sse_h where lone id lines were not propagated has been fixed by updating the Cowlib dependency. The status code was incorrectly given to the experimental content handlers as a binary. It has been fixed an an integer is now given as was intended.</description>
- </item>
-
- <item>
- <title>Self-extracting releases</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/sfx/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/sfx/</guid>
- <description>Erlang.mk allows you to package Relx releases as self-extracting archives. These archives contain all the files in the release and come in the form of a script that will extract and run the release automatically.
-This allows you to package the release as a single file that can then be executed.
-This feature is currently experimental. Feedback is much appreciated.
-Generating the self-extracting archive To generate a self-extracting release, all you need to do is pass the SFX=1 variable to Make when you build the release:</description>
- </item>
-
- <item>
- <title>Handlers</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/handlers/</link>
+ <title>Internals</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/internals/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/handlers/</guid>
- <description>Handlers are Erlang modules that handle HTTP requests.
-Plain HTTP handlers The most basic handler in Cowboy implements the mandatory init/2 callback, manipulates the request, optionally sends a response and then returns.
-This callback receives the Req object and the initial state defined in the router configuration.
-A handler that does nothing would look like this:
-init(Req, State) -&amp;gt; {ok, Req, State}. Despite sending no reply, a 204 No Content response will be sent to the client, as Cowboy makes sure that a response is sent for every request.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/internals/</guid>
+ <description>This chapter may not apply to embedded Ranch as embedding allows you to use an architecture specific to your application, which may or may not be compatible with the description of the Ranch application.
+Note that for everything related to efficiency and performance, you should perform the benchmarks yourself to get the numbers that matter to you. Generic benchmarks found on the web may or may not be of use to you, you can never know until you benchmark your own system.</description>
</item>
<item>
- <title>Handlers</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/handlers/</link>
+ <title>Migrating from Gun 1.0 to 1.1</title>
+ <link>https://ninenines.eu/docs/en/gun/1.3/guide/migrating_from_1.0/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/handlers/</guid>
- <description>Handlers are Erlang modules that handle HTTP requests.
-Plain HTTP handlers The most basic handler in Cowboy implements the mandatory init/2 callback, manipulates the request, optionally sends a response and then returns.
-This callback receives the Req object and the initial state defined in the router configuration.
-A handler that does nothing would look like this:
-init(Req, State) -&amp;gt; {ok, Req, State}. Despite sending no reply, a 204 No Content response will be sent to the client, as Cowboy makes sure that a response is sent for every request.</description>
+ <guid>https://ninenines.eu/docs/en/gun/1.3/guide/migrating_from_1.0/</guid>
+ <description>Gun 1.1 updates the Cowlib dependency to 2.5.1 and fixes a few problems with experimental features.
+Features added Update Cowlib to 2.5.1 Bugs fixed A bug in the experimental gun_sse_h where lone id lines were not propagated has been fixed by updating the Cowlib dependency. The status code was incorrectly given to the experimental content handlers as a binary. It has been fixed an an integer is now given as was intended.</description>
</item>
<item>
@@ -1738,15 +1342,13 @@ init(Req, State) -&amp;gt; {ok, Req, State}. Despite sending no reply, a 204 No
</item>
<item>
- <title>Escripts</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/escripts/</link>
+ <title>Migrating from Ranch 1.7 to Ranch 2.0</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.7/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/escripts/</guid>
- <description>Escripts are an alternative to release. They are meant to be used for small command line executables written in Erlang.
-They are not self-contained, unlike releases. Erlang must be installed for them to run. This however means that they are fairly small compared to releases.
-For self-contained executables, check self-extracting releases.
-Requirements Erlang.mk uses p7zip by default to generate the escript archive. Make sure it is installed. On most systems the package is named p7zip; on Ubuntu you need p7zip-full.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.7/</guid>
+ <description>Ranch 2.0 adds support for multiple connection supervisors.
+Ranch 1.x had a bottleneck because it used only a single connection supervisor. This was more evident when many connections were dropped at once as the supervisor couldn&amp;apos;t keep up and failed to accept new connections while cleaning up the old ones. Ranch 2.0 behaves much better in this scenario by default. Multiple connection supervisors also helps with concurrently accepting new connections.</description>
</item>
<item>
@@ -1773,26 +1375,6 @@ Because the plain crc32 checksum is not supported by the PROXY protocol, the con
<item>
<title>Loop handlers</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/loop_handlers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/loop_handlers/</guid>
- <description>Loop handlers are a special kind of HTTP handlers used when the response can not be sent right away. The handler enters instead a receive loop waiting for the right message before it can send a response.
-Loop handlers are used for requests where a response might not be immediately available, but where you would like to keep the connection open for a while in case the response arrives. The most known example of such practice is known as long polling.</description>
- </item>
-
- <item>
- <title>Loop handlers</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/loop_handlers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/loop_handlers/</guid>
- <description>Loop handlers are a special kind of HTTP handlers used when the response can not be sent right away. The handler enters instead a receive loop waiting for the right message before it can send a response.
-Loop handlers are used for requests where a response might not be immediately available, but where you would like to keep the connection open for a while in case the response arrives. The most known example of such practice is known as long polling.</description>
- </item>
-
- <item>
- <title>Loop handlers</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/loop_handlers/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -1842,38 +1424,6 @@ Loop handlers are used for requests where a response might not be immediately av
</item>
<item>
- <title>OTP version management</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/kerl/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/kerl/</guid>
- <description>Erlang.mk comes with integrated support for Kerl, a shell script that automates the downloading, building and installing of Erlang/OTP. It can be used to easily build a specific Erlang/OTP version (with or without custom build options) or maintain different versions side by side.
-Erlang versions Erlang.mk uses the Git tags from Erlang/OTP to identify OTP versions. The most recent tag at the time of writing is OTP-20.0.4, which is a patch release of OTP-20.</description>
- </item>
-
- <item>
- <title>Static files</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/static_files/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/static_files/</guid>
- <description>Cowboy comes with a ready to use handler for serving static files. It is provided as a convenience for serving files during development.
-For systems in production, consider using one of the many Content Distribution Network (CDN) available on the market, as they are the best solution for serving files.
-The static handler can serve either one file or all files from a given directory. The etag generation and mime types can be configured.</description>
- </item>
-
- <item>
- <title>Static files</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/static_files/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/static_files/</guid>
- <description>Cowboy comes with a ready to use handler for serving static files. It is provided as a convenience for serving files during development.
-For systems in production, consider using one of the many Content Distribution Network (CDN) available on the market, as they are the best solution for serving files.
-The static handler can serve either one file or all files from a given directory. The etag generation and mime types can be configured.</description>
- </item>
-
- <item>
<title>Static files</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/static_files/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -1929,14 +1479,14 @@ The static handler can serve either one file or all files from a given directory
</item>
<item>
- <title>Cross compiling</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/cross_compiling/</link>
+ <title>Migrating from Ranch 1.6 to 1.7</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.6/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/cross_compiling/</guid>
- <description>Erlang.mk supports cross-compiling. While the compiled Erlang code is portable as-is, the C code is not and releases need to use the correct runtime system for the target environment.
-There are therefore two steps that might require some intervention: compiling and building the release. If you do not have any C code you can just compile as you would normally, however.
-Compiling To cross-compile the C code you need a cross compiler.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.6/</guid>
+ <description>Ranch 1.7 adds built-in support for the PROXY protocol.
+The PROXY protocol is a simple and efficient way for proxies to transmit information about the client.
+While a third-party library already existed, it was not entirely compatible with the Ranch interface, in particular when socket active mode was involved. This new implementation fixes that and supports the full protocol with as little overhead as possible compared to normal operations: just one extra function call.</description>
</item>
<item>
@@ -1963,28 +1513,6 @@ While a third-party library already existed, it was not entirely compatible with
<item>
<title>The Req object</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/req/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/req/</guid>
- <description>The Req object is a variable used for obtaining information about a request, read its body or send a response.
-It is not really an object in the object-oriented sense. It is a simple map that can be directly accessed or used when calling functions from the cowboy_req module.
-The Req object is the subject of a few different chapters. In this chapter we will learn about the Req object and look at how to retrieve information about the request.</description>
- </item>
-
- <item>
- <title>The Req object</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/req/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/req/</guid>
- <description>The Req object is a variable used for obtaining information about a request, read its body or send a response.
-It is not really an object in the object-oriented sense. It is a simple map that can be directly accessed or used when calling functions from the cowboy_req module.
-The Req object is the subject of a few different chapters. In this chapter we will learn about the Req object and look at how to retrieve information about the request.</description>
- </item>
-
- <item>
- <title>The Req object</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/req/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2039,13 +1567,14 @@ The Req object is the subject of a few different chapters. In this chapter we wi
</item>
<item>
- <title>Compatibility with other build tools</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/compat/</link>
+ <title>Migrating from Ranch 1.5 to 1.6</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.5/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/compat/</guid>
- <description>Erlang.mk tries its best to be compatible with the other Erlang build tools. It can use dependencies written with other build tools in mind, and can also make your projects usable by those build tools as well. Erlang.mk is like the cool kid that gets along with everybody.
-In this chapter I will use the term Rebar project to refer to a project built using Rebar 2, Rebar 3 or Mad.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.5/</guid>
+ <description>Ranch 1.6 added the ability to suspend and resume listeners. It also deprecates a number of features and add interfaces that will be used in Ranch 2.0.
+Ranch 1.6 is compatible with Erlang/OTP 18.0 onward. Support for older releases has been removed.
+Features added Listeners can now be suspended/resumed without stopping existing connection processes. This effectively closes the listening socket and stops the acceptor processes. Transport options can now be updated for suspended listeners.</description>
</item>
<item>
@@ -2071,30 +1600,6 @@ Features added Listeners can now be suspended/resumed without stopping existing
<item>
<title>Reading the request body</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/req_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/req_body/</guid>
- <description>The request body can be read using the Req object.
-Cowboy will not attempt to read the body until requested. You need to call the body reading functions in order to retrieve it.
-Cowboy will not cache the body, it is therefore only possible to read it once.
-You are not required to read it, however. If a body is present and was not read, Cowboy will either cancel or skip its download, depending on the protocol.</description>
- </item>
-
- <item>
- <title>Reading the request body</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/req_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/req_body/</guid>
- <description>The request body can be read using the Req object.
-Cowboy will not attempt to read the body until requested. You need to call the body reading functions in order to retrieve it.
-Cowboy will not cache the body, it is therefore only possible to read it once.
-You are not required to read it, however. If a body is present and was not read, Cowboy will either cancel or skip its download, depending on the protocol.</description>
- </item>
-
- <item>
- <title>Reading the request body</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/req_body/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2154,41 +1659,6 @@ You are not required to read it, however. If a body is present and was not read,
</item>
<item>
- <title>AsciiDoc documentation</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/asciidoc/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/asciidoc/</guid>
- <description>Erlang.mk provides rules for generating documentation from AsciiDoc files. It can automatically build a user guide PDF, chunked HTML documentation and Unix manual pages.
-Requirements It is necessary to have AsciiDoc, xsltproc and dblatex installed on your system for Erlang.mk to generate documentation from AsciiDoc sources.
-Writing AsciiDoc documentation AsciiDoc is a text document format for writing notes, documentation, articles, books, ebooks, slideshows, web pages, man pages and blogs. AsciiDoc files can be translated to many formats including HTML, PDF, EPUB, man page.</description>
- </item>
-
- <item>
- <title>Sending a response</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/resp/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/resp/</guid>
- <description>The response must be sent using the Req object.
-Cowboy provides two different ways of sending responses: either directly or by streaming the body. Response headers and body may be set in advance. The response is sent as soon as one of the reply or stream reply function is called.
-Cowboy also provides a simplified interface for sending files. It can also send only specific parts of a file.
-While only one response is allowed for every request, HTTP/2 introduced a mechanism that allows the server to push additional resources related to the response.</description>
- </item>
-
- <item>
- <title>Sending a response</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/resp/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/resp/</guid>
- <description>The response must be sent using the Req object.
-Cowboy provides two different ways of sending responses: either directly or by streaming the body. Response headers and body may be set in advance. The response is sent as soon as one of the reply or stream reply function is called.
-Cowboy also provides a simplified interface for sending files. It can also send only specific parts of a file.
-While only one response is allowed for every request, HTTP/2 introduced a mechanism that allows the server to push additional resources related to the response.</description>
- </item>
-
- <item>
<title>Sending a response</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/resp/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2250,44 +1720,22 @@ While only one response is allowed for every request, HTTP/2 introduced a mechan
<item>
<title>Migrating from Ranch 1.x</title>
- <link>https://ninenines.eu/docs/en/ranch/1.7/guide/migrating_from_1.x/</link>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.x/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/ranch/1.7/guide/migrating_from_1.x/</guid>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.x/</guid>
<description>The changelog for Ranch releases before 1.6 can be found in this section.
1.5.0 Add transport functions getopts/2, getstat/1 and getstat/2 Fix ranch:info/0 and ranch:procs/2 in embedded mode Prevent ranch_conns_sup from stopping on unexpected messages 1.4.0 Add new transport option num_acceptor Deprecate ranch:start_listener/6 in favor of start_listener/5 Deprecate ranch:child_spec/6 in favor of child_spec/5 1.3.0 The version numbers 1.3.1 and 1.3.2 were later made to fix small mistakes made during the 1.</description>
</item>
<item>
- <title>EDoc comments</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/edoc/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/edoc/</guid>
- <description>Erlang.mk provides a thin wrapper on top of EDoc, an application that generates documentation based on comments found in modules.
-Writing EDoc comments The EDoc user guide explains everything you need to know about EDoc comments.
-Configuration The EDOC_OPTS variable allows you to specify additional EDoc options. Options are documented in the EDoc manual.
-A common use for this variable is to enable Markdown in doc comments, using the edown application:</description>
- </item>
-
- <item>
- <title>Using cookies</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/cookies/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/cookies/</guid>
- <description>Cookies are a mechanism allowing applications to maintain state on top of the stateless HTTP protocol.
-Cookies are a name/value store where the names and values are stored in plain text. They expire either after a delay or when the browser closes. They can be configured on a specific domain name or path, and restricted to secure resources (sent or downloaded over HTTPS), or restricted to the server (disallowing access from client-side scripts).</description>
- </item>
-
- <item>
- <title>Using cookies</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/cookies/</link>
+ <title>Migrating from Ranch 1.x</title>
+ <link>https://ninenines.eu/docs/en/ranch/1.7/guide/migrating_from_1.x/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/cookies/</guid>
- <description>Cookies are a mechanism allowing applications to maintain state on top of the stateless HTTP protocol.
-Cookies are a name/value store where the names and values are stored in plain text. They expire either after a delay or when the browser closes. They can be configured on a specific domain name or path, and restricted to secure resources (sent or downloaded over HTTPS), or restricted to the server (disallowing access from client-side scripts).</description>
+ <guid>https://ninenines.eu/docs/en/ranch/1.7/guide/migrating_from_1.x/</guid>
+ <description>The changelog for Ranch releases before 1.6 can be found in this section.
+1.5.0 Add transport functions getopts/2, getstat/1 and getstat/2 Fix ranch:info/0 and ranch:procs/2 in embedded mode Prevent ranch_conns_sup from stopping on unexpected messages 1.4.0 Add new transport option num_acceptor Deprecate ranch:start_listener/6 in favor of start_listener/5 Deprecate ranch:child_spec/6 in favor of child_spec/5 1.3.0 The version numbers 1.3.1 and 1.3.2 were later made to fix small mistakes made during the 1.</description>
</item>
<item>
@@ -2341,39 +1789,6 @@ Cookies are a name/value store where the names and values are stored in plain te
</item>
<item>
- <title>Sphinx documentation</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/sphinx/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/sphinx/</guid>
- <description>Erlang.mk includes targets for running the Sphinx documentation generator, which can produce documentation in various formats, like HTML, man pages, Texinfo, LaTeX, and others.
-Writing Sphinx documentation Sphinx generates documentation from a set of reST documents. There is a quick start guide on Sphinx&amp;apos; website. For Erlang.mk, we&amp;apos;ll set up a minimal environment instead.
-Basic setup By default, Erlang.mk expects Sphinx documentation to be placed in the doc directory, with doc/conf.</description>
- </item>
-
- <item>
- <title>Multipart requests</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/multipart/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/multipart/</guid>
- <description>Multipart originates from MIME, an Internet standard that extends the format of emails.
-A multipart message is a list of parts. A part contains headers and a body. The body of the parts may be of any media type, and contain text or binary data. It is possible for parts to contain a multipart media type.
-In the context of HTTP, multipart is most often used with the multipart/form-data media type.</description>
- </item>
-
- <item>
- <title>Multipart requests</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/multipart/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/multipart/</guid>
- <description>Multipart originates from MIME, an Internet standard that extends the format of emails.
-A multipart message is a list of parts. A part contains headers and a body. The body of the parts may be of any media type, and contain text or binary data. It is possible for parts to contain a multipart media type.
-In the context of HTTP, multipart is most often used with the multipart/form-data media type.</description>
- </item>
-
- <item>
<title>Multipart requests</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/multipart/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2429,39 +1844,6 @@ In the context of HTTP, multipart is most often used with the multipart/form-dat
</item>
<item>
- <title>Erlang shell</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/shell/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/shell/</guid>
- <description>Erlang.mk provides a convenient target for starting a shell with all the paths set properly to experiment with your code.
-Configuration The SHELL_DEPS variable can be used to define dependencies that are only to be used when the make shell command is called. For example, if you want to use kjell as your shell:
-SHELL_DEPS = kjell Dependencies are downloaded and compiled the first time you run the make shell command.</description>
- </item>
-
- <item>
- <title>REST principles</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_principles/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_principles/</guid>
- <description>This chapter will attempt to define the concepts behind REST and explain what makes a service RESTful.
-REST is often confused with performing a distinct operation depending on the HTTP method, while using more than the GET and POST methods. That&amp;apos;s highly misguided at best.
-We will first attempt to define REST and will look at what it means in the context of HTTP and the Web. For a more in-depth explanation of REST, you can read Roy T.</description>
- </item>
-
- <item>
- <title>REST principles</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_principles/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_principles/</guid>
- <description>This chapter will attempt to define the concepts behind REST and explain what makes a service RESTful.
-REST is often confused with performing a distinct operation depending on the HTTP method, while using more than the GET and POST methods. That&amp;apos;s highly misguided at best.
-We will first attempt to define REST and will look at what it means in the context of HTTP and the Web. For a more in-depth explanation of REST, you can read Roy T.</description>
- </item>
-
- <item>
<title>REST principles</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/rest_principles/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2517,52 +1899,6 @@ We will first attempt to define REST and will look at what it means in the conte
</item>
<item>
- <title>EUnit</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/eunit/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/eunit/</guid>
- <description>EUnit is the tool of choice for unit testing. Erlang.mk automates a few things on top of EUnit, including the discovery and running of unit tests.
-Writing tests The EUnit user guide is the best place to learn how to write tests. Of note is that all functions ending with _test or _test_ will be picked up as EUnit test cases.
-Erlang.mk will automatically pick up tests found in any of the Erlang modules of your application.</description>
- </item>
-
- <item>
- <title>Common Test</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/common_test/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/common_test/</guid>
- <description>Common Test is Erlang&amp;apos;s functional testing framework. Erlang.mk automates the discovery and running of Common Test suites.
-Writing tests The Common Test user guide is the best place to learn how to write tests. Erlang.mk requires that file names for test suites end with _SUITE.erl and that the files be located in the $(TEST_DIR) directory. This defaults to test/.
-Configuration The CT_OPTS variable allows you to set extra Common Test options.</description>
- </item>
-
- <item>
- <title>REST handlers</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_handlers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_handlers/</guid>
- <description>REST is implemented in Cowboy as a sub protocol. The request is handled as a state machine with many optional callbacks describing the resource and modifying the machine&amp;apos;s behavior.
-The REST handler is the recommended way to handle HTTP requests.
-Initialization First, the init/2 callback is called. This callback is common to all handlers. To use REST for the current request, this function must return a cowboy_rest tuple.
-init(Req, State) -&amp;gt; {cowboy_rest, Req, State}.</description>
- </item>
-
- <item>
- <title>REST handlers</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_handlers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_handlers/</guid>
- <description>REST is implemented in Cowboy as a sub protocol. The request is handled as a state machine with many optional callbacks describing the resource and modifying the machine&amp;apos;s behavior.
-The REST handler is the recommended way to handle HTTP requests.
-Initialization First, the init/2 callback is called. This callback is common to all handlers. To use REST for the current request, this function must return a cowboy_rest tuple.
-init(Req, State) -&amp;gt; {cowboy_rest, Req, State}.</description>
- </item>
-
- <item>
<title>REST handlers</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/rest_handlers/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2623,43 +1959,6 @@ init(Req, State) -&amp;gt; {cowboy_rest, Req, State}.</description>
</item>
<item>
- <title>PropEr</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/proper/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/proper/</guid>
- <description>PropEr is a QuickCheck-like library for property-based testing. Erlang.mk automates discovery and checking of PropEr properties.
-To run all tests (including PropEr):
-$ make tests To run all tests and static checks (including PropEr):
-$ make check You can also run PropEr separately:
-$ make proper To check properties from a single module:
-$ make proper t=foo_tests To check a single property:
-$ make proper t=foo_tests:bar </description>
- </item>
-
- <item>
- <title>REST flowcharts</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_flowcharts/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_flowcharts/</guid>
- <description>This chapter will explain the REST handler state machine through a number of different diagrams.
-There are four main paths that requests may follow. One for the method OPTIONS; one for the methods GET and HEAD; one for the methods PUT, POST and PATCH; and one for the method DELETE.
-All paths start with the &amp;quot;Start&amp;quot; diagram, and all paths excluding the OPTIONS path go through the &amp;quot;Content negotiation&amp;quot; diagram and optionally the &amp;quot;Conditional requests&amp;quot; diagram if the resource exists.</description>
- </item>
-
- <item>
- <title>REST flowcharts</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_flowcharts/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_flowcharts/</guid>
- <description>This chapter will explain the REST handler state machine through a number of different diagrams.
-There are four main paths that requests may follow. One for the method OPTIONS; one for the methods GET and HEAD; one for the methods PUT, POST and PATCH; and one for the method DELETE.
-All paths start with the &amp;quot;Start&amp;quot; diagram, and all paths excluding the OPTIONS path go through the &amp;quot;Content negotiation&amp;quot; diagram and optionally the &amp;quot;Conditional requests&amp;quot; diagram if the resource exists.</description>
- </item>
-
- <item>
<title>REST flowcharts</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/rest_flowcharts/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2715,52 +2014,6 @@ All paths start with the &amp;quot;Start&amp;quot; diagram, and all paths exclud
</item>
<item>
- <title>Triq</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/triq/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/triq/</guid>
- <description>Triq is a QuickCheck-like library for property-based testing. Erlang.mk automates discovery and checking of Triq properties.
-To run all tests (including Triq):
-$ make tests To run all tests and static checks (including Triq):
-$ make check You can also run Triq separately:
-$ make triq To check properties from a single module:
-$ make triq t=foo_tests To check a single property:
-$ make triq t=foo_tests:bar </description>
- </item>
-
- <item>
- <title>Code coverage</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/coverage/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/coverage/</guid>
- <description>Erlang.mk provides support for code coverage via the tool cover that comes with Erlang/OTP. Code coverage lets you see what parts of your code are covered by the tests.
-Enabling cover when running tests To run tests with code coverage enabled, simply define COVER=1 either on the command line or in your Makefile:
-$ make tests COVER=1 When running the targets tests or check the code coverage report will be built automatically.</description>
- </item>
-
- <item>
- <title>Designing a resource handler</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/resource_design/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/resource_design/</guid>
- <description>This chapter aims to provide you with a list of questions you must answer in order to write a good resource handler. It is meant to be usable as a step by step guide.
-The service Can the service become unavailable, and when it does, can we detect it? For example, database connectivity problems may be detected early. We may also have planned outages of all or parts of the system.</description>
- </item>
-
- <item>
- <title>Designing a resource handler</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/resource_design/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/resource_design/</guid>
- <description>This chapter aims to provide you with a list of questions you must answer in order to write a good resource handler. It is meant to be usable as a step by step guide.
-The service Can the service become unavailable, and when it does, can we detect it? For example, database connectivity problems may be detected early. We may also have planned outages of all or parts of the system.</description>
- </item>
-
- <item>
<title>Designing a resource handler</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/resource_design/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2811,38 +2064,6 @@ The service Can the service become unavailable, and when it does, can we detect
</item>
<item>
- <title>Continuous integration</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/ci/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/ci/</guid>
- <description>Erlang.mk comes with some support for continuous integration, aimed at open source projects that need to support more than one specific Erlang/OTP release. (If you target one specific release, check the OTP version pinning section of the OTP version management chapter.)
-Configuring Erlang/OTP versions to test To use the CI plugin you must first configure which versions of Erlang/OTP will be used. Erlang.mk provides three separate configuration variables depending on whether you need a normal OTP release, a HiPE-enabled release or an ErLLVM-enabled release.</description>
- </item>
-
- <item>
- <title>The Websocket protocol</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/ws_protocol/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/ws_protocol/</guid>
- <description>This chapter explains what Websocket is and why it is a vital component of soft realtime Web applications.
-Description Websocket is an extension to HTTP that emulates plain TCP connections between the client, typically a Web browser, and the server. It uses the HTTP Upgrade mechanism to establish the connection.
-Websocket connections are fully asynchronous, unlike HTTP/1.1 (synchronous) and HTTP/2 (asynchronous, but the server can only initiate streams in response to requests).</description>
- </item>
-
- <item>
- <title>The Websocket protocol</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/ws_protocol/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/ws_protocol/</guid>
- <description>This chapter explains what Websocket is and why it is a vital component of soft realtime Web applications.
-Description Websocket is an extension to HTTP that emulates plain TCP connections between the client, typically a Web browser, and the server. It uses the HTTP Upgrade mechanism to establish the connection.
-Websocket connections are fully asynchronous, unlike HTTP/1.1 (synchronous) and HTTP/2 (asynchronous, but the server can only initiate streams in response to requests).</description>
- </item>
-
- <item>
<title>The Websocket protocol</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/ws_protocol/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2898,46 +2119,6 @@ Websocket connections are fully asynchronous, unlike HTTP/1.1 (synchronous) and
</item>
<item>
- <title>Dialyzer</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/dialyzer/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/dialyzer/</guid>
- <description>Dialyzer is a tool that will detect discrepancies in your program. It does so using a technique known as success typing analysis which has the advantage of providing no false positives. Dialyzer is able to detect type errors, dead code and more.
-Erlang.mk provides a wrapper around Dialyzer.
-How it works Dialyzer requires a PLT file to work. The PLT file contains the analysis information from all applications which are not expected to change, or rarely do.</description>
- </item>
-
- <item>
- <title>Xref</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/xref/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/xref/</guid>
- <description>Placeholder chapter.</description>
- </item>
-
- <item>
- <title>Websocket handlers</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/ws_handlers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/ws_handlers/</guid>
- <description>Websocket handlers provide an interface for upgrading HTTP/1.1 connections to Websocket and sending or receiving frames on the Websocket connection.
-As Websocket connections are established through the HTTP/1.1 upgrade mechanism, Websocket handlers need to be able to first receive the HTTP request for the upgrade, before switching to Websocket and taking over the connection. They can then receive or send Websocket frames, handle incoming Erlang messages or close the connection.</description>
- </item>
-
- <item>
- <title>Websocket handlers</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/ws_handlers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/ws_handlers/</guid>
- <description>Websocket handlers provide an interface for upgrading HTTP/1.1 connections to Websocket and sending or receiving frames on the Websocket connection.
-As Websocket connections are established through the HTTP/1.1 upgrade mechanism, Websocket handlers need to be able to first receive the HTTP request for the upgrade, before switching to Websocket and taking over the connection. They can then receive or send Websocket frames, handle incoming Erlang messages or close the connection.</description>
- </item>
-
- <item>
<title>Websocket handlers</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/ws_handlers/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2988,39 +2169,6 @@ As Websocket connections are established through the HTTP/1.1 upgrade mechanism,
</item>
<item>
- <title>External plugins</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/external_plugins/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/external_plugins/</guid>
- <description>It is often convenient to be able to keep the build files used by all your projects in one place. Those files could be Makefiles, configuration files, templates and more.
-Erlang.mk allows you to automatically load plugins from dependencies. Plugins can do anything, including defining new variables, defining file templates, hooking themselves inside the normal Erlang.mk processing or even adding new rules.
-You can load plugins using one of two methods.</description>
- </item>
-
- <item>
- <title>Streams</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/streams/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/streams/</guid>
- <description>A stream is the set of messages that form an HTTP request/response pair.
-The term stream comes from HTTP/2. In Cowboy, it is also used when talking about HTTP/1.1 or HTTP/1.0. It should not be confused with streaming the request or response body.
-All versions of HTTP allow clients to initiate streams. HTTP/2 is the only one also allowing servers, through its server push feature. Both client and server-initiated streams go through the same process in Cowboy.</description>
- </item>
-
- <item>
- <title>Streams</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/streams/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/streams/</guid>
- <description>A stream is the set of messages that form an HTTP request/response pair.
-The term stream comes from HTTP/2. In Cowboy, it is also used when talking about HTTP/1.1 or HTTP/1.0. It should not be confused with streaming the request or response body.
-All versions of HTTP allow clients to initiate streams. HTTP/2 is the only one also allowing servers, through its server push feature. Both client and server-initiated streams go through the same process in Cowboy.</description>
- </item>
-
- <item>
<title>Streams</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/streams/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -3076,41 +2224,6 @@ All versions of HTTP allow clients to initiate streams. HTTP/2 is the only one a
</item>
<item>
- <title>List of plugins</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/external_plugins_list/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/external_plugins_list/</guid>
- <description>This is a non-exhaustive list of Erlang.mk plugins, sorted alphabetically.
-ci.erlang.mk A plugin that keeps track of released OTP versions to always run CI builds on the most recent patch(es).
-efene.mk An Efene plugin for Erlang.mk. Efene is an alternative language for the BEAM.
-elixir.mk An Elixir plugin for Erlang.mk. Elixir is an alternative language for the BEAM.
-elvis.mk An Elvis plugin for Erlang.mk. Elvis is an Erlang style reviewer.</description>
- </item>
-
- <item>
- <title>Middlewares</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/middlewares/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/middlewares/</guid>
- <description>Cowboy delegates the request processing to middleware components. By default, two middlewares are defined, for the routing and handling of the request, as is detailed in most of this guide.
-Middlewares give you complete control over how requests are to be processed. You can add your own middlewares to the mix or completely change the chain of middlewares as needed.
-Cowboy will execute all middlewares in the given order, unless one of them decides to stop processing.</description>
- </item>
-
- <item>
- <title>Middlewares</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/middlewares/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/middlewares/</guid>
- <description>Cowboy delegates the request processing to middleware components. By default, two middlewares are defined, for the routing and handling of the request, as is detailed in most of this guide.
-Middlewares give you complete control over how requests are to be processed. You can add your own middlewares to the mix or completely change the chain of middlewares as needed.
-Cowboy will execute all middlewares in the given order, unless one of them decides to stop processing.</description>
- </item>
-
- <item>
<title>Middlewares</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/middlewares/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -3189,27 +2302,6 @@ Cowboy will now use the host header when the HTTP/2 :authority pseudo header is
</item>
<item>
- <title>Migrating from Cowboy 1.0 to 2.0</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/migrating_from_1.0/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/migrating_from_1.0/</guid>
- <description>A lot has changed between Cowboy 1.0 and 2.0. The cowboy_req interface in particular has seen a massive revamp. Hooks are gone, their functionality can now be achieved via stream handlers.
-The documentation has seen great work, in particular the manual. Each module and each function now has its own dedicated manual page with full details and examples.
-Compatibility Compatibility with Erlang/OTP R16, 17 and 18 has been dropped. Erlang/OTP 19.</description>
- </item>
-
- <item>
- <title>Migrating from Cowboy 2.0 to 2.1</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/migrating_from_2.0/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/migrating_from_2.0/</guid>
- <description>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. The expect: 100-continue header is now handled automatically.</description>
- </item>
-
- <item>
<title>Migrating from Cowboy 2.2 to 2.3</title>
<link>https://ninenines.eu/docs/en/cowboy/2.3/guide/migrating_from_2.2/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -3240,50 +2332,6 @@ Features added Add option linger_timeout to control how long Cowboy will wait be
</item>
<item>
- <title>Why Erlang.mk</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/why/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/why/</guid>
- <description>Why would you choose Erlang.mk, if not for its many features? This chapter will attempt to answer that.
-Erlang.mk is fast Erlang.mk is as fast as it gets.
-Erlang.mk will group the compilation of files so as to avoid running the BEAM more than necessary. This saves many seconds compared to traditional Makefiles, even on small projects.
-Erlang.mk will not try to be too smart. It provides a simple solution that works for most people, and gives additional options for projects that run into edge cases, often in the form of extra variables or rules to be defined.</description>
- </item>
-
- <item>
- <title>Short history</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/history/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/history/</guid>
- <description>This chapter aims to be a brief record of the life of the Erlang.mk project.
-Before Erlang.mk Erlang.mk originates from the Cowboy project. Cowboy started as a Rebar project and I, Loïc Hoguin, was very happy with it for a couple years. Over time however I started getting annoyed and frustrated by a number of things, including bad defaults, changing defaults and overall slowness.
-In particular, at the time I gave up on Rebar, the Cowboy test suite was taking about five minutes to run.</description>
- </item>
-
- <item>
- <title>HTTP and other specifications</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/specs/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/specs/</guid>
- <description>This chapter intends to list all the specification documents for or related to HTTP.
-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&amp;apos;s Dissertation RFC 1945: HTTP/1.</description>
- </item>
-
- <item>
- <title>Migrating from Cowboy 1.0 to 2.0</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/migrating_from_1.0/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/migrating_from_1.0/</guid>
- <description>A lot has changed between Cowboy 1.0 and 2.0. The cowboy_req interface in particular has seen a massive revamp. Hooks are gone, their functionality can now be achieved via stream handlers.
-The documentation has seen great work, in particular the manual. Each module and each function now has its own dedicated manual page with full details and examples.
-Compatibility Compatibility with Erlang/OTP R16, 17 and 18 has been dropped. Erlang/OTP 19.</description>
- </item>
-
- <item>
<title>Migrating from Cowboy 2.1 to 2.2</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_2.1/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -3335,29 +2383,6 @@ Features added Add support for the PROXY protocol header. It can be enabled via
</item>
<item>
- <title>Contributing</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/contributing/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/contributing/</guid>
- <description>You are welcome and encouraged to contribute.
-This is how.
-Priorities From the most important to the least important:
-Bugs Package issues/additions Refactoring Features Bugs If you have found a bug, you should open a ticket. Include everything relevant including the command you used, output, a link to the code that triggers the issue, why you think this is a bug, etc.
-If you think you have found a bug but you are not sure, you should open a ticket as previously explained.</description>
- </item>
-
- <item>
- <title>HTTP and other specifications</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/specs/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/specs/</guid>
- <description>This chapter intends to list all the specification documents for or related to HTTP.
-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&amp;apos;s Dissertation RFC 1945: HTTP/1.</description>
- </item>
-
- <item>
<title>Migrating from Cowboy 2.0 to 2.1</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_2.0/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -3584,32 +2609,6 @@ HTTP IANA Registries HTTP Method Registry HTTP Status Code Registry Message He
<item>
<title>Cowboy Function Reference</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/</guid>
- <description>Name cowboy - Small, fast, modern HTTP server for Erlang/OTP
-Description Cowboy is an HTTP server for Erlang/OTP with support for the HTTP/1.1, HTTP/2 and Websocket protocols.
-Cowboy aims to provide a complete HTTP stack. This includes the implementation of the HTTP RFCs but also any directly related standards, like Websocket or Server-Sent Events.
-Modules Functions:
-cowboy(3) - Listener management cowboy_req(3) - Request and response cowboy_router(3) - Router cowboy_constraints(3) - Constraints Protocols:</description>
- </item>
-
- <item>
- <title>Cowboy Function Reference</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/</guid>
- <description>Name cowboy - Small, fast, modern HTTP server for Erlang/OTP
-Description Cowboy is an HTTP server for Erlang/OTP with support for the HTTP/1.1, HTTP/2 and Websocket protocols.
-Cowboy aims to provide a complete HTTP stack. This includes the implementation of the HTTP RFCs but also any directly related standards, like Websocket or Server-Sent Events.
-Modules Functions:
-cowboy(3) - Listener management cowboy_req(3) - Request and response cowboy_router(3) - Router cowboy_constraints(3) - Constraints Protocols:</description>
- </item>
-
- <item>
- <title>Cowboy Function Reference</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -3675,24 +2674,6 @@ cowboy(3) - Listener management cowboy_req(3) - Request and response cowboy_ro
<item>
<title>Cowboy User Guide</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/</guid>
- <description>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 1.</description>
- </item>
-
- <item>
- <title>Cowboy User Guide</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/</guid>
- <description>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.</description>
- </item>
-
- <item>
- <title>Cowboy User Guide</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -3737,15 +2718,6 @@ cowboy(3) - Listener management cowboy_req(3) - Request and response cowboy_ro
</item>
<item>
- <title>Erlang.mk User Guide</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/</guid>
- <description>Installation Getting started Overview Updating Erlang.mk Limitations Code Building Packages and dependencies NIFs and port drivers Releases Self-extracting releases Escripts OTP version management Cross compiling Compatibility with other build tools Documentation Asciidoc documentation EDoc comments Sphinx documentation Tests Erlang shell EUnit Common Test PropEr Triq Code coverage Continuous integration Dialyzer Xref Third-party plugins External plugins List of plugins About Erlang.</description>
- </item>
-
- <item>
<title>Gun Function Reference</title>
<link>https://ninenines.eu/docs/en/gun/1.0/manual/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -3831,28 +2803,6 @@ Modules gun(3) - Asynchronous HTTP client Dependencies cowlib(7) - Support lib
<item>
<title>HTTP status codes(7)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/http_status_codes/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/http_status_codes/</guid>
- <description>Name HTTP status codes - status codes used by Cowboy
-Description This chapter aims to list all HTTP status codes that Cowboy may return, with details on the reasons why. The list given here only includes the replies that Cowboy sends, not user replies.
-100 Continue When the client sends an expect: 100-continue header, Cowboy automatically sends a this status code before trying to read the request body. This behavior can be disabled using the appropriate body option.</description>
- </item>
-
- <item>
- <title>HTTP status codes(7)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/http_status_codes/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/http_status_codes/</guid>
- <description>Name HTTP status codes - status codes used by Cowboy
-Description This chapter aims to list all HTTP status codes that Cowboy may return, with details on the reasons why. The list given here only includes the replies that Cowboy sends, not user replies.
-100 Continue When the client sends an expect: 100-continue header, Cowboy automatically sends a this status code before trying to read the request body. This behavior can be disabled using the appropriate body option.</description>
- </item>
-
- <item>
- <title>HTTP status codes(7)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/http_status_codes/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -3908,24 +2858,6 @@ Description This chapter aims to list all HTTP status codes that Cowboy may retu
<item>
<title>Ranch Function Reference</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/manual/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/manual/</guid>
- <description>ranch(7) ranch(3) ranch_protocol(3) ranch_ssl(3) ranch_tcp(3) ranch_transport(3) </description>
- </item>
-
- <item>
- <title>Ranch Function Reference</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/manual/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/manual/</guid>
- <description>ranch(7) ranch(3) ranch_protocol(3) ranch_ssl(3) ranch_tcp(3) ranch_transport(3) </description>
- </item>
-
- <item>
- <title>Ranch Function Reference</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/manual/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -3971,21 +2903,12 @@ ranch_ssl(3) - SSL transport ranch_tcp(3) - TCP transport Behaviors:</descrip
</item>
<item>
- <title>Ranch User Guide</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/</guid>
- <description>Introduction Listeners Transports Protocols Embedded mode Writing parsers SSL client authentication Internals </description>
- </item>
-
- <item>
- <title>Ranch User Guide</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/</link>
+ <title>Ranch Function Reference</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/</guid>
- <description>Introduction Listeners Transports Protocols Embedded mode Writing parsers SSL client authentication Internals </description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/</guid>
+ <description>ranch(7) ranch(3) ranch:child_spec(3) ranch:get_addr(3) ranch:get_max_connections(3) ranch:get_port(3) ranch:get_protocol_options(3) ranch:get_status(3) ranch:get_transport_options(3) ranch:handshake(3) ranch:info(3) ranch:procs(3) ranch_protocol(3) ranch_proxy_header(3) ranch_proxy_header:header(3) ranch_proxy_header:parse(3) ranch:recv_proxy_header(3) ranch:remove_connection(3) ranch:resume_listener(3) ranch:set_max_connections(3) ranch:set_protocol_options(3) ranch:set_transport_options(3) ranch_ssl(3) ranch:start_listener(3) ranch:stop_listener(3) ranch:suspend_listener(3) ranch_tcp(3) ranch_transport(3) ranch_transport:sendfile(3) ranch:wait_for_connections(3) </description>
</item>
<item>
@@ -4025,25 +2948,12 @@ ranch_ssl(3) - SSL transport ranch_tcp(3) - TCP transport Behaviors:</descrip
</item>
<item>
- <title>cowboy(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy/</guid>
- <description>Name cowboy - HTTP server
-Description The module cowboy provides convenience functions for manipulating Ranch listeners.
-Exports cowboy:start_clear(3) - Listen for connections using plain TCP cowboy:start_tls(3) - Listen for connections using TLS cowboy:stop_listener(3) - Stop the given listener cowboy:set_env(3) - Update a listener&amp;apos;s environment value Types fields() fields() :: [Name | {Name, Constraints} | {Name, Constraints, Default}] Name :: atom() Constraints :: Constraint | [Constraint] Constraint :: cowboy_constraints:constraint() Default :: any() Fields description for match operations.</description>
- </item>
-
- <item>
- <title>cowboy(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy/</link>
+ <title>Ranch User Guide</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy/</guid>
- <description>Name cowboy - HTTP server
-Description The module cowboy provides convenience functions for manipulating Ranch listeners.
-Exports cowboy:start_clear(3) - Listen for connections using plain TCP cowboy:start_tls(3) - Listen for connections using TLS cowboy:stop_listener(3) - Stop the given listener cowboy:set_env(3) - Update a listener&amp;apos;s environment value Types fields() fields() :: [Name | {Name, Constraints} | {Name, Constraints, Default}] Name :: atom() Constraints :: Constraint | [Constraint] Constraint :: cowboy_constraints:constraint() Default :: any() Fields description for match operations.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/</guid>
+ <description>Interface Introduction Listeners Transports Protocols Embedded mode How to Writing parsers SSL client authentication Connection draining Advanced Internals Additional information Migrating from Ranch 1.7 to 2.0 Migrating from Ranch 1.6 to 1.7 Migrating from Ranch 1.5 to 1.6 Migrating from Ranch 1.x </description>
</item>
<item>
@@ -4103,32 +3013,6 @@ Exports cowboy:start_clear(3) - Listen for connections using plain TCP cowboy:s
<item>
<title>cowboy(7)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_app/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_app/</guid>
- <description>Name cowboy - Small, fast, modern HTTP server for Erlang/OTP
-Description Cowboy is an HTTP server for Erlang/OTP with support for the HTTP/1.1, HTTP/2 and Websocket protocols.
-Cowboy aims to provide a complete HTTP stack. This includes the implementation of the HTTP RFCs but also any directly related standards, like Websocket or Server-Sent Events.
-Modules Functions:
-cowboy(3) - Listener management cowboy_req(3) - Request and response cowboy_router(3) - Router cowboy_constraints(3) - Constraints Protocols:</description>
- </item>
-
- <item>
- <title>cowboy(7)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_app/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_app/</guid>
- <description>Name cowboy - Small, fast, modern HTTP server for Erlang/OTP
-Description Cowboy is an HTTP server for Erlang/OTP with support for the HTTP/1.1, HTTP/2 and Websocket protocols.
-Cowboy aims to provide a complete HTTP stack. This includes the implementation of the HTTP RFCs but also any directly related standards, like Websocket or Server-Sent Events.
-Modules Functions:
-cowboy(3) - Listener management cowboy_req(3) - Request and response cowboy_router(3) - Router cowboy_constraints(3) - Constraints Protocols:</description>
- </item>
-
- <item>
- <title>cowboy(7)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_app/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4194,32 +3078,6 @@ cowboy(3) - Listener management cowboy_req(3) - Request and response cowboy_ro
<item>
<title>cowboy:set_env(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.set_env/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.set_env/</guid>
- <description>Name cowboy:set_env - Update a listener&amp;apos;s environment value
-Description set_env(Name :: ranch:ref(), Key :: atom(), Value :: any()) -&amp;gt; ok Set or update an environment value for a previously started listener.
-This is most useful for updating the routes dynamically, without having to restart the listener.
-The new value will only be available to new connections. Pre-existing connections will still use the old value.
-Arguments Name The name of the listener to update.</description>
- </item>
-
- <item>
- <title>cowboy:set_env(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.set_env/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.set_env/</guid>
- <description>Name cowboy:set_env - Update a listener&amp;apos;s environment value
-Description set_env(Name :: ranch:ref(), Key :: atom(), Value :: any()) -&amp;gt; ok Set or update an environment value for a previously started listener.
-This is most useful for updating the routes dynamically, without having to restart the listener.
-The new value will only be available to new connections. Pre-existing connections will still use the old value.
-Arguments Name The name of the listener to update.</description>
- </item>
-
- <item>
- <title>cowboy:set_env(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy.set_env/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4285,30 +3143,6 @@ Arguments Name The name of the listener to update.</description>
<item>
<title>cowboy:start_clear(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.start_clear/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.start_clear/</guid>
- <description>Name cowboy:start_clear - Listen for connections using plain TCP
-Description start_clear(Name :: ranch:ref(), TransportOpts :: ranch_tcp:opts(), ProtocolOpts :: opts()) -&amp;gt; {ok, ListenerPid :: pid()} | {error, any()} Start listening for connections over a clear TCP channel.
-Both HTTP/1.1 and HTTP/2 are supported on this listener. HTTP/2 has two methods of establishing a connection over a clear TCP channel. Both the upgrade and the prior knowledge methods are supported.
-Arguments Name The listener name is used to refer to this listener in future calls, for example when stopping it or when updating the routes defined.</description>
- </item>
-
- <item>
- <title>cowboy:start_clear(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.start_clear/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.start_clear/</guid>
- <description>Name cowboy:start_clear - Listen for connections using plain TCP
-Description start_clear(Name :: ranch:ref(), TransportOpts :: ranch_tcp:opts(), ProtocolOpts :: opts()) -&amp;gt; {ok, ListenerPid :: pid()} | {error, any()} Start listening for connections over a clear TCP channel.
-Both HTTP/1.1 and HTTP/2 are supported on this listener. HTTP/2 has two methods of establishing a connection over a clear TCP channel. Both the upgrade and the prior knowledge methods are supported.
-Arguments Name The listener name is used to refer to this listener in future calls, for example when stopping it or when updating the routes defined.</description>
- </item>
-
- <item>
- <title>cowboy:start_clear(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy.start_clear/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4369,30 +3203,6 @@ Arguments Name The listener name is used to refer to this listener in future cal
<item>
<title>cowboy:start_tls(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.start_tls/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.start_tls/</guid>
- <description>Name cowboy:start_tls - Listen for connections using TLS
-Description start_tls(Name :: ranch:ref(), TransportOpts :: ranch_ssl:opts(), ProtocolOpts :: opts()) -&amp;gt; {ok, ListenerPid :: pid()} | {error, any()} Start listening for connections over a secure TLS channel.
-Both HTTP/1.1 and HTTP/2 are supported on this listener. The ALPN TLS extension must be used to initiate an HTTP/2 connection.
-Arguments Name The listener name is used to refer to this listener in future calls, for example when stopping it or when updating the routes defined.</description>
- </item>
-
- <item>
- <title>cowboy:start_tls(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.start_tls/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.start_tls/</guid>
- <description>Name cowboy:start_tls - Listen for connections using TLS
-Description start_tls(Name :: ranch:ref(), TransportOpts :: ranch_ssl:opts(), ProtocolOpts :: opts()) -&amp;gt; {ok, ListenerPid :: pid()} | {error, any()} Start listening for connections over a secure TLS channel.
-Both HTTP/1.1 and HTTP/2 are supported on this listener. The ALPN TLS extension must be used to initiate an HTTP/2 connection.
-Arguments Name The listener name is used to refer to this listener in future calls, for example when stopping it or when updating the routes defined.</description>
- </item>
-
- <item>
- <title>cowboy:start_tls(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy.start_tls/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4453,36 +3263,6 @@ Arguments Name The listener name is used to refer to this listener in future cal
<item>
<title>cowboy:stop_listener(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.stop_listener/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.stop_listener/</guid>
- <description>Name cowboy:stop_listener - Stop the given listener
-Description stop_listener(Name :: ranch:ref()) -&amp;gt; ok | {error, not_found}. Stop a previously started listener.
-Alias of ranch:stop_listener(3).
-Arguments Name The name of the listener to be stopped.
-The name of the listener is the first argument given to the cowboy:start_clear(3), cowboy:start_tls(3) or ranch:start_listener(3) function.
- Return value The atom ok is returned on success.
-The {error, not_found} tuple is returned when the listener does not exist.</description>
- </item>
-
- <item>
- <title>cowboy:stop_listener(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.stop_listener/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.stop_listener/</guid>
- <description>Name cowboy:stop_listener - Stop the given listener
-Description stop_listener(Name :: ranch:ref()) -&amp;gt; ok | {error, not_found}. Stop a previously started listener.
-Alias of ranch:stop_listener(3).
-Arguments Name The name of the listener to be stopped.
-The name of the listener is the first argument given to the cowboy:start_clear(3), cowboy:start_tls(3) or ranch:start_listener(3) function.
- Return value The atom ok is returned on success.
-The {error, not_found} tuple is returned when the listener does not exist.</description>
- </item>
-
- <item>
- <title>cowboy:stop_listener(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy.stop_listener/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4569,32 +3349,6 @@ Normal responses will only be compressed when their size is lower than the confi
<item>
<title>cowboy_constraints(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_constraints/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_constraints/</guid>
- <description>Name cowboy_constraints - Constraints
-Description The module cowboy_constraints defines the built-in constraints in Cowboy and provides an interface for manipulating these constraints.
-Constraints are functions that define what type of input is allowed. They are used throughout Cowboy, from the router to query strings to cookies.
-Exports Built-in constraints:
-cowboy_constraints:int(3) - Integer constraint cowboy_constraints:nonempty(3) - Non-empty constraint Types constraint() constraint() :: int | nonempty | fun() A constraint function.</description>
- </item>
-
- <item>
- <title>cowboy_constraints(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_constraints/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_constraints/</guid>
- <description>Name cowboy_constraints - Constraints
-Description The module cowboy_constraints defines the built-in constraints in Cowboy and provides an interface for manipulating these constraints.
-Constraints are functions that define what type of input is allowed. They are used throughout Cowboy, from the router to query strings to cookies.
-Exports Built-in constraints:
-cowboy_constraints:int(3) - Integer constraint cowboy_constraints:nonempty(3) - Non-empty constraint Types constraint() constraint() :: int | nonempty | fun() A constraint function.</description>
- </item>
-
- <item>
- <title>cowboy_constraints(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_constraints/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4660,32 +3414,6 @@ cowboy_constraints:int(3) - Integer constraint cowboy_constraints:nonempty(3) -
<item>
<title>cowboy_constraints:int(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_constraints.int/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_constraints.int/</guid>
- <description>Name cowboy_constraints:int - Integer constraint
-Description Constraint functions implement a number of different operations.
-int(forward, Bin) -&amp;gt; {ok, Int} | {error, not_an_integer} Bin :: binary() Int :: integer() Validate and convert the text representation of an integer.
-int(reverse, Int) -&amp;gt; {ok, Bin} | {error, not_an_integer} Convert an integer back to its text representation.
-int(format_error, Error) -&amp;gt; HumanReadable Error :: {not_an_integer, Bin | Int} HumanReadable :: iolist() Generate a human-readable error message.</description>
- </item>
-
- <item>
- <title>cowboy_constraints:int(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_constraints.int/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_constraints.int/</guid>
- <description>Name cowboy_constraints:int - Integer constraint
-Description Constraint functions implement a number of different operations.
-int(forward, Bin) -&amp;gt; {ok, Int} | {error, not_an_integer} Bin :: binary() Int :: integer() Validate and convert the text representation of an integer.
-int(reverse, Int) -&amp;gt; {ok, Bin} | {error, not_an_integer} Convert an integer back to its text representation.
-int(format_error, Error) -&amp;gt; HumanReadable Error :: {not_an_integer, Bin | Int} HumanReadable :: iolist() Generate a human-readable error message.</description>
- </item>
-
- <item>
- <title>cowboy_constraints:int(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_constraints.int/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4751,34 +3479,6 @@ int(format_error, Error) -&amp;gt; HumanReadable Error :: {not_an_integer, Bin |
<item>
<title>cowboy_constraints:nonempty(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_constraints.nonempty/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_constraints.nonempty/</guid>
- <description>Name cowboy_constraints:nonempty - Non-empty constraint
-Description Constraint functions implement a number of different operations.
-nonempty(forward | reverse, &amp;lt;&amp;lt;&amp;gt;&amp;gt;) -&amp;gt; {error, empty} Reject empty values.
-nonempty(forward | reverse, Bin) -&amp;gt; {ok, Bin} Bin :: binary() Accept any other binary values.
-nonempty(format_error, Error) -&amp;gt; HumanReadable Error :: {empty, Bin} HumanReadable :: iolist() Generate a human-readable error message.
-Arguments Arguments vary depending on the operation. Constraint functions always take the operation type as first argument, and the value as second argument.</description>
- </item>
-
- <item>
- <title>cowboy_constraints:nonempty(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_constraints.nonempty/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_constraints.nonempty/</guid>
- <description>Name cowboy_constraints:nonempty - Non-empty constraint
-Description Constraint functions implement a number of different operations.
-nonempty(forward | reverse, &amp;lt;&amp;lt;&amp;gt;&amp;gt;) -&amp;gt; {error, empty} Reject empty values.
-nonempty(forward | reverse, Bin) -&amp;gt; {ok, Bin} Bin :: binary() Accept any other binary values.
-nonempty(format_error, Error) -&amp;gt; HumanReadable Error :: {empty, Bin} HumanReadable :: iolist() Generate a human-readable error message.
-Arguments Arguments vary depending on the operation. Constraint functions always take the operation type as first argument, and the value as second argument.</description>
- </item>
-
- <item>
- <title>cowboy_constraints:nonempty(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_constraints.nonempty/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4849,30 +3549,6 @@ Arguments Arguments vary depending on the operation. Constraint functions always
<item>
<title>cowboy_handler(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_handler/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_handler/</guid>
- <description>Name cowboy_handler - Plain HTTP handlers
-Description The cowboy_handler middleware executes the handler selected by the router or any other preceding middleware.
-This middleware takes the handler module and initial state from the handler and handler_opts environment values, respectively. On completion, it adds a result value to the middleware environment, containing the return value of the terminate/3 callback (if defined) and ok otherwise.
-This module also defines a callback interface for handling HTTP requests.</description>
- </item>
-
- <item>
- <title>cowboy_handler(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_handler/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_handler/</guid>
- <description>Name cowboy_handler - Plain HTTP handlers
-Description The cowboy_handler middleware executes the handler selected by the router or any other preceding middleware.
-This middleware takes the handler module and initial state from the handler and handler_opts environment values, respectively. On completion, it adds a result value to the middleware environment, containing the return value of the terminate/3 callback (if defined) and ok otherwise.
-This module also defines a callback interface for handling HTTP requests.</description>
- </item>
-
- <item>
- <title>cowboy_handler(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_handler/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4933,34 +3609,6 @@ This module also defines a callback interface for handling HTTP requests.</descr
<item>
<title>cowboy_handler:terminate(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_handler.terminate/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_handler.terminate/</guid>
- <description>Name cowboy_handler:terminate - Terminate the handler
-Description terminate(Reason, PartialReq, State, Handler) -&amp;gt; ok Reason :: any() PartialReq :: map() State :: any() Handler :: module() Call the optional terminate callback if it is defined.
-Make sure to use this function at the end of the execution of modules that implement custom handler behaviors.
-Arguments Reason Reason for termination.
- PartialReq The Req object.
-It is possible to remove fields from the Req object to save memory when the handler has no concept of requests/responses.</description>
- </item>
-
- <item>
- <title>cowboy_handler:terminate(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_handler.terminate/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_handler.terminate/</guid>
- <description>Name cowboy_handler:terminate - Terminate the handler
-Description terminate(Reason, PartialReq, State, Handler) -&amp;gt; ok Reason :: any() PartialReq :: map() State :: any() Handler :: module() Call the optional terminate callback if it is defined.
-Make sure to use this function at the end of the execution of modules that implement custom handler behaviors.
-Arguments Reason Reason for termination.
- PartialReq The Req object.
-It is possible to remove fields from the Req object to save memory when the handler has no concept of requests/responses.</description>
- </item>
-
- <item>
- <title>cowboy_handler:terminate(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_handler.terminate/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5031,28 +3679,6 @@ It is possible to remove fields from the Req object to save memory when the hand
<item>
<title>cowboy_http(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_http/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_http/</guid>
- <description>Name cowboy_http - HTTP/1.1
-Description The module cowboy_http implements HTTP/1.1 and HTTP/1.0 as a Ranch protocol.
-Options opts() :: #{ connection_type =&amp;gt; worker | supervisor, env =&amp;gt; cowboy_middleware:env(), idle_timeout =&amp;gt; timeout(), inactivity_timeout =&amp;gt; timeout(), max_empty_lines =&amp;gt; non_neg_integer(), max_header_name_length =&amp;gt; non_neg_integer(), max_header_value_length =&amp;gt; non_neg_integer(), max_headers =&amp;gt; non_neg_integer(), max_keepalive =&amp;gt; non_neg_integer(), max_method_length =&amp;gt; non_neg_integer(), max_request_line_length =&amp;gt; non_neg_integer(), middlewares =&amp;gt; [module()], request_timeout =&amp;gt; timeout(), shutdown_timeout =&amp;gt; timeout(), stream_handlers =&amp;gt; [module()] } Configuration for the HTTP/1.</description>
- </item>
-
- <item>
- <title>cowboy_http(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_http/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_http/</guid>
- <description>Name cowboy_http - HTTP/1.1
-Description The module cowboy_http implements HTTP/1.1 and HTTP/1.0 as a Ranch protocol.
-Options opts() :: #{ connection_type =&amp;gt; worker | supervisor, env =&amp;gt; cowboy_middleware:env(), idle_timeout =&amp;gt; timeout(), inactivity_timeout =&amp;gt; timeout(), max_empty_lines =&amp;gt; non_neg_integer(), max_header_name_length =&amp;gt; non_neg_integer(), max_header_value_length =&amp;gt; non_neg_integer(), max_headers =&amp;gt; non_neg_integer(), max_keepalive =&amp;gt; non_neg_integer(), max_method_length =&amp;gt; non_neg_integer(), max_request_line_length =&amp;gt; non_neg_integer(), middlewares =&amp;gt; [module()], request_timeout =&amp;gt; timeout(), shutdown_timeout =&amp;gt; timeout(), stream_handlers =&amp;gt; [module()] } Configuration for the HTTP/1.</description>
- </item>
-
- <item>
- <title>cowboy_http(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_http/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5108,32 +3734,6 @@ Options opts() :: #{ chunked =&amp;gt; boolean(), connection_type =&amp;gt; work
<item>
<title>cowboy_http2(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_http2/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_http2/</guid>
- <description>Name cowboy_http2 - HTTP/2
-Description The module cowboy_http2 implements HTTP/2 as a Ranch protocol.
-Options opts() :: #{ connection_type =&amp;gt; worker | supervisor, env =&amp;gt; cowboy_middleware:env(), inactivity_timeout =&amp;gt; timeout(), middlewares =&amp;gt; [module()], preface_timeout =&amp;gt; timeout(), shutdown_timeout =&amp;gt; timeout(), stream_handlers =&amp;gt; [module()] } Configuration for the HTTP/2 protocol.
-This configuration is passed to Cowboy when starting listeners using cowboy:start_clear/3 or cowboy:start_tls/3 functions.
-It can be updated without restarting listeners using the Ranch functions ranch:get_protocol_options/1 and ranch:set_protocol_options/2.</description>
- </item>
-
- <item>
- <title>cowboy_http2(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_http2/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_http2/</guid>
- <description>Name cowboy_http2 - HTTP/2
-Description The module cowboy_http2 implements HTTP/2 as a Ranch protocol.
-Options opts() :: #{ connection_type =&amp;gt; worker | supervisor, env =&amp;gt; cowboy_middleware:env(), inactivity_timeout =&amp;gt; timeout(), middlewares =&amp;gt; [module()], preface_timeout =&amp;gt; timeout(), shutdown_timeout =&amp;gt; timeout(), stream_handlers =&amp;gt; [module()] } Configuration for the HTTP/2 protocol.
-This configuration is passed to Cowboy when starting listeners using cowboy:start_clear/3 or cowboy:start_tls/3 functions.
-It can be updated without restarting listeners using the Ranch functions ranch:get_protocol_options/1 and ranch:set_protocol_options/2.</description>
- </item>
-
- <item>
- <title>cowboy_http2(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_http2/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5193,32 +3793,6 @@ Options opts() :: #{ connection_type =&amp;gt; worker | supervisor, enable_conne
<item>
<title>cowboy_loop(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_loop/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_loop/</guid>
- <description>Name cowboy_loop - Loop handlers
-Description The module cowboy_loop defines a callback interface for long running HTTP connections.
-You should switch to this behavior for long polling, server-sent events and similar long-running requests.
-There are generally two usage patterns:
-Loop until receiving a specific message, then send a response and stop execution (for example long polling); Or initiate a response in init/2 and stream the body in info/3 as necessary (for example server-sent events).</description>
- </item>
-
- <item>
- <title>cowboy_loop(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_loop/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_loop/</guid>
- <description>Name cowboy_loop - Loop handlers
-Description The module cowboy_loop defines a callback interface for long running HTTP connections.
-You should switch to this behavior for long polling, server-sent events and similar long-running requests.
-There are generally two usage patterns:
-Loop until receiving a specific message, then send a response and stop execution (for example long polling); Or initiate a response in init/2 and stream the body in info/3 as necessary (for example server-sent events).</description>
- </item>
-
- <item>
- <title>cowboy_loop(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_loop/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5284,32 +3858,6 @@ Loop until receiving a specific message, then send a response and stop execution
<item>
<title>cowboy_middleware(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_middleware/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_middleware/</guid>
- <description>Name cowboy_middleware - Middlewares
-Description The module cowboy_middleware defines a callback interface for Cowboy middlewares.
-Middlewares process the request sequentially in the order they are configured.
-Callbacks Middlewares implement the following interface:
-execute(Req, Env) -&amp;gt; {ok, Req, Env} | {suspend, module(), atom(), [any()]} | {stop, Req} Req :: cowboy_req:req() Env :: cowboy_middleware:env() The execute/2 is the only callback that needs to be implemented. It must execute the middleware and return with instructions for Cowboy.</description>
- </item>
-
- <item>
- <title>cowboy_middleware(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_middleware/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_middleware/</guid>
- <description>Name cowboy_middleware - Middlewares
-Description The module cowboy_middleware defines a callback interface for Cowboy middlewares.
-Middlewares process the request sequentially in the order they are configured.
-Callbacks Middlewares implement the following interface:
-execute(Req, Env) -&amp;gt; {ok, Req, Env} | {suspend, module(), atom(), [any()]} | {stop, Req} Req :: cowboy_req:req() Env :: cowboy_middleware:env() The execute/2 is the only callback that needs to be implemented. It must execute the middleware and return with instructions for Cowboy.</description>
- </item>
-
- <item>
- <title>cowboy_middleware(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_middleware/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5375,30 +3923,6 @@ execute(Req, Env) -&amp;gt; {ok, Req, Env} | {suspend, module(), atom(), [any()]
<item>
<title>cowboy_req(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req/</guid>
- <description>Name cowboy_req - HTTP request and response
-Description The module cowboy_req provides functions to access, manipulate and respond to requests.
-There are four types of functions in this module. They can be differentiated by their name and their return type:
-Type Name pattern Return type access no verb, parse_*, match_* Value question has_* boolean() modification set_* Req action any other verb ok | {Result, Value, Req} Any Req returned must be used in place of the one passed as argument.</description>
- </item>
-
- <item>
- <title>cowboy_req(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req/</guid>
- <description>Name cowboy_req - HTTP request and response
-Description The module cowboy_req provides functions to access, manipulate and respond to requests.
-There are four types of functions in this module. They can be differentiated by their name and their return type:
-Type Name pattern Return type access no verb, parse_*, match_* Value question has_* boolean() modification set_* Req action any other verb ok | {Result, Value, Req} Any Req returned must be used in place of the one passed as argument.</description>
- </item>
-
- <item>
- <title>cowboy_req(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5459,34 +3983,6 @@ Type Name pattern Return type access no verb, parse_*, match_* Value question h
<item>
<title>cowboy_req:binding(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.binding/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.binding/</guid>
- <description>Name cowboy_req:binding - Access a value bound from the route
-Description binding(Name, Req) -&amp;gt; binding(Name, Req, undefined) binding(Name, Req, Default) -&amp;gt; any() | Default Name :: atom() Req :: cowboy_req:req() Default :: any() Return the value for the given binding.
-Arguments Name Desired binding name as an atom.
- Req The Req object.
- Default Default value returned when the binding is missing.
- Return value By default the value is a case sensitive binary string, however constraints may change the type of this value (for example automatically converting numbers to integer).</description>
- </item>
-
- <item>
- <title>cowboy_req:binding(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.binding/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.binding/</guid>
- <description>Name cowboy_req:binding - Access a value bound from the route
-Description binding(Name, Req) -&amp;gt; binding(Name, Req, undefined) binding(Name, Req, Default) -&amp;gt; any() | Default Name :: atom() Req :: cowboy_req:req() Default :: any() Return the value for the given binding.
-Arguments Name Desired binding name as an atom.
- Req The Req object.
- Default Default value returned when the binding is missing.
- Return value By default the value is a case sensitive binary string, however constraints may change the type of this value (for example automatically converting numbers to integer).</description>
- </item>
-
- <item>
- <title>cowboy_req:binding(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.binding/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5557,32 +4053,6 @@ Arguments Name Desired binding name as an atom.
<item>
<title>cowboy_req:bindings(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.bindings/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.bindings/</guid>
- <description>Name cowboy_req:bindings - Access all values bound from the route
-Description bindings(Req :: cowboy_req:req()) -&amp;gt; cowboy_router:bindings() Return a map containing all bindings.
-Arguments Req The Req object.
- Return value By default values are case sensitive binary strings, however constraints may change the type of this value (for example automatically converting numbers to integer).
-Changelog 2.0: Only the values are returned, they are no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:bindings(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.bindings/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.bindings/</guid>
- <description>Name cowboy_req:bindings - Access all values bound from the route
-Description bindings(Req :: cowboy_req:req()) -&amp;gt; cowboy_router:bindings() Return a map containing all bindings.
-Arguments Req The Req object.
- Return value By default values are case sensitive binary strings, however constraints may change the type of this value (for example automatically converting numbers to integer).
-Changelog 2.0: Only the values are returned, they are no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:bindings(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.bindings/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5648,32 +4118,6 @@ Changelog 2.0: Only the values are returned, they are no longer wrapped in a tup
<item>
<title>cowboy_req:body_length(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.body_length/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.body_length/</guid>
- <description>Name cowboy_req:body_length - Body length
-Description body_length(Req :: cowboy_req:req()) -&amp;gt; undefined | non_neg_integer() Return the length of the request body.
-The length is not always known before reading the body. In those cases Cowboy will return undefined. The body length is available after the body has been fully read.
-Arguments Req The Req object.
- Return value The length of the request body, or undefined if it is not known.</description>
- </item>
-
- <item>
- <title>cowboy_req:body_length(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.body_length/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.body_length/</guid>
- <description>Name cowboy_req:body_length - Body length
-Description body_length(Req :: cowboy_req:req()) -&amp;gt; undefined | non_neg_integer() Return the length of the request body.
-The length is not always known before reading the body. In those cases Cowboy will return undefined. The body length is available after the body has been fully read.
-Arguments Req The Req object.
- Return value The length of the request body, or undefined if it is not known.</description>
- </item>
-
- <item>
- <title>cowboy_req:body_length(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.body_length/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5739,18 +4183,6 @@ Arguments Req The Req object.
<item>
<title>cowboy_req:cert(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.cert/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.cert/</guid>
- <description>Name cowboy_req:cert - Client TLS certificate
-Description cert(Req :: cowboy_req:req()) -&amp;gt; binary() | undefined Return the peer&amp;apos;s TLS certificate.
-Using the default configuration this function will always return undefined. You need to explicitly configure Cowboy to request the client certificate. To do this you need to set the verify transport option to verify_peer:
-{ok, _} = cowboy:start_tls(example, [ {port, 8443}, {cert, &#34;path/to/cert.pem&#34;}, {verify, verify_peer} ], #{ env =&amp;gt; #{dispatch =&amp;gt; Dispatch} }).</description>
- </item>
-
- <item>
- <title>cowboy_req:cert(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.cert/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5811,34 +4243,6 @@ Using the default configuration this function will always return undefined. You
<item>
<title>cowboy_req:delete_resp_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.delete_resp_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.delete_resp_header/</guid>
- <description>Name cowboy_req:delete_resp_header - Delete a response header
-Description delete_resp_header(Name, Req :: cowboy_req:req()) -&amp;gt; Req Name :: binary() %% lowercase; case insensitive Delete the given response header.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Arguments Name Header name as a lowercase binary string.
- Req The Req object.
- Return value A new Req object is returned.</description>
- </item>
-
- <item>
- <title>cowboy_req:delete_resp_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.delete_resp_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.delete_resp_header/</guid>
- <description>Name cowboy_req:delete_resp_header - Delete a response header
-Description delete_resp_header(Name, Req :: cowboy_req:req()) -&amp;gt; Req Name :: binary() %% lowercase; case insensitive Delete the given response header.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Arguments Name Header name as a lowercase binary string.
- Req The Req object.
- Return value A new Req object is returned.</description>
- </item>
-
- <item>
- <title>cowboy_req:delete_resp_header(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.delete_resp_header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5909,32 +4313,6 @@ Arguments Name Header name as a lowercase binary string.
<item>
<title>cowboy_req:has_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.has_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.has_body/</guid>
- <description>Name cowboy_req:has_body - Is there a request body?
-Description has_body(Req :: cowboy_req:req()) -&amp;gt; boolean() Return whether the request has a body.
-Arguments Req The Req object.
- Return value A boolean indicating whether the request has a body.
-Changelog 1.0: Function introduced. Examples Ensure the request has a body true = cowboy_req:has_body(Req). See also cowboy_req(3), cowboy_req:body_length(3), cowboy_req:read_body(3), cowboy_req:read_urlencoded_body(3), cowboy_req:read_part(3), cowboy_req:read_part_body(3)</description>
- </item>
-
- <item>
- <title>cowboy_req:has_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.has_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.has_body/</guid>
- <description>Name cowboy_req:has_body - Is there a request body?
-Description has_body(Req :: cowboy_req:req()) -&amp;gt; boolean() Return whether the request has a body.
-Arguments Req The Req object.
- Return value A boolean indicating whether the request has a body.
-Changelog 1.0: Function introduced. Examples Ensure the request has a body true = cowboy_req:has_body(Req). See also cowboy_req(3), cowboy_req:body_length(3), cowboy_req:read_body(3), cowboy_req:read_urlencoded_body(3), cowboy_req:read_part(3), cowboy_req:read_part_body(3)</description>
- </item>
-
- <item>
- <title>cowboy_req:has_body(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.has_body/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6000,34 +4378,6 @@ Changelog 1.0: Function introduced. Examples Ensure the request has a body tru
<item>
<title>cowboy_req:has_resp_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.has_resp_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.has_resp_body/</guid>
- <description>Name cowboy_req:has_resp_body - Is there a response body?
-Description has_resp_body(Req :: cowboy_req:req()) -&amp;gt; boolean() Return whether a response body has been set.
-Arguments Req The Req object.
- Return value A boolean indicating whether a response body has been set.
-This function will return false when an empty response body has been set.
-Changelog 1.0: Function introduced. Examples Check whether a body has been set false = cowboy_req:has_resp_body(Req0), Req1 = cowboy_req:set_resp_body(&amp;lt;&amp;lt;&#34;</description>
- </item>
-
- <item>
- <title>cowboy_req:has_resp_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.has_resp_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.has_resp_body/</guid>
- <description>Name cowboy_req:has_resp_body - Is there a response body?
-Description has_resp_body(Req :: cowboy_req:req()) -&amp;gt; boolean() Return whether a response body has been set.
-Arguments Req The Req object.
- Return value A boolean indicating whether a response body has been set.
-This function will return false when an empty response body has been set.
-Changelog 1.0: Function introduced. Examples Check whether a body has been set false = cowboy_req:has_resp_body(Req0), Req1 = cowboy_req:set_resp_body(&amp;lt;&amp;lt;&#34;</description>
- </item>
-
- <item>
- <title>cowboy_req:has_resp_body(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.has_resp_body/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6098,30 +4448,6 @@ Changelog 1.0: Function introduced. Examples Check whether a body has been set
<item>
<title>cowboy_req:has_resp_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.has_resp_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.has_resp_header/</guid>
- <description>Name cowboy_req:has_resp_header - Is the given response header set?
-Description has_resp_header(Name, Req :: cowboy_req:req()) -&amp;gt; boolean() Name :: binary() %% lowercase; case insensitive Return whether the given response header has been set.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Arguments Name Header name as a lowercase binary string.</description>
- </item>
-
- <item>
- <title>cowboy_req:has_resp_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.has_resp_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.has_resp_header/</guid>
- <description>Name cowboy_req:has_resp_header - Is the given response header set?
-Description has_resp_header(Name, Req :: cowboy_req:req()) -&amp;gt; boolean() Name :: binary() %% lowercase; case insensitive Return whether the given response header has been set.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Arguments Name Header name as a lowercase binary string.</description>
- </item>
-
- <item>
- <title>cowboy_req:has_resp_header(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.has_resp_header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6182,30 +4508,6 @@ Arguments Name Header name as a lowercase binary string.</description>
<item>
<title>cowboy_req:header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.header/</guid>
- <description>Name cowboy_req:header - HTTP header
-Description header(Name, Req) -&amp;gt; header(Name, Req, undefined) header(Name, Req, Default) -&amp;gt; binary() | Default Name :: binary() %% lowercase; case insensitive Req :: cowboy_req:req() Default :: any() Return the value for the given HTTP header.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Headers can also be obtained using pattern matching:</description>
- </item>
-
- <item>
- <title>cowboy_req:header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.header/</guid>
- <description>Name cowboy_req:header - HTTP header
-Description header(Name, Req) -&amp;gt; header(Name, Req, undefined) header(Name, Req, Default) -&amp;gt; binary() | Default Name :: binary() %% lowercase; case insensitive Req :: cowboy_req:req() Default :: any() Return the value for the given HTTP header.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Headers can also be obtained using pattern matching:</description>
- </item>
-
- <item>
- <title>cowboy_req:header(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6266,34 +4568,6 @@ Headers can also be obtained using pattern matching:</description>
<item>
<title>cowboy_req:headers(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.headers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.headers/</guid>
- <description>Name cowboy_req:headers - HTTP headers
-Description headers(Req :: cowboy_req:req()) -&amp;gt; cowboy:http_headers() Return all request headers.
-Request headers can also be obtained using pattern matching:
-#{headers := Headers} = Req. Arguments Req The Req object.
- Return value Headers are returned as a map with keys being lowercase binary strings, and values as binary strings.
-Changelog 2.0: Only the headers are returned, they are no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:headers(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.headers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.headers/</guid>
- <description>Name cowboy_req:headers - HTTP headers
-Description headers(Req :: cowboy_req:req()) -&amp;gt; cowboy:http_headers() Return all request headers.
-Request headers can also be obtained using pattern matching:
-#{headers := Headers} = Req. Arguments Req The Req object.
- Return value Headers are returned as a map with keys being lowercase binary strings, and values as binary strings.
-Changelog 2.0: Only the headers are returned, they are no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:headers(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.headers/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6364,34 +4638,6 @@ Changelog 2.0: Only the headers are returned, they are no longer wrapped in a tu
<item>
<title>cowboy_req:host(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.host/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.host/</guid>
- <description>Name cowboy_req:host - URI host name
-Description host(Req :: cowboy_req:req()) -&amp;gt; Host :: binary() Return the host name of the effective request URI.
-The host name can also be obtained using pattern matching:
-#{host := Host} = Req. Arguments Req The Req object.
- Return value The host name is returned as a lowercase binary string. It is case insensitive.
-Changelog 2.0: Only the host name is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:host(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.host/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.host/</guid>
- <description>Name cowboy_req:host - URI host name
-Description host(Req :: cowboy_req:req()) -&amp;gt; Host :: binary() Return the host name of the effective request URI.
-The host name can also be obtained using pattern matching:
-#{host := Host} = Req. Arguments Req The Req object.
- Return value The host name is returned as a lowercase binary string. It is case insensitive.
-Changelog 2.0: Only the host name is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:host(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.host/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6462,34 +4708,6 @@ Changelog 2.0: Only the host name is returned, it is no longer wrapped in a tupl
<item>
<title>cowboy_req:host_info(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.host_info/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.host_info/</guid>
- <description>Name cowboy_req:host_info - Access the route&amp;apos;s heading host segments
-Description host_info(Req :: cowboy_req:req()) -&amp;gt; cowboy_router:tokens() Return the tokens for the heading host segments.
-This is the part of the host name that was matched using the ... notation.
-Arguments Req The Req object.
- Return value The tokens are returned as a list of case insensitive binary strings.
-Changelog 2.0: Only the tokens are returned, they are no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:host_info(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.host_info/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.host_info/</guid>
- <description>Name cowboy_req:host_info - Access the route&amp;apos;s heading host segments
-Description host_info(Req :: cowboy_req:req()) -&amp;gt; cowboy_router:tokens() Return the tokens for the heading host segments.
-This is the part of the host name that was matched using the ... notation.
-Arguments Req The Req object.
- Return value The tokens are returned as a list of case insensitive binary strings.
-Changelog 2.0: Only the tokens are returned, they are no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:host_info(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.host_info/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6560,18 +4778,6 @@ Changelog 2.0: Only the tokens are returned, they are no longer wrapped in a tup
<item>
<title>cowboy_req:inform(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.inform/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.inform/</guid>
- <description>Name cowboy_req:inform - Send an informational response
-Description inform(Status, Req :: cowboy_req:req()) -&amp;gt; inform(StatusCode, #{}, Req) inform(Status, Headers, Req :: cowboy_req:req()) -&amp;gt; ok Status :: cowboy:http_status() Headers :: cowboy:http_headers() Send an informational response.
-Informational responses use a status code between 100 and 199. They cannot include a body. This function will not use any of the previously set headers. All headers to be sent must be given directly.
-Any number of informational responses can be sent as long as they are sent before the proper response.</description>
- </item>
-
- <item>
- <title>cowboy_req:inform(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.inform/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6632,28 +4838,6 @@ Any number of informational responses can be sent as long as they are sent befor
<item>
<title>cowboy_req:match_cookies(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.match_cookies/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.match_cookies/</guid>
- <description>Name cowboy_req:match_cookies - Match cookies against constraints
-Description match_cookies(Fields :: cowboy:fields(), Req :: cowboy_req:req()) -&amp;gt; #{atom() =&amp;gt; any()} Parse the cookies and match specific values against constraints.
-Cowboy will only return the cookie values specified in the fields list, and ignore all others. Fields can be either the name of the cookie requested; the name along with a list of constraints; or the name, a list of constraints and a default value in case the cookie is missing.</description>
- </item>
-
- <item>
- <title>cowboy_req:match_cookies(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.match_cookies/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.match_cookies/</guid>
- <description>Name cowboy_req:match_cookies - Match cookies against constraints
-Description match_cookies(Fields :: cowboy:fields(), Req :: cowboy_req:req()) -&amp;gt; #{atom() =&amp;gt; any()} Parse the cookies and match specific values against constraints.
-Cowboy will only return the cookie values specified in the fields list, and ignore all others. Fields can be either the name of the cookie requested; the name along with a list of constraints; or the name, a list of constraints and a default value in case the cookie is missing.</description>
- </item>
-
- <item>
- <title>cowboy_req:match_cookies(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.match_cookies/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6709,28 +4893,6 @@ Cowboy will only return the cookie values specified in the fields list, and igno
<item>
<title>cowboy_req:match_qs(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.match_qs/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.match_qs/</guid>
- <description>Name cowboy_req:match_qs - Match the query string against constraints
-Description match_qs(Fields :: cowboy:fields(), Req :: cowboy_req:req()) -&amp;gt; #{atom() =&amp;gt; any()} Parse the query string and match specific values against constraints.
-Cowboy will only return the query string values specified in the fields list, and ignore all others. Fields can be either the key requested; the key along with a list of constraints; or the key, a list of constraints and a default value in case the key is missing.</description>
- </item>
-
- <item>
- <title>cowboy_req:match_qs(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.match_qs/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.match_qs/</guid>
- <description>Name cowboy_req:match_qs - Match the query string against constraints
-Description match_qs(Fields :: cowboy:fields(), Req :: cowboy_req:req()) -&amp;gt; #{atom() =&amp;gt; any()} Parse the query string and match specific values against constraints.
-Cowboy will only return the query string values specified in the fields list, and ignore all others. Fields can be either the key requested; the key along with a list of constraints; or the key, a list of constraints and a default value in case the key is missing.</description>
- </item>
-
- <item>
- <title>cowboy_req:match_qs(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.match_qs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6786,34 +4948,6 @@ Cowboy will only return the query string values specified in the fields list, an
<item>
<title>cowboy_req:method(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.method/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.method/</guid>
- <description>Name cowboy_req:method - HTTP method
-Description method(Req :: cowboy_req:req()) -&amp;gt; Method :: binary() Return the request&amp;apos;s HTTP method.
-The method can also be obtained using pattern matching:
-#{method := Method} = Req. Arguments Req The Req object.
- Return value The request&amp;apos;s HTTP method is returned as a binary string. While methods are case sensitive, standard methods are always uppercase.
-Changelog 2.0: Only the method is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:method(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.method/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.method/</guid>
- <description>Name cowboy_req:method - HTTP method
-Description method(Req :: cowboy_req:req()) -&amp;gt; Method :: binary() Return the request&amp;apos;s HTTP method.
-The method can also be obtained using pattern matching:
-#{method := Method} = Req. Arguments Req The Req object.
- Return value The request&amp;apos;s HTTP method is returned as a binary string. While methods are case sensitive, standard methods are always uppercase.
-Changelog 2.0: Only the method is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:method(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.method/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6884,36 +5018,6 @@ Changelog 2.0: Only the method is returned, it is no longer wrapped in a tuple.<
<item>
<title>cowboy_req:parse_cookies(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.parse_cookies/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.parse_cookies/</guid>
- <description>Name cowboy_req:parse_cookies - Parse cookie headers
-Description parse_cookies(Req) -&amp;gt; [{Name, Value}] Name :: binary() %% case sensitive Value :: binary() %% case sensitive Parse cookie headers.
-Alias for cowboy_req:parse_header(&amp;lt;&amp;lt;&amp;quot;cookie&amp;quot;&amp;gt;&amp;gt;, Req).
-When the cookie header is missing, [] is returned.
-While an empty cookie header is not valid, some clients do send it. Cowboy will in this case also return [].
-Arguments Req The Req object.
- Return value The cookies are returned as a list of key/values.</description>
- </item>
-
- <item>
- <title>cowboy_req:parse_cookies(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.parse_cookies/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.parse_cookies/</guid>
- <description>Name cowboy_req:parse_cookies - Parse cookie headers
-Description parse_cookies(Req) -&amp;gt; [{Name, Value}] Name :: binary() %% case sensitive Value :: binary() %% case sensitive Parse cookie headers.
-Alias for cowboy_req:parse_header(&amp;lt;&amp;lt;&amp;quot;cookie&amp;quot;&amp;gt;&amp;gt;, Req).
-When the cookie header is missing, [] is returned.
-While an empty cookie header is not valid, some clients do send it. Cowboy will in this case also return [].
-Arguments Req The Req object.
- Return value The cookies are returned as a list of key/values.</description>
- </item>
-
- <item>
- <title>cowboy_req:parse_cookies(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.parse_cookies/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6989,30 +5093,6 @@ Arguments Req The Req object.
<item>
<title>cowboy_req:parse_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.parse_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.parse_header/</guid>
- <description>Name cowboy_req:parse_header - Parse the given HTTP header
-Description parse_header(Name, Req) -&amp;gt; ParsedValue | Default parse_header(Name, Req, Default) -&amp;gt; ParsedValue | Default Name :: binary() Req :: cowboy_req:req() ParsedValue :: any() Default :: any() Parse the given HTTP header.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-The type of the parsed value varies depending on the header.</description>
- </item>
-
- <item>
- <title>cowboy_req:parse_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.parse_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.parse_header/</guid>
- <description>Name cowboy_req:parse_header - Parse the given HTTP header
-Description parse_header(Name, Req) -&amp;gt; ParsedValue | Default parse_header(Name, Req, Default) -&amp;gt; ParsedValue | Default Name :: binary() Req :: cowboy_req:req() ParsedValue :: any() Default :: any() Parse the given HTTP header.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-The type of the parsed value varies depending on the header.</description>
- </item>
-
- <item>
- <title>cowboy_req:parse_header(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.parse_header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7073,30 +5153,6 @@ The type of the parsed value varies depending on the header.</description>
<item>
<title>cowboy_req:parse_qs(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.parse_qs/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.parse_qs/</guid>
- <description>Name cowboy_req:parse_qs - Parse the query string
-Description parse_qs(Req :: cowboy_req:req()) -&amp;gt; [{Key :: binary(), Value :: binary() | true}] Parse the query string as a list of key/value pairs.
-Arguments Req The Req object.
- Return value The parsed query string is returned as a list of key/value pairs. The key is a binary string. The value is either a binary string, or the atom true. Both key and value are case sensitive.</description>
- </item>
-
- <item>
- <title>cowboy_req:parse_qs(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.parse_qs/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.parse_qs/</guid>
- <description>Name cowboy_req:parse_qs - Parse the query string
-Description parse_qs(Req :: cowboy_req:req()) -&amp;gt; [{Key :: binary(), Value :: binary() | true}] Parse the query string as a list of key/value pairs.
-Arguments Req The Req object.
- Return value The parsed query string is returned as a list of key/value pairs. The key is a binary string. The value is either a binary string, or the atom true. Both key and value are case sensitive.</description>
- </item>
-
- <item>
- <title>cowboy_req:parse_qs(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.parse_qs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7157,34 +5213,6 @@ Arguments Req The Req object.
<item>
<title>cowboy_req:path(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.path/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.path/</guid>
- <description>Name cowboy_req:path - URI path
-Description path(Req :: cowboy_req:req()) -&amp;gt; Path :: binary() Return the path of the effective request URI.
-The path can also be obtained using pattern matching:
-#{path := Path} = Req. Arguments Req The Req object.
- Return value The path is returned as a binary string. It is case sensitive.
-Changelog 2.0: Only the path is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:path(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.path/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.path/</guid>
- <description>Name cowboy_req:path - URI path
-Description path(Req :: cowboy_req:req()) -&amp;gt; Path :: binary() Return the path of the effective request URI.
-The path can also be obtained using pattern matching:
-#{path := Path} = Req. Arguments Req The Req object.
- Return value The path is returned as a binary string. It is case sensitive.
-Changelog 2.0: Only the path is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:path(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.path/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7255,34 +5283,6 @@ Changelog 2.0: Only the path is returned, it is no longer wrapped in a tuple.</d
<item>
<title>cowboy_req:path_info(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.path_info/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.path_info/</guid>
- <description>Name cowboy_req:path_info - Access the route&amp;apos;s trailing path segments
-Description path_info(Req :: cowboy_req:req()) -&amp;gt; cowboy_router:tokens() Return the tokens for the trailing path segments.
-This is the part of the host name that was matched using the ... notation.
-Arguments Req The Req object.
- Return value The tokens are returned as a list of case sensitive binary strings.
-Changelog 2.0: Only the tokens are returned, they are no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:path_info(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.path_info/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.path_info/</guid>
- <description>Name cowboy_req:path_info - Access the route&amp;apos;s trailing path segments
-Description path_info(Req :: cowboy_req:req()) -&amp;gt; cowboy_router:tokens() Return the tokens for the trailing path segments.
-This is the part of the host name that was matched using the ... notation.
-Arguments Req The Req object.
- Return value The tokens are returned as a list of case sensitive binary strings.
-Changelog 2.0: Only the tokens are returned, they are no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:path_info(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.path_info/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7353,34 +5353,6 @@ Changelog 2.0: Only the tokens are returned, they are no longer wrapped in a tup
<item>
<title>cowboy_req:peer(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.peer/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.peer/</guid>
- <description>Name cowboy_req:peer - Peer address and port
-Description peer(Req :: cowboy_req:req()) -&amp;gt; Peer Peer :: {inet:ip_address(), inet:port_number()} Return the peer&amp;apos;s IP address and port number.
-The peer can also be obtained using pattern matching:
-#{peer := {IP, Port}} = Req. Arguments Req The Req object.
- Return value The peer&amp;apos;s IP address and port number.
-The peer is not necessarily the client&amp;apos;s IP address and port. It is the IP address of the endpoint connecting directly to the server, which may be a gateway or a proxy.</description>
- </item>
-
- <item>
- <title>cowboy_req:peer(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.peer/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.peer/</guid>
- <description>Name cowboy_req:peer - Peer address and port
-Description peer(Req :: cowboy_req:req()) -&amp;gt; Info Info :: {inet:ip_address(), inet:port_number()} Return the peer&amp;apos;s IP address and port number.
-The peer information can also be obtained using pattern matching:
-#{peer := {IP, Port}} = Req. Arguments Req The Req object.
- Return value The peer&amp;apos;s IP address and port number.
-The peer is not necessarily the client&amp;apos;s IP address and port. It is the IP address of the endpoint connecting directly to the server, which may be a gateway or a proxy.</description>
- </item>
-
- <item>
- <title>cowboy_req:peer(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.peer/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7451,32 +5423,6 @@ The peer is not necessarily the client&amp;apos;s IP address and port. It is the
<item>
<title>cowboy_req:port(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.port/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.port/</guid>
- <description>Name cowboy_req:port - URI port number
-Description port(Req :: cowboy_req:req()) -&amp;gt; Port :: inet:port_number() Return the port number of the effective request URI.
-Note that the port number returned by this function is obtained by parsing the host header. It may be different from the port the peer used to connect to Cowboy.
-The port number can also be obtained using pattern matching:
-#{port := Port} = Req. Arguments Req The Req object.</description>
- </item>
-
- <item>
- <title>cowboy_req:port(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.port/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.port/</guid>
- <description>Name cowboy_req:port - URI port number
-Description port(Req :: cowboy_req:req()) -&amp;gt; Port :: inet:port_number() Return the port number of the effective request URI.
-Note that the port number returned by this function is obtained by parsing the host header. It may be different from the port the peer used to connect to Cowboy.
-The port number can also be obtained using pattern matching:
-#{port := Port} = Req. Arguments Req The Req object.</description>
- </item>
-
- <item>
- <title>cowboy_req:port(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.port/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7542,28 +5488,6 @@ The port number can also be obtained using pattern matching:
<item>
<title>cowboy_req:push(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.push/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.push/</guid>
- <description>Name cowboy_req:push - Push a resource to the client
-Description push(Path, Headers, Req :: cowboy_req:req()) -&amp;gt; push(Path, Headers, Req, #{}) push(Path, Headers, Req :: cowboy_req:req(), Opts) -&amp;gt; ok Path :: iodata() %% case sensitive Headers :: cowboy:http_headers() Opts :: cowboy_req:push_opts() Push a resource to the client.
-Cowboy handles push requests the same way as if they came from the client, including the creation of a request handling process, routing and middlewares and so on.</description>
- </item>
-
- <item>
- <title>cowboy_req:push(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.push/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.push/</guid>
- <description>Name cowboy_req:push - Push a resource to the client
-Description push(Path, Headers, Req :: cowboy_req:req()) -&amp;gt; push(Path, Headers, Req, #{}) push(Path, Headers, Req :: cowboy_req:req(), Opts) -&amp;gt; ok Path :: iodata() %% case sensitive Headers :: cowboy:http_headers() Opts :: cowboy_req:push_opts() Push a resource to the client.
-Cowboy handles push requests the same way as if they came from the client, including the creation of a request handling process, routing and middlewares and so on.</description>
- </item>
-
- <item>
- <title>cowboy_req:push(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.push/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7619,34 +5543,6 @@ Cowboy handles push requests the same way as if they came from the client, inclu
<item>
<title>cowboy_req:qs(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.qs/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.qs/</guid>
- <description>Name cowboy_req:qs - URI query string
-Description qs(Req :: cowboy_req:req()) -&amp;gt; Qs :: binary() Return the query string of the effective request URI.
-The query string can also be obtained using pattern matching:
-#{qs := Qs} = Req. Arguments Req The Req object.
- Return value The query string is returned as a binary string. It is case sensitive.
-Changelog 2.0: Only the query string is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:qs(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.qs/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.qs/</guid>
- <description>Name cowboy_req:qs - URI query string
-Description qs(Req :: cowboy_req:req()) -&amp;gt; Qs :: binary() Return the query string of the effective request URI.
-The query string can also be obtained using pattern matching:
-#{qs := Qs} = Req. Arguments Req The Req object.
- Return value The query string is returned as a binary string. It is case sensitive.
-Changelog 2.0: Only the query string is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:qs(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.qs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7739,28 +5635,6 @@ This function reads the request body and parses it as application/x-www-form-url
<item>
<title>cowboy_req:read_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_body/</guid>
- <description>Name cowboy_req:read_body - Read the request body
-Description read_body(Req :: cowboy_req:req()) -&amp;gt; read_body(Req, #{}) read_body(Req :: cowboy_req:req(), Opts) -&amp;gt; {ok, Data :: binary(), Req} | {more, Data :: binary(), Req} Opts :: cowboy_req:read_body_opts() Read the request body.
-This function reads a chunk of the request body. A more tuple is returned when more data remains to be read. Call the function repeatedly until an ok tuple is returned to read the entire body.</description>
- </item>
-
- <item>
- <title>cowboy_req:read_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_body/</guid>
- <description>Name cowboy_req:read_body - Read the request body
-Description read_body(Req :: cowboy_req:req()) -&amp;gt; read_body(Req, #{}) read_body(Req :: cowboy_req:req(), Opts) -&amp;gt; {ok, Data :: binary(), Req} | {more, Data :: binary(), Req} Opts :: cowboy_req:read_body_opts() Read the request body.
-This function reads a chunk of the request body. A more tuple is returned when more data remains to be read. Call the function repeatedly until an ok tuple is returned to read the entire body.</description>
- </item>
-
- <item>
- <title>cowboy_req:read_body(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.read_body/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7816,28 +5690,6 @@ This function reads a chunk of the request body. A more tuple is returned when m
<item>
<title>cowboy_req:read_part(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_part/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_part/</guid>
- <description>Name cowboy_req:read_part - Read the next multipart headers
-Description read_part(Req :: cowboy_req:req()) -&amp;gt; read_part(Req, #{}) read_part(Req :: cowboy_req:req(), Opts) -&amp;gt; {ok, Headers, Req} | {done, Req} Opts :: cowboy_req:read_body_opts() Headers :: #{binary() =&amp;gt; binary()} Read the next part of a multipart body.
-This function reads the request body and parses it as multipart. Each parts of a multipart representation have their own headers and body. This function parses and returns headers.</description>
- </item>
-
- <item>
- <title>cowboy_req:read_part(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_part/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_part/</guid>
- <description>Name cowboy_req:read_part - Read the next multipart headers
-Description read_part(Req :: cowboy_req:req()) -&amp;gt; read_part(Req, #{}) read_part(Req :: cowboy_req:req(), Opts) -&amp;gt; {ok, Headers, Req} | {done, Req} Opts :: cowboy_req:read_body_opts() Headers :: #{binary() =&amp;gt; binary()} Read the next part of a multipart body.
-This function reads the request body and parses it as multipart. Each parts of a multipart representation have their own headers and body. This function parses and returns headers.</description>
- </item>
-
- <item>
- <title>cowboy_req:read_part(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.read_part/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7893,28 +5745,6 @@ This function reads the request body and parses it as multipart. Each parts of a
<item>
<title>cowboy_req:read_part_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_part_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_part_body/</guid>
- <description>Name cowboy_req:read_part_body - Read the current part&amp;apos;s body
-Description read_part_body(Req :: cowboy_req:req()) -&amp;gt; read_part_body(Req, #{}) read_part_body(Req :: cowboy_req:req(), Opts) -&amp;gt; {ok, Data :: binary(), Req} | {more, Data :: binary(), Req} Opts :: cowboy_req:read_body_opts() Read the body of the current part of the multipart message.
-This function reads the request body and parses it as multipart. Each parts of a multipart representation have their own headers and body. This function returns the body of the current part.</description>
- </item>
-
- <item>
- <title>cowboy_req:read_part_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_part_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_part_body/</guid>
- <description>Name cowboy_req:read_part_body - Read the current part&amp;apos;s body
-Description read_part_body(Req :: cowboy_req:req()) -&amp;gt; read_part_body(Req, #{}) read_part_body(Req :: cowboy_req:req(), Opts) -&amp;gt; {ok, Data :: binary(), Req} | {more, Data :: binary(), Req} Opts :: cowboy_req:read_body_opts() Read the body of the current part of the multipart message.
-This function reads the request body and parses it as multipart. Each parts of a multipart representation have their own headers and body. This function returns the body of the current part.</description>
- </item>
-
- <item>
- <title>cowboy_req:read_part_body(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.read_part_body/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7970,30 +5800,6 @@ This function reads the request body and parses it as multipart. Each parts of a
<item>
<title>cowboy_req:read_urlencoded_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_urlencoded_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_urlencoded_body/</guid>
- <description>Name cowboy_req:read_urlencoded_body - Read and parse a urlencoded request body
-Description read_urlencoded_body(Req :: cowboy_req:req()) -&amp;gt; read_urlencoded_body(Req, #{}) read_urlencoded_body(Req :: cowboy_req:req(), Opts) -&amp;gt; {ok, Body, Req} Opts :: cowboy_req:read_body_opts() Body :: [{Key :: binary(), Value :: binary() | true}] Read and parse a urlencoded request body.
-This function reads the request body and parses it as application/x-www-form-urlencoded. It returns a list of key/values.
-The urlencoded media type is used by Web browsers when submitting HTML forms using the POST method.</description>
- </item>
-
- <item>
- <title>cowboy_req:read_urlencoded_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_urlencoded_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_urlencoded_body/</guid>
- <description>Name cowboy_req:read_urlencoded_body - Read and parse a urlencoded request body
-Description read_urlencoded_body(Req :: cowboy_req:req()) -&amp;gt; read_urlencoded_body(Req, #{}) read_urlencoded_body(Req :: cowboy_req:req(), Opts) -&amp;gt; {ok, Body, Req} Opts :: cowboy_req:read_body_opts() Body :: [{Key :: binary(), Value :: binary() | true}] Read and parse a urlencoded request body.
-This function reads the request body and parses it as application/x-www-form-urlencoded. It returns a list of key/values.
-The urlencoded media type is used by Web browsers when submitting HTML forms using the POST method.</description>
- </item>
-
- <item>
- <title>cowboy_req:read_urlencoded_body(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.read_urlencoded_body/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8054,28 +5860,6 @@ The urlencoded media type is used by Web browsers when submitting HTML forms usi
<item>
<title>cowboy_req:reply(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.reply/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.reply/</guid>
- <description>Name cowboy_req:reply - Send the response
-Description reply(Status, Req :: cowboy_req:req()) -&amp;gt; reply(StatusCode, #{}, Req) reply(Status, Headers, Req :: cowboy_req:req()) -&amp;gt; Req reply(Status, Headers, Body, Req :: cowboy_req:req()) -&amp;gt; Req Status :: cowboy:http_status() Headers :: cowboy:http_headers() Body :: cowboy_req:resp_body() Send the response.
-The header names must be given as lowercase binary strings. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</description>
- </item>
-
- <item>
- <title>cowboy_req:reply(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.reply/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.reply/</guid>
- <description>Name cowboy_req:reply - Send the response
-Description reply(Status, Req :: cowboy_req:req()) -&amp;gt; reply(StatusCode, #{}, Req) reply(Status, Headers, Req :: cowboy_req:req()) -&amp;gt; Req reply(Status, Headers, Body, Req :: cowboy_req:req()) -&amp;gt; Req Status :: cowboy:http_status() Headers :: cowboy:http_headers() Body :: cowboy_req:resp_body() Send the response.
-The header names must be given as lowercase binary strings. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</description>
- </item>
-
- <item>
- <title>cowboy_req:reply(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.reply/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8131,30 +5915,6 @@ The header names must be given as lowercase binary strings. While header names a
<item>
<title>cowboy_req:resp_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.resp_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.resp_header/</guid>
- <description>Name cowboy_req:resp_header - Response header
-Description resp_header(Name, Req) -&amp;gt; resp_header(Name, Req, undefined) resp_header(Name, Req, Default) -&amp;gt; binary() | Default Name :: binary() %% lowercase; case insensitive Req :: cowboy_req:req() Default :: any() Return the value for the given response header.
-The response header must have been set previously using cowboy_req:set_resp_header(3) or cowboy_req:set_resp_headers(3).
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</description>
- </item>
-
- <item>
- <title>cowboy_req:resp_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.resp_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.resp_header/</guid>
- <description>Name cowboy_req:resp_header - Response header
-Description resp_header(Name, Req) -&amp;gt; resp_header(Name, Req, undefined) resp_header(Name, Req, Default) -&amp;gt; binary() | Default Name :: binary() %% lowercase; case insensitive Req :: cowboy_req:req() Default :: any() Return the value for the given response header.
-The response header must have been set previously using cowboy_req:set_resp_header(3) or cowboy_req:set_resp_headers(3).
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</description>
- </item>
-
- <item>
- <title>cowboy_req:resp_header(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.resp_header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8215,32 +5975,6 @@ The header name must be given as a lowercase binary string. While header names a
<item>
<title>cowboy_req:resp_headers(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.resp_headers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.resp_headers/</guid>
- <description>Name cowboy_req:resp_headers - Response headers
-Description resp_headers(Req :: cowboy_req:req()) -&amp;gt; cowboy:http_headers() Return all response headers.
-Arguments Req The Req object.
- Return value Headers are returned as a map with keys being lowercase binary strings, and values as binary strings.
-Changelog 2.0: Function introduced. Examples Get all response headers Headers = cowboy_req:resp_headers(Req). See also cowboy_req(3), cowboy_req:resp_header(3), cowboy_req:set_resp_header(3), cowboy_req:set_resp_headers(3)</description>
- </item>
-
- <item>
- <title>cowboy_req:resp_headers(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.resp_headers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.resp_headers/</guid>
- <description>Name cowboy_req:resp_headers - Response headers
-Description resp_headers(Req :: cowboy_req:req()) -&amp;gt; cowboy:http_headers() Return all response headers.
-Arguments Req The Req object.
- Return value Headers are returned as a map with keys being lowercase binary strings, and values as binary strings.
-Changelog 2.0: Function introduced. Examples Get all response headers Headers = cowboy_req:resp_headers(Req). See also cowboy_req(3), cowboy_req:resp_header(3), cowboy_req:set_resp_header(3), cowboy_req:set_resp_headers(3)</description>
- </item>
-
- <item>
- <title>cowboy_req:resp_headers(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.resp_headers/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8306,36 +6040,6 @@ Changelog 2.0: Function introduced. Examples Get all response headers Headers
<item>
<title>cowboy_req:scheme(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.scheme/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.scheme/</guid>
- <description>Name cowboy_req:scheme - URI scheme
-Description scheme(Req :: cowboy_req:req()) -&amp;gt; Scheme :: binary() Return the scheme of the effective request URI.
-The scheme can also be obtained using pattern matching:
-#{scheme := Scheme} = Req. Arguments Req The Req object.
- Return value The scheme is returned as a binary. It is case insensitive.
-Cowboy will only set the scheme to &amp;lt;&amp;lt;&amp;quot;http&amp;quot;&amp;gt;&amp;gt; or &amp;lt;&amp;lt;&amp;quot;https&amp;quot;&amp;gt;&amp;gt;.
-Changelog 2.0: Function introduced.</description>
- </item>
-
- <item>
- <title>cowboy_req:scheme(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.scheme/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.scheme/</guid>
- <description>Name cowboy_req:scheme - URI scheme
-Description scheme(Req :: cowboy_req:req()) -&amp;gt; Scheme :: binary() Return the scheme of the effective request URI.
-The scheme can also be obtained using pattern matching:
-#{scheme := Scheme} = Req. Arguments Req The Req object.
- Return value The scheme is returned as a binary. It is case insensitive.
-Cowboy will only set the scheme to &amp;lt;&amp;lt;&amp;quot;http&amp;quot;&amp;gt;&amp;gt; or &amp;lt;&amp;lt;&amp;quot;https&amp;quot;&amp;gt;&amp;gt;.
-Changelog 2.0: Function introduced.</description>
- </item>
-
- <item>
- <title>cowboy_req:scheme(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.scheme/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8411,30 +6115,6 @@ Changelog 2.0: Function introduced.</description>
<item>
<title>cowboy_req:set_resp_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_body/</guid>
- <description>Name cowboy_req:set_resp_body - Set the response body
-Description set_resp_body(Body, Req :: cowboy_req:req()) -&amp;gt; Req Body :: cowboy_req:resp_body() Set the response body.
-The response body will be sent when a reply is initiated. Note that the functions stream_reply/2,3 and reply/4 will override the body set by this function.
-This function can also be used to remove a response body that was set previously. To do so, simply call this function with an empty body.</description>
- </item>
-
- <item>
- <title>cowboy_req:set_resp_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_body/</guid>
- <description>Name cowboy_req:set_resp_body - Set the response body
-Description set_resp_body(Body, Req :: cowboy_req:req()) -&amp;gt; Req Body :: cowboy_req:resp_body() Set the response body.
-The response body will be sent when a reply is initiated. Note that the functions stream_reply/2,3 and reply/4 will override the body set by this function.
-This function can also be used to remove a response body that was set previously. To do so, simply call this function with an empty body.</description>
- </item>
-
- <item>
- <title>cowboy_req:set_resp_body(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_body/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8495,34 +6175,6 @@ This function can also be used to remove a response body that was set previously
<item>
<title>cowboy_req:set_resp_cookie(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_cookie/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_cookie/</guid>
- <description>Name cowboy_req:set_resp_cookie - Set a cookie
-Description set_resp_cookie(Name, Value, Req :: cowboy_req:req()) -&amp;gt; set_resp_cookie(Name, Value, [], Req) set_resp_cookie(Name, Value, Req :: cowboy_req:req(), Opts) -&amp;gt; Req Name :: binary() %% case sensitive Value :: iodata() %% case sensitive Opts :: cow_cookie:cookie_opts() Set a cookie to be sent with the response.
-Note that cookie names are case sensitive.
-Arguments Name Cookie name.
- Value Cookie value.
- Req The Req object.</description>
- </item>
-
- <item>
- <title>cowboy_req:set_resp_cookie(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_cookie/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_cookie/</guid>
- <description>Name cowboy_req:set_resp_cookie - Set a cookie
-Description set_resp_cookie(Name, Value, Req :: cowboy_req:req()) -&amp;gt; set_resp_cookie(Name, Value, [], Req) set_resp_cookie(Name, Value, Req :: cowboy_req:req(), Opts) -&amp;gt; Req Name :: binary() %% case sensitive Value :: iodata() %% case sensitive Opts :: cow_cookie:cookie_opts() Set a cookie to be sent with the response.
-Note that cookie names are case sensitive.
-Arguments Name Cookie name.
- Value Cookie value.
- Req The Req object.</description>
- </item>
-
- <item>
- <title>cowboy_req:set_resp_cookie(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_cookie/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8593,30 +6245,6 @@ Arguments Name Cookie name.
<item>
<title>cowboy_req:set_resp_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_header/</guid>
- <description>Name cowboy_req:set_resp_header - Set a response header
-Description set_resp_header(Name, Value, Req :: cowboy_req:req()) -&amp;gt; Req Name :: binary() %% lowercase; case insensitive Value :: iodata() %% case depends on header Set a header to be sent with the response.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Cowboy does not allow duplicate header names.</description>
- </item>
-
- <item>
- <title>cowboy_req:set_resp_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_header/</guid>
- <description>Name cowboy_req:set_resp_header - Set a response header
-Description set_resp_header(Name, Value, Req :: cowboy_req:req()) -&amp;gt; Req Name :: binary() %% lowercase; case insensitive Value :: iodata() %% case depends on header Set a header to be sent with the response.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Cowboy does not allow duplicate header names.</description>
- </item>
-
- <item>
- <title>cowboy_req:set_resp_header(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8677,30 +6305,6 @@ Cowboy does not allow duplicate header names.</description>
<item>
<title>cowboy_req:set_resp_headers(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_headers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_headers/</guid>
- <description>Name cowboy_req:set_resp_headers - Set several response headers
-Description set_resp_headers(Headers, Req :: cowboy_req:req()) -&amp;gt; Req Headers :: cowboy:http_headers() Set several headers to be sent with the response.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Cowboy does not allow duplicate header names. Headers set by this function may be overwritten by those set from the reply functions.</description>
- </item>
-
- <item>
- <title>cowboy_req:set_resp_headers(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_headers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_headers/</guid>
- <description>Name cowboy_req:set_resp_headers - Set several response headers
-Description set_resp_headers(Headers, Req :: cowboy_req:req()) -&amp;gt; Req Headers :: cowboy:http_headers() Set several headers to be sent with the response.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Cowboy does not allow duplicate header names. Headers set by this function may be overwritten by those set from the reply functions.</description>
- </item>
-
- <item>
- <title>cowboy_req:set_resp_headers(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_headers/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8761,20 +6365,6 @@ Cowboy does not allow duplicate header names. Headers set by this function may b
<item>
<title>cowboy_req:sock(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.sock/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.sock/</guid>
- <description>Name cowboy_req:sock - Socket address and port
-Description sock(Req :: cowboy_req:req()) -&amp;gt; Info Info :: {inet:ip_address(), inet:port_number()} Return the socket&amp;apos;s IP address and port number.
-The socket information can also be obtained using pattern matching:
-#{sock := {IP, Port}} = Req. Arguments Req The Req object.
- Return value The socket&amp;apos;s local IP address and port number.
-Changelog 2.1: Function introduced. Examples Get the socket&amp;apos;s IP address and port number.</description>
- </item>
-
- <item>
- <title>cowboy_req:sock(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.sock/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8845,30 +6435,6 @@ Changelog 2.1: Function introduced. Examples Get the socket&amp;apos;s IP addr
<item>
<title>cowboy_req:stream_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.stream_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.stream_body/</guid>
- <description>Name cowboy_req:stream_body - Stream the response body
-Description stream_body(Data, IsFin, Req :: cowboy_req:req()) -&amp;gt; ok Data :: iodata() IsFin :: fin | nofin Stream the response body.
-This function may be called as many times as needed after initiating a response using the cowboy_req:stream_reply(3) function.
-The second argument indicates if this call is the final call. Use the nofin value until you know no more data will be sent. The final call should use fin (possibly with an empty data value).</description>
- </item>
-
- <item>
- <title>cowboy_req:stream_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.stream_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.stream_body/</guid>
- <description>Name cowboy_req:stream_body - Stream the response body
-Description stream_body(Data, IsFin, Req :: cowboy_req:req()) -&amp;gt; ok Data :: iodata() IsFin :: fin | nofin Stream the response body.
-This function may be called as many times as needed after initiating a response using the cowboy_req:stream_reply(3) function.
-The second argument indicates if this call is the final call. Use the nofin value until you know no more data will be sent. The final call should use fin (possibly with an empty data value).</description>
- </item>
-
- <item>
- <title>cowboy_req:stream_body(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.stream_body/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8951,30 +6517,6 @@ This function should only be used for text/event-stream responses when using ser
<item>
<title>cowboy_req:stream_reply(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.stream_reply/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.stream_reply/</guid>
- <description>Name cowboy_req:stream_reply - Send the response headers
-Description stream_reply(Status, Req :: cowboy_req:req()) -&amp;gt; stream_reply(StatusCode, #{}, Req) stream_reply(Status, Headers, Req :: cowboy_req:req()) -&amp;gt; Req Status :: cowboy:http_status() Headers :: cowboy:http_headers() Send the response headers.
-The header names must be given as lowercase binary strings. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Cowboy does not allow duplicate header names. Headers set by this function may overwrite those set by set_resp_header/3.</description>
- </item>
-
- <item>
- <title>cowboy_req:stream_reply(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.stream_reply/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.stream_reply/</guid>
- <description>Name cowboy_req:stream_reply - Send the response headers
-Description stream_reply(Status, Req :: cowboy_req:req()) -&amp;gt; stream_reply(StatusCode, #{}, Req) stream_reply(Status, Headers, Req :: cowboy_req:req()) -&amp;gt; Req Status :: cowboy:http_status() Headers :: cowboy:http_headers() Send the response headers.
-The header names must be given as lowercase binary strings. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Cowboy does not allow duplicate header names. Headers set by this function may overwrite those set by set_resp_header/3.</description>
- </item>
-
- <item>
- <title>cowboy_req:stream_reply(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.stream_reply/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9095,28 +6637,6 @@ You must list all field names sent in trailers in the trailer header, otherwise
<item>
<title>cowboy_req:uri(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.uri/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.uri/</guid>
- <description>Name cowboy_req:uri - Reconstructed URI
-Description uri(Req :: cowboy_req:req()) -&amp;gt; uri(Req, #{}) uri(Req :: cowboy_req:req(), Opts) -&amp;gt; URI :: iodata() Opts :: #{ scheme =&amp;gt; iodata() | undefined, host =&amp;gt; iodata() | undefined, port =&amp;gt; inet:port_number() | undefined, path =&amp;gt; iodata() | undefined, qs =&amp;gt; iodata() | undefined, fragment =&amp;gt; iodata() | undefined } Reconstruct the effective request URI, optionally modifying components.
-By default Cowboy will build a URI using the components found in the request.</description>
- </item>
-
- <item>
- <title>cowboy_req:uri(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.uri/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.uri/</guid>
- <description>Name cowboy_req:uri - Reconstructed URI
-Description uri(Req :: cowboy_req:req()) -&amp;gt; uri(Req, #{}) uri(Req :: cowboy_req:req(), Opts) -&amp;gt; URI :: iodata() Opts :: #{ scheme =&amp;gt; iodata() | undefined, host =&amp;gt; iodata() | undefined, port =&amp;gt; inet:port_number() | undefined, path =&amp;gt; iodata() | undefined, qs =&amp;gt; iodata() | undefined, fragment =&amp;gt; iodata() | undefined } Reconstruct the effective request URI, optionally modifying components.
-By default Cowboy will build a URI using the components found in the request.</description>
- </item>
-
- <item>
- <title>cowboy_req:uri(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.uri/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9172,34 +6692,6 @@ By default Cowboy will build a URI using the components found in the request.</d
<item>
<title>cowboy_req:version(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.version/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.version/</guid>
- <description>Name cowboy_req:version - HTTP version
-Description version(Req :: cowboy_req:req()) -&amp;gt; Version :: cowboy:http_version() Return the HTTP version used for the request.
-The version can also be obtained using pattern matching:
-#{version := Version} = Req. Arguments Req The Req object.
- Return value The HTTP version used for the request is returned as an atom. It is provided for informative purposes only.
-Changelog 2.0: Only the version is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:version(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.version/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.version/</guid>
- <description>Name cowboy_req:version - HTTP version
-Description version(Req :: cowboy_req:req()) -&amp;gt; Version :: cowboy:http_version() Return the HTTP version used for the request.
-The version can also be obtained using pattern matching:
-#{version := Version} = Req. Arguments Req The Req object.
- Return value The HTTP version used for the request is returned as an atom. It is provided for informative purposes only.
-Changelog 2.0: Only the version is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:version(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.version/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9270,32 +6762,6 @@ Changelog 2.0: Only the version is returned, it is no longer wrapped in a tuple.
<item>
<title>cowboy_rest(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_rest/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_rest/</guid>
- <description>Name cowboy_rest - REST handlers
-Description The module cowboy_rest implements the HTTP state machine.
-Implementing REST handlers is not enough to provide a REST interface; this interface must also follow the REST constraints including HATEOAS (hypermedia as the engine of application state).
-Callbacks REST handlers implement the following interface:
-init(Req, State) -&amp;gt; {cowboy_rest, Req, State} Callback(Req, State) -&amp;gt; {Result, Req, State} | {stop, Req, State} terminate(Reason, Req, State) -&amp;gt; ok %% optional Req :: cowboy_req:req() State :: any() Reason :: normal | {crash, error | exit | throw, any()} Callback - see below Result - see below Default - see below The init/2 callback is common to all handlers.</description>
- </item>
-
- <item>
- <title>cowboy_rest(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_rest/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_rest/</guid>
- <description>Name cowboy_rest - REST handlers
-Description The module cowboy_rest implements the HTTP state machine.
-Implementing REST handlers is not enough to provide a REST interface; this interface must also follow the REST constraints including HATEOAS (hypermedia as the engine of application state).
-Callbacks REST handlers implement the following interface:
-init(Req, State) -&amp;gt; {cowboy_rest, Req, State} Callback(Req, State) -&amp;gt; {Result, Req, State} | {stop, Req, State} | {{switch_handler, Module}, Req, State} | {{switch_handler, Module, Opts}, Req, State} terminate(Reason, Req, State) -&amp;gt; ok %% optional Req :: cowboy_req:req() State :: any() Module :: module() Opts :: any() Reason :: normal | {crash, error | exit | throw, any()} Callback - see below Result - see below Default - see below The init/2 callback is common to all handlers.</description>
- </item>
-
- <item>
- <title>cowboy_rest(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_rest/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9361,32 +6827,6 @@ init(Req, State) -&amp;gt; {cowboy_rest, Req, State} Callback(Req, State) -&amp;
<item>
<title>cowboy_router(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_router/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_router/</guid>
- <description>Name cowboy_router - Router middleware
-Description The cowboy_router middleware maps the requested host and path to the handler to be used for processing the request.
-The router takes the dispatch rules as input from the middleware environment. Dispatch rules are generated by calling the cowboy_router:compile(3) function.
-When a route matches, the router sets the handler and handler_opts middleware environment values containing the handler module and initial state, respectively.
-The router will stop execution when no route matches.</description>
- </item>
-
- <item>
- <title>cowboy_router(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_router/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_router/</guid>
- <description>Name cowboy_router - Router middleware
-Description The cowboy_router middleware maps the requested host and path to the handler to be used for processing the request.
-The router takes the dispatch rules as input from the middleware environment. Dispatch rules are generated by calling the cowboy_router:compile(3) function.
-When a route matches, the router sets the handler and handler_opts middleware environment values containing the handler module and initial state, respectively.
-The router will stop execution when no route matches.</description>
- </item>
-
- <item>
- <title>cowboy_router(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_router/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9452,34 +6892,6 @@ The router will stop execution when no route matches.</description>
<item>
<title>cowboy_router:compile(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_router.compile/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_router.compile/</guid>
- <description>Name cowboy_router:compile - Compile routes to the resources
-Description compile(cowboy_router:routes()) -&amp;gt; cowboy_router:dispatch_rules() Compile routes to the resources.
-Takes a human readable list of routes and transforms it into a form more efficient to process.
-Arguments Routes Human readable list of routes.
- Return value An opaque dispatch rules value is returned. This value must be given to Cowboy as a middleware environment value.
-Changelog 1.0: Function introduced. Examples Compile routes and start a listener Dispatch = cowboy_router:compile([ {&#39;_&#39;, [ {&#34;</description>
- </item>
-
- <item>
- <title>cowboy_router:compile(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_router.compile/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_router.compile/</guid>
- <description>Name cowboy_router:compile - Compile routes to the resources
-Description compile(cowboy_router:routes()) -&amp;gt; cowboy_router:dispatch_rules() Compile routes to the resources.
-Takes a human readable list of routes and transforms it into a form more efficient to process.
-Arguments Routes Human readable list of routes.
- Return value An opaque dispatch rules value is returned. This value must be given to Cowboy as a middleware environment value.
-Changelog 1.0: Function introduced. Examples Compile routes and start a listener Dispatch = cowboy_router:compile([ {&#39;_&#39;, [ {&#34;</description>
- </item>
-
- <item>
- <title>cowboy_router:compile(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_router.compile/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9550,30 +6962,6 @@ Changelog 1.0: Function introduced. Examples Compile routes and start a listen
<item>
<title>cowboy_static(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_static/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_static/</guid>
- <description>Name cowboy_static - Static file handler
-Description The module cowboy_static implements file serving capabilities using the REST semantics provided by cowboy_rest.
-The static file handler is a pre-written handler coming with Cowboy. To serve files, use it in your routes.
-Options opts() :: {priv_file, App, Path} | {priv_file, App, Path, Extra} | {file, Path} | {file, Path, Extra} | {priv_dir, App, Path} | {priv_dir, App, Path, Extra} | {dir, Path} | {dir, Path, Extra} App :: atom() Path :: binary() | string() Extra :: [Etag | Mimetypes] Etag :: {etag, module(), function()} | {etag, false} Mimetypes :: {mimetypes, module(), function()} | {mimetypes, binary() | ParsedMime} ParsedMime :: {Type :: binary(), SubType :: binary(), Params} Params :: [{Key :: binary(), Value :: binary()}] Static handler configuration.</description>
- </item>
-
- <item>
- <title>cowboy_static(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_static/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_static/</guid>
- <description>Name cowboy_static - Static file handler
-Description The module cowboy_static implements file serving capabilities using the REST semantics provided by cowboy_rest.
-The static file handler is a pre-written handler coming with Cowboy. To serve files, use it in your routes.
-Options opts() :: {priv_file, App, Path} | {priv_file, App, Path, Extra} | {file, Path} | {file, Path, Extra} | {priv_dir, App, Path} | {priv_dir, App, Path, Extra} | {dir, Path} | {dir, Path, Extra} App :: atom() Path :: binary() | string() Extra :: [Etag | Mimetypes] Etag :: {etag, module(), function()} | {etag, false} Mimetypes :: {mimetypes, module(), function()} | {mimetypes, binary() | ParsedMime} ParsedMime :: {Type :: binary(), SubType :: binary(), Params} Params :: [{Key :: binary(), Value :: binary()}] Static handler configuration.</description>
- </item>
-
- <item>
- <title>cowboy_static(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_static/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9634,32 +7022,6 @@ Options opts() :: {priv_file, App, Path} | {priv_file, App, Path, Extra} | {file
<item>
<title>cowboy_stream(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_stream/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_stream/</guid>
- <description>Name cowboy_handler - Stream handlers
-Description The module cowboy_stream defines a callback interface and a protocol for handling HTTP streams.
-An HTTP request and its associated response is called a stream. A connection may have many streams. In HTTP/1.1 they are executed sequentially, while in HTTP/2 they are executed concurrently.
-Cowboy calls the stream handler for nearly all events related to a stream. Exceptions vary depending on the protocol.
-Extra care must be taken when implementing stream handlers to ensure compatibility.</description>
- </item>
-
- <item>
- <title>cowboy_stream(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_stream/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_stream/</guid>
- <description>Name cowboy_handler - Stream handlers
-Description The module cowboy_stream defines a callback interface and a protocol for handling HTTP streams.
-An HTTP request and its associated response is called a stream. A connection may have many streams. In HTTP/1.1 they are executed sequentially, while in HTTP/2 they are executed concurrently.
-Cowboy calls the stream handler for nearly all events related to a stream. Exceptions vary depending on the protocol.
-Extra care must be taken when implementing stream handlers to ensure compatibility.</description>
- </item>
-
- <item>
- <title>cowboy_stream(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_stream/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9737,30 +7099,6 @@ The default value is given next to the option name:</description>
<item>
<title>cowboy_websocket(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_websocket/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_websocket/</guid>
- <description>Name cowboy_websocket - Websocket
-Description The module cowboy_websocket implements Websocket as a Ranch protocol. It also defines a callback interface for handling Websocket connections.
-Callbacks Websocket handlers must implement the following callback interface:
-init(Req, State) -&amp;gt; {cowboy_websocket, Req, State} | {cowboy_websocket, Req, State, Opts} websocket_init(State) -&amp;gt; CallResult %% optional websocket_handle(InFrame, State) -&amp;gt; CallResult websocket_info(Info, State) -&amp;gt; CallResult terminate(Reason, PartialReq, State) -&amp;gt; ok %% optional Req :: cowboy_req:req() PartialReq :: map() State :: any() Opts :: cowboy_websocket:opts() InFrame :: {text | binary | ping | pong, binary()} OutFrame :: cow_ws:frame() %% see types below Info :: any() CallResult :: {ok, State} | {ok, State, hibernate} | {reply, OutFrame | [OutFrame], State} | {reply, OutFrame | [OutFrame], State, hibernate} | {stop, State} Reason :: normal | stop | timeout | remote | {remote, cow_ws:close_code(), binary()} | {error, badencoding | badframe | closed | atom()} | {crash, error | exit | throw, any()} The init/2 callback is common to all handlers.</description>
- </item>
-
- <item>
- <title>cowboy_websocket(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_websocket/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_websocket/</guid>
- <description>Name cowboy_websocket - Websocket
-Description The module cowboy_websocket implements Websocket as a Ranch protocol. It also defines a callback interface for handling Websocket connections.
-Callbacks Websocket handlers must implement the following callback interface:
-init(Req, State) -&amp;gt; {cowboy_websocket, Req, State} | {cowboy_websocket, Req, State, Opts} websocket_init(State) -&amp;gt; CallResult %% optional websocket_handle(InFrame, State) -&amp;gt; CallResult websocket_info(Info, State) -&amp;gt; CallResult terminate(Reason, PartialReq, State) -&amp;gt; ok %% optional Req :: cowboy_req:req() PartialReq :: map() State :: any() Opts :: cowboy_websocket:opts() InFrame :: {text | binary | ping | pong, binary()} OutFrame :: cow_ws:frame() %% see types below Info :: any() CallResult :: {ok, State} | {ok, State, hibernate} | {reply, OutFrame | [OutFrame], State} | {reply, OutFrame | [OutFrame], State, hibernate} | {stop, State} Reason :: normal | stop | timeout | remote | {remote, cow_ws:close_code(), binary()} | {error, badencoding | badframe | closed | atom()} | {crash, error | exit | throw, any()} The init/2 callback is common to all handlers.</description>
- </item>
-
- <item>
- <title>cowboy_websocket(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_websocket/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11404,32 +8742,6 @@ Elements ConnPid The pid of the Gun connection process.</description>
<item>
<title>ranch(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch/</guid>
- <description>Name ranch - socket acceptor pool
-Description The ranch module provides functions for starting and manipulating Ranch listeners.
-Types max_conns() = non_neg_integer() | infinity Maximum number of connections allowed on this listener.
-This is a soft limit. The actual number of connections might be slightly above the limit due to concurrency when accepting new connections. Some connections may also be removed from this count explicitly by the user code.
-opt() opt() = {ack_timeout, timeout()} | {connection_type, worker | supervisor} | {max_connections, max_conns()} | {shutdown, timeout() | brutal_kill} | {socket, any()} Ranch-specific transport options.</description>
- </item>
-
- <item>
- <title>ranch(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch/</guid>
- <description>Name ranch - socket acceptor pool
-Description The ranch module provides functions for starting and manipulating Ranch listeners.
-Types max_conns() = non_neg_integer() | infinity Maximum number of connections allowed on this listener.
-This is a soft limit. The actual number of connections might be slightly above the limit due to concurrency when accepting new connections. Some connections may also be removed from this count explicitly by the user code.
-opt() opt() = {ack_timeout, timeout()} | {connection_type, worker | supervisor} | {max_connections, max_conns()} | {shutdown, timeout() | brutal_kill} | {socket, any()} Ranch-specific transport options.</description>
- </item>
-
- <item>
- <title>ranch(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/manual/ranch/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11483,30 +8795,17 @@ ranch:accept_ack(3) - Deprecated in favor of ranch:handshake(3) ranch:handshake
</item>
<item>
- <title>ranch(7)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_app/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_app/</guid>
- <description>Name ranch - Socket acceptor pool for TCP protocols.
-Dependencies The ranch application has no particular dependency required to start.
-It has optional dependencies that are only required when listening for SSL connections. The dependencies are crypto, asn1, public_key and ssl. They are started automatically if they weren&amp;apos;t before.
-Environment The ranch application defines one application environment configuration parameter.
-profile (false) When enabled, Ranch will start eprof profiling automatically.
- You can use the ranch_app:profile_output/0 function to stop profiling and output the results to the files procs.</description>
- </item>
-
- <item>
- <title>ranch(7)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_app/</link>
+ <title>ranch(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_app/</guid>
- <description>Name ranch - Socket acceptor pool for TCP protocols.
-Dependencies The ranch application depends on the ssl application to start. It is used for handling secure connections, when the transport is ranch_ssl. It can be disabled if SSL is not used.
-Environment The ranch application defines one application environment configuration parameter.
-profile (false) When enabled, Ranch will start eprof profiling automatically.
- You can use the ranch_app:profile_output/0 function to stop profiling and output the results to the files procs.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch/</guid>
+ <description>Name ranch - Socket acceptor pool
+Description The module ranch provides functions for starting and manipulating Ranch listeners.
+Exports Start/stop:
+ranch:start_listener(3) - Start a listener ranch:stop_listener(3) - Stop a listener ranch:child_spec(3) - Build child specifications for a new listener Suspend/resume:
+ranch:suspend_listener(3) - Suspend a running listener ranch:resume_listener(3) - Resume a suspended listener ranch:get_status(3) - Get a listener&amp;apos;s running state Connections:
+ranch:handshake(3) - Perform the transport handshake ranch:recv_proxy_header(3) - Receive the PROXY protocol header ranch:remove_connection(3) - Remove connection from the count Options:</description>
</item>
<item>
@@ -11564,6 +8863,20 @@ ranch_ssl(3) - SSL transport ranch_tcp(3) - TCP transport Behaviors:</descrip
</item>
<item>
+ <title>ranch(7)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_app/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_app/</guid>
+ <description>Name ranch - Socket acceptor pool for TCP protocols
+Description Ranch is a socket acceptor pool for TCP protocols.
+Ranch manages listeners which are a set of processes that accept and manage connections. The connection&amp;apos;s transport and protocol modules are configured per listener. Listeners can be inspected and reconfigured without interruptions in service.
+Modules Functions:
+ranch(3) - Socket acceptor pool ranch_proxy_header(3) - PROXY protocol Transports:
+ranch_ssl(3) - SSL transport ranch_tcp(3) - TCP transport Behaviors:</description>
+ </item>
+
+ <item>
<title>ranch:child_spec(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.child_spec/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11588,6 +8901,18 @@ Arguments Ref The listener name is used to refer to this listener in future call
</item>
<item>
+ <title>ranch:child_spec(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.child_spec/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.child_spec/</guid>
+ <description>Name ranch:child_spec - Build child specifications for a new listener
+Description child_spec(Ref :: ranch_ref(), Transport :: module(), TransOpts :: ranch:opts(), Protocol :: module(), ProtoOpts :: any()) -&amp;gt; supervisor:child_spec() Build child specifications for a new listener which can be embedded directly in an application&amp;apos;s supervision tree.
+The actual listener is placed under a supervisor which monitors ranch_server via a proxy process and will restart the listener if ranch_server crashes.
+Arguments Ref The listener name is used to refer to this listener in future calls, for example when updating the configuration.</description>
+ </item>
+
+ <item>
<title>ranch:get_addr(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_addr/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11616,6 +8941,18 @@ Examples Get the listening port and IP {IP, Port} = ranch:get_addr(example).</de
</item>
<item>
+ <title>ranch:get_addr(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_addr/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_addr/</guid>
+ <description>Name ranch:get_addr - Get the listening address
+Description get_addr(Ref :: ranch:ref()) -&amp;gt; {IP :: inet:ip_address(), Port :: inet:port_number()} | {local, SocketFile :: binary()} | {undefined, undefined} Get the listening address.
+Arguments Ref The listener name.
+ Return value The address of the listener is returned as a tuple of the form {IP, Port} when listening on a network interface, or {local, SocketFile} when listening on a UNIX Domain socket.</description>
+ </item>
+
+ <item>
<title>ranch:get_max_connections(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_max_connections/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11642,6 +8979,19 @@ Examples Get the max number of connections MaxConns = ranch:get_max_connections(
</item>
<item>
+ <title>ranch:get_max_connections(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_max_connections/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_max_connections/</guid>
+ <description>Name ranch:get_max_connections - Get the max number of connections per connection supervisor
+Description get_max_connections(Ref :: ranch:ref()) -&amp;gt; MaxConns :: ranch:max_conns() Get the max number of connections per connection supervisor.
+Arguments Ref The listener name.
+ Return value The maximum number of connections per connection supervisor is returned.
+Changelog 2.0: The maximum number of connections is now per connection supervisor. Examples Get the max number of connections per connection supervisor MaxConns = ranch:get_max_connections(example).</description>
+ </item>
+
+ <item>
<title>ranch:get_port(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_port/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11670,6 +9020,20 @@ Examples Get the listening port Port = ranch:get_port(example). See also ranch:
</item>
<item>
+ <title>ranch:get_port(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_port/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_port/</guid>
+ <description>Name ranch:get_port - Get the listening port
+Description get_port(Ref :: ranch:ref()) -&amp;gt; Port :: inet:port_number() | undefined Get the listening port.
+This function is particularly useful to retrieve the listening port number when it was not provided in the options and was chosen randomly instead.
+Arguments Ref The listener name.
+ Return value The listening port is returned.
+When the listener is suspended or using a UNIX Domain socket instead of a network interface, undefined will be returned.</description>
+ </item>
+
+ <item>
<title>ranch:get_protocol_options(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_protocol_options/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11696,6 +9060,19 @@ Examples Get the current protocol options ProtoOpts = ranch:get_protocol_options
</item>
<item>
+ <title>ranch:get_protocol_options(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_protocol_options/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_protocol_options/</guid>
+ <description>Name ranch:get_protocol_options - Get the current protocol options
+Description get_protocol_options(Ref :: ranch:ref()) -&amp;gt; ProtoOpts :: any() Get the current protocol options.
+Arguments Ref The listener name.
+ Return value The current protocol options are returned.
+Examples Get the current protocol options ProtoOpts = ranch:get_protocol_options(example). See also ranch:get_max_connections(3), ranch:get_transport_options(3), ranch:set_protocol_options(3), ranch(3)</description>
+ </item>
+
+ <item>
<title>ranch:get_status(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_status/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11722,6 +9099,19 @@ Changelog 1.6: Function introduced. Examples Get a listener&amp;apos;s running
</item>
<item>
+ <title>ranch:get_status(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_status/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_status/</guid>
+ <description>Name ranch:get_status - Get a listener&amp;apos;s running state
+Description get_status(Ref :: ranch_ref()) -&amp;gt; running | suspended Get a listener&amp;apos;s running state.
+Arguments Ref The listener name.
+ Return value An atom is returned indicating the running status of the listener.
+Changelog 1.6: Function introduced. Examples Get a listener&amp;apos;s running state ranch:get_status(example). See also ranch:start_listener(3), ranch:stop_listener(3), ranch:suspend_listener(3), ranch:resume_listener(3), ranch:set_transport_options(3), ranch:wait_for_connections(3), ranch(3)</description>
+ </item>
+
+ <item>
<title>ranch:get_transport_options(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_transport_options/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11748,6 +9138,19 @@ Examples Get the current transport options TransOpts = ranch:get_transport_optio
</item>
<item>
+ <title>ranch:get_transport_options(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_transport_options/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_transport_options/</guid>
+ <description>Name ranch:get_transport_options - Get the current transport options
+Description get_transport_options(Ref :: ranch:ref()) -&amp;gt; TransOpts :: any() Get the current transport options.
+Arguments Ref The listener name.
+ Return value The current transport options are returned.
+Examples Get the current transport options TransOpts = ranch:get_transport_options(example). See also ranch:get_max_connections(3), ranch:get_protocol_options(3), ranch:set_transport_options(3), ranch(3)</description>
+ </item>
+
+ <item>
<title>ranch:handshake(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.handshake/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11770,6 +9173,17 @@ This function must be called by the protocol process in order to retrieve the so
</item>
<item>
+ <title>ranch:handshake(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.handshake/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.handshake/</guid>
+ <description>Name ranch:handshake - Perform the transport handshake
+Description handshake(Ref) -&amp;gt; handshake(Ref, []) handshake(Ref, Opts) -&amp;gt; {ok, Socket} Ref :: ranch:ref() Opts :: any() Socket :: any() Perform the transport handshake.
+This function must be called by the protocol process in order to retrieve the socket for the connection. Ranch performs the handshake necessary to give control of the socket to this process and also does the transport handshake, for example setting up the TLS connection.</description>
+ </item>
+
+ <item>
<title>ranch:info(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.info/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11800,6 +9214,21 @@ pid Pid of the listener&amp;apos;s top-level supervisor.
</item>
<item>
+ <title>ranch:info(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.info/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.info/</guid>
+ <description>Name ranch:info - Overview of Ranch listeners
+Description info() -&amp;gt; #{Ref := Info} info(Ref) -&amp;gt; Info Info :: #{Key :: atom() := Value :: any()} Overview of Ranch listeners.
+Arguments Ref The listener name.
+ Return value Returns detailed information about one or all Ranch listeners. The following keys are returned:
+pid Pid of the listener&amp;apos;s top-level supervisor.
+ status Listener status, either running or suspended.
+ ip Interface Ranch listens on.</description>
+ </item>
+
+ <item>
<title>ranch:procs(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.procs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11828,6 +9257,20 @@ Examples Get the pids of the acceptor processes Pids = ranch:procs(acceptors).
</item>
<item>
+ <title>ranch:procs(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.procs/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.procs/</guid>
+ <description>Name ranch:procs - Retrieve pids from a listener
+Description procs(Ref :: ranch:ref(), Type :: acceptors | connections) -&amp;gt; Pids :: [pid()] Retrieve pids from a listener.
+Arguments Ref The listener name.
+ Type The type of process that will be returned.
+ Return value A list of pids is returned.
+Examples Get the pids of the acceptor processes Pids = ranch:procs(acceptors). Get the pids of the connection processes Pids = ranch:procs(connections).</description>
+ </item>
+
+ <item>
<title>ranch:recv_proxy_header(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.7/manual/ranch.recv_proxy_header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11842,6 +9285,20 @@ Arguments Ref The listener name.
</item>
<item>
+ <title>ranch:recv_proxy_header(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.recv_proxy_header/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.recv_proxy_header/</guid>
+ <description>Name ranch:recv_proxy_header - Receive the PROXY protocol header
+Description recv_proxy_header(ranch:ref(), timeout()) -&amp;gt; {ok, ranch_proxy_header:proxy_info()} | {error, Reason :: atom()} | {error, protocol_error, HumanReadable :: atom()} Receive the PROXY protocol header.
+This function must be called before ranch:handshake/1,2 on newly accepted connections to read and parse the PROXY protocol header, if any.
+Arguments Ref The listener name.
+ Timeout Receive timeout in milliseconds.
+ Return value An ok tuple is returned containing PROXY header information on success.</description>
+ </item>
+
+ <item>
<title>ranch:remove_connection(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.remove_connection/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11866,6 +9323,18 @@ This function may only be called from a connection process.</description>
</item>
<item>
+ <title>ranch:remove_connection(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.remove_connection/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.remove_connection/</guid>
+ <description>Name ranch:remove_connection - Remove connection from the count
+Description remove_connection(Ref :: ranch:ref()) -&amp;gt; ok Remove connection from the count.
+This connection will no longer be included in the count when limiting the number of connections. This can be useful in a mixed environment where some connections are active and others are passive. Passive connections spend most of their time idling and are not consuming much resources.
+This function may only be called from a connection process.</description>
+ </item>
+
+ <item>
<title>ranch:resume_listener(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.resume_listener/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11894,6 +9363,20 @@ Arguments Ref The listener name.
</item>
<item>
+ <title>ranch:resume_listener(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.resume_listener/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.resume_listener/</guid>
+ <description>Name ranch:resume_listener - Resume a suspended listener
+Description resume_listener(Ref :: ranch_ref()) -&amp;gt; ok | {error, any()} Resume a suspended listener.
+Ranch will start listening for and accepting connections again. The function ranch:set_transport_options(3) can be used to change the transport options before resuming the listener.
+Nothing is done when the listener is already running.
+Arguments Ref The listener name.
+ Return value The atom ok is returned on success.</description>
+ </item>
+
+ <item>
<title>ranch:set_max_connections(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.set_max_connections/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11918,6 +9401,17 @@ Arguments Ref The listener name.</description>
</item>
<item>
+ <title>ranch:set_max_connections(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.set_max_connections/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.set_max_connections/</guid>
+ <description>Name ranch:set_max_connections - Set the max number of connections per connection supervisor
+Description set_max_connections(Ref :: ranch:ref(), MaxConns :: ranch:max_conns()) -&amp;gt; ok Set the max number of connections per connection supervisor.
+The change will be applied immediately. If the new value is smaller than the previous one, Ranch will wait for the extra connections to terminate and will not accept new connections until the number of connections goes below the limit.</description>
+ </item>
+
+ <item>
<title>ranch:set_protocol_options(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.set_protocol_options/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11948,6 +9442,21 @@ Examples Set the protocol options ranch:set_protocol_options(example, ProtoOpts)
</item>
<item>
+ <title>ranch:set_protocol_options(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.set_protocol_options/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.set_protocol_options/</guid>
+ <description>Name ranch:set_protocol_options - Set the protocol options
+Description set_protocol_options(Ref :: ranch:ref(), ProtoOpts :: any()) -&amp;gt; ok Set the protocol options.
+The change will be applied immediately for all new connections. Old connections will not receive the new options.
+Arguments Ref The listener name.
+ ProtoOpts The new protocol options.
+ Return value The atom ok is always returned. It can be safely ignored.
+Examples Set the protocol options ranch:set_protocol_options(example, ProtoOpts).</description>
+ </item>
+
+ <item>
<title>ranch:set_transport_options(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.set_transport_options/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11978,6 +9487,18 @@ Arguments Ref The listener name.
</item>
<item>
+ <title>ranch:set_transport_options(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.set_transport_options/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.set_transport_options/</guid>
+ <description>Name ranch:set_transport_options - Set the transport options
+Description set_transport_options(Ref :: ranch:ref(), TransOpts :: ranch:opts()) -&amp;gt; ok | {error, Reason :: term()} Set the transport options.
+Changes to the following options will take effect...
+immediately: max_connections handshake_timeout shutdown only after the listener has been suspended and resumed: num_acceptors num_listen_sockets socket_opts only when the entire listener is restarted: connection_type num_conns_sups logger Arguments Ref The listener name.</description>
+ </item>
+
+ <item>
<title>ranch:start_listener(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.start_listener/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12002,6 +9523,18 @@ Arguments Ref The listener name is used to refer to this listener in future call
</item>
<item>
+ <title>ranch:start_listener(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.start_listener/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.start_listener/</guid>
+ <description>Name ranch:start_listener - Start a listener
+Description start_listener(Ref :: ranch_ref(), Transport :: module(), TransOpts :: ranch:opts(), Protocol :: module(), ProtoOpts :: any()) -&amp;gt; {ok, ListenerPid :: pid()} | {error, any()} Start a listener.
+A listener is a set of processes that accepts and manages connections using the given transport and protocol modules.
+Arguments Ref The listener name is used to refer to this listener in future calls, for example when stopping it or when updating the configuration.</description>
+ </item>
+
+ <item>
<title>ranch:stop_listener(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.stop_listener/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12026,6 +9559,18 @@ In order for the connection processes to exit gracefully, they need to trap exit
</item>
<item>
+ <title>ranch:stop_listener(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.stop_listener/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.stop_listener/</guid>
+ <description>Name ranch:stop_listener - Stop a listener
+Description stop_listener(Ref :: ranch_ref()) -&amp;gt; ok | {error, not_found} Stop a listener.
+The listener is stopped gracefully, first by closing the listening port, then by stopping the connection processes. These processes are stopped according to the shutdown transport option, which may be set to brutally kill all connection processes or give them some time to stop properly.
+In order for the connection processes to exit gracefully, they need to trap exit signals and stop before the configured shutdown timeout.</description>
+ </item>
+
+ <item>
<title>ranch:suspend_listener(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.suspend_listener/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12050,6 +9595,18 @@ Some transport options can only be changed when the listener is suspended. Pleas
</item>
<item>
+ <title>ranch:suspend_listener(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.suspend_listener/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.suspend_listener/</guid>
+ <description>Name ranch:suspend_listener - Suspend a running listener
+Description suspend_listener(Ref :: ranch_ref()) -&amp;gt; ok | {error, any()} Suspend a running listener.
+Ranch will stop listening for and accepting connections and the listening socket will be closed. Existing connections will continue undisturbed. The function ranch:wait_for_connections(3) can be used to wait for connections to be closed if necessary.
+Some transport options can only be changed when the listener is suspended. Please consult the ranch:set_transport_options(3) manual for more information.</description>
+ </item>
+
+ <item>
<title>ranch:wait_for_connections(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.wait_for_connections/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12074,35 +9631,15 @@ This function can be used to gracefully shutdown a listener by first suspending
</item>
<item>
- <title>ranch_protocol(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_protocol/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_protocol/</guid>
- <description>Name ranch_protocol - behaviour for protocol modules
-Description The ranch_protocol behaviour defines the interface used by Ranch protocols.
-Types None.
-Callbacks start_link(Ref, Socket, Transport, ProtoOpts) -&amp;gt; {ok, pid()} | {ok, pid(), pid()} Ref = ranch:ref() Listener name.
- Socket = any() Socket for this connection.
- Transport = module() Transport module for this socket.
- ProtoOpts = any() Protocol options.
- Start a new connection process for the given socket.</description>
- </item>
-
- <item>
- <title>ranch_protocol(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_protocol/</link>
+ <title>ranch:wait_for_connections(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.wait_for_connections/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_protocol/</guid>
- <description>Name ranch_protocol - behaviour for protocol modules
-Description The ranch_protocol behaviour defines the interface used by Ranch protocols.
-Types None.
-Callbacks start_link(Ref, Socket, Transport, ProtoOpts) -&amp;gt; {ok, pid()} | {ok, pid(), pid()} Ref = ranch:ref() Listener name.
- Socket = any() Socket for this connection.
- Transport = module() Transport module for this socket.
- ProtoOpts = any() Protocol options.
- Start a new connection process for the given socket.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.wait_for_connections/</guid>
+ <description>Name ranch:wait_for_connections - Wait for a specific number of connections
+Description wait_for_connections(Ref :: ranch:ref(), Operator, NumConns :: non_neg_integer()) -&amp;gt; ok Operator :: &#39;&amp;gt;&#39; | &#39;&amp;gt;=&#39; | &#39;==&#39; | &#39;=&amp;lt;&#39; | &#39;&amp;lt;&#39; Wait for a specific number of connections.
+This function waits until the number of connections on the given listener becomes higher than, equal to or lower than the given number. It never returns otherwise.
+This function can be used to gracefully shutdown a listener by first suspending the listener and then waiting for connections to terminate before finally stopping the listener.</description>
</item>
<item>
@@ -12164,6 +9701,19 @@ The only purpose of this callback is to start a process that will handle the soc
</item>
<item>
+ <title>ranch_protocol(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_protocol/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_protocol/</guid>
+ <description>Name ranch_protocol - Protocol modules
+Description The module ranch_protocol defines the interface used by Ranch protocols.
+Callbacks Ranch protocols implement the following interface:
+start_link(Ref :: ranch:ref(), Transport :: module(), ProtoOpts :: any()) -&amp;gt; {ok, ConnPid :: pid()} | {ok, SupPid :: pid(), ConnPid :: pid()} Start a new connection process.
+The only purpose of this callback is to start a process that will handle the socket. It must spawn the process, link and then return the new pid.</description>
+ </item>
+
+ <item>
<title>ranch_proxy_header(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.7/manual/ranch_proxy_header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12175,6 +9725,17 @@ Exports ranch_proxy_header:parse(3) - Parse a PROXY protocol header ranch_proxy
</item>
<item>
+ <title>ranch_proxy_header(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_proxy_header/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_proxy_header/</guid>
+ <description>Name ranch_proxy_header - PROXY protocol
+Description The module ranch_proxy_header provides functions for parsing and building the PROXY protocol header.
+Exports ranch_proxy_header:parse(3) - Parse a PROXY protocol header ranch_proxy_header:header(3) - Build a PROXY protocol header Types proxy_info() proxy_info() = #{ %% Mandatory part. version := 1 | 2, command := local | proxy, transport_family =&amp;gt; undefined | ipv4 | ipv6 | unix, transport_protocol =&amp;gt; undefined | stream | dgram, %% Addresses.</description>
+ </item>
+
+ <item>
<title>ranch_proxy_header:header(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.7/manual/ranch_proxy_header.header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12188,6 +9749,19 @@ Arguments ProxyInfo The proxy information to encode.
</item>
<item>
+ <title>ranch_proxy_header:header(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_proxy_header.header/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_proxy_header.header/</guid>
+ <description>Name ranch_proxy_header:header - Build a PROXY protocol header
+Description header(ProxyInfo) -&amp;gt; header(ProxyInfo, #{}) header(ProxyInfo, BuildOpts) -&amp;gt; iodata() ProxyInfo :: ranch_proxy_header:proxy_info() BuildOpts :: #{ checksum =&amp;gt; crc32c, padding =&amp;gt; pos_integer() %% &amp;gt;= 3 } Build a PROXY protocol header.
+Arguments ProxyInfo The proxy information to encode.
+ BuildOpts Options to control whether to add a checksum or padding should be included in the encoded PROXY protocol header.
+ Return value The PROXY protocol header is returned.</description>
+ </item>
+
+ <item>
<title>ranch_proxy_header:parse(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.7/manual/ranch_proxy_header.parse/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12201,25 +9775,16 @@ An error tuple is returned when a protocol error is detected.</description>
</item>
<item>
- <title>ranch_ssl(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_ssl/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_ssl/</guid>
- <description>Name ranch_ssl - SSL transport module
-Description The ranch_ssl module implements an SSL Ranch transport.
-Types ssl_opt() ssl_opt() = {alpn_preferred_protocols, [binary()]} | {cacertfile, string()} | {cacerts, [public_key:der_encoded()]} | {cert, public_key:der_encoded()} | {certfile, string()} | {ciphers, [ssl:erl_cipher_suite()] | string()} | {client_renegotiation, boolean()} | {crl_cache, {module(), {internal | any(), list()}}} | {crl_check, boolean() | peer | best_effort} | {depth, 0..255} | {dh, public_key:der_encoded()} | {dhfile, string()} | {fail_if_no_peer_cert, boolean()} | {hibernate_after, integer() | undefined} | {honor_cipher_order, boolean()} | {key, {&#39;RSAPrivateKey&#39; | &#39;DSAPrivateKey&#39; | &#39;PrivateKeyInfo&#39;, public_key:der_encoded()}} | {keyfile, string()} | {log_alert, boolean()} | {next_protocols_advertised, [binary()]} | {partial_chain, fun(([public_key:der_encoded()]) -&amp;gt; {trusted_ca, public_key:der_encoded()} | unknown_ca)} | {password, string()} | {psk_identity, string()} | {reuse_session, fun()} | {reuse_sessions, boolean()} | {secure_renegotiate, boolean()} | {sni_fun, fun()} | {sni_hosts, [{string(), ssl_opt()}]} | {user_lookup_fun, {fun(), any()}} | {verify, ssl:verify_type()} | {verify_fun, {fun(), any()}} | {versions, [atom()]}.</description>
- </item>
-
- <item>
- <title>ranch_ssl(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_ssl/</link>
+ <title>ranch_proxy_header:parse(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_proxy_header.parse/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_ssl/</guid>
- <description>Name ranch_ssl - SSL transport module
-Description The ranch_ssl module implements an SSL Ranch transport.
-Types ssl_opt() ssl_opt() = {alpn_preferred_protocols, [binary()]} | {beast_mitigation, one_n_minus_one | zero_n | disabled} | {cacertfile, string()} | {cacerts, [public_key:der_encoded()]} | {cert, public_key:der_encoded()} | {certfile, string()} | {ciphers, [ssl:erl_cipher_suite()] | string()} | {client_renegotiation, boolean()} | {crl_cache, {module(), {internal | any(), list()}}} | {crl_check, boolean() | peer | best_effort} | {depth, 0..255} | {dh, public_key:der_encoded()} | {dhfile, string()} | {fail_if_no_peer_cert, boolean()} | {hibernate_after, integer() | undefined} | {honor_cipher_order, boolean()} | {key, {&#39;RSAPrivateKey&#39; | &#39;DSAPrivateKey&#39; | &#39;PrivateKeyInfo&#39;, public_key:der_encoded()}} | {keyfile, string()} | {log_alert, boolean()} | {next_protocols_advertised, [binary()]} | {padding_check, boolean()} | {partial_chain, fun(([public_key:der_encoded()]) -&amp;gt; {trusted_ca, public_key:der_encoded()} | unknown_ca)} | {password, string()} | {psk_identity, string()} | {reuse_session, fun()} | {reuse_sessions, boolean()} | {secure_renegotiate, boolean()} | {signature_algs, [{atom(), atom()}]} | {sni_fun, fun()} | {sni_hosts, [{string(), ssl_opt()}]} | {user_lookup_fun, {fun(), any()}} | {v2_hello_compatible, boolean()} | {verify, ssl:verify_type()} | {verify_fun, {fun(), any()}} | {versions, [atom()]}.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_proxy_header.parse/</guid>
+ <description>Name ranch_proxy_header:parse - Parse a PROXY protocol header
+Description parse(Data :: binary()) -&amp;gt; {ok, ranch_proxy_header:proxy_info(), Rest :: binary()} | {error, HumanReadable :: atom()} Parse a PROXY protocol header.
+Arguments Data The PROXY protocol header optionally followed by more data.
+ Return value An ok tuple is returned on success, containing the proxy information found in the header and the rest of the data if more was provided.
+An error tuple is returned when a protocol error is detected.</description>
</item>
<item>
@@ -12275,27 +9840,18 @@ ssl_opt() ssl_opt() = {alpn_preferred_protocols, [binary()]} | {beast_mitigation
</item>
<item>
- <title>ranch_tcp(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_tcp/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_tcp/</guid>
- <description>Name ranch_tcp - TCP transport module
-Description The ranch_tcp module implements a TCP Ranch transport.
-Note that due to bugs in OTP up to at least R16B02, it is recommended to disable async threads when using the sendfile function of this transport, as it can make the threads stuck indefinitely.
-Types opt() opt() = {backlog, non_neg_integer()} | {buffer, non_neg_integer()} | {delay_send, boolean()} | {dontroute, boolean()} | {exit_on_close, boolean()} | {fd, non_neg_integer()} | {high_msgq_watermark, non_neg_integer()} | {high_watermark, non_neg_integer()} | inet | inet6 | {ip, inet:ip_address()} | {keepalive, boolean()} | {linger, {boolean(), non_neg_integer()}} | {low_msgq_watermark, non_neg_integer()} | {low_watermark, non_neg_integer()} | {nodelay, boolean()} | {port, inet:port_number()} | {priority, integer()} | {raw, non_neg_integer(), non_neg_integer(), binary()} | {recbuf, non_neg_integer()} | {send_timeout, timeout()} | {send_timeout_close, boolean()} | {sndbuf, non_neg_integer()} | {tos, integer()} Listen options.</description>
- </item>
-
- <item>
- <title>ranch_tcp(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_tcp/</link>
+ <title>ranch_ssl(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_ssl/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_tcp/</guid>
- <description>Name ranch_tcp - TCP transport module
-Description The ranch_tcp module implements a TCP Ranch transport.
-Note that due to bugs in OTP up to at least R16B02, it is recommended to disable async threads when using the sendfile function of this transport, as it can make the threads stuck indefinitely.
-Types opt() opt() = {backlog, non_neg_integer()} | {buffer, non_neg_integer()} | {delay_send, boolean()} | {dontroute, boolean()} | {exit_on_close, boolean()} | {fd, non_neg_integer()} | {high_msgq_watermark, non_neg_integer()} | {high_watermark, non_neg_integer()} | inet | inet6 | {ip, inet:ip_address()} | {ipv6_v6only, boolean()} | {keepalive, boolean()} | {linger, {boolean(), non_neg_integer()}} | {low_msgq_watermark, non_neg_integer()} | {low_watermark, non_neg_integer()} | {nodelay, boolean()} | {port, inet:port_number()} | {priority, integer()} | {raw, non_neg_integer(), non_neg_integer(), binary()} | {recbuf, non_neg_integer()} | {send_timeout, timeout()} | {send_timeout_close, boolean()} | {sndbuf, non_neg_integer()} | {tos, integer()} Listen options.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_ssl/</guid>
+ <description>Name ranch_ssl - SSL transport
+Description The module ranch_ssl implements an SSL Ranch transport.
+Exports The module ranch_ssl implements the interface defined by ranch_transport(3).
+Types opt() opt() :: ranch_tcp:opt() | ssl_opt() Listen options.
+The TCP options are defined in ranch_tcp(3).
+opts() opts() :: [opt()] List of listen options.
+ssl_opt() ssl_opt() = {alpn_preferred_protocols, [binary()]} | {beast_mitigation, one_n_minus_one | zero_n | disabled} | {cacertfile, file:filename()} | {cacerts, [public_key:der_encoded()]} | {cert, public_key:der_encoded()} | {certfile, file:filename()} | {ciphers, ssl:ciphers()} | {client_renegotiation, boolean()} | {crl_cache, [any()]} | {crl_check, boolean() | peer | best_effort} | {depth, integer()} | {dh, binary()} | {dhfile, file:filename()} | {eccs, [atom()]} | {fail_if_no_peer_cert, boolean()} | {hibernate_after, timeout()} | {honor_cipher_order, boolean()} | {honor_ecc_order, boolean()} | {key, ssl:key()} | {keyfile, file:filename()} | {log_alert, boolean()} | {log_level, logger:level()} | {max_handshake_size, integer()} | {next_protocols_advertised, [binary()]} | {padding_check, boolean()} | {partial_chain, fun()} | {password, string()} | {protocol, tls | dtls} | {psk_identity, string()} | {reuse_session, fun()} | {reuse_sessions, boolean()} | {secure_renegotiate, boolean()} | {signature_algs, [{ssl:hash(), ssl:sign_algo()}]} | {signature_algs_cert, [atom()]} | {sni_fun, fun()} | {sni_hosts, [{string(), ssl_opt()}]} | {user_lookup_fun, {fun(), any()}} | {verify, verify_none | verify_peer} | {verify_fun, {fun(), any()}} | {versions, [ssl:protocol_version()]} SSL-specific listen options.</description>
</item>
<item>
@@ -12349,33 +9905,16 @@ Types opt() opt() = {backlog, non_neg_integer()} | {buffer, non_neg_integer()} |
</item>
<item>
- <title>ranch_transport(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_transport/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_transport/</guid>
- <description>Name ranch_transport - behaviour for transport modules
-Description The ranch_transport behaviour defines the interface used by Ranch transports.
-Types sendfile_opts() = [{chunk_size, non_neg_integer()}] Options used by the sendfile function and callbacks.
-Allows configuring the chunk size, in bytes. Defaults to 8191 bytes.
-Callbacks accept(LSocket, Timeout) -&amp;gt; {ok, CSocket} | {error, closed | timeout | atom()} LSocket = CSocket = any() Listening socket.
- Timeout = timeout() Accept timeout.
- Accept a connection on the given listening socket.</description>
- </item>
-
- <item>
- <title>ranch_transport(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_transport/</link>
+ <title>ranch_tcp(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_tcp/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_transport/</guid>
- <description>Name ranch_transport - behaviour for transport modules
-Description The ranch_transport behaviour defines the interface used by Ranch transports.
-Types sendfile_opts() = [{chunk_size, non_neg_integer()}] Options used by the sendfile function and callbacks.
-Allows configuring the chunk size, in bytes. Defaults to 8191 bytes.
-Callbacks accept(LSocket, Timeout) -&amp;gt; {ok, CSocket} | {error, closed | timeout | atom()} LSocket = CSocket = any() Listening socket.
- Timeout = timeout() Accept timeout.
- Accept a connection on the given listening socket.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_tcp/</guid>
+ <description>Name ranch_tcp - TCP transport
+Description The module ranch_tcp implements a TCP Ranch transport.
+The function sendfile may not work correctly when used against files stored in a VirtualBox shared folder.
+Exports The module ranch_tcp implements the interface defined by ranch_transport(3).
+Types opt() opt() = {backlog, non_neg_integer()} | {buffer, non_neg_integer()} | {delay_send, boolean()} | {dontroute, boolean()} | {exit_on_close, boolean()} | {fd, non_neg_integer()} | {high_msgq_watermark, non_neg_integer()} | {high_watermark, non_neg_integer()} | inet | inet6 | {ip, inet:ip_address() | inet:local_address()} | {ipv6_v6only, boolean()} | {keepalive, boolean()} | {linger, {boolean(), non_neg_integer()}} | {low_msgq_watermark, non_neg_integer()} | {low_watermark, non_neg_integer()} | {nodelay, boolean()} | {port, inet:port_number()} | {priority, integer()} | {raw, non_neg_integer(), non_neg_integer(), binary()} | {recbuf, non_neg_integer()} | {send_timeout, timeout()} | {send_timeout_close, boolean()} | {sndbuf, non_neg_integer()} | {tos, integer()} Listen options.</description>
</item>
<item>
@@ -12435,6 +9974,19 @@ close close(Socket :: socket()) -&amp;gt; ok Close the socket.</description>
</item>
<item>
+ <title>ranch_transport(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_transport/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_transport/</guid>
+ <description>Name ranch_transport - Transport modules
+Description The module ranch_transport defines the interface used by Ranch transports.
+Callbacks Ranch transports implement the following interface:
+accept accept(LSocket :: socket(), Timeout :: timeout()) -&amp;gt; {ok, Socket :: socket()} | {error, closed | timeout | atom()} Use the listening socket returned by listen/1 to accept a new connection. The timeout is specified in milliseconds.
+close close(Socket :: socket()) -&amp;gt; ok Close the socket.</description>
+ </item>
+
+ <item>
<title>ranch_transport:sendfile(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch_transport.sendfile/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12458,5 +10010,17 @@ The file may be sent full or in parts, and may be specified by its filename or b
This function emulates the function file:sendfile/2,4,5 and may be used when transports are not manipulating TCP directly.</description>
</item>
+ <item>
+ <title>ranch_transport:sendfile(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_transport.sendfile/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_transport.sendfile/</guid>
+ <description>Name ranch_transport:sendfile - Send a file on the socket
+Description sendfile(Transport :: module(), Socket :: ranch_transport:socket(), File :: file:name_all() | file:fd(), Offset :: non_neg_integer(), Bytes :: non_neg_integer(), Opts :: ranch_transport:sendfile_opts()) -&amp;gt; {ok, SentBytes :: non_neg_integer()} | {error, atom()} Send a file on the socket.
+The file may be sent full or in parts, and may be specified by its filename or by an already open file descriptor.
+This function emulates the function file:sendfile/2,4,5 and may be used when transports are not manipulating TCP directly.</description>
+ </item>
+
</channel>
</rss> \ No newline at end of file
diff --git a/donate/index.html b/donate/index.html
index dba6642c..eb82b673 100644
--- a/donate/index.html
+++ b/donate/index.html
@@ -614,178 +614,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
@@ -2029,238 +1857,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
</div>
</div>
</div>
diff --git a/index.html b/index.html
index 8ebfeb1b..13bd5ee8 100644
--- a/index.html
+++ b/index.html
@@ -196,10 +196,10 @@
<a class="btn btn-large" href="https://github.com/ninenines/ranch">Source Code</a>
- <a class="btn btn-large" href="/docs/en/ranch/1.7/guide/">User Guide</a>
+ <a class="btn btn-large" href="/docs/en/ranch/2.0/guide/">User Guide</a>
- <a class="btn btn-large" href="/docs/en/ranch/1.7/manual/">Manual</a>
+ <a class="btn btn-large" href="/docs/en/ranch/2.0/manual/">Manual</a>
</p>
@@ -753,178 +753,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
<p>Feeling generous? Love reading?<br/><a href="https://salt.bountysource.com/teams/ninenines">Crowdfund my salary</a> or buy <a href="/articles/erlanger-playbook">The Erlanger Playbook</a></p>
@@ -2152,238 +1980,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
</div></div>
</div>
diff --git a/index.xml b/index.xml
index 96b47b69..88db55d1 100644
--- a/index.xml
+++ b/index.xml
@@ -6,24 +6,12 @@
<description>Recent content on Nine Nines</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
- <lastBuildDate>Tue, 11 Jun 2019 07:00:00 +0100</lastBuildDate>
+ <lastBuildDate>Thu, 18 Jul 2019 07:00:00 +0100</lastBuildDate>
<atom:link href="https://ninenines.eu/index.xml" rel="self" type="application/rss+xml" />
<item>
- <title>Installation</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/installation/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/installation/</guid>
- <description>On Unix Erlang.mk requires GNU Make to be installed. While it will currently work with GNU Make 3.81, support for this version is deprecated and will be removed in 2017. We recommend GNU Make 4.1 or later.
-Git and Erlang/OTP must also be installed.
-Some functionality requires that Autoconf 2.59 or later be installed, in order to compile Erlang/OTP. Erlang/OTP may have further requirements depending on your needs.
-Some packages may require additional libraries.</description>
- </item>
-
- <item>
<title>Introduction</title>
<link>https://ninenines.eu/docs/en/gun/1.0/guide/introduction/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -85,30 +73,6 @@ Copyright (c) 2013-2018, Loïc Hoguin &amp;lt;[email protected]&amp;gt; Permiss
<item>
<title>Introduction</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/introduction/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/introduction/</guid>
- <description>Ranch is a socket acceptor pool for TCP protocols.
-Ranch aims to provide everything you need to accept TCP connections with a small code base and low latency while being easy to use directly as an application or to embed into your own.
-Prerequisites It is assumed the developer already knows Erlang and has some experience with socket programming and TCP protocols.
-Supported platforms Ranch is tested and supported on Linux.</description>
- </item>
-
- <item>
- <title>Introduction</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/introduction/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/introduction/</guid>
- <description>Ranch is a socket acceptor pool for TCP protocols.
-Ranch aims to provide everything you need to accept TCP connections with a small code base and low latency while being easy to use directly as an application or to embed into your own.
-Prerequisites It is assumed the developer already knows Erlang and has some experience with socket programming and TCP protocols.
-Supported platforms Ranch is tested and supported on Linux, FreeBSD, OSX and Windows.</description>
- </item>
-
- <item>
- <title>Introduction</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/guide/introduction/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -156,25 +120,15 @@ Supported platforms Ranch is tested and supported on Linux, FreeBSD, OSX and Win
</item>
<item>
- <title>The modern Web</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/modern_web/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/modern_web/</guid>
- <description>Cowboy is a server for the modern Web. This chapter explains what it means and details all the standards involved.
-Cowboy supports all the standards listed in this document.
-HTTP/2 HTTP/2 is the most efficient protocol for consuming Web services. It enables clients to keep a connection open for long periods of time; to send requests concurrently; to reduce the size of requests through HTTP headers compression; and more. The protocol is binary, greatly reducing the resources needed to parse it.</description>
- </item>
-
- <item>
- <title>The modern Web</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/modern_web/</link>
+ <title>Introduction</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/introduction/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/modern_web/</guid>
- <description>Cowboy is a server for the modern Web. This chapter explains what it means and details all the standards involved.
-Cowboy supports all the standards listed in this document.
-HTTP/2 HTTP/2 is the most efficient protocol for consuming Web services. It enables clients to keep a connection open for long periods of time; to send requests concurrently; to reduce the size of requests through HTTP headers compression; and more. The protocol is binary, greatly reducing the resources needed to parse it.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/introduction/</guid>
+ <description>Ranch is a socket acceptor pool for TCP protocols.
+Ranch aims to provide everything you need to accept TCP connections with a small code base and low latency while being easy to use directly as an application or to embed into your own.
+Prerequisites It is assumed the developer already knows Erlang and has some experience with socket programming and TCP protocols.
+Supported platforms Ranch is tested and supported on Linux, FreeBSD, macOS and Windows.</description>
</item>
<item>
@@ -234,26 +188,6 @@ HTTP/2 HTTP/2 is the most efficient protocol for consuming Web services. It enab
<item>
<title>Erlang and the Web</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/erlang_web/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/erlang_web/</guid>
- <description>Erlang is the ideal platform for writing Web applications. Its features are a perfect match for the requirements of modern Web applications.
-The Web is concurrent When you access a website there is little concurrency involved. A few connections are opened and requests are sent through these connections. Then the web page is displayed on your screen. Your browser will only open up to 4 or 8 connections to the server, depending on your settings.</description>
- </item>
-
- <item>
- <title>Erlang and the Web</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/erlang_web/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/erlang_web/</guid>
- <description>Erlang is the ideal platform for writing Web applications. Its features are a perfect match for the requirements of modern Web applications.
-The Web is concurrent When you access a website there is little concurrency involved. A few connections are opened and requests are sent through these connections. Then the web page is displayed on your screen. Your browser will only open up to 4 or 8 connections to the server, depending on your settings.</description>
- </item>
-
- <item>
- <title>Erlang and the Web</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/erlang_web/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -303,37 +237,6 @@ The Web is concurrent When you access a website there is little concurrency invo
</item>
<item>
- <title>Getting started</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/getting_started/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/getting_started/</guid>
- <description>This chapter explains how to get started using Erlang.mk.
-Creating a folder for your project The first step is always to create a new folder that will contain your project.
-$ mkdir hello_joe $ cd hello_joe Most people tend to put all their projects side by side in a common folder. We recommend keeping an organization similar to your remote repositories. For example, for GitHub users, put all your projects in a common folder with the same name as your username.</description>
- </item>
-
- <item>
- <title>Listeners</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/listeners/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/listeners/</guid>
- <description>A listener is a set of processes whose role is to listen on a port for new connections. It manages a pool of acceptor processes, each of them indefinitely accepting connections. When it does, it starts a new process executing the protocol handler code. All the socket programming is abstracted through the user of transport handlers.
-The listener takes care of supervising all the acceptor and connection processes, allowing developers to focus on building their application.</description>
- </item>
-
- <item>
- <title>Listeners</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/listeners/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/listeners/</guid>
- <description>A listener is a set of processes whose role is to listen on a port for new connections. It manages a pool of acceptor processes, each of them indefinitely accepting connections. When it does, it starts a new process executing the protocol handler code. All the socket programming is abstracted through the use of transport handlers.
-The listener takes care of supervising all the acceptor and connection processes, allowing developers to focus on building their application.</description>
- </item>
-
- <item>
<title>Listeners</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/guide/listeners/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -374,6 +277,16 @@ The listener takes care of supervising all the acceptor and connection processes
</item>
<item>
+ <title>Listeners</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/listeners/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/listeners/</guid>
+ <description>A listener is a set of processes whose role is to listen on a port for new connections. It manages a pool of acceptor processes, each of them indefinitely accepting connections. When it does, it starts a new process executing the protocol handler code. All the socket programming is abstracted through the use of transport handlers.
+The listener takes care of supervising all the acceptor and connection processes, allowing developers to focus on building their application.</description>
+ </item>
+
+ <item>
<title>Starting and stopping</title>
<link>https://ninenines.eu/docs/en/gun/1.0/guide/start/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -475,30 +388,6 @@ Gun will send a gun_inform message for every intermediate informational response
<item>
<title>Introduction</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/introduction/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/introduction/</guid>
- <description>Cowboy is a small, fast and modern HTTP server for Erlang/OTP.
-Cowboy aims to provide a complete modern Web stack. This includes HTTP/1.1, HTTP/2, Websocket, Server-Sent Events and Webmachine-based REST.
-Cowboy comes with functions for introspection and tracing, enabling developers to know precisely what is happening at any time. Its modular design also easily enable developers to add instrumentation.
-Cowboy is a high quality project. It has a small code base, is very efficient (both in latency and memory use) and can easily be embedded in another application.</description>
- </item>
-
- <item>
- <title>Introduction</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/introduction/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/introduction/</guid>
- <description>Cowboy is a small, fast and modern HTTP server for Erlang/OTP.
-Cowboy aims to provide a complete modern Web stack. This includes HTTP/1.1, HTTP/2, Websocket, Server-Sent Events and Webmachine-based REST.
-Cowboy comes with functions for introspection and tracing, enabling developers to know precisely what is happening at any time. Its modular design also easily enable developers to add instrumentation.
-Cowboy is a high quality project. It has a small code base, is very efficient (both in latency and memory use) and can easily be embedded in another application.</description>
- </item>
-
- <item>
- <title>Introduction</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/introduction/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -559,31 +448,6 @@ Cowboy is a high quality project. It has a small code base, is very efficient (b
<item>
<title>Transports</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/transports/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/transports/</guid>
- <description>A transport defines the interface to interact with a socket.
-Transports can be used for connecting, listening and accepting connections, but also for receiving and sending data. Both passive and active mode are supported, although all sockets are initialized as passive.
-TCP transport The TCP transport is a thin wrapper around gen_tcp.
-SSL transport The SSL transport is a thin wrapper around ssl. It requires the crypto, asn1, public_key and ssl applications to be started.</description>
- </item>
-
- <item>
- <title>Transports</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/transports/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/transports/</guid>
- <description>A transport defines the interface to interact with a socket.
-Transports can be used for connecting, listening and accepting connections, but also for receiving and sending data. Both passive and active mode are supported, although all sockets are initialized as passive.
-TCP transport The TCP transport is a thin wrapper around gen_tcp.
-SSL transport The SSL transport is a thin wrapper around ssl.
-Ranch depends on ssl by default so any necessary dependencies will start when Ranch is started.</description>
- </item>
-
- <item>
- <title>Transports</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/guide/transports/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -635,14 +499,16 @@ Ranch depends on ssl by default so any necessary dependencies will start when Ra
</item>
<item>
- <title>Overview</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/overview/</link>
+ <title>Transports</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/transports/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/overview/</guid>
- <description>Now that you know how to get started, let&amp;apos;s take a look at what Erlang.mk can do for you.
-Building your project Erlang.mk is first and foremost a build tool. It is especially tailored for Erlang developers and follows widely accepted practices in the Erlang community.
-Erlang.mk will happily build all Erlang-specific files you throw at it. Other kinds of files too, like C or C++ code when you are working on a NIF or a port driver.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/transports/</guid>
+ <description>A transport defines the interface to interact with a socket.
+Transports can be used for connecting, listening and accepting connections, but also for receiving and sending data. Both passive and active mode are supported, although all sockets are initialized as passive.
+TCP transport The TCP transport is a thin wrapper around gen_tcp.
+SSL transport The SSL transport is a thin wrapper around ssl.
+Ranch depends on ssl by default so any necessary dependencies will start when Ranch is started.</description>
</item>
<item>
@@ -691,26 +557,6 @@ A Gun connection is an Erlang process that manages a socket to a remote endpoint
<item>
<title>Protocols</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/protocols/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/protocols/</guid>
- <description>A protocol handler starts a connection process and defines the protocol logic executed in this process.
-Writing a protocol handler All protocol handlers must implement the ranch_protocol behavior which defines a single callback, start_link/4. This callback is responsible for spawning a new process for handling the connection. It receives four arguments: the name of the listener, the socket, the transport handler being used and the protocol options defined in the call to ranch:start_listener/6.</description>
- </item>
-
- <item>
- <title>Protocols</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/protocols/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/protocols/</guid>
- <description>A protocol handler starts a connection process and defines the protocol logic executed in this process.
-Writing a protocol handler All protocol handlers must implement the ranch_protocol behavior which defines a single callback, start_link/4. This callback is responsible for spawning a new process for handling the connection. It receives four arguments: the name of the listener, the socket, the transport handler being used and the protocol options defined in the call to ranch:start_listener/6.</description>
- </item>
-
- <item>
- <title>Protocols</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/guide/protocols/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -750,23 +596,13 @@ Writing a protocol handler All protocol handlers must implement the ranch_protoc
</item>
<item>
- <title>Getting started</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/getting_started/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/getting_started/</guid>
- <description>Erlang is more than a language, it is also an operating system for your applications. Erlang developers rarely write standalone modules, they write libraries or applications, and then bundle those into what is called a release. A release contains the Erlang VM plus all applications required to run the node, so it can be pushed to production directly.
-This chapter walks you through all the steps of setting up Cowboy, writing your first application and generating your first release.</description>
- </item>
-
- <item>
- <title>Getting started</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/getting_started/</link>
+ <title>Protocols</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/protocols/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/getting_started/</guid>
- <description>Erlang is more than a language, it is also an operating system for your applications. Erlang developers rarely write standalone modules, they write libraries or applications, and then bundle those into what is called a release. A release contains the Erlang VM plus all applications required to run the node, so it can be pushed to production directly.
-This chapter walks you through all the steps of setting up Cowboy, writing your first application and generating your first release.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/protocols/</guid>
+ <description>A protocol handler starts a connection process and defines the protocol logic executed in this process.
+Writing a protocol handler All protocol handlers must implement the ranch_protocol behavior which defines a single callback, start_link/4. This callback is responsible for spawning a new process for handling the connection. It receives four arguments: the name of the listener, the socket, the transport handler being used and the protocol options defined in the call to ranch:start_listener/5.</description>
</item>
<item>
@@ -820,17 +656,6 @@ This chapter walks you through all the steps of setting up Cowboy, writing your
</item>
<item>
- <title>Updating Erlang.mk</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/updating/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/updating/</guid>
- <description>This chapter describes how to update the erlang.mk file in your repository.
-Initial bootstrap The first time you use Erlang.mk, it will bootstrap itself. It always uses the most recent version for this, so you don&amp;apos;t have to update after creating your project.
-Updating Later on though, updating becomes a necessity. Erlang.mk developers and contributors relentlessly improve the project and add new features; it would be a waste not to benefit from this.</description>
- </item>
-
- <item>
<title>HTTP</title>
<link>https://ninenines.eu/docs/en/gun/1.0/guide/http/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -880,26 +705,6 @@ Streams can be canceled at any time.</description>
<item>
<title>Embedded mode</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/embedded/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/embedded/</guid>
- <description>Embedded mode allows you to insert Ranch listeners directly in your supervision tree. This allows for greater fault tolerance control by permitting the shutdown of a listener due to the failure of another part of the application and vice versa.
-Embedding To embed Ranch in your application you can simply add the child specs to your supervision tree. This can all be done in the init/1 function of one of your application supervisors.</description>
- </item>
-
- <item>
- <title>Embedded mode</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/embedded/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/embedded/</guid>
- <description>Embedded mode allows you to insert Ranch listeners directly in your supervision tree. This allows for greater fault tolerance control by permitting the shutdown of a listener due to the failure of another part of the application and vice versa.
-Embedding To embed Ranch in your application you can simply add the child specs to your supervision tree. This can all be done in the init/1 function of one of your application supervisors.</description>
- </item>
-
- <item>
- <title>Embedded mode</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/guide/embedded/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -939,40 +744,13 @@ Embedding To embed Ranch in your application you can simply add the child specs
</item>
<item>
- <title>Limitations</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/limitations/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/limitations/</guid>
- <description>No software is perfect.
-It&amp;apos;s very important, when evaluating and when using a tool, to understand its limitations, so as to avoid making mistakes and wasting valuable time.
-This chapter lists all known limitations of Erlang.mk.
-Erlang must be available Currently Erlang.mk requires you to install Erlang beforehand. Installing Erlang is not always easy, particularly if you need a specific version of Erlang for a specific project.
-In addition, the Erlang being used must be in your $PATH before you use Erlang.</description>
- </item>
-
- <item>
- <title>Flow diagram</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/flow_diagram/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/flow_diagram/</guid>
- <description>Cowboy is a lightweight HTTP server with support for HTTP/1.1, HTTP/2 and Websocket.
-It is built on top of Ranch. Please see the Ranch guide for more information about how the network connections are handled.
-Overview As you can see on the diagram, the client begins by connecting to the server. This step is handled by a Ranch acceptor, which is a process dedicated to accepting new connections.
-After Ranch accepts a new connection, whether it is an HTTP/1.</description>
- </item>
-
- <item>
- <title>Flow diagram</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/flow_diagram/</link>
+ <title>Embedded mode</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/embedded/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/flow_diagram/</guid>
- <description>Cowboy is a lightweight HTTP server with support for HTTP/1.1, HTTP/2 and Websocket.
-It is built on top of Ranch. Please see the Ranch guide for more information about how the network connections are handled.
-Overview As you can see on the diagram, the client begins by connecting to the server. This step is handled by a Ranch acceptor, which is a process dedicated to accepting new connections.
-After Ranch accepts a new connection, whether it is an HTTP/1.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/embedded/</guid>
+ <description>Embedded mode allows you to insert Ranch listeners directly in your supervision tree. This allows for greater fault tolerance control by permitting the shutdown of a listener due to the failure of another part of the application and vice versa.
+However, just as for non-embedded listeners that were started via ranch:start_listener/5, it is required that the ranch application is running before you can start embedded listeners. Furthermore, this also means that embedded listeners will restart when ranch_sup fails.</description>
</item>
<item>
@@ -1081,28 +859,6 @@ You must use the gun:ws_upgrade/2,3,4 function to upgrade to Websocket.</descrip
<item>
<title>Writing parsers</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/parsers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/parsers/</guid>
- <description>There are three kinds of protocols:
-Text protocols Schema-less binary protocols Schema-based binary protocols This chapter introduces the first two kinds. It will not cover more advanced topics such as continuations or parser generators.
-This chapter isn&amp;apos;t specifically about Ranch, we assume here that you know how to read data from the socket. The data you read and the data that hasn&amp;apos;t been parsed is saved in a buffer.</description>
- </item>
-
- <item>
- <title>Writing parsers</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/parsers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/parsers/</guid>
- <description>There are three kinds of protocols:
-Text protocols Schema-less binary protocols Schema-based binary protocols This chapter introduces the first two kinds. It will not cover more advanced topics such as continuations or parser generators.
-This chapter isn&amp;apos;t specifically about Ranch, we assume here that you know how to read data from the socket. The data you read and the data that hasn&amp;apos;t been parsed is saved in a buffer.</description>
- </item>
-
- <item>
- <title>Writing parsers</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/guide/parsers/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -1146,15 +902,14 @@ This chapter isn&amp;apos;t specifically about Ranch, we assume here that you kn
</item>
<item>
- <title>Building</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/app/</link>
+ <title>Writing parsers</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/parsers/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/app/</guid>
- <description>Erlang.mk can do a lot of things, but it is, first and foremost, a build tool. In this chapter we will cover the basics of building a project with Erlang.mk.
-For most of this chapter, we will assume that you are using a project generated by Erlang.mk.
-How to build To build a project, all you have to do is type make:
-$ make It will work regardless of your project: OTP applications, library applications, NIFs, port drivers or even releases.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/parsers/</guid>
+ <description>There are three kinds of protocols:
+Text protocols Schema-less binary protocols Schema-based binary protocols This chapter introduces the first two kinds. It will not cover more advanced topics such as continuations or parser generators.
+This chapter isn&amp;apos;t specifically about Ranch, we assume here that you know how to read data from the socket. The data you read and the data that hasn&amp;apos;t been parsed is saved in a buffer.</description>
</item>
<item>
@@ -1189,28 +944,6 @@ Features added The protocols CONNECT destination option has been added as a repl
<item>
<title>Listeners</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/listeners/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/listeners/</guid>
- <description>A listener is a set of processes that listens on a port for new connections. Incoming connections get handled by Cowboy. Depending on the connection handshake, one or another protocol may be used.
-This chapter is specific to Cowboy. Please refer to the Ranch User Guide for more information about listeners.
-Cowboy provides two types of listeners: one listening for clear TCP connections, and one listening for secure TLS connections. Both of them support the HTTP/1.</description>
- </item>
-
- <item>
- <title>Listeners</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/listeners/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/listeners/</guid>
- <description>A listener is a set of processes that listens on a port for new connections. Incoming connections get handled by Cowboy. Depending on the connection handshake, one or another protocol may be used.
-This chapter is specific to Cowboy. Please refer to the Ranch User Guide for more information about listeners.
-Cowboy provides two types of listeners: one listening for clear TCP connections, and one listening for secure TLS connections. Both of them support the HTTP/1.</description>
- </item>
-
- <item>
- <title>Listeners</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/listeners/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -1266,26 +999,6 @@ Cowboy provides two types of listeners: one listening for clear TCP connections,
<item>
<title>SSL client authentication</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/ssl_auth/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/ssl_auth/</guid>
- <description>Purpose SSL client authentication is a mechanism allowing applications to identify certificates. This allows your application to make sure that the client is an authorized certificate, but makes no claim about whether the user can be trusted. This can be combined with a password based authentication to attain greater security.
-The server only needs to retain the certificate serial number and the certificate issuer to authenticate the certificate. Together, they can be used to uniquely identify a certicate.</description>
- </item>
-
- <item>
- <title>SSL client authentication</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/ssl_auth/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/ssl_auth/</guid>
- <description>Purpose SSL client authentication is a mechanism allowing applications to identify certificates. This allows your application to make sure that the client is an authorized certificate, but makes no claim about whether the user can be trusted. This can be combined with a password based authentication to attain greater security.
-The server only needs to retain the certificate serial number and the certificate issuer to authenticate the certificate. Together, they can be used to uniquely identify a certicate.</description>
- </item>
-
- <item>
- <title>SSL client authentication</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/guide/ssl_auth/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -1325,38 +1038,13 @@ The server only needs to retain the certificate serial number and the certificat
</item>
<item>
- <title>Packages and dependencies</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/deps/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/deps/</guid>
- <description>Erlang.mk can fetch and compile the dependencies that your project requires. Erlang.mk improves upon the concepts introduced by Rebar, so they should be familiar to many seasoned Erlang developers.
-Erlang.mk is not a package manager, nor is it trying to be, but it does include an index of Erlang packages to make discovering useful projects easier.
-This chapter will explain how to use packages, add dependencies to your project or bundle them directly in a single repository.</description>
- </item>
-
- <item>
- <title>Routing</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/routing/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/routing/</guid>
- <description>Cowboy does nothing by default.
-To make Cowboy useful, you need to map URIs to Erlang modules that will handle the requests. This is called routing.
-When Cowboy receives a request, it tries to match the requested host and path to the configured routes. When there&amp;apos;s a match, the route&amp;apos;s associated handler is executed.
-Routes need to be compiled before they can be used by Cowboy. The result of the compilation is the dispatch rules.</description>
- </item>
-
- <item>
- <title>Routing</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/routing/</link>
+ <title>SSL client authentication</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/ssl_auth/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/routing/</guid>
- <description>Cowboy does nothing by default.
-To make Cowboy useful, you need to map URIs to Erlang modules that will handle the requests. This is called routing.
-When Cowboy receives a request, it tries to match the requested host and path to the configured routes. When there&amp;apos;s a match, the route&amp;apos;s associated handler is executed.
-Routes need to be compiled before they can be used by Cowboy. The result of the compilation is the dispatch rules.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/ssl_auth/</guid>
+ <description>Purpose SSL client authentication is a mechanism allowing applications to identify certificates. This allows your application to make sure that the client is an authorized certificate, but makes no claim about whether the user can be trusted. This can be combined with a password based authentication to attain greater security.
+The server only needs to retain the certificate serial number and the certificate issuer to authenticate the certificate. Together, they can be used to uniquely identify a certicate.</description>
</item>
<item>
@@ -1420,34 +1108,13 @@ Routes need to be compiled before they can be used by Cowboy. The result of the
</item>
<item>
- <title>NIFs and port drivers</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/ports/</link>
+ <title>Connection draining</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/connection_draining/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/ports/</guid>
- <description>Erlang.mk can not only build Erlang projects, but also the C code that some projects come with, like NIFs and port drivers.
-There are two ways to build the C code: using a custom Makefile, or making Erlang.mk do it directly. The C code will be built as needed when you run make.
-C source code location and Erlang environment The C source code should be located in the $(C_SRC_DIR) directory.</description>
- </item>
-
- <item>
- <title>Internals</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/internals/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/internals/</guid>
- <description>This chapter may not apply to embedded Ranch as embedding allows you to use an architecture specific to your application, which may or may not be compatible with the description of the Ranch application.
-Note that for everything related to efficiency and performance, you should perform the benchmarks yourself to get the numbers that matter to you. Generic benchmarks found on the web may or may not be of use to you, you can never know until you benchmark your own system.</description>
- </item>
-
- <item>
- <title>Internals</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/internals/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/internals/</guid>
- <description>This chapter may not apply to embedded Ranch as embedding allows you to use an architecture specific to your application, which may or may not be compatible with the description of the Ranch application.
-Note that for everything related to efficiency and performance, you should perform the benchmarks yourself to get the numbers that matter to you. Generic benchmarks found on the web may or may not be of use to you, you can never know until you benchmark your own system.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/connection_draining/</guid>
+ <description>Stopping a Ranch listener via ranch:stop_listener/1 will invariably kill all connection processes the listener hosts. However, you may want to stop a listener in a graceful fashion, ie by not accepting any new connections, but allowing the existing connection processes to exit by themselves instead of being killed.
+For this purpose, you should first suspend the listener you wish to stop gracefully, and then wait for its connection count to drop to zero.</description>
</item>
<item>
@@ -1512,30 +1179,6 @@ Features added CONNECT requests can now be issued on HTTP/1.1 connections. The t
<item>
<title>Constraints</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/constraints/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/constraints/</guid>
- <description>Constraints are validation and conversion functions applied to user input.
-They are used in various places in Cowboy, including the router and the cowboy_req match functions.
-Syntax Constraints are provided as a list of fields. For each field in the list, specific constraints can be applied, as well as a default value if the field is missing.
-A field can take the form of an atom field, a tuple with constraints {field, Constraints} or a tuple with constraints and a default value {field, Constraints, Default}.</description>
- </item>
-
- <item>
- <title>Constraints</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/constraints/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/constraints/</guid>
- <description>Constraints are validation and conversion functions applied to user input.
-They are used in various places in Cowboy, including the router and the cowboy_req match functions.
-Syntax Constraints are provided as a list of fields. For each field in the list, specific constraints can be applied, as well as a default value if the field is missing.
-A field can take the form of an atom field, a tuple with constraints {field, Constraints} or a tuple with constraints and a default value {field, Constraints, Default}.</description>
- </item>
-
- <item>
- <title>Constraints</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/constraints/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -1595,17 +1238,6 @@ A field can take the form of an atom field, a tuple with constraints {field, Con
</item>
<item>
- <title>Releases</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/releases/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/releases/</guid>
- <description>Erlang.mk relies on Relx for generating releases. This chapter covers the Erlang.mk-specific bits. Consult the Relx website for more information.
-Setup Erlang.mk will create a release if it detects a Relx configuration file in the $(RELX_CONFIG) location. This defaults to $(CURDIR)/relx.config. You can override it by defining the variable before including Erlang.mk:
-RELX_CONFIG = $(CURDIR)/webchat.config It is also possible to have multiple relx.config files. For example you might have one for development and one for production.</description>
- </item>
-
- <item>
<title>Upcoming changes in Ranch 2.0</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/guide/upcoming_2.0_changes/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -1626,51 +1258,23 @@ The function ranch:start_listener/6 has been deprecated in favor of ranch:start_
</item>
<item>
- <title>Migrating from Gun 1.0 to 1.1</title>
- <link>https://ninenines.eu/docs/en/gun/1.3/guide/migrating_from_1.0/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/gun/1.3/guide/migrating_from_1.0/</guid>
- <description>Gun 1.1 updates the Cowlib dependency to 2.5.1 and fixes a few problems with experimental features.
-Features added Update Cowlib to 2.5.1 Bugs fixed A bug in the experimental gun_sse_h where lone id lines were not propagated has been fixed by updating the Cowlib dependency. The status code was incorrectly given to the experimental content handlers as a binary. It has been fixed an an integer is now given as was intended.</description>
- </item>
-
- <item>
- <title>Self-extracting releases</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/sfx/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/sfx/</guid>
- <description>Erlang.mk allows you to package Relx releases as self-extracting archives. These archives contain all the files in the release and come in the form of a script that will extract and run the release automatically.
-This allows you to package the release as a single file that can then be executed.
-This feature is currently experimental. Feedback is much appreciated.
-Generating the self-extracting archive To generate a self-extracting release, all you need to do is pass the SFX=1 variable to Make when you build the release:</description>
- </item>
-
- <item>
- <title>Handlers</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/handlers/</link>
+ <title>Internals</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/internals/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/handlers/</guid>
- <description>Handlers are Erlang modules that handle HTTP requests.
-Plain HTTP handlers The most basic handler in Cowboy implements the mandatory init/2 callback, manipulates the request, optionally sends a response and then returns.
-This callback receives the Req object and the initial state defined in the router configuration.
-A handler that does nothing would look like this:
-init(Req, State) -&amp;gt; {ok, Req, State}. Despite sending no reply, a 204 No Content response will be sent to the client, as Cowboy makes sure that a response is sent for every request.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/internals/</guid>
+ <description>This chapter may not apply to embedded Ranch as embedding allows you to use an architecture specific to your application, which may or may not be compatible with the description of the Ranch application.
+Note that for everything related to efficiency and performance, you should perform the benchmarks yourself to get the numbers that matter to you. Generic benchmarks found on the web may or may not be of use to you, you can never know until you benchmark your own system.</description>
</item>
<item>
- <title>Handlers</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/handlers/</link>
+ <title>Migrating from Gun 1.0 to 1.1</title>
+ <link>https://ninenines.eu/docs/en/gun/1.3/guide/migrating_from_1.0/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/handlers/</guid>
- <description>Handlers are Erlang modules that handle HTTP requests.
-Plain HTTP handlers The most basic handler in Cowboy implements the mandatory init/2 callback, manipulates the request, optionally sends a response and then returns.
-This callback receives the Req object and the initial state defined in the router configuration.
-A handler that does nothing would look like this:
-init(Req, State) -&amp;gt; {ok, Req, State}. Despite sending no reply, a 204 No Content response will be sent to the client, as Cowboy makes sure that a response is sent for every request.</description>
+ <guid>https://ninenines.eu/docs/en/gun/1.3/guide/migrating_from_1.0/</guid>
+ <description>Gun 1.1 updates the Cowlib dependency to 2.5.1 and fixes a few problems with experimental features.
+Features added Update Cowlib to 2.5.1 Bugs fixed A bug in the experimental gun_sse_h where lone id lines were not propagated has been fixed by updating the Cowlib dependency. The status code was incorrectly given to the experimental content handlers as a binary. It has been fixed an an integer is now given as was intended.</description>
</item>
<item>
@@ -1739,15 +1343,13 @@ init(Req, State) -&amp;gt; {ok, Req, State}. Despite sending no reply, a 204 No
</item>
<item>
- <title>Escripts</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/escripts/</link>
+ <title>Migrating from Ranch 1.7 to Ranch 2.0</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.7/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/escripts/</guid>
- <description>Escripts are an alternative to release. They are meant to be used for small command line executables written in Erlang.
-They are not self-contained, unlike releases. Erlang must be installed for them to run. This however means that they are fairly small compared to releases.
-For self-contained executables, check self-extracting releases.
-Requirements Erlang.mk uses p7zip by default to generate the escript archive. Make sure it is installed. On most systems the package is named p7zip; on Ubuntu you need p7zip-full.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.7/</guid>
+ <description>Ranch 2.0 adds support for multiple connection supervisors.
+Ranch 1.x had a bottleneck because it used only a single connection supervisor. This was more evident when many connections were dropped at once as the supervisor couldn&amp;apos;t keep up and failed to accept new connections while cleaning up the old ones. Ranch 2.0 behaves much better in this scenario by default. Multiple connection supervisors also helps with concurrently accepting new connections.</description>
</item>
<item>
@@ -1774,26 +1376,6 @@ Because the plain crc32 checksum is not supported by the PROXY protocol, the con
<item>
<title>Loop handlers</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/loop_handlers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/loop_handlers/</guid>
- <description>Loop handlers are a special kind of HTTP handlers used when the response can not be sent right away. The handler enters instead a receive loop waiting for the right message before it can send a response.
-Loop handlers are used for requests where a response might not be immediately available, but where you would like to keep the connection open for a while in case the response arrives. The most known example of such practice is known as long polling.</description>
- </item>
-
- <item>
- <title>Loop handlers</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/loop_handlers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/loop_handlers/</guid>
- <description>Loop handlers are a special kind of HTTP handlers used when the response can not be sent right away. The handler enters instead a receive loop waiting for the right message before it can send a response.
-Loop handlers are used for requests where a response might not be immediately available, but where you would like to keep the connection open for a while in case the response arrives. The most known example of such practice is known as long polling.</description>
- </item>
-
- <item>
- <title>Loop handlers</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/loop_handlers/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -1843,38 +1425,6 @@ Loop handlers are used for requests where a response might not be immediately av
</item>
<item>
- <title>OTP version management</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/kerl/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/kerl/</guid>
- <description>Erlang.mk comes with integrated support for Kerl, a shell script that automates the downloading, building and installing of Erlang/OTP. It can be used to easily build a specific Erlang/OTP version (with or without custom build options) or maintain different versions side by side.
-Erlang versions Erlang.mk uses the Git tags from Erlang/OTP to identify OTP versions. The most recent tag at the time of writing is OTP-20.0.4, which is a patch release of OTP-20.</description>
- </item>
-
- <item>
- <title>Static files</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/static_files/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/static_files/</guid>
- <description>Cowboy comes with a ready to use handler for serving static files. It is provided as a convenience for serving files during development.
-For systems in production, consider using one of the many Content Distribution Network (CDN) available on the market, as they are the best solution for serving files.
-The static handler can serve either one file or all files from a given directory. The etag generation and mime types can be configured.</description>
- </item>
-
- <item>
- <title>Static files</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/static_files/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/static_files/</guid>
- <description>Cowboy comes with a ready to use handler for serving static files. It is provided as a convenience for serving files during development.
-For systems in production, consider using one of the many Content Distribution Network (CDN) available on the market, as they are the best solution for serving files.
-The static handler can serve either one file or all files from a given directory. The etag generation and mime types can be configured.</description>
- </item>
-
- <item>
<title>Static files</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/static_files/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -1930,14 +1480,14 @@ The static handler can serve either one file or all files from a given directory
</item>
<item>
- <title>Cross compiling</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/cross_compiling/</link>
+ <title>Migrating from Ranch 1.6 to 1.7</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.6/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/cross_compiling/</guid>
- <description>Erlang.mk supports cross-compiling. While the compiled Erlang code is portable as-is, the C code is not and releases need to use the correct runtime system for the target environment.
-There are therefore two steps that might require some intervention: compiling and building the release. If you do not have any C code you can just compile as you would normally, however.
-Compiling To cross-compile the C code you need a cross compiler.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.6/</guid>
+ <description>Ranch 1.7 adds built-in support for the PROXY protocol.
+The PROXY protocol is a simple and efficient way for proxies to transmit information about the client.
+While a third-party library already existed, it was not entirely compatible with the Ranch interface, in particular when socket active mode was involved. This new implementation fixes that and supports the full protocol with as little overhead as possible compared to normal operations: just one extra function call.</description>
</item>
<item>
@@ -1964,28 +1514,6 @@ While a third-party library already existed, it was not entirely compatible with
<item>
<title>The Req object</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/req/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/req/</guid>
- <description>The Req object is a variable used for obtaining information about a request, read its body or send a response.
-It is not really an object in the object-oriented sense. It is a simple map that can be directly accessed or used when calling functions from the cowboy_req module.
-The Req object is the subject of a few different chapters. In this chapter we will learn about the Req object and look at how to retrieve information about the request.</description>
- </item>
-
- <item>
- <title>The Req object</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/req/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/req/</guid>
- <description>The Req object is a variable used for obtaining information about a request, read its body or send a response.
-It is not really an object in the object-oriented sense. It is a simple map that can be directly accessed or used when calling functions from the cowboy_req module.
-The Req object is the subject of a few different chapters. In this chapter we will learn about the Req object and look at how to retrieve information about the request.</description>
- </item>
-
- <item>
- <title>The Req object</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/req/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2040,13 +1568,14 @@ The Req object is the subject of a few different chapters. In this chapter we wi
</item>
<item>
- <title>Compatibility with other build tools</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/compat/</link>
+ <title>Migrating from Ranch 1.5 to 1.6</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.5/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/compat/</guid>
- <description>Erlang.mk tries its best to be compatible with the other Erlang build tools. It can use dependencies written with other build tools in mind, and can also make your projects usable by those build tools as well. Erlang.mk is like the cool kid that gets along with everybody.
-In this chapter I will use the term Rebar project to refer to a project built using Rebar 2, Rebar 3 or Mad.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.5/</guid>
+ <description>Ranch 1.6 added the ability to suspend and resume listeners. It also deprecates a number of features and add interfaces that will be used in Ranch 2.0.
+Ranch 1.6 is compatible with Erlang/OTP 18.0 onward. Support for older releases has been removed.
+Features added Listeners can now be suspended/resumed without stopping existing connection processes. This effectively closes the listening socket and stops the acceptor processes. Transport options can now be updated for suspended listeners.</description>
</item>
<item>
@@ -2072,30 +1601,6 @@ Features added Listeners can now be suspended/resumed without stopping existing
<item>
<title>Reading the request body</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/req_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/req_body/</guid>
- <description>The request body can be read using the Req object.
-Cowboy will not attempt to read the body until requested. You need to call the body reading functions in order to retrieve it.
-Cowboy will not cache the body, it is therefore only possible to read it once.
-You are not required to read it, however. If a body is present and was not read, Cowboy will either cancel or skip its download, depending on the protocol.</description>
- </item>
-
- <item>
- <title>Reading the request body</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/req_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/req_body/</guid>
- <description>The request body can be read using the Req object.
-Cowboy will not attempt to read the body until requested. You need to call the body reading functions in order to retrieve it.
-Cowboy will not cache the body, it is therefore only possible to read it once.
-You are not required to read it, however. If a body is present and was not read, Cowboy will either cancel or skip its download, depending on the protocol.</description>
- </item>
-
- <item>
- <title>Reading the request body</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/req_body/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2155,41 +1660,6 @@ You are not required to read it, however. If a body is present and was not read,
</item>
<item>
- <title>AsciiDoc documentation</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/asciidoc/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/asciidoc/</guid>
- <description>Erlang.mk provides rules for generating documentation from AsciiDoc files. It can automatically build a user guide PDF, chunked HTML documentation and Unix manual pages.
-Requirements It is necessary to have AsciiDoc, xsltproc and dblatex installed on your system for Erlang.mk to generate documentation from AsciiDoc sources.
-Writing AsciiDoc documentation AsciiDoc is a text document format for writing notes, documentation, articles, books, ebooks, slideshows, web pages, man pages and blogs. AsciiDoc files can be translated to many formats including HTML, PDF, EPUB, man page.</description>
- </item>
-
- <item>
- <title>Sending a response</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/resp/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/resp/</guid>
- <description>The response must be sent using the Req object.
-Cowboy provides two different ways of sending responses: either directly or by streaming the body. Response headers and body may be set in advance. The response is sent as soon as one of the reply or stream reply function is called.
-Cowboy also provides a simplified interface for sending files. It can also send only specific parts of a file.
-While only one response is allowed for every request, HTTP/2 introduced a mechanism that allows the server to push additional resources related to the response.</description>
- </item>
-
- <item>
- <title>Sending a response</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/resp/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/resp/</guid>
- <description>The response must be sent using the Req object.
-Cowboy provides two different ways of sending responses: either directly or by streaming the body. Response headers and body may be set in advance. The response is sent as soon as one of the reply or stream reply function is called.
-Cowboy also provides a simplified interface for sending files. It can also send only specific parts of a file.
-While only one response is allowed for every request, HTTP/2 introduced a mechanism that allows the server to push additional resources related to the response.</description>
- </item>
-
- <item>
<title>Sending a response</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/resp/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2251,44 +1721,22 @@ While only one response is allowed for every request, HTTP/2 introduced a mechan
<item>
<title>Migrating from Ranch 1.x</title>
- <link>https://ninenines.eu/docs/en/ranch/1.7/guide/migrating_from_1.x/</link>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.x/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/ranch/1.7/guide/migrating_from_1.x/</guid>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.x/</guid>
<description>The changelog for Ranch releases before 1.6 can be found in this section.
1.5.0 Add transport functions getopts/2, getstat/1 and getstat/2 Fix ranch:info/0 and ranch:procs/2 in embedded mode Prevent ranch_conns_sup from stopping on unexpected messages 1.4.0 Add new transport option num_acceptor Deprecate ranch:start_listener/6 in favor of start_listener/5 Deprecate ranch:child_spec/6 in favor of child_spec/5 1.3.0 The version numbers 1.3.1 and 1.3.2 were later made to fix small mistakes made during the 1.</description>
</item>
<item>
- <title>EDoc comments</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/edoc/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/edoc/</guid>
- <description>Erlang.mk provides a thin wrapper on top of EDoc, an application that generates documentation based on comments found in modules.
-Writing EDoc comments The EDoc user guide explains everything you need to know about EDoc comments.
-Configuration The EDOC_OPTS variable allows you to specify additional EDoc options. Options are documented in the EDoc manual.
-A common use for this variable is to enable Markdown in doc comments, using the edown application:</description>
- </item>
-
- <item>
- <title>Using cookies</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/cookies/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/cookies/</guid>
- <description>Cookies are a mechanism allowing applications to maintain state on top of the stateless HTTP protocol.
-Cookies are a name/value store where the names and values are stored in plain text. They expire either after a delay or when the browser closes. They can be configured on a specific domain name or path, and restricted to secure resources (sent or downloaded over HTTPS), or restricted to the server (disallowing access from client-side scripts).</description>
- </item>
-
- <item>
- <title>Using cookies</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/cookies/</link>
+ <title>Migrating from Ranch 1.x</title>
+ <link>https://ninenines.eu/docs/en/ranch/1.7/guide/migrating_from_1.x/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/cookies/</guid>
- <description>Cookies are a mechanism allowing applications to maintain state on top of the stateless HTTP protocol.
-Cookies are a name/value store where the names and values are stored in plain text. They expire either after a delay or when the browser closes. They can be configured on a specific domain name or path, and restricted to secure resources (sent or downloaded over HTTPS), or restricted to the server (disallowing access from client-side scripts).</description>
+ <guid>https://ninenines.eu/docs/en/ranch/1.7/guide/migrating_from_1.x/</guid>
+ <description>The changelog for Ranch releases before 1.6 can be found in this section.
+1.5.0 Add transport functions getopts/2, getstat/1 and getstat/2 Fix ranch:info/0 and ranch:procs/2 in embedded mode Prevent ranch_conns_sup from stopping on unexpected messages 1.4.0 Add new transport option num_acceptor Deprecate ranch:start_listener/6 in favor of start_listener/5 Deprecate ranch:child_spec/6 in favor of child_spec/5 1.3.0 The version numbers 1.3.1 and 1.3.2 were later made to fix small mistakes made during the 1.</description>
</item>
<item>
@@ -2342,39 +1790,6 @@ Cookies are a name/value store where the names and values are stored in plain te
</item>
<item>
- <title>Sphinx documentation</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/sphinx/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/sphinx/</guid>
- <description>Erlang.mk includes targets for running the Sphinx documentation generator, which can produce documentation in various formats, like HTML, man pages, Texinfo, LaTeX, and others.
-Writing Sphinx documentation Sphinx generates documentation from a set of reST documents. There is a quick start guide on Sphinx&amp;apos; website. For Erlang.mk, we&amp;apos;ll set up a minimal environment instead.
-Basic setup By default, Erlang.mk expects Sphinx documentation to be placed in the doc directory, with doc/conf.</description>
- </item>
-
- <item>
- <title>Multipart requests</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/multipart/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/multipart/</guid>
- <description>Multipart originates from MIME, an Internet standard that extends the format of emails.
-A multipart message is a list of parts. A part contains headers and a body. The body of the parts may be of any media type, and contain text or binary data. It is possible for parts to contain a multipart media type.
-In the context of HTTP, multipart is most often used with the multipart/form-data media type.</description>
- </item>
-
- <item>
- <title>Multipart requests</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/multipart/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/multipart/</guid>
- <description>Multipart originates from MIME, an Internet standard that extends the format of emails.
-A multipart message is a list of parts. A part contains headers and a body. The body of the parts may be of any media type, and contain text or binary data. It is possible for parts to contain a multipart media type.
-In the context of HTTP, multipart is most often used with the multipart/form-data media type.</description>
- </item>
-
- <item>
<title>Multipart requests</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/multipart/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2430,39 +1845,6 @@ In the context of HTTP, multipart is most often used with the multipart/form-dat
</item>
<item>
- <title>Erlang shell</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/shell/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/shell/</guid>
- <description>Erlang.mk provides a convenient target for starting a shell with all the paths set properly to experiment with your code.
-Configuration The SHELL_DEPS variable can be used to define dependencies that are only to be used when the make shell command is called. For example, if you want to use kjell as your shell:
-SHELL_DEPS = kjell Dependencies are downloaded and compiled the first time you run the make shell command.</description>
- </item>
-
- <item>
- <title>REST principles</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_principles/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_principles/</guid>
- <description>This chapter will attempt to define the concepts behind REST and explain what makes a service RESTful.
-REST is often confused with performing a distinct operation depending on the HTTP method, while using more than the GET and POST methods. That&amp;apos;s highly misguided at best.
-We will first attempt to define REST and will look at what it means in the context of HTTP and the Web. For a more in-depth explanation of REST, you can read Roy T.</description>
- </item>
-
- <item>
- <title>REST principles</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_principles/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_principles/</guid>
- <description>This chapter will attempt to define the concepts behind REST and explain what makes a service RESTful.
-REST is often confused with performing a distinct operation depending on the HTTP method, while using more than the GET and POST methods. That&amp;apos;s highly misguided at best.
-We will first attempt to define REST and will look at what it means in the context of HTTP and the Web. For a more in-depth explanation of REST, you can read Roy T.</description>
- </item>
-
- <item>
<title>REST principles</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/rest_principles/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2518,52 +1900,6 @@ We will first attempt to define REST and will look at what it means in the conte
</item>
<item>
- <title>EUnit</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/eunit/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/eunit/</guid>
- <description>EUnit is the tool of choice for unit testing. Erlang.mk automates a few things on top of EUnit, including the discovery and running of unit tests.
-Writing tests The EUnit user guide is the best place to learn how to write tests. Of note is that all functions ending with _test or _test_ will be picked up as EUnit test cases.
-Erlang.mk will automatically pick up tests found in any of the Erlang modules of your application.</description>
- </item>
-
- <item>
- <title>Common Test</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/common_test/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/common_test/</guid>
- <description>Common Test is Erlang&amp;apos;s functional testing framework. Erlang.mk automates the discovery and running of Common Test suites.
-Writing tests The Common Test user guide is the best place to learn how to write tests. Erlang.mk requires that file names for test suites end with _SUITE.erl and that the files be located in the $(TEST_DIR) directory. This defaults to test/.
-Configuration The CT_OPTS variable allows you to set extra Common Test options.</description>
- </item>
-
- <item>
- <title>REST handlers</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_handlers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_handlers/</guid>
- <description>REST is implemented in Cowboy as a sub protocol. The request is handled as a state machine with many optional callbacks describing the resource and modifying the machine&amp;apos;s behavior.
-The REST handler is the recommended way to handle HTTP requests.
-Initialization First, the init/2 callback is called. This callback is common to all handlers. To use REST for the current request, this function must return a cowboy_rest tuple.
-init(Req, State) -&amp;gt; {cowboy_rest, Req, State}.</description>
- </item>
-
- <item>
- <title>REST handlers</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_handlers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_handlers/</guid>
- <description>REST is implemented in Cowboy as a sub protocol. The request is handled as a state machine with many optional callbacks describing the resource and modifying the machine&amp;apos;s behavior.
-The REST handler is the recommended way to handle HTTP requests.
-Initialization First, the init/2 callback is called. This callback is common to all handlers. To use REST for the current request, this function must return a cowboy_rest tuple.
-init(Req, State) -&amp;gt; {cowboy_rest, Req, State}.</description>
- </item>
-
- <item>
<title>REST handlers</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/rest_handlers/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2624,43 +1960,6 @@ init(Req, State) -&amp;gt; {cowboy_rest, Req, State}.</description>
</item>
<item>
- <title>PropEr</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/proper/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/proper/</guid>
- <description>PropEr is a QuickCheck-like library for property-based testing. Erlang.mk automates discovery and checking of PropEr properties.
-To run all tests (including PropEr):
-$ make tests To run all tests and static checks (including PropEr):
-$ make check You can also run PropEr separately:
-$ make proper To check properties from a single module:
-$ make proper t=foo_tests To check a single property:
-$ make proper t=foo_tests:bar </description>
- </item>
-
- <item>
- <title>REST flowcharts</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_flowcharts/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_flowcharts/</guid>
- <description>This chapter will explain the REST handler state machine through a number of different diagrams.
-There are four main paths that requests may follow. One for the method OPTIONS; one for the methods GET and HEAD; one for the methods PUT, POST and PATCH; and one for the method DELETE.
-All paths start with the &amp;quot;Start&amp;quot; diagram, and all paths excluding the OPTIONS path go through the &amp;quot;Content negotiation&amp;quot; diagram and optionally the &amp;quot;Conditional requests&amp;quot; diagram if the resource exists.</description>
- </item>
-
- <item>
- <title>REST flowcharts</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_flowcharts/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_flowcharts/</guid>
- <description>This chapter will explain the REST handler state machine through a number of different diagrams.
-There are four main paths that requests may follow. One for the method OPTIONS; one for the methods GET and HEAD; one for the methods PUT, POST and PATCH; and one for the method DELETE.
-All paths start with the &amp;quot;Start&amp;quot; diagram, and all paths excluding the OPTIONS path go through the &amp;quot;Content negotiation&amp;quot; diagram and optionally the &amp;quot;Conditional requests&amp;quot; diagram if the resource exists.</description>
- </item>
-
- <item>
<title>REST flowcharts</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/rest_flowcharts/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2716,52 +2015,6 @@ All paths start with the &amp;quot;Start&amp;quot; diagram, and all paths exclud
</item>
<item>
- <title>Triq</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/triq/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/triq/</guid>
- <description>Triq is a QuickCheck-like library for property-based testing. Erlang.mk automates discovery and checking of Triq properties.
-To run all tests (including Triq):
-$ make tests To run all tests and static checks (including Triq):
-$ make check You can also run Triq separately:
-$ make triq To check properties from a single module:
-$ make triq t=foo_tests To check a single property:
-$ make triq t=foo_tests:bar </description>
- </item>
-
- <item>
- <title>Code coverage</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/coverage/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/coverage/</guid>
- <description>Erlang.mk provides support for code coverage via the tool cover that comes with Erlang/OTP. Code coverage lets you see what parts of your code are covered by the tests.
-Enabling cover when running tests To run tests with code coverage enabled, simply define COVER=1 either on the command line or in your Makefile:
-$ make tests COVER=1 When running the targets tests or check the code coverage report will be built automatically.</description>
- </item>
-
- <item>
- <title>Designing a resource handler</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/resource_design/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/resource_design/</guid>
- <description>This chapter aims to provide you with a list of questions you must answer in order to write a good resource handler. It is meant to be usable as a step by step guide.
-The service Can the service become unavailable, and when it does, can we detect it? For example, database connectivity problems may be detected early. We may also have planned outages of all or parts of the system.</description>
- </item>
-
- <item>
- <title>Designing a resource handler</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/resource_design/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/resource_design/</guid>
- <description>This chapter aims to provide you with a list of questions you must answer in order to write a good resource handler. It is meant to be usable as a step by step guide.
-The service Can the service become unavailable, and when it does, can we detect it? For example, database connectivity problems may be detected early. We may also have planned outages of all or parts of the system.</description>
- </item>
-
- <item>
<title>Designing a resource handler</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/resource_design/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2812,38 +2065,6 @@ The service Can the service become unavailable, and when it does, can we detect
</item>
<item>
- <title>Continuous integration</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/ci/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/ci/</guid>
- <description>Erlang.mk comes with some support for continuous integration, aimed at open source projects that need to support more than one specific Erlang/OTP release. (If you target one specific release, check the OTP version pinning section of the OTP version management chapter.)
-Configuring Erlang/OTP versions to test To use the CI plugin you must first configure which versions of Erlang/OTP will be used. Erlang.mk provides three separate configuration variables depending on whether you need a normal OTP release, a HiPE-enabled release or an ErLLVM-enabled release.</description>
- </item>
-
- <item>
- <title>The Websocket protocol</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/ws_protocol/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/ws_protocol/</guid>
- <description>This chapter explains what Websocket is and why it is a vital component of soft realtime Web applications.
-Description Websocket is an extension to HTTP that emulates plain TCP connections between the client, typically a Web browser, and the server. It uses the HTTP Upgrade mechanism to establish the connection.
-Websocket connections are fully asynchronous, unlike HTTP/1.1 (synchronous) and HTTP/2 (asynchronous, but the server can only initiate streams in response to requests).</description>
- </item>
-
- <item>
- <title>The Websocket protocol</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/ws_protocol/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/ws_protocol/</guid>
- <description>This chapter explains what Websocket is and why it is a vital component of soft realtime Web applications.
-Description Websocket is an extension to HTTP that emulates plain TCP connections between the client, typically a Web browser, and the server. It uses the HTTP Upgrade mechanism to establish the connection.
-Websocket connections are fully asynchronous, unlike HTTP/1.1 (synchronous) and HTTP/2 (asynchronous, but the server can only initiate streams in response to requests).</description>
- </item>
-
- <item>
<title>The Websocket protocol</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/ws_protocol/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2899,46 +2120,6 @@ Websocket connections are fully asynchronous, unlike HTTP/1.1 (synchronous) and
</item>
<item>
- <title>Dialyzer</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/dialyzer/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/dialyzer/</guid>
- <description>Dialyzer is a tool that will detect discrepancies in your program. It does so using a technique known as success typing analysis which has the advantage of providing no false positives. Dialyzer is able to detect type errors, dead code and more.
-Erlang.mk provides a wrapper around Dialyzer.
-How it works Dialyzer requires a PLT file to work. The PLT file contains the analysis information from all applications which are not expected to change, or rarely do.</description>
- </item>
-
- <item>
- <title>Xref</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/xref/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/xref/</guid>
- <description>Placeholder chapter.</description>
- </item>
-
- <item>
- <title>Websocket handlers</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/ws_handlers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/ws_handlers/</guid>
- <description>Websocket handlers provide an interface for upgrading HTTP/1.1 connections to Websocket and sending or receiving frames on the Websocket connection.
-As Websocket connections are established through the HTTP/1.1 upgrade mechanism, Websocket handlers need to be able to first receive the HTTP request for the upgrade, before switching to Websocket and taking over the connection. They can then receive or send Websocket frames, handle incoming Erlang messages or close the connection.</description>
- </item>
-
- <item>
- <title>Websocket handlers</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/ws_handlers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/ws_handlers/</guid>
- <description>Websocket handlers provide an interface for upgrading HTTP/1.1 connections to Websocket and sending or receiving frames on the Websocket connection.
-As Websocket connections are established through the HTTP/1.1 upgrade mechanism, Websocket handlers need to be able to first receive the HTTP request for the upgrade, before switching to Websocket and taking over the connection. They can then receive or send Websocket frames, handle incoming Erlang messages or close the connection.</description>
- </item>
-
- <item>
<title>Websocket handlers</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/ws_handlers/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -2989,39 +2170,6 @@ As Websocket connections are established through the HTTP/1.1 upgrade mechanism,
</item>
<item>
- <title>External plugins</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/external_plugins/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/external_plugins/</guid>
- <description>It is often convenient to be able to keep the build files used by all your projects in one place. Those files could be Makefiles, configuration files, templates and more.
-Erlang.mk allows you to automatically load plugins from dependencies. Plugins can do anything, including defining new variables, defining file templates, hooking themselves inside the normal Erlang.mk processing or even adding new rules.
-You can load plugins using one of two methods.</description>
- </item>
-
- <item>
- <title>Streams</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/streams/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/streams/</guid>
- <description>A stream is the set of messages that form an HTTP request/response pair.
-The term stream comes from HTTP/2. In Cowboy, it is also used when talking about HTTP/1.1 or HTTP/1.0. It should not be confused with streaming the request or response body.
-All versions of HTTP allow clients to initiate streams. HTTP/2 is the only one also allowing servers, through its server push feature. Both client and server-initiated streams go through the same process in Cowboy.</description>
- </item>
-
- <item>
- <title>Streams</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/streams/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/streams/</guid>
- <description>A stream is the set of messages that form an HTTP request/response pair.
-The term stream comes from HTTP/2. In Cowboy, it is also used when talking about HTTP/1.1 or HTTP/1.0. It should not be confused with streaming the request or response body.
-All versions of HTTP allow clients to initiate streams. HTTP/2 is the only one also allowing servers, through its server push feature. Both client and server-initiated streams go through the same process in Cowboy.</description>
- </item>
-
- <item>
<title>Streams</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/streams/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -3077,41 +2225,6 @@ All versions of HTTP allow clients to initiate streams. HTTP/2 is the only one a
</item>
<item>
- <title>List of plugins</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/external_plugins_list/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/external_plugins_list/</guid>
- <description>This is a non-exhaustive list of Erlang.mk plugins, sorted alphabetically.
-ci.erlang.mk A plugin that keeps track of released OTP versions to always run CI builds on the most recent patch(es).
-efene.mk An Efene plugin for Erlang.mk. Efene is an alternative language for the BEAM.
-elixir.mk An Elixir plugin for Erlang.mk. Elixir is an alternative language for the BEAM.
-elvis.mk An Elvis plugin for Erlang.mk. Elvis is an Erlang style reviewer.</description>
- </item>
-
- <item>
- <title>Middlewares</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/middlewares/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/middlewares/</guid>
- <description>Cowboy delegates the request processing to middleware components. By default, two middlewares are defined, for the routing and handling of the request, as is detailed in most of this guide.
-Middlewares give you complete control over how requests are to be processed. You can add your own middlewares to the mix or completely change the chain of middlewares as needed.
-Cowboy will execute all middlewares in the given order, unless one of them decides to stop processing.</description>
- </item>
-
- <item>
- <title>Middlewares</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/middlewares/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/middlewares/</guid>
- <description>Cowboy delegates the request processing to middleware components. By default, two middlewares are defined, for the routing and handling of the request, as is detailed in most of this guide.
-Middlewares give you complete control over how requests are to be processed. You can add your own middlewares to the mix or completely change the chain of middlewares as needed.
-Cowboy will execute all middlewares in the given order, unless one of them decides to stop processing.</description>
- </item>
-
- <item>
<title>Middlewares</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/middlewares/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -3190,27 +2303,6 @@ Cowboy will now use the host header when the HTTP/2 :authority pseudo header is
</item>
<item>
- <title>Migrating from Cowboy 1.0 to 2.0</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/migrating_from_1.0/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/migrating_from_1.0/</guid>
- <description>A lot has changed between Cowboy 1.0 and 2.0. The cowboy_req interface in particular has seen a massive revamp. Hooks are gone, their functionality can now be achieved via stream handlers.
-The documentation has seen great work, in particular the manual. Each module and each function now has its own dedicated manual page with full details and examples.
-Compatibility Compatibility with Erlang/OTP R16, 17 and 18 has been dropped. Erlang/OTP 19.</description>
- </item>
-
- <item>
- <title>Migrating from Cowboy 2.0 to 2.1</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/migrating_from_2.0/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/migrating_from_2.0/</guid>
- <description>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. The expect: 100-continue header is now handled automatically.</description>
- </item>
-
- <item>
<title>Migrating from Cowboy 2.2 to 2.3</title>
<link>https://ninenines.eu/docs/en/cowboy/2.3/guide/migrating_from_2.2/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -3241,50 +2333,6 @@ Features added Add option linger_timeout to control how long Cowboy will wait be
</item>
<item>
- <title>Why Erlang.mk</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/why/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/why/</guid>
- <description>Why would you choose Erlang.mk, if not for its many features? This chapter will attempt to answer that.
-Erlang.mk is fast Erlang.mk is as fast as it gets.
-Erlang.mk will group the compilation of files so as to avoid running the BEAM more than necessary. This saves many seconds compared to traditional Makefiles, even on small projects.
-Erlang.mk will not try to be too smart. It provides a simple solution that works for most people, and gives additional options for projects that run into edge cases, often in the form of extra variables or rules to be defined.</description>
- </item>
-
- <item>
- <title>Short history</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/history/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/history/</guid>
- <description>This chapter aims to be a brief record of the life of the Erlang.mk project.
-Before Erlang.mk Erlang.mk originates from the Cowboy project. Cowboy started as a Rebar project and I, Loïc Hoguin, was very happy with it for a couple years. Over time however I started getting annoyed and frustrated by a number of things, including bad defaults, changing defaults and overall slowness.
-In particular, at the time I gave up on Rebar, the Cowboy test suite was taking about five minutes to run.</description>
- </item>
-
- <item>
- <title>HTTP and other specifications</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/specs/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/specs/</guid>
- <description>This chapter intends to list all the specification documents for or related to HTTP.
-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&amp;apos;s Dissertation RFC 1945: HTTP/1.</description>
- </item>
-
- <item>
- <title>Migrating from Cowboy 1.0 to 2.0</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/migrating_from_1.0/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/migrating_from_1.0/</guid>
- <description>A lot has changed between Cowboy 1.0 and 2.0. The cowboy_req interface in particular has seen a massive revamp. Hooks are gone, their functionality can now be achieved via stream handlers.
-The documentation has seen great work, in particular the manual. Each module and each function now has its own dedicated manual page with full details and examples.
-Compatibility Compatibility with Erlang/OTP R16, 17 and 18 has been dropped. Erlang/OTP 19.</description>
- </item>
-
- <item>
<title>Migrating from Cowboy 2.1 to 2.2</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_2.1/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -3336,29 +2384,6 @@ Features added Add support for the PROXY protocol header. It can be enabled via
</item>
<item>
- <title>Contributing</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/contributing/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/contributing/</guid>
- <description>You are welcome and encouraged to contribute.
-This is how.
-Priorities From the most important to the least important:
-Bugs Package issues/additions Refactoring Features Bugs If you have found a bug, you should open a ticket. Include everything relevant including the command you used, output, a link to the code that triggers the issue, why you think this is a bug, etc.
-If you think you have found a bug but you are not sure, you should open a ticket as previously explained.</description>
- </item>
-
- <item>
- <title>HTTP and other specifications</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/specs/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/specs/</guid>
- <description>This chapter intends to list all the specification documents for or related to HTTP.
-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&amp;apos;s Dissertation RFC 1945: HTTP/1.</description>
- </item>
-
- <item>
<title>Migrating from Cowboy 2.0 to 2.1</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_2.0/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -3584,6 +2609,17 @@ HTTP IANA Registries HTTP Method Registry HTTP Status Code Registry Message He
</item>
<item>
+ <title>Ranch 2.0 release candidate 1</title>
+ <link>https://ninenines.eu/articles/ranch-2.0.0-rc.1/</link>
+ <pubDate>Thu, 18 Jul 2019 07:00:00 +0100</pubDate>
+
+ <guid>https://ninenines.eu/articles/ranch-2.0.0-rc.1/</guid>
+ <description>Ranch 2.0.0-rc.1 has been released!
+We are getting very close to releasing Ranch 2.0! As most of the tremendous programming work was done by contributor Jan Uhlig, I will yield the floor and let him describe what went into this great release.
+In Ranch 1.x, there is only one supervisor per Ranch listener to start and manage connection processes. Under high load (many clients rapidly connecting and/or disconnecting), the message queue of this one supervisor could becomes congested, leading to declining accept rates or a stalled listener.</description>
+ </item>
+
+ <item>
<title>Joe Armstrong the rubber duck</title>
<link>https://ninenines.eu/articles/joe_the_rubber_duck/</link>
<pubDate>Tue, 11 Jun 2019 07:00:00 +0100</pubDate>
@@ -4102,32 +3138,6 @@ In Erlang though, you probably wouldn&amp;apos;t want an algorithm.</description
<item>
<title>Cowboy Function Reference</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/</guid>
- <description>Name cowboy - Small, fast, modern HTTP server for Erlang/OTP
-Description Cowboy is an HTTP server for Erlang/OTP with support for the HTTP/1.1, HTTP/2 and Websocket protocols.
-Cowboy aims to provide a complete HTTP stack. This includes the implementation of the HTTP RFCs but also any directly related standards, like Websocket or Server-Sent Events.
-Modules Functions:
-cowboy(3) - Listener management cowboy_req(3) - Request and response cowboy_router(3) - Router cowboy_constraints(3) - Constraints Protocols:</description>
- </item>
-
- <item>
- <title>Cowboy Function Reference</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/</guid>
- <description>Name cowboy - Small, fast, modern HTTP server for Erlang/OTP
-Description Cowboy is an HTTP server for Erlang/OTP with support for the HTTP/1.1, HTTP/2 and Websocket protocols.
-Cowboy aims to provide a complete HTTP stack. This includes the implementation of the HTTP RFCs but also any directly related standards, like Websocket or Server-Sent Events.
-Modules Functions:
-cowboy(3) - Listener management cowboy_req(3) - Request and response cowboy_router(3) - Router cowboy_constraints(3) - Constraints Protocols:</description>
- </item>
-
- <item>
- <title>Cowboy Function Reference</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4193,24 +3203,6 @@ cowboy(3) - Listener management cowboy_req(3) - Request and response cowboy_ro
<item>
<title>Cowboy User Guide</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/guide/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/guide/</guid>
- <description>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 1.</description>
- </item>
-
- <item>
- <title>Cowboy User Guide</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/guide/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/guide/</guid>
- <description>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.</description>
- </item>
-
- <item>
- <title>Cowboy User Guide</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/guide/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4255,15 +3247,6 @@ cowboy(3) - Listener management cowboy_req(3) - Request and response cowboy_ro
</item>
<item>
- <title>Erlang.mk User Guide</title>
- <link>https://ninenines.eu/docs/en/erlang.mk/1/guide/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/erlang.mk/1/guide/</guid>
- <description>Installation Getting started Overview Updating Erlang.mk Limitations Code Building Packages and dependencies NIFs and port drivers Releases Self-extracting releases Escripts OTP version management Cross compiling Compatibility with other build tools Documentation Asciidoc documentation EDoc comments Sphinx documentation Tests Erlang shell EUnit Common Test PropEr Triq Code coverage Continuous integration Dialyzer Xref Third-party plugins External plugins List of plugins About Erlang.</description>
- </item>
-
- <item>
<title>Gun Function Reference</title>
<link>https://ninenines.eu/docs/en/gun/1.0/manual/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4349,28 +3332,6 @@ Modules gun(3) - Asynchronous HTTP client Dependencies cowlib(7) - Support lib
<item>
<title>HTTP status codes(7)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/http_status_codes/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/http_status_codes/</guid>
- <description>Name HTTP status codes - status codes used by Cowboy
-Description This chapter aims to list all HTTP status codes that Cowboy may return, with details on the reasons why. The list given here only includes the replies that Cowboy sends, not user replies.
-100 Continue When the client sends an expect: 100-continue header, Cowboy automatically sends a this status code before trying to read the request body. This behavior can be disabled using the appropriate body option.</description>
- </item>
-
- <item>
- <title>HTTP status codes(7)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/http_status_codes/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/http_status_codes/</guid>
- <description>Name HTTP status codes - status codes used by Cowboy
-Description This chapter aims to list all HTTP status codes that Cowboy may return, with details on the reasons why. The list given here only includes the replies that Cowboy sends, not user replies.
-100 Continue When the client sends an expect: 100-continue header, Cowboy automatically sends a this status code before trying to read the request body. This behavior can be disabled using the appropriate body option.</description>
- </item>
-
- <item>
- <title>HTTP status codes(7)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/http_status_codes/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4426,24 +3387,6 @@ Description This chapter aims to list all HTTP status codes that Cowboy may retu
<item>
<title>Ranch Function Reference</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/manual/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/manual/</guid>
- <description>ranch(7) ranch(3) ranch_protocol(3) ranch_ssl(3) ranch_tcp(3) ranch_transport(3) </description>
- </item>
-
- <item>
- <title>Ranch Function Reference</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/manual/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/manual/</guid>
- <description>ranch(7) ranch(3) ranch_protocol(3) ranch_ssl(3) ranch_tcp(3) ranch_transport(3) </description>
- </item>
-
- <item>
- <title>Ranch Function Reference</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/manual/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4489,21 +3432,12 @@ ranch_ssl(3) - SSL transport ranch_tcp(3) - TCP transport Behaviors:</descrip
</item>
<item>
- <title>Ranch User Guide</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/guide/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/guide/</guid>
- <description>Introduction Listeners Transports Protocols Embedded mode Writing parsers SSL client authentication Internals </description>
- </item>
-
- <item>
- <title>Ranch User Guide</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/guide/</link>
+ <title>Ranch Function Reference</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/ranch/1.3/guide/</guid>
- <description>Introduction Listeners Transports Protocols Embedded mode Writing parsers SSL client authentication Internals </description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/</guid>
+ <description>ranch(7) ranch(3) ranch:child_spec(3) ranch:get_addr(3) ranch:get_max_connections(3) ranch:get_port(3) ranch:get_protocol_options(3) ranch:get_status(3) ranch:get_transport_options(3) ranch:handshake(3) ranch:info(3) ranch:procs(3) ranch_protocol(3) ranch_proxy_header(3) ranch_proxy_header:header(3) ranch_proxy_header:parse(3) ranch:recv_proxy_header(3) ranch:remove_connection(3) ranch:resume_listener(3) ranch:set_max_connections(3) ranch:set_protocol_options(3) ranch:set_transport_options(3) ranch_ssl(3) ranch:start_listener(3) ranch:stop_listener(3) ranch:suspend_listener(3) ranch_tcp(3) ranch_transport(3) ranch_transport:sendfile(3) ranch:wait_for_connections(3) </description>
</item>
<item>
@@ -4543,25 +3477,12 @@ ranch_ssl(3) - SSL transport ranch_tcp(3) - TCP transport Behaviors:</descrip
</item>
<item>
- <title>cowboy(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy/</guid>
- <description>Name cowboy - HTTP server
-Description The module cowboy provides convenience functions for manipulating Ranch listeners.
-Exports cowboy:start_clear(3) - Listen for connections using plain TCP cowboy:start_tls(3) - Listen for connections using TLS cowboy:stop_listener(3) - Stop the given listener cowboy:set_env(3) - Update a listener&amp;apos;s environment value Types fields() fields() :: [Name | {Name, Constraints} | {Name, Constraints, Default}] Name :: atom() Constraints :: Constraint | [Constraint] Constraint :: cowboy_constraints:constraint() Default :: any() Fields description for match operations.</description>
- </item>
-
- <item>
- <title>cowboy(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy/</link>
+ <title>Ranch User Guide</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/guide/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy/</guid>
- <description>Name cowboy - HTTP server
-Description The module cowboy provides convenience functions for manipulating Ranch listeners.
-Exports cowboy:start_clear(3) - Listen for connections using plain TCP cowboy:start_tls(3) - Listen for connections using TLS cowboy:stop_listener(3) - Stop the given listener cowboy:set_env(3) - Update a listener&amp;apos;s environment value Types fields() fields() :: [Name | {Name, Constraints} | {Name, Constraints, Default}] Name :: atom() Constraints :: Constraint | [Constraint] Constraint :: cowboy_constraints:constraint() Default :: any() Fields description for match operations.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/guide/</guid>
+ <description>Interface Introduction Listeners Transports Protocols Embedded mode How to Writing parsers SSL client authentication Connection draining Advanced Internals Additional information Migrating from Ranch 1.7 to 2.0 Migrating from Ranch 1.6 to 1.7 Migrating from Ranch 1.5 to 1.6 Migrating from Ranch 1.x </description>
</item>
<item>
@@ -4621,32 +3542,6 @@ Exports cowboy:start_clear(3) - Listen for connections using plain TCP cowboy:s
<item>
<title>cowboy(7)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_app/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_app/</guid>
- <description>Name cowboy - Small, fast, modern HTTP server for Erlang/OTP
-Description Cowboy is an HTTP server for Erlang/OTP with support for the HTTP/1.1, HTTP/2 and Websocket protocols.
-Cowboy aims to provide a complete HTTP stack. This includes the implementation of the HTTP RFCs but also any directly related standards, like Websocket or Server-Sent Events.
-Modules Functions:
-cowboy(3) - Listener management cowboy_req(3) - Request and response cowboy_router(3) - Router cowboy_constraints(3) - Constraints Protocols:</description>
- </item>
-
- <item>
- <title>cowboy(7)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_app/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_app/</guid>
- <description>Name cowboy - Small, fast, modern HTTP server for Erlang/OTP
-Description Cowboy is an HTTP server for Erlang/OTP with support for the HTTP/1.1, HTTP/2 and Websocket protocols.
-Cowboy aims to provide a complete HTTP stack. This includes the implementation of the HTTP RFCs but also any directly related standards, like Websocket or Server-Sent Events.
-Modules Functions:
-cowboy(3) - Listener management cowboy_req(3) - Request and response cowboy_router(3) - Router cowboy_constraints(3) - Constraints Protocols:</description>
- </item>
-
- <item>
- <title>cowboy(7)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_app/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4712,32 +3607,6 @@ cowboy(3) - Listener management cowboy_req(3) - Request and response cowboy_ro
<item>
<title>cowboy:set_env(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.set_env/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.set_env/</guid>
- <description>Name cowboy:set_env - Update a listener&amp;apos;s environment value
-Description set_env(Name :: ranch:ref(), Key :: atom(), Value :: any()) -&amp;gt; ok Set or update an environment value for a previously started listener.
-This is most useful for updating the routes dynamically, without having to restart the listener.
-The new value will only be available to new connections. Pre-existing connections will still use the old value.
-Arguments Name The name of the listener to update.</description>
- </item>
-
- <item>
- <title>cowboy:set_env(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.set_env/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.set_env/</guid>
- <description>Name cowboy:set_env - Update a listener&amp;apos;s environment value
-Description set_env(Name :: ranch:ref(), Key :: atom(), Value :: any()) -&amp;gt; ok Set or update an environment value for a previously started listener.
-This is most useful for updating the routes dynamically, without having to restart the listener.
-The new value will only be available to new connections. Pre-existing connections will still use the old value.
-Arguments Name The name of the listener to update.</description>
- </item>
-
- <item>
- <title>cowboy:set_env(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy.set_env/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4803,30 +3672,6 @@ Arguments Name The name of the listener to update.</description>
<item>
<title>cowboy:start_clear(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.start_clear/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.start_clear/</guid>
- <description>Name cowboy:start_clear - Listen for connections using plain TCP
-Description start_clear(Name :: ranch:ref(), TransportOpts :: ranch_tcp:opts(), ProtocolOpts :: opts()) -&amp;gt; {ok, ListenerPid :: pid()} | {error, any()} Start listening for connections over a clear TCP channel.
-Both HTTP/1.1 and HTTP/2 are supported on this listener. HTTP/2 has two methods of establishing a connection over a clear TCP channel. Both the upgrade and the prior knowledge methods are supported.
-Arguments Name The listener name is used to refer to this listener in future calls, for example when stopping it or when updating the routes defined.</description>
- </item>
-
- <item>
- <title>cowboy:start_clear(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.start_clear/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.start_clear/</guid>
- <description>Name cowboy:start_clear - Listen for connections using plain TCP
-Description start_clear(Name :: ranch:ref(), TransportOpts :: ranch_tcp:opts(), ProtocolOpts :: opts()) -&amp;gt; {ok, ListenerPid :: pid()} | {error, any()} Start listening for connections over a clear TCP channel.
-Both HTTP/1.1 and HTTP/2 are supported on this listener. HTTP/2 has two methods of establishing a connection over a clear TCP channel. Both the upgrade and the prior knowledge methods are supported.
-Arguments Name The listener name is used to refer to this listener in future calls, for example when stopping it or when updating the routes defined.</description>
- </item>
-
- <item>
- <title>cowboy:start_clear(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy.start_clear/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4887,30 +3732,6 @@ Arguments Name The listener name is used to refer to this listener in future cal
<item>
<title>cowboy:start_tls(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.start_tls/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.start_tls/</guid>
- <description>Name cowboy:start_tls - Listen for connections using TLS
-Description start_tls(Name :: ranch:ref(), TransportOpts :: ranch_ssl:opts(), ProtocolOpts :: opts()) -&amp;gt; {ok, ListenerPid :: pid()} | {error, any()} Start listening for connections over a secure TLS channel.
-Both HTTP/1.1 and HTTP/2 are supported on this listener. The ALPN TLS extension must be used to initiate an HTTP/2 connection.
-Arguments Name The listener name is used to refer to this listener in future calls, for example when stopping it or when updating the routes defined.</description>
- </item>
-
- <item>
- <title>cowboy:start_tls(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.start_tls/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.start_tls/</guid>
- <description>Name cowboy:start_tls - Listen for connections using TLS
-Description start_tls(Name :: ranch:ref(), TransportOpts :: ranch_ssl:opts(), ProtocolOpts :: opts()) -&amp;gt; {ok, ListenerPid :: pid()} | {error, any()} Start listening for connections over a secure TLS channel.
-Both HTTP/1.1 and HTTP/2 are supported on this listener. The ALPN TLS extension must be used to initiate an HTTP/2 connection.
-Arguments Name The listener name is used to refer to this listener in future calls, for example when stopping it or when updating the routes defined.</description>
- </item>
-
- <item>
- <title>cowboy:start_tls(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy.start_tls/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -4971,36 +3792,6 @@ Arguments Name The listener name is used to refer to this listener in future cal
<item>
<title>cowboy:stop_listener(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.stop_listener/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.stop_listener/</guid>
- <description>Name cowboy:stop_listener - Stop the given listener
-Description stop_listener(Name :: ranch:ref()) -&amp;gt; ok | {error, not_found}. Stop a previously started listener.
-Alias of ranch:stop_listener(3).
-Arguments Name The name of the listener to be stopped.
-The name of the listener is the first argument given to the cowboy:start_clear(3), cowboy:start_tls(3) or ranch:start_listener(3) function.
- Return value The atom ok is returned on success.
-The {error, not_found} tuple is returned when the listener does not exist.</description>
- </item>
-
- <item>
- <title>cowboy:stop_listener(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.stop_listener/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.stop_listener/</guid>
- <description>Name cowboy:stop_listener - Stop the given listener
-Description stop_listener(Name :: ranch:ref()) -&amp;gt; ok | {error, not_found}. Stop a previously started listener.
-Alias of ranch:stop_listener(3).
-Arguments Name The name of the listener to be stopped.
-The name of the listener is the first argument given to the cowboy:start_clear(3), cowboy:start_tls(3) or ranch:start_listener(3) function.
- Return value The atom ok is returned on success.
-The {error, not_found} tuple is returned when the listener does not exist.</description>
- </item>
-
- <item>
- <title>cowboy:stop_listener(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy.stop_listener/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5087,32 +3878,6 @@ Normal responses will only be compressed when their size is lower than the confi
<item>
<title>cowboy_constraints(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_constraints/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_constraints/</guid>
- <description>Name cowboy_constraints - Constraints
-Description The module cowboy_constraints defines the built-in constraints in Cowboy and provides an interface for manipulating these constraints.
-Constraints are functions that define what type of input is allowed. They are used throughout Cowboy, from the router to query strings to cookies.
-Exports Built-in constraints:
-cowboy_constraints:int(3) - Integer constraint cowboy_constraints:nonempty(3) - Non-empty constraint Types constraint() constraint() :: int | nonempty | fun() A constraint function.</description>
- </item>
-
- <item>
- <title>cowboy_constraints(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_constraints/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_constraints/</guid>
- <description>Name cowboy_constraints - Constraints
-Description The module cowboy_constraints defines the built-in constraints in Cowboy and provides an interface for manipulating these constraints.
-Constraints are functions that define what type of input is allowed. They are used throughout Cowboy, from the router to query strings to cookies.
-Exports Built-in constraints:
-cowboy_constraints:int(3) - Integer constraint cowboy_constraints:nonempty(3) - Non-empty constraint Types constraint() constraint() :: int | nonempty | fun() A constraint function.</description>
- </item>
-
- <item>
- <title>cowboy_constraints(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_constraints/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5178,32 +3943,6 @@ cowboy_constraints:int(3) - Integer constraint cowboy_constraints:nonempty(3) -
<item>
<title>cowboy_constraints:int(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_constraints.int/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_constraints.int/</guid>
- <description>Name cowboy_constraints:int - Integer constraint
-Description Constraint functions implement a number of different operations.
-int(forward, Bin) -&amp;gt; {ok, Int} | {error, not_an_integer} Bin :: binary() Int :: integer() Validate and convert the text representation of an integer.
-int(reverse, Int) -&amp;gt; {ok, Bin} | {error, not_an_integer} Convert an integer back to its text representation.
-int(format_error, Error) -&amp;gt; HumanReadable Error :: {not_an_integer, Bin | Int} HumanReadable :: iolist() Generate a human-readable error message.</description>
- </item>
-
- <item>
- <title>cowboy_constraints:int(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_constraints.int/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_constraints.int/</guid>
- <description>Name cowboy_constraints:int - Integer constraint
-Description Constraint functions implement a number of different operations.
-int(forward, Bin) -&amp;gt; {ok, Int} | {error, not_an_integer} Bin :: binary() Int :: integer() Validate and convert the text representation of an integer.
-int(reverse, Int) -&amp;gt; {ok, Bin} | {error, not_an_integer} Convert an integer back to its text representation.
-int(format_error, Error) -&amp;gt; HumanReadable Error :: {not_an_integer, Bin | Int} HumanReadable :: iolist() Generate a human-readable error message.</description>
- </item>
-
- <item>
- <title>cowboy_constraints:int(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_constraints.int/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5269,34 +4008,6 @@ int(format_error, Error) -&amp;gt; HumanReadable Error :: {not_an_integer, Bin |
<item>
<title>cowboy_constraints:nonempty(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_constraints.nonempty/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_constraints.nonempty/</guid>
- <description>Name cowboy_constraints:nonempty - Non-empty constraint
-Description Constraint functions implement a number of different operations.
-nonempty(forward | reverse, &amp;lt;&amp;lt;&amp;gt;&amp;gt;) -&amp;gt; {error, empty} Reject empty values.
-nonempty(forward | reverse, Bin) -&amp;gt; {ok, Bin} Bin :: binary() Accept any other binary values.
-nonempty(format_error, Error) -&amp;gt; HumanReadable Error :: {empty, Bin} HumanReadable :: iolist() Generate a human-readable error message.
-Arguments Arguments vary depending on the operation. Constraint functions always take the operation type as first argument, and the value as second argument.</description>
- </item>
-
- <item>
- <title>cowboy_constraints:nonempty(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_constraints.nonempty/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_constraints.nonempty/</guid>
- <description>Name cowboy_constraints:nonempty - Non-empty constraint
-Description Constraint functions implement a number of different operations.
-nonempty(forward | reverse, &amp;lt;&amp;lt;&amp;gt;&amp;gt;) -&amp;gt; {error, empty} Reject empty values.
-nonempty(forward | reverse, Bin) -&amp;gt; {ok, Bin} Bin :: binary() Accept any other binary values.
-nonempty(format_error, Error) -&amp;gt; HumanReadable Error :: {empty, Bin} HumanReadable :: iolist() Generate a human-readable error message.
-Arguments Arguments vary depending on the operation. Constraint functions always take the operation type as first argument, and the value as second argument.</description>
- </item>
-
- <item>
- <title>cowboy_constraints:nonempty(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_constraints.nonempty/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5367,30 +4078,6 @@ Arguments Arguments vary depending on the operation. Constraint functions always
<item>
<title>cowboy_handler(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_handler/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_handler/</guid>
- <description>Name cowboy_handler - Plain HTTP handlers
-Description The cowboy_handler middleware executes the handler selected by the router or any other preceding middleware.
-This middleware takes the handler module and initial state from the handler and handler_opts environment values, respectively. On completion, it adds a result value to the middleware environment, containing the return value of the terminate/3 callback (if defined) and ok otherwise.
-This module also defines a callback interface for handling HTTP requests.</description>
- </item>
-
- <item>
- <title>cowboy_handler(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_handler/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_handler/</guid>
- <description>Name cowboy_handler - Plain HTTP handlers
-Description The cowboy_handler middleware executes the handler selected by the router or any other preceding middleware.
-This middleware takes the handler module and initial state from the handler and handler_opts environment values, respectively. On completion, it adds a result value to the middleware environment, containing the return value of the terminate/3 callback (if defined) and ok otherwise.
-This module also defines a callback interface for handling HTTP requests.</description>
- </item>
-
- <item>
- <title>cowboy_handler(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_handler/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5451,34 +4138,6 @@ This module also defines a callback interface for handling HTTP requests.</descr
<item>
<title>cowboy_handler:terminate(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_handler.terminate/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_handler.terminate/</guid>
- <description>Name cowboy_handler:terminate - Terminate the handler
-Description terminate(Reason, PartialReq, State, Handler) -&amp;gt; ok Reason :: any() PartialReq :: map() State :: any() Handler :: module() Call the optional terminate callback if it is defined.
-Make sure to use this function at the end of the execution of modules that implement custom handler behaviors.
-Arguments Reason Reason for termination.
- PartialReq The Req object.
-It is possible to remove fields from the Req object to save memory when the handler has no concept of requests/responses.</description>
- </item>
-
- <item>
- <title>cowboy_handler:terminate(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_handler.terminate/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_handler.terminate/</guid>
- <description>Name cowboy_handler:terminate - Terminate the handler
-Description terminate(Reason, PartialReq, State, Handler) -&amp;gt; ok Reason :: any() PartialReq :: map() State :: any() Handler :: module() Call the optional terminate callback if it is defined.
-Make sure to use this function at the end of the execution of modules that implement custom handler behaviors.
-Arguments Reason Reason for termination.
- PartialReq The Req object.
-It is possible to remove fields from the Req object to save memory when the handler has no concept of requests/responses.</description>
- </item>
-
- <item>
- <title>cowboy_handler:terminate(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_handler.terminate/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5549,28 +4208,6 @@ It is possible to remove fields from the Req object to save memory when the hand
<item>
<title>cowboy_http(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_http/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_http/</guid>
- <description>Name cowboy_http - HTTP/1.1
-Description The module cowboy_http implements HTTP/1.1 and HTTP/1.0 as a Ranch protocol.
-Options opts() :: #{ connection_type =&amp;gt; worker | supervisor, env =&amp;gt; cowboy_middleware:env(), idle_timeout =&amp;gt; timeout(), inactivity_timeout =&amp;gt; timeout(), max_empty_lines =&amp;gt; non_neg_integer(), max_header_name_length =&amp;gt; non_neg_integer(), max_header_value_length =&amp;gt; non_neg_integer(), max_headers =&amp;gt; non_neg_integer(), max_keepalive =&amp;gt; non_neg_integer(), max_method_length =&amp;gt; non_neg_integer(), max_request_line_length =&amp;gt; non_neg_integer(), middlewares =&amp;gt; [module()], request_timeout =&amp;gt; timeout(), shutdown_timeout =&amp;gt; timeout(), stream_handlers =&amp;gt; [module()] } Configuration for the HTTP/1.</description>
- </item>
-
- <item>
- <title>cowboy_http(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_http/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_http/</guid>
- <description>Name cowboy_http - HTTP/1.1
-Description The module cowboy_http implements HTTP/1.1 and HTTP/1.0 as a Ranch protocol.
-Options opts() :: #{ connection_type =&amp;gt; worker | supervisor, env =&amp;gt; cowboy_middleware:env(), idle_timeout =&amp;gt; timeout(), inactivity_timeout =&amp;gt; timeout(), max_empty_lines =&amp;gt; non_neg_integer(), max_header_name_length =&amp;gt; non_neg_integer(), max_header_value_length =&amp;gt; non_neg_integer(), max_headers =&amp;gt; non_neg_integer(), max_keepalive =&amp;gt; non_neg_integer(), max_method_length =&amp;gt; non_neg_integer(), max_request_line_length =&amp;gt; non_neg_integer(), middlewares =&amp;gt; [module()], request_timeout =&amp;gt; timeout(), shutdown_timeout =&amp;gt; timeout(), stream_handlers =&amp;gt; [module()] } Configuration for the HTTP/1.</description>
- </item>
-
- <item>
- <title>cowboy_http(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_http/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5626,32 +4263,6 @@ Options opts() :: #{ chunked =&amp;gt; boolean(), connection_type =&amp;gt; work
<item>
<title>cowboy_http2(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_http2/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_http2/</guid>
- <description>Name cowboy_http2 - HTTP/2
-Description The module cowboy_http2 implements HTTP/2 as a Ranch protocol.
-Options opts() :: #{ connection_type =&amp;gt; worker | supervisor, env =&amp;gt; cowboy_middleware:env(), inactivity_timeout =&amp;gt; timeout(), middlewares =&amp;gt; [module()], preface_timeout =&amp;gt; timeout(), shutdown_timeout =&amp;gt; timeout(), stream_handlers =&amp;gt; [module()] } Configuration for the HTTP/2 protocol.
-This configuration is passed to Cowboy when starting listeners using cowboy:start_clear/3 or cowboy:start_tls/3 functions.
-It can be updated without restarting listeners using the Ranch functions ranch:get_protocol_options/1 and ranch:set_protocol_options/2.</description>
- </item>
-
- <item>
- <title>cowboy_http2(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_http2/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_http2/</guid>
- <description>Name cowboy_http2 - HTTP/2
-Description The module cowboy_http2 implements HTTP/2 as a Ranch protocol.
-Options opts() :: #{ connection_type =&amp;gt; worker | supervisor, env =&amp;gt; cowboy_middleware:env(), inactivity_timeout =&amp;gt; timeout(), middlewares =&amp;gt; [module()], preface_timeout =&amp;gt; timeout(), shutdown_timeout =&amp;gt; timeout(), stream_handlers =&amp;gt; [module()] } Configuration for the HTTP/2 protocol.
-This configuration is passed to Cowboy when starting listeners using cowboy:start_clear/3 or cowboy:start_tls/3 functions.
-It can be updated without restarting listeners using the Ranch functions ranch:get_protocol_options/1 and ranch:set_protocol_options/2.</description>
- </item>
-
- <item>
- <title>cowboy_http2(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_http2/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5711,32 +4322,6 @@ Options opts() :: #{ connection_type =&amp;gt; worker | supervisor, enable_conne
<item>
<title>cowboy_loop(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_loop/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_loop/</guid>
- <description>Name cowboy_loop - Loop handlers
-Description The module cowboy_loop defines a callback interface for long running HTTP connections.
-You should switch to this behavior for long polling, server-sent events and similar long-running requests.
-There are generally two usage patterns:
-Loop until receiving a specific message, then send a response and stop execution (for example long polling); Or initiate a response in init/2 and stream the body in info/3 as necessary (for example server-sent events).</description>
- </item>
-
- <item>
- <title>cowboy_loop(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_loop/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_loop/</guid>
- <description>Name cowboy_loop - Loop handlers
-Description The module cowboy_loop defines a callback interface for long running HTTP connections.
-You should switch to this behavior for long polling, server-sent events and similar long-running requests.
-There are generally two usage patterns:
-Loop until receiving a specific message, then send a response and stop execution (for example long polling); Or initiate a response in init/2 and stream the body in info/3 as necessary (for example server-sent events).</description>
- </item>
-
- <item>
- <title>cowboy_loop(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_loop/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5802,32 +4387,6 @@ Loop until receiving a specific message, then send a response and stop execution
<item>
<title>cowboy_middleware(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_middleware/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_middleware/</guid>
- <description>Name cowboy_middleware - Middlewares
-Description The module cowboy_middleware defines a callback interface for Cowboy middlewares.
-Middlewares process the request sequentially in the order they are configured.
-Callbacks Middlewares implement the following interface:
-execute(Req, Env) -&amp;gt; {ok, Req, Env} | {suspend, module(), atom(), [any()]} | {stop, Req} Req :: cowboy_req:req() Env :: cowboy_middleware:env() The execute/2 is the only callback that needs to be implemented. It must execute the middleware and return with instructions for Cowboy.</description>
- </item>
-
- <item>
- <title>cowboy_middleware(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_middleware/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_middleware/</guid>
- <description>Name cowboy_middleware - Middlewares
-Description The module cowboy_middleware defines a callback interface for Cowboy middlewares.
-Middlewares process the request sequentially in the order they are configured.
-Callbacks Middlewares implement the following interface:
-execute(Req, Env) -&amp;gt; {ok, Req, Env} | {suspend, module(), atom(), [any()]} | {stop, Req} Req :: cowboy_req:req() Env :: cowboy_middleware:env() The execute/2 is the only callback that needs to be implemented. It must execute the middleware and return with instructions for Cowboy.</description>
- </item>
-
- <item>
- <title>cowboy_middleware(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_middleware/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5893,30 +4452,6 @@ execute(Req, Env) -&amp;gt; {ok, Req, Env} | {suspend, module(), atom(), [any()]
<item>
<title>cowboy_req(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req/</guid>
- <description>Name cowboy_req - HTTP request and response
-Description The module cowboy_req provides functions to access, manipulate and respond to requests.
-There are four types of functions in this module. They can be differentiated by their name and their return type:
-Type Name pattern Return type access no verb, parse_*, match_* Value question has_* boolean() modification set_* Req action any other verb ok | {Result, Value, Req} Any Req returned must be used in place of the one passed as argument.</description>
- </item>
-
- <item>
- <title>cowboy_req(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req/</guid>
- <description>Name cowboy_req - HTTP request and response
-Description The module cowboy_req provides functions to access, manipulate and respond to requests.
-There are four types of functions in this module. They can be differentiated by their name and their return type:
-Type Name pattern Return type access no verb, parse_*, match_* Value question has_* boolean() modification set_* Req action any other verb ok | {Result, Value, Req} Any Req returned must be used in place of the one passed as argument.</description>
- </item>
-
- <item>
- <title>cowboy_req(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -5977,34 +4512,6 @@ Type Name pattern Return type access no verb, parse_*, match_* Value question h
<item>
<title>cowboy_req:binding(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.binding/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.binding/</guid>
- <description>Name cowboy_req:binding - Access a value bound from the route
-Description binding(Name, Req) -&amp;gt; binding(Name, Req, undefined) binding(Name, Req, Default) -&amp;gt; any() | Default Name :: atom() Req :: cowboy_req:req() Default :: any() Return the value for the given binding.
-Arguments Name Desired binding name as an atom.
- Req The Req object.
- Default Default value returned when the binding is missing.
- Return value By default the value is a case sensitive binary string, however constraints may change the type of this value (for example automatically converting numbers to integer).</description>
- </item>
-
- <item>
- <title>cowboy_req:binding(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.binding/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.binding/</guid>
- <description>Name cowboy_req:binding - Access a value bound from the route
-Description binding(Name, Req) -&amp;gt; binding(Name, Req, undefined) binding(Name, Req, Default) -&amp;gt; any() | Default Name :: atom() Req :: cowboy_req:req() Default :: any() Return the value for the given binding.
-Arguments Name Desired binding name as an atom.
- Req The Req object.
- Default Default value returned when the binding is missing.
- Return value By default the value is a case sensitive binary string, however constraints may change the type of this value (for example automatically converting numbers to integer).</description>
- </item>
-
- <item>
- <title>cowboy_req:binding(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.binding/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6075,32 +4582,6 @@ Arguments Name Desired binding name as an atom.
<item>
<title>cowboy_req:bindings(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.bindings/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.bindings/</guid>
- <description>Name cowboy_req:bindings - Access all values bound from the route
-Description bindings(Req :: cowboy_req:req()) -&amp;gt; cowboy_router:bindings() Return a map containing all bindings.
-Arguments Req The Req object.
- Return value By default values are case sensitive binary strings, however constraints may change the type of this value (for example automatically converting numbers to integer).
-Changelog 2.0: Only the values are returned, they are no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:bindings(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.bindings/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.bindings/</guid>
- <description>Name cowboy_req:bindings - Access all values bound from the route
-Description bindings(Req :: cowboy_req:req()) -&amp;gt; cowboy_router:bindings() Return a map containing all bindings.
-Arguments Req The Req object.
- Return value By default values are case sensitive binary strings, however constraints may change the type of this value (for example automatically converting numbers to integer).
-Changelog 2.0: Only the values are returned, they are no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:bindings(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.bindings/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6166,32 +4647,6 @@ Changelog 2.0: Only the values are returned, they are no longer wrapped in a tup
<item>
<title>cowboy_req:body_length(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.body_length/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.body_length/</guid>
- <description>Name cowboy_req:body_length - Body length
-Description body_length(Req :: cowboy_req:req()) -&amp;gt; undefined | non_neg_integer() Return the length of the request body.
-The length is not always known before reading the body. In those cases Cowboy will return undefined. The body length is available after the body has been fully read.
-Arguments Req The Req object.
- Return value The length of the request body, or undefined if it is not known.</description>
- </item>
-
- <item>
- <title>cowboy_req:body_length(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.body_length/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.body_length/</guid>
- <description>Name cowboy_req:body_length - Body length
-Description body_length(Req :: cowboy_req:req()) -&amp;gt; undefined | non_neg_integer() Return the length of the request body.
-The length is not always known before reading the body. In those cases Cowboy will return undefined. The body length is available after the body has been fully read.
-Arguments Req The Req object.
- Return value The length of the request body, or undefined if it is not known.</description>
- </item>
-
- <item>
- <title>cowboy_req:body_length(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.body_length/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6257,18 +4712,6 @@ Arguments Req The Req object.
<item>
<title>cowboy_req:cert(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.cert/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.cert/</guid>
- <description>Name cowboy_req:cert - Client TLS certificate
-Description cert(Req :: cowboy_req:req()) -&amp;gt; binary() | undefined Return the peer&amp;apos;s TLS certificate.
-Using the default configuration this function will always return undefined. You need to explicitly configure Cowboy to request the client certificate. To do this you need to set the verify transport option to verify_peer:
-{ok, _} = cowboy:start_tls(example, [ {port, 8443}, {cert, &#34;path/to/cert.pem&#34;}, {verify, verify_peer} ], #{ env =&amp;gt; #{dispatch =&amp;gt; Dispatch} }).</description>
- </item>
-
- <item>
- <title>cowboy_req:cert(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.cert/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6329,34 +4772,6 @@ Using the default configuration this function will always return undefined. You
<item>
<title>cowboy_req:delete_resp_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.delete_resp_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.delete_resp_header/</guid>
- <description>Name cowboy_req:delete_resp_header - Delete a response header
-Description delete_resp_header(Name, Req :: cowboy_req:req()) -&amp;gt; Req Name :: binary() %% lowercase; case insensitive Delete the given response header.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Arguments Name Header name as a lowercase binary string.
- Req The Req object.
- Return value A new Req object is returned.</description>
- </item>
-
- <item>
- <title>cowboy_req:delete_resp_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.delete_resp_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.delete_resp_header/</guid>
- <description>Name cowboy_req:delete_resp_header - Delete a response header
-Description delete_resp_header(Name, Req :: cowboy_req:req()) -&amp;gt; Req Name :: binary() %% lowercase; case insensitive Delete the given response header.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Arguments Name Header name as a lowercase binary string.
- Req The Req object.
- Return value A new Req object is returned.</description>
- </item>
-
- <item>
- <title>cowboy_req:delete_resp_header(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.delete_resp_header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6427,32 +4842,6 @@ Arguments Name Header name as a lowercase binary string.
<item>
<title>cowboy_req:has_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.has_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.has_body/</guid>
- <description>Name cowboy_req:has_body - Is there a request body?
-Description has_body(Req :: cowboy_req:req()) -&amp;gt; boolean() Return whether the request has a body.
-Arguments Req The Req object.
- Return value A boolean indicating whether the request has a body.
-Changelog 1.0: Function introduced. Examples Ensure the request has a body true = cowboy_req:has_body(Req). See also cowboy_req(3), cowboy_req:body_length(3), cowboy_req:read_body(3), cowboy_req:read_urlencoded_body(3), cowboy_req:read_part(3), cowboy_req:read_part_body(3)</description>
- </item>
-
- <item>
- <title>cowboy_req:has_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.has_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.has_body/</guid>
- <description>Name cowboy_req:has_body - Is there a request body?
-Description has_body(Req :: cowboy_req:req()) -&amp;gt; boolean() Return whether the request has a body.
-Arguments Req The Req object.
- Return value A boolean indicating whether the request has a body.
-Changelog 1.0: Function introduced. Examples Ensure the request has a body true = cowboy_req:has_body(Req). See also cowboy_req(3), cowboy_req:body_length(3), cowboy_req:read_body(3), cowboy_req:read_urlencoded_body(3), cowboy_req:read_part(3), cowboy_req:read_part_body(3)</description>
- </item>
-
- <item>
- <title>cowboy_req:has_body(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.has_body/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6518,34 +4907,6 @@ Changelog 1.0: Function introduced. Examples Ensure the request has a body tru
<item>
<title>cowboy_req:has_resp_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.has_resp_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.has_resp_body/</guid>
- <description>Name cowboy_req:has_resp_body - Is there a response body?
-Description has_resp_body(Req :: cowboy_req:req()) -&amp;gt; boolean() Return whether a response body has been set.
-Arguments Req The Req object.
- Return value A boolean indicating whether a response body has been set.
-This function will return false when an empty response body has been set.
-Changelog 1.0: Function introduced. Examples Check whether a body has been set false = cowboy_req:has_resp_body(Req0), Req1 = cowboy_req:set_resp_body(&amp;lt;&amp;lt;&#34;</description>
- </item>
-
- <item>
- <title>cowboy_req:has_resp_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.has_resp_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.has_resp_body/</guid>
- <description>Name cowboy_req:has_resp_body - Is there a response body?
-Description has_resp_body(Req :: cowboy_req:req()) -&amp;gt; boolean() Return whether a response body has been set.
-Arguments Req The Req object.
- Return value A boolean indicating whether a response body has been set.
-This function will return false when an empty response body has been set.
-Changelog 1.0: Function introduced. Examples Check whether a body has been set false = cowboy_req:has_resp_body(Req0), Req1 = cowboy_req:set_resp_body(&amp;lt;&amp;lt;&#34;</description>
- </item>
-
- <item>
- <title>cowboy_req:has_resp_body(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.has_resp_body/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6616,30 +4977,6 @@ Changelog 1.0: Function introduced. Examples Check whether a body has been set
<item>
<title>cowboy_req:has_resp_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.has_resp_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.has_resp_header/</guid>
- <description>Name cowboy_req:has_resp_header - Is the given response header set?
-Description has_resp_header(Name, Req :: cowboy_req:req()) -&amp;gt; boolean() Name :: binary() %% lowercase; case insensitive Return whether the given response header has been set.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Arguments Name Header name as a lowercase binary string.</description>
- </item>
-
- <item>
- <title>cowboy_req:has_resp_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.has_resp_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.has_resp_header/</guid>
- <description>Name cowboy_req:has_resp_header - Is the given response header set?
-Description has_resp_header(Name, Req :: cowboy_req:req()) -&amp;gt; boolean() Name :: binary() %% lowercase; case insensitive Return whether the given response header has been set.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Arguments Name Header name as a lowercase binary string.</description>
- </item>
-
- <item>
- <title>cowboy_req:has_resp_header(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.has_resp_header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6700,30 +5037,6 @@ Arguments Name Header name as a lowercase binary string.</description>
<item>
<title>cowboy_req:header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.header/</guid>
- <description>Name cowboy_req:header - HTTP header
-Description header(Name, Req) -&amp;gt; header(Name, Req, undefined) header(Name, Req, Default) -&amp;gt; binary() | Default Name :: binary() %% lowercase; case insensitive Req :: cowboy_req:req() Default :: any() Return the value for the given HTTP header.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Headers can also be obtained using pattern matching:</description>
- </item>
-
- <item>
- <title>cowboy_req:header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.header/</guid>
- <description>Name cowboy_req:header - HTTP header
-Description header(Name, Req) -&amp;gt; header(Name, Req, undefined) header(Name, Req, Default) -&amp;gt; binary() | Default Name :: binary() %% lowercase; case insensitive Req :: cowboy_req:req() Default :: any() Return the value for the given HTTP header.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Headers can also be obtained using pattern matching:</description>
- </item>
-
- <item>
- <title>cowboy_req:header(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6784,34 +5097,6 @@ Headers can also be obtained using pattern matching:</description>
<item>
<title>cowboy_req:headers(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.headers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.headers/</guid>
- <description>Name cowboy_req:headers - HTTP headers
-Description headers(Req :: cowboy_req:req()) -&amp;gt; cowboy:http_headers() Return all request headers.
-Request headers can also be obtained using pattern matching:
-#{headers := Headers} = Req. Arguments Req The Req object.
- Return value Headers are returned as a map with keys being lowercase binary strings, and values as binary strings.
-Changelog 2.0: Only the headers are returned, they are no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:headers(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.headers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.headers/</guid>
- <description>Name cowboy_req:headers - HTTP headers
-Description headers(Req :: cowboy_req:req()) -&amp;gt; cowboy:http_headers() Return all request headers.
-Request headers can also be obtained using pattern matching:
-#{headers := Headers} = Req. Arguments Req The Req object.
- Return value Headers are returned as a map with keys being lowercase binary strings, and values as binary strings.
-Changelog 2.0: Only the headers are returned, they are no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:headers(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.headers/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6882,34 +5167,6 @@ Changelog 2.0: Only the headers are returned, they are no longer wrapped in a tu
<item>
<title>cowboy_req:host(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.host/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.host/</guid>
- <description>Name cowboy_req:host - URI host name
-Description host(Req :: cowboy_req:req()) -&amp;gt; Host :: binary() Return the host name of the effective request URI.
-The host name can also be obtained using pattern matching:
-#{host := Host} = Req. Arguments Req The Req object.
- Return value The host name is returned as a lowercase binary string. It is case insensitive.
-Changelog 2.0: Only the host name is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:host(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.host/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.host/</guid>
- <description>Name cowboy_req:host - URI host name
-Description host(Req :: cowboy_req:req()) -&amp;gt; Host :: binary() Return the host name of the effective request URI.
-The host name can also be obtained using pattern matching:
-#{host := Host} = Req. Arguments Req The Req object.
- Return value The host name is returned as a lowercase binary string. It is case insensitive.
-Changelog 2.0: Only the host name is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:host(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.host/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -6980,34 +5237,6 @@ Changelog 2.0: Only the host name is returned, it is no longer wrapped in a tupl
<item>
<title>cowboy_req:host_info(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.host_info/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.host_info/</guid>
- <description>Name cowboy_req:host_info - Access the route&amp;apos;s heading host segments
-Description host_info(Req :: cowboy_req:req()) -&amp;gt; cowboy_router:tokens() Return the tokens for the heading host segments.
-This is the part of the host name that was matched using the ... notation.
-Arguments Req The Req object.
- Return value The tokens are returned as a list of case insensitive binary strings.
-Changelog 2.0: Only the tokens are returned, they are no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:host_info(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.host_info/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.host_info/</guid>
- <description>Name cowboy_req:host_info - Access the route&amp;apos;s heading host segments
-Description host_info(Req :: cowboy_req:req()) -&amp;gt; cowboy_router:tokens() Return the tokens for the heading host segments.
-This is the part of the host name that was matched using the ... notation.
-Arguments Req The Req object.
- Return value The tokens are returned as a list of case insensitive binary strings.
-Changelog 2.0: Only the tokens are returned, they are no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:host_info(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.host_info/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7078,18 +5307,6 @@ Changelog 2.0: Only the tokens are returned, they are no longer wrapped in a tup
<item>
<title>cowboy_req:inform(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.inform/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.inform/</guid>
- <description>Name cowboy_req:inform - Send an informational response
-Description inform(Status, Req :: cowboy_req:req()) -&amp;gt; inform(StatusCode, #{}, Req) inform(Status, Headers, Req :: cowboy_req:req()) -&amp;gt; ok Status :: cowboy:http_status() Headers :: cowboy:http_headers() Send an informational response.
-Informational responses use a status code between 100 and 199. They cannot include a body. This function will not use any of the previously set headers. All headers to be sent must be given directly.
-Any number of informational responses can be sent as long as they are sent before the proper response.</description>
- </item>
-
- <item>
- <title>cowboy_req:inform(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.inform/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7150,28 +5367,6 @@ Any number of informational responses can be sent as long as they are sent befor
<item>
<title>cowboy_req:match_cookies(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.match_cookies/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.match_cookies/</guid>
- <description>Name cowboy_req:match_cookies - Match cookies against constraints
-Description match_cookies(Fields :: cowboy:fields(), Req :: cowboy_req:req()) -&amp;gt; #{atom() =&amp;gt; any()} Parse the cookies and match specific values against constraints.
-Cowboy will only return the cookie values specified in the fields list, and ignore all others. Fields can be either the name of the cookie requested; the name along with a list of constraints; or the name, a list of constraints and a default value in case the cookie is missing.</description>
- </item>
-
- <item>
- <title>cowboy_req:match_cookies(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.match_cookies/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.match_cookies/</guid>
- <description>Name cowboy_req:match_cookies - Match cookies against constraints
-Description match_cookies(Fields :: cowboy:fields(), Req :: cowboy_req:req()) -&amp;gt; #{atom() =&amp;gt; any()} Parse the cookies and match specific values against constraints.
-Cowboy will only return the cookie values specified in the fields list, and ignore all others. Fields can be either the name of the cookie requested; the name along with a list of constraints; or the name, a list of constraints and a default value in case the cookie is missing.</description>
- </item>
-
- <item>
- <title>cowboy_req:match_cookies(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.match_cookies/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7227,28 +5422,6 @@ Cowboy will only return the cookie values specified in the fields list, and igno
<item>
<title>cowboy_req:match_qs(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.match_qs/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.match_qs/</guid>
- <description>Name cowboy_req:match_qs - Match the query string against constraints
-Description match_qs(Fields :: cowboy:fields(), Req :: cowboy_req:req()) -&amp;gt; #{atom() =&amp;gt; any()} Parse the query string and match specific values against constraints.
-Cowboy will only return the query string values specified in the fields list, and ignore all others. Fields can be either the key requested; the key along with a list of constraints; or the key, a list of constraints and a default value in case the key is missing.</description>
- </item>
-
- <item>
- <title>cowboy_req:match_qs(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.match_qs/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.match_qs/</guid>
- <description>Name cowboy_req:match_qs - Match the query string against constraints
-Description match_qs(Fields :: cowboy:fields(), Req :: cowboy_req:req()) -&amp;gt; #{atom() =&amp;gt; any()} Parse the query string and match specific values against constraints.
-Cowboy will only return the query string values specified in the fields list, and ignore all others. Fields can be either the key requested; the key along with a list of constraints; or the key, a list of constraints and a default value in case the key is missing.</description>
- </item>
-
- <item>
- <title>cowboy_req:match_qs(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.match_qs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7304,34 +5477,6 @@ Cowboy will only return the query string values specified in the fields list, an
<item>
<title>cowboy_req:method(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.method/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.method/</guid>
- <description>Name cowboy_req:method - HTTP method
-Description method(Req :: cowboy_req:req()) -&amp;gt; Method :: binary() Return the request&amp;apos;s HTTP method.
-The method can also be obtained using pattern matching:
-#{method := Method} = Req. Arguments Req The Req object.
- Return value The request&amp;apos;s HTTP method is returned as a binary string. While methods are case sensitive, standard methods are always uppercase.
-Changelog 2.0: Only the method is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:method(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.method/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.method/</guid>
- <description>Name cowboy_req:method - HTTP method
-Description method(Req :: cowboy_req:req()) -&amp;gt; Method :: binary() Return the request&amp;apos;s HTTP method.
-The method can also be obtained using pattern matching:
-#{method := Method} = Req. Arguments Req The Req object.
- Return value The request&amp;apos;s HTTP method is returned as a binary string. While methods are case sensitive, standard methods are always uppercase.
-Changelog 2.0: Only the method is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:method(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.method/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7402,36 +5547,6 @@ Changelog 2.0: Only the method is returned, it is no longer wrapped in a tuple.<
<item>
<title>cowboy_req:parse_cookies(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.parse_cookies/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.parse_cookies/</guid>
- <description>Name cowboy_req:parse_cookies - Parse cookie headers
-Description parse_cookies(Req) -&amp;gt; [{Name, Value}] Name :: binary() %% case sensitive Value :: binary() %% case sensitive Parse cookie headers.
-Alias for cowboy_req:parse_header(&amp;lt;&amp;lt;&amp;quot;cookie&amp;quot;&amp;gt;&amp;gt;, Req).
-When the cookie header is missing, [] is returned.
-While an empty cookie header is not valid, some clients do send it. Cowboy will in this case also return [].
-Arguments Req The Req object.
- Return value The cookies are returned as a list of key/values.</description>
- </item>
-
- <item>
- <title>cowboy_req:parse_cookies(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.parse_cookies/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.parse_cookies/</guid>
- <description>Name cowboy_req:parse_cookies - Parse cookie headers
-Description parse_cookies(Req) -&amp;gt; [{Name, Value}] Name :: binary() %% case sensitive Value :: binary() %% case sensitive Parse cookie headers.
-Alias for cowboy_req:parse_header(&amp;lt;&amp;lt;&amp;quot;cookie&amp;quot;&amp;gt;&amp;gt;, Req).
-When the cookie header is missing, [] is returned.
-While an empty cookie header is not valid, some clients do send it. Cowboy will in this case also return [].
-Arguments Req The Req object.
- Return value The cookies are returned as a list of key/values.</description>
- </item>
-
- <item>
- <title>cowboy_req:parse_cookies(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.parse_cookies/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7507,30 +5622,6 @@ Arguments Req The Req object.
<item>
<title>cowboy_req:parse_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.parse_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.parse_header/</guid>
- <description>Name cowboy_req:parse_header - Parse the given HTTP header
-Description parse_header(Name, Req) -&amp;gt; ParsedValue | Default parse_header(Name, Req, Default) -&amp;gt; ParsedValue | Default Name :: binary() Req :: cowboy_req:req() ParsedValue :: any() Default :: any() Parse the given HTTP header.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-The type of the parsed value varies depending on the header.</description>
- </item>
-
- <item>
- <title>cowboy_req:parse_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.parse_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.parse_header/</guid>
- <description>Name cowboy_req:parse_header - Parse the given HTTP header
-Description parse_header(Name, Req) -&amp;gt; ParsedValue | Default parse_header(Name, Req, Default) -&amp;gt; ParsedValue | Default Name :: binary() Req :: cowboy_req:req() ParsedValue :: any() Default :: any() Parse the given HTTP header.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-The type of the parsed value varies depending on the header.</description>
- </item>
-
- <item>
- <title>cowboy_req:parse_header(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.parse_header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7591,30 +5682,6 @@ The type of the parsed value varies depending on the header.</description>
<item>
<title>cowboy_req:parse_qs(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.parse_qs/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.parse_qs/</guid>
- <description>Name cowboy_req:parse_qs - Parse the query string
-Description parse_qs(Req :: cowboy_req:req()) -&amp;gt; [{Key :: binary(), Value :: binary() | true}] Parse the query string as a list of key/value pairs.
-Arguments Req The Req object.
- Return value The parsed query string is returned as a list of key/value pairs. The key is a binary string. The value is either a binary string, or the atom true. Both key and value are case sensitive.</description>
- </item>
-
- <item>
- <title>cowboy_req:parse_qs(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.parse_qs/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.parse_qs/</guid>
- <description>Name cowboy_req:parse_qs - Parse the query string
-Description parse_qs(Req :: cowboy_req:req()) -&amp;gt; [{Key :: binary(), Value :: binary() | true}] Parse the query string as a list of key/value pairs.
-Arguments Req The Req object.
- Return value The parsed query string is returned as a list of key/value pairs. The key is a binary string. The value is either a binary string, or the atom true. Both key and value are case sensitive.</description>
- </item>
-
- <item>
- <title>cowboy_req:parse_qs(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.parse_qs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7675,34 +5742,6 @@ Arguments Req The Req object.
<item>
<title>cowboy_req:path(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.path/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.path/</guid>
- <description>Name cowboy_req:path - URI path
-Description path(Req :: cowboy_req:req()) -&amp;gt; Path :: binary() Return the path of the effective request URI.
-The path can also be obtained using pattern matching:
-#{path := Path} = Req. Arguments Req The Req object.
- Return value The path is returned as a binary string. It is case sensitive.
-Changelog 2.0: Only the path is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:path(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.path/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.path/</guid>
- <description>Name cowboy_req:path - URI path
-Description path(Req :: cowboy_req:req()) -&amp;gt; Path :: binary() Return the path of the effective request URI.
-The path can also be obtained using pattern matching:
-#{path := Path} = Req. Arguments Req The Req object.
- Return value The path is returned as a binary string. It is case sensitive.
-Changelog 2.0: Only the path is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:path(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.path/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7773,34 +5812,6 @@ Changelog 2.0: Only the path is returned, it is no longer wrapped in a tuple.</d
<item>
<title>cowboy_req:path_info(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.path_info/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.path_info/</guid>
- <description>Name cowboy_req:path_info - Access the route&amp;apos;s trailing path segments
-Description path_info(Req :: cowboy_req:req()) -&amp;gt; cowboy_router:tokens() Return the tokens for the trailing path segments.
-This is the part of the host name that was matched using the ... notation.
-Arguments Req The Req object.
- Return value The tokens are returned as a list of case sensitive binary strings.
-Changelog 2.0: Only the tokens are returned, they are no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:path_info(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.path_info/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.path_info/</guid>
- <description>Name cowboy_req:path_info - Access the route&amp;apos;s trailing path segments
-Description path_info(Req :: cowboy_req:req()) -&amp;gt; cowboy_router:tokens() Return the tokens for the trailing path segments.
-This is the part of the host name that was matched using the ... notation.
-Arguments Req The Req object.
- Return value The tokens are returned as a list of case sensitive binary strings.
-Changelog 2.0: Only the tokens are returned, they are no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:path_info(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.path_info/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7871,34 +5882,6 @@ Changelog 2.0: Only the tokens are returned, they are no longer wrapped in a tup
<item>
<title>cowboy_req:peer(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.peer/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.peer/</guid>
- <description>Name cowboy_req:peer - Peer address and port
-Description peer(Req :: cowboy_req:req()) -&amp;gt; Peer Peer :: {inet:ip_address(), inet:port_number()} Return the peer&amp;apos;s IP address and port number.
-The peer can also be obtained using pattern matching:
-#{peer := {IP, Port}} = Req. Arguments Req The Req object.
- Return value The peer&amp;apos;s IP address and port number.
-The peer is not necessarily the client&amp;apos;s IP address and port. It is the IP address of the endpoint connecting directly to the server, which may be a gateway or a proxy.</description>
- </item>
-
- <item>
- <title>cowboy_req:peer(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.peer/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.peer/</guid>
- <description>Name cowboy_req:peer - Peer address and port
-Description peer(Req :: cowboy_req:req()) -&amp;gt; Info Info :: {inet:ip_address(), inet:port_number()} Return the peer&amp;apos;s IP address and port number.
-The peer information can also be obtained using pattern matching:
-#{peer := {IP, Port}} = Req. Arguments Req The Req object.
- Return value The peer&amp;apos;s IP address and port number.
-The peer is not necessarily the client&amp;apos;s IP address and port. It is the IP address of the endpoint connecting directly to the server, which may be a gateway or a proxy.</description>
- </item>
-
- <item>
- <title>cowboy_req:peer(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.peer/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -7969,32 +5952,6 @@ The peer is not necessarily the client&amp;apos;s IP address and port. It is the
<item>
<title>cowboy_req:port(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.port/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.port/</guid>
- <description>Name cowboy_req:port - URI port number
-Description port(Req :: cowboy_req:req()) -&amp;gt; Port :: inet:port_number() Return the port number of the effective request URI.
-Note that the port number returned by this function is obtained by parsing the host header. It may be different from the port the peer used to connect to Cowboy.
-The port number can also be obtained using pattern matching:
-#{port := Port} = Req. Arguments Req The Req object.</description>
- </item>
-
- <item>
- <title>cowboy_req:port(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.port/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.port/</guid>
- <description>Name cowboy_req:port - URI port number
-Description port(Req :: cowboy_req:req()) -&amp;gt; Port :: inet:port_number() Return the port number of the effective request URI.
-Note that the port number returned by this function is obtained by parsing the host header. It may be different from the port the peer used to connect to Cowboy.
-The port number can also be obtained using pattern matching:
-#{port := Port} = Req. Arguments Req The Req object.</description>
- </item>
-
- <item>
- <title>cowboy_req:port(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.port/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8060,28 +6017,6 @@ The port number can also be obtained using pattern matching:
<item>
<title>cowboy_req:push(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.push/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.push/</guid>
- <description>Name cowboy_req:push - Push a resource to the client
-Description push(Path, Headers, Req :: cowboy_req:req()) -&amp;gt; push(Path, Headers, Req, #{}) push(Path, Headers, Req :: cowboy_req:req(), Opts) -&amp;gt; ok Path :: iodata() %% case sensitive Headers :: cowboy:http_headers() Opts :: cowboy_req:push_opts() Push a resource to the client.
-Cowboy handles push requests the same way as if they came from the client, including the creation of a request handling process, routing and middlewares and so on.</description>
- </item>
-
- <item>
- <title>cowboy_req:push(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.push/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.push/</guid>
- <description>Name cowboy_req:push - Push a resource to the client
-Description push(Path, Headers, Req :: cowboy_req:req()) -&amp;gt; push(Path, Headers, Req, #{}) push(Path, Headers, Req :: cowboy_req:req(), Opts) -&amp;gt; ok Path :: iodata() %% case sensitive Headers :: cowboy:http_headers() Opts :: cowboy_req:push_opts() Push a resource to the client.
-Cowboy handles push requests the same way as if they came from the client, including the creation of a request handling process, routing and middlewares and so on.</description>
- </item>
-
- <item>
- <title>cowboy_req:push(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.push/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8137,34 +6072,6 @@ Cowboy handles push requests the same way as if they came from the client, inclu
<item>
<title>cowboy_req:qs(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.qs/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.qs/</guid>
- <description>Name cowboy_req:qs - URI query string
-Description qs(Req :: cowboy_req:req()) -&amp;gt; Qs :: binary() Return the query string of the effective request URI.
-The query string can also be obtained using pattern matching:
-#{qs := Qs} = Req. Arguments Req The Req object.
- Return value The query string is returned as a binary string. It is case sensitive.
-Changelog 2.0: Only the query string is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:qs(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.qs/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.qs/</guid>
- <description>Name cowboy_req:qs - URI query string
-Description qs(Req :: cowboy_req:req()) -&amp;gt; Qs :: binary() Return the query string of the effective request URI.
-The query string can also be obtained using pattern matching:
-#{qs := Qs} = Req. Arguments Req The Req object.
- Return value The query string is returned as a binary string. It is case sensitive.
-Changelog 2.0: Only the query string is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:qs(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.qs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8257,28 +6164,6 @@ This function reads the request body and parses it as application/x-www-form-url
<item>
<title>cowboy_req:read_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_body/</guid>
- <description>Name cowboy_req:read_body - Read the request body
-Description read_body(Req :: cowboy_req:req()) -&amp;gt; read_body(Req, #{}) read_body(Req :: cowboy_req:req(), Opts) -&amp;gt; {ok, Data :: binary(), Req} | {more, Data :: binary(), Req} Opts :: cowboy_req:read_body_opts() Read the request body.
-This function reads a chunk of the request body. A more tuple is returned when more data remains to be read. Call the function repeatedly until an ok tuple is returned to read the entire body.</description>
- </item>
-
- <item>
- <title>cowboy_req:read_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_body/</guid>
- <description>Name cowboy_req:read_body - Read the request body
-Description read_body(Req :: cowboy_req:req()) -&amp;gt; read_body(Req, #{}) read_body(Req :: cowboy_req:req(), Opts) -&amp;gt; {ok, Data :: binary(), Req} | {more, Data :: binary(), Req} Opts :: cowboy_req:read_body_opts() Read the request body.
-This function reads a chunk of the request body. A more tuple is returned when more data remains to be read. Call the function repeatedly until an ok tuple is returned to read the entire body.</description>
- </item>
-
- <item>
- <title>cowboy_req:read_body(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.read_body/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8334,28 +6219,6 @@ This function reads a chunk of the request body. A more tuple is returned when m
<item>
<title>cowboy_req:read_part(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_part/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_part/</guid>
- <description>Name cowboy_req:read_part - Read the next multipart headers
-Description read_part(Req :: cowboy_req:req()) -&amp;gt; read_part(Req, #{}) read_part(Req :: cowboy_req:req(), Opts) -&amp;gt; {ok, Headers, Req} | {done, Req} Opts :: cowboy_req:read_body_opts() Headers :: #{binary() =&amp;gt; binary()} Read the next part of a multipart body.
-This function reads the request body and parses it as multipart. Each parts of a multipart representation have their own headers and body. This function parses and returns headers.</description>
- </item>
-
- <item>
- <title>cowboy_req:read_part(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_part/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_part/</guid>
- <description>Name cowboy_req:read_part - Read the next multipart headers
-Description read_part(Req :: cowboy_req:req()) -&amp;gt; read_part(Req, #{}) read_part(Req :: cowboy_req:req(), Opts) -&amp;gt; {ok, Headers, Req} | {done, Req} Opts :: cowboy_req:read_body_opts() Headers :: #{binary() =&amp;gt; binary()} Read the next part of a multipart body.
-This function reads the request body and parses it as multipart. Each parts of a multipart representation have their own headers and body. This function parses and returns headers.</description>
- </item>
-
- <item>
- <title>cowboy_req:read_part(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.read_part/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8411,28 +6274,6 @@ This function reads the request body and parses it as multipart. Each parts of a
<item>
<title>cowboy_req:read_part_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_part_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_part_body/</guid>
- <description>Name cowboy_req:read_part_body - Read the current part&amp;apos;s body
-Description read_part_body(Req :: cowboy_req:req()) -&amp;gt; read_part_body(Req, #{}) read_part_body(Req :: cowboy_req:req(), Opts) -&amp;gt; {ok, Data :: binary(), Req} | {more, Data :: binary(), Req} Opts :: cowboy_req:read_body_opts() Read the body of the current part of the multipart message.
-This function reads the request body and parses it as multipart. Each parts of a multipart representation have their own headers and body. This function returns the body of the current part.</description>
- </item>
-
- <item>
- <title>cowboy_req:read_part_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_part_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_part_body/</guid>
- <description>Name cowboy_req:read_part_body - Read the current part&amp;apos;s body
-Description read_part_body(Req :: cowboy_req:req()) -&amp;gt; read_part_body(Req, #{}) read_part_body(Req :: cowboy_req:req(), Opts) -&amp;gt; {ok, Data :: binary(), Req} | {more, Data :: binary(), Req} Opts :: cowboy_req:read_body_opts() Read the body of the current part of the multipart message.
-This function reads the request body and parses it as multipart. Each parts of a multipart representation have their own headers and body. This function returns the body of the current part.</description>
- </item>
-
- <item>
- <title>cowboy_req:read_part_body(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.read_part_body/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8488,30 +6329,6 @@ This function reads the request body and parses it as multipart. Each parts of a
<item>
<title>cowboy_req:read_urlencoded_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_urlencoded_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_urlencoded_body/</guid>
- <description>Name cowboy_req:read_urlencoded_body - Read and parse a urlencoded request body
-Description read_urlencoded_body(Req :: cowboy_req:req()) -&amp;gt; read_urlencoded_body(Req, #{}) read_urlencoded_body(Req :: cowboy_req:req(), Opts) -&amp;gt; {ok, Body, Req} Opts :: cowboy_req:read_body_opts() Body :: [{Key :: binary(), Value :: binary() | true}] Read and parse a urlencoded request body.
-This function reads the request body and parses it as application/x-www-form-urlencoded. It returns a list of key/values.
-The urlencoded media type is used by Web browsers when submitting HTML forms using the POST method.</description>
- </item>
-
- <item>
- <title>cowboy_req:read_urlencoded_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_urlencoded_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_urlencoded_body/</guid>
- <description>Name cowboy_req:read_urlencoded_body - Read and parse a urlencoded request body
-Description read_urlencoded_body(Req :: cowboy_req:req()) -&amp;gt; read_urlencoded_body(Req, #{}) read_urlencoded_body(Req :: cowboy_req:req(), Opts) -&amp;gt; {ok, Body, Req} Opts :: cowboy_req:read_body_opts() Body :: [{Key :: binary(), Value :: binary() | true}] Read and parse a urlencoded request body.
-This function reads the request body and parses it as application/x-www-form-urlencoded. It returns a list of key/values.
-The urlencoded media type is used by Web browsers when submitting HTML forms using the POST method.</description>
- </item>
-
- <item>
- <title>cowboy_req:read_urlencoded_body(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.read_urlencoded_body/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8572,28 +6389,6 @@ The urlencoded media type is used by Web browsers when submitting HTML forms usi
<item>
<title>cowboy_req:reply(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.reply/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.reply/</guid>
- <description>Name cowboy_req:reply - Send the response
-Description reply(Status, Req :: cowboy_req:req()) -&amp;gt; reply(StatusCode, #{}, Req) reply(Status, Headers, Req :: cowboy_req:req()) -&amp;gt; Req reply(Status, Headers, Body, Req :: cowboy_req:req()) -&amp;gt; Req Status :: cowboy:http_status() Headers :: cowboy:http_headers() Body :: cowboy_req:resp_body() Send the response.
-The header names must be given as lowercase binary strings. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</description>
- </item>
-
- <item>
- <title>cowboy_req:reply(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.reply/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.reply/</guid>
- <description>Name cowboy_req:reply - Send the response
-Description reply(Status, Req :: cowboy_req:req()) -&amp;gt; reply(StatusCode, #{}, Req) reply(Status, Headers, Req :: cowboy_req:req()) -&amp;gt; Req reply(Status, Headers, Body, Req :: cowboy_req:req()) -&amp;gt; Req Status :: cowboy:http_status() Headers :: cowboy:http_headers() Body :: cowboy_req:resp_body() Send the response.
-The header names must be given as lowercase binary strings. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</description>
- </item>
-
- <item>
- <title>cowboy_req:reply(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.reply/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8649,30 +6444,6 @@ The header names must be given as lowercase binary strings. While header names a
<item>
<title>cowboy_req:resp_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.resp_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.resp_header/</guid>
- <description>Name cowboy_req:resp_header - Response header
-Description resp_header(Name, Req) -&amp;gt; resp_header(Name, Req, undefined) resp_header(Name, Req, Default) -&amp;gt; binary() | Default Name :: binary() %% lowercase; case insensitive Req :: cowboy_req:req() Default :: any() Return the value for the given response header.
-The response header must have been set previously using cowboy_req:set_resp_header(3) or cowboy_req:set_resp_headers(3).
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</description>
- </item>
-
- <item>
- <title>cowboy_req:resp_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.resp_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.resp_header/</guid>
- <description>Name cowboy_req:resp_header - Response header
-Description resp_header(Name, Req) -&amp;gt; resp_header(Name, Req, undefined) resp_header(Name, Req, Default) -&amp;gt; binary() | Default Name :: binary() %% lowercase; case insensitive Req :: cowboy_req:req() Default :: any() Return the value for the given response header.
-The response header must have been set previously using cowboy_req:set_resp_header(3) or cowboy_req:set_resp_headers(3).
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.</description>
- </item>
-
- <item>
- <title>cowboy_req:resp_header(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.resp_header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8733,32 +6504,6 @@ The header name must be given as a lowercase binary string. While header names a
<item>
<title>cowboy_req:resp_headers(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.resp_headers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.resp_headers/</guid>
- <description>Name cowboy_req:resp_headers - Response headers
-Description resp_headers(Req :: cowboy_req:req()) -&amp;gt; cowboy:http_headers() Return all response headers.
-Arguments Req The Req object.
- Return value Headers are returned as a map with keys being lowercase binary strings, and values as binary strings.
-Changelog 2.0: Function introduced. Examples Get all response headers Headers = cowboy_req:resp_headers(Req). See also cowboy_req(3), cowboy_req:resp_header(3), cowboy_req:set_resp_header(3), cowboy_req:set_resp_headers(3)</description>
- </item>
-
- <item>
- <title>cowboy_req:resp_headers(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.resp_headers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.resp_headers/</guid>
- <description>Name cowboy_req:resp_headers - Response headers
-Description resp_headers(Req :: cowboy_req:req()) -&amp;gt; cowboy:http_headers() Return all response headers.
-Arguments Req The Req object.
- Return value Headers are returned as a map with keys being lowercase binary strings, and values as binary strings.
-Changelog 2.0: Function introduced. Examples Get all response headers Headers = cowboy_req:resp_headers(Req). See also cowboy_req(3), cowboy_req:resp_header(3), cowboy_req:set_resp_header(3), cowboy_req:set_resp_headers(3)</description>
- </item>
-
- <item>
- <title>cowboy_req:resp_headers(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.resp_headers/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8824,36 +6569,6 @@ Changelog 2.0: Function introduced. Examples Get all response headers Headers
<item>
<title>cowboy_req:scheme(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.scheme/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.scheme/</guid>
- <description>Name cowboy_req:scheme - URI scheme
-Description scheme(Req :: cowboy_req:req()) -&amp;gt; Scheme :: binary() Return the scheme of the effective request URI.
-The scheme can also be obtained using pattern matching:
-#{scheme := Scheme} = Req. Arguments Req The Req object.
- Return value The scheme is returned as a binary. It is case insensitive.
-Cowboy will only set the scheme to &amp;lt;&amp;lt;&amp;quot;http&amp;quot;&amp;gt;&amp;gt; or &amp;lt;&amp;lt;&amp;quot;https&amp;quot;&amp;gt;&amp;gt;.
-Changelog 2.0: Function introduced.</description>
- </item>
-
- <item>
- <title>cowboy_req:scheme(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.scheme/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.scheme/</guid>
- <description>Name cowboy_req:scheme - URI scheme
-Description scheme(Req :: cowboy_req:req()) -&amp;gt; Scheme :: binary() Return the scheme of the effective request URI.
-The scheme can also be obtained using pattern matching:
-#{scheme := Scheme} = Req. Arguments Req The Req object.
- Return value The scheme is returned as a binary. It is case insensitive.
-Cowboy will only set the scheme to &amp;lt;&amp;lt;&amp;quot;http&amp;quot;&amp;gt;&amp;gt; or &amp;lt;&amp;lt;&amp;quot;https&amp;quot;&amp;gt;&amp;gt;.
-Changelog 2.0: Function introduced.</description>
- </item>
-
- <item>
- <title>cowboy_req:scheme(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.scheme/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -8929,30 +6644,6 @@ Changelog 2.0: Function introduced.</description>
<item>
<title>cowboy_req:set_resp_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_body/</guid>
- <description>Name cowboy_req:set_resp_body - Set the response body
-Description set_resp_body(Body, Req :: cowboy_req:req()) -&amp;gt; Req Body :: cowboy_req:resp_body() Set the response body.
-The response body will be sent when a reply is initiated. Note that the functions stream_reply/2,3 and reply/4 will override the body set by this function.
-This function can also be used to remove a response body that was set previously. To do so, simply call this function with an empty body.</description>
- </item>
-
- <item>
- <title>cowboy_req:set_resp_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_body/</guid>
- <description>Name cowboy_req:set_resp_body - Set the response body
-Description set_resp_body(Body, Req :: cowboy_req:req()) -&amp;gt; Req Body :: cowboy_req:resp_body() Set the response body.
-The response body will be sent when a reply is initiated. Note that the functions stream_reply/2,3 and reply/4 will override the body set by this function.
-This function can also be used to remove a response body that was set previously. To do so, simply call this function with an empty body.</description>
- </item>
-
- <item>
- <title>cowboy_req:set_resp_body(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_body/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9013,34 +6704,6 @@ This function can also be used to remove a response body that was set previously
<item>
<title>cowboy_req:set_resp_cookie(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_cookie/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_cookie/</guid>
- <description>Name cowboy_req:set_resp_cookie - Set a cookie
-Description set_resp_cookie(Name, Value, Req :: cowboy_req:req()) -&amp;gt; set_resp_cookie(Name, Value, [], Req) set_resp_cookie(Name, Value, Req :: cowboy_req:req(), Opts) -&amp;gt; Req Name :: binary() %% case sensitive Value :: iodata() %% case sensitive Opts :: cow_cookie:cookie_opts() Set a cookie to be sent with the response.
-Note that cookie names are case sensitive.
-Arguments Name Cookie name.
- Value Cookie value.
- Req The Req object.</description>
- </item>
-
- <item>
- <title>cowboy_req:set_resp_cookie(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_cookie/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_cookie/</guid>
- <description>Name cowboy_req:set_resp_cookie - Set a cookie
-Description set_resp_cookie(Name, Value, Req :: cowboy_req:req()) -&amp;gt; set_resp_cookie(Name, Value, [], Req) set_resp_cookie(Name, Value, Req :: cowboy_req:req(), Opts) -&amp;gt; Req Name :: binary() %% case sensitive Value :: iodata() %% case sensitive Opts :: cow_cookie:cookie_opts() Set a cookie to be sent with the response.
-Note that cookie names are case sensitive.
-Arguments Name Cookie name.
- Value Cookie value.
- Req The Req object.</description>
- </item>
-
- <item>
- <title>cowboy_req:set_resp_cookie(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_cookie/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9111,30 +6774,6 @@ Arguments Name Cookie name.
<item>
<title>cowboy_req:set_resp_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_header/</guid>
- <description>Name cowboy_req:set_resp_header - Set a response header
-Description set_resp_header(Name, Value, Req :: cowboy_req:req()) -&amp;gt; Req Name :: binary() %% lowercase; case insensitive Value :: iodata() %% case depends on header Set a header to be sent with the response.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Cowboy does not allow duplicate header names.</description>
- </item>
-
- <item>
- <title>cowboy_req:set_resp_header(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_header/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_header/</guid>
- <description>Name cowboy_req:set_resp_header - Set a response header
-Description set_resp_header(Name, Value, Req :: cowboy_req:req()) -&amp;gt; Req Name :: binary() %% lowercase; case insensitive Value :: iodata() %% case depends on header Set a header to be sent with the response.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Cowboy does not allow duplicate header names.</description>
- </item>
-
- <item>
- <title>cowboy_req:set_resp_header(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9195,30 +6834,6 @@ Cowboy does not allow duplicate header names.</description>
<item>
<title>cowboy_req:set_resp_headers(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_headers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_headers/</guid>
- <description>Name cowboy_req:set_resp_headers - Set several response headers
-Description set_resp_headers(Headers, Req :: cowboy_req:req()) -&amp;gt; Req Headers :: cowboy:http_headers() Set several headers to be sent with the response.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Cowboy does not allow duplicate header names. Headers set by this function may be overwritten by those set from the reply functions.</description>
- </item>
-
- <item>
- <title>cowboy_req:set_resp_headers(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_headers/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_headers/</guid>
- <description>Name cowboy_req:set_resp_headers - Set several response headers
-Description set_resp_headers(Headers, Req :: cowboy_req:req()) -&amp;gt; Req Headers :: cowboy:http_headers() Set several headers to be sent with the response.
-The header name must be given as a lowercase binary string. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Cowboy does not allow duplicate header names. Headers set by this function may be overwritten by those set from the reply functions.</description>
- </item>
-
- <item>
- <title>cowboy_req:set_resp_headers(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_headers/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9279,20 +6894,6 @@ Cowboy does not allow duplicate header names. Headers set by this function may b
<item>
<title>cowboy_req:sock(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.sock/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.sock/</guid>
- <description>Name cowboy_req:sock - Socket address and port
-Description sock(Req :: cowboy_req:req()) -&amp;gt; Info Info :: {inet:ip_address(), inet:port_number()} Return the socket&amp;apos;s IP address and port number.
-The socket information can also be obtained using pattern matching:
-#{sock := {IP, Port}} = Req. Arguments Req The Req object.
- Return value The socket&amp;apos;s local IP address and port number.
-Changelog 2.1: Function introduced. Examples Get the socket&amp;apos;s IP address and port number.</description>
- </item>
-
- <item>
- <title>cowboy_req:sock(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.sock/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9363,30 +6964,6 @@ Changelog 2.1: Function introduced. Examples Get the socket&amp;apos;s IP addr
<item>
<title>cowboy_req:stream_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.stream_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.stream_body/</guid>
- <description>Name cowboy_req:stream_body - Stream the response body
-Description stream_body(Data, IsFin, Req :: cowboy_req:req()) -&amp;gt; ok Data :: iodata() IsFin :: fin | nofin Stream the response body.
-This function may be called as many times as needed after initiating a response using the cowboy_req:stream_reply(3) function.
-The second argument indicates if this call is the final call. Use the nofin value until you know no more data will be sent. The final call should use fin (possibly with an empty data value).</description>
- </item>
-
- <item>
- <title>cowboy_req:stream_body(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.stream_body/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.stream_body/</guid>
- <description>Name cowboy_req:stream_body - Stream the response body
-Description stream_body(Data, IsFin, Req :: cowboy_req:req()) -&amp;gt; ok Data :: iodata() IsFin :: fin | nofin Stream the response body.
-This function may be called as many times as needed after initiating a response using the cowboy_req:stream_reply(3) function.
-The second argument indicates if this call is the final call. Use the nofin value until you know no more data will be sent. The final call should use fin (possibly with an empty data value).</description>
- </item>
-
- <item>
- <title>cowboy_req:stream_body(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.stream_body/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9469,30 +7046,6 @@ This function should only be used for text/event-stream responses when using ser
<item>
<title>cowboy_req:stream_reply(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.stream_reply/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.stream_reply/</guid>
- <description>Name cowboy_req:stream_reply - Send the response headers
-Description stream_reply(Status, Req :: cowboy_req:req()) -&amp;gt; stream_reply(StatusCode, #{}, Req) stream_reply(Status, Headers, Req :: cowboy_req:req()) -&amp;gt; Req Status :: cowboy:http_status() Headers :: cowboy:http_headers() Send the response headers.
-The header names must be given as lowercase binary strings. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Cowboy does not allow duplicate header names. Headers set by this function may overwrite those set by set_resp_header/3.</description>
- </item>
-
- <item>
- <title>cowboy_req:stream_reply(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.stream_reply/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.stream_reply/</guid>
- <description>Name cowboy_req:stream_reply - Send the response headers
-Description stream_reply(Status, Req :: cowboy_req:req()) -&amp;gt; stream_reply(StatusCode, #{}, Req) stream_reply(Status, Headers, Req :: cowboy_req:req()) -&amp;gt; Req Status :: cowboy:http_status() Headers :: cowboy:http_headers() Send the response headers.
-The header names must be given as lowercase binary strings. While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.
-Cowboy does not allow duplicate header names. Headers set by this function may overwrite those set by set_resp_header/3.</description>
- </item>
-
- <item>
- <title>cowboy_req:stream_reply(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.stream_reply/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9613,28 +7166,6 @@ You must list all field names sent in trailers in the trailer header, otherwise
<item>
<title>cowboy_req:uri(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.uri/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.uri/</guid>
- <description>Name cowboy_req:uri - Reconstructed URI
-Description uri(Req :: cowboy_req:req()) -&amp;gt; uri(Req, #{}) uri(Req :: cowboy_req:req(), Opts) -&amp;gt; URI :: iodata() Opts :: #{ scheme =&amp;gt; iodata() | undefined, host =&amp;gt; iodata() | undefined, port =&amp;gt; inet:port_number() | undefined, path =&amp;gt; iodata() | undefined, qs =&amp;gt; iodata() | undefined, fragment =&amp;gt; iodata() | undefined } Reconstruct the effective request URI, optionally modifying components.
-By default Cowboy will build a URI using the components found in the request.</description>
- </item>
-
- <item>
- <title>cowboy_req:uri(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.uri/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.uri/</guid>
- <description>Name cowboy_req:uri - Reconstructed URI
-Description uri(Req :: cowboy_req:req()) -&amp;gt; uri(Req, #{}) uri(Req :: cowboy_req:req(), Opts) -&amp;gt; URI :: iodata() Opts :: #{ scheme =&amp;gt; iodata() | undefined, host =&amp;gt; iodata() | undefined, port =&amp;gt; inet:port_number() | undefined, path =&amp;gt; iodata() | undefined, qs =&amp;gt; iodata() | undefined, fragment =&amp;gt; iodata() | undefined } Reconstruct the effective request URI, optionally modifying components.
-By default Cowboy will build a URI using the components found in the request.</description>
- </item>
-
- <item>
- <title>cowboy_req:uri(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.uri/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9690,34 +7221,6 @@ By default Cowboy will build a URI using the components found in the request.</d
<item>
<title>cowboy_req:version(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.version/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.version/</guid>
- <description>Name cowboy_req:version - HTTP version
-Description version(Req :: cowboy_req:req()) -&amp;gt; Version :: cowboy:http_version() Return the HTTP version used for the request.
-The version can also be obtained using pattern matching:
-#{version := Version} = Req. Arguments Req The Req object.
- Return value The HTTP version used for the request is returned as an atom. It is provided for informative purposes only.
-Changelog 2.0: Only the version is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:version(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.version/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.version/</guid>
- <description>Name cowboy_req:version - HTTP version
-Description version(Req :: cowboy_req:req()) -&amp;gt; Version :: cowboy:http_version() Return the HTTP version used for the request.
-The version can also be obtained using pattern matching:
-#{version := Version} = Req. Arguments Req The Req object.
- Return value The HTTP version used for the request is returned as an atom. It is provided for informative purposes only.
-Changelog 2.0: Only the version is returned, it is no longer wrapped in a tuple.</description>
- </item>
-
- <item>
- <title>cowboy_req:version(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.version/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9788,32 +7291,6 @@ Changelog 2.0: Only the version is returned, it is no longer wrapped in a tuple.
<item>
<title>cowboy_rest(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_rest/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_rest/</guid>
- <description>Name cowboy_rest - REST handlers
-Description The module cowboy_rest implements the HTTP state machine.
-Implementing REST handlers is not enough to provide a REST interface; this interface must also follow the REST constraints including HATEOAS (hypermedia as the engine of application state).
-Callbacks REST handlers implement the following interface:
-init(Req, State) -&amp;gt; {cowboy_rest, Req, State} Callback(Req, State) -&amp;gt; {Result, Req, State} | {stop, Req, State} terminate(Reason, Req, State) -&amp;gt; ok %% optional Req :: cowboy_req:req() State :: any() Reason :: normal | {crash, error | exit | throw, any()} Callback - see below Result - see below Default - see below The init/2 callback is common to all handlers.</description>
- </item>
-
- <item>
- <title>cowboy_rest(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_rest/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_rest/</guid>
- <description>Name cowboy_rest - REST handlers
-Description The module cowboy_rest implements the HTTP state machine.
-Implementing REST handlers is not enough to provide a REST interface; this interface must also follow the REST constraints including HATEOAS (hypermedia as the engine of application state).
-Callbacks REST handlers implement the following interface:
-init(Req, State) -&amp;gt; {cowboy_rest, Req, State} Callback(Req, State) -&amp;gt; {Result, Req, State} | {stop, Req, State} | {{switch_handler, Module}, Req, State} | {{switch_handler, Module, Opts}, Req, State} terminate(Reason, Req, State) -&amp;gt; ok %% optional Req :: cowboy_req:req() State :: any() Module :: module() Opts :: any() Reason :: normal | {crash, error | exit | throw, any()} Callback - see below Result - see below Default - see below The init/2 callback is common to all handlers.</description>
- </item>
-
- <item>
- <title>cowboy_rest(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_rest/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9879,32 +7356,6 @@ init(Req, State) -&amp;gt; {cowboy_rest, Req, State} Callback(Req, State) -&amp;
<item>
<title>cowboy_router(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_router/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_router/</guid>
- <description>Name cowboy_router - Router middleware
-Description The cowboy_router middleware maps the requested host and path to the handler to be used for processing the request.
-The router takes the dispatch rules as input from the middleware environment. Dispatch rules are generated by calling the cowboy_router:compile(3) function.
-When a route matches, the router sets the handler and handler_opts middleware environment values containing the handler module and initial state, respectively.
-The router will stop execution when no route matches.</description>
- </item>
-
- <item>
- <title>cowboy_router(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_router/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_router/</guid>
- <description>Name cowboy_router - Router middleware
-Description The cowboy_router middleware maps the requested host and path to the handler to be used for processing the request.
-The router takes the dispatch rules as input from the middleware environment. Dispatch rules are generated by calling the cowboy_router:compile(3) function.
-When a route matches, the router sets the handler and handler_opts middleware environment values containing the handler module and initial state, respectively.
-The router will stop execution when no route matches.</description>
- </item>
-
- <item>
- <title>cowboy_router(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_router/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -9970,34 +7421,6 @@ The router will stop execution when no route matches.</description>
<item>
<title>cowboy_router:compile(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_router.compile/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_router.compile/</guid>
- <description>Name cowboy_router:compile - Compile routes to the resources
-Description compile(cowboy_router:routes()) -&amp;gt; cowboy_router:dispatch_rules() Compile routes to the resources.
-Takes a human readable list of routes and transforms it into a form more efficient to process.
-Arguments Routes Human readable list of routes.
- Return value An opaque dispatch rules value is returned. This value must be given to Cowboy as a middleware environment value.
-Changelog 1.0: Function introduced. Examples Compile routes and start a listener Dispatch = cowboy_router:compile([ {&#39;_&#39;, [ {&#34;</description>
- </item>
-
- <item>
- <title>cowboy_router:compile(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_router.compile/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_router.compile/</guid>
- <description>Name cowboy_router:compile - Compile routes to the resources
-Description compile(cowboy_router:routes()) -&amp;gt; cowboy_router:dispatch_rules() Compile routes to the resources.
-Takes a human readable list of routes and transforms it into a form more efficient to process.
-Arguments Routes Human readable list of routes.
- Return value An opaque dispatch rules value is returned. This value must be given to Cowboy as a middleware environment value.
-Changelog 1.0: Function introduced. Examples Compile routes and start a listener Dispatch = cowboy_router:compile([ {&#39;_&#39;, [ {&#34;</description>
- </item>
-
- <item>
- <title>cowboy_router:compile(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_router.compile/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -10068,30 +7491,6 @@ Changelog 1.0: Function introduced. Examples Compile routes and start a listen
<item>
<title>cowboy_static(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_static/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_static/</guid>
- <description>Name cowboy_static - Static file handler
-Description The module cowboy_static implements file serving capabilities using the REST semantics provided by cowboy_rest.
-The static file handler is a pre-written handler coming with Cowboy. To serve files, use it in your routes.
-Options opts() :: {priv_file, App, Path} | {priv_file, App, Path, Extra} | {file, Path} | {file, Path, Extra} | {priv_dir, App, Path} | {priv_dir, App, Path, Extra} | {dir, Path} | {dir, Path, Extra} App :: atom() Path :: binary() | string() Extra :: [Etag | Mimetypes] Etag :: {etag, module(), function()} | {etag, false} Mimetypes :: {mimetypes, module(), function()} | {mimetypes, binary() | ParsedMime} ParsedMime :: {Type :: binary(), SubType :: binary(), Params} Params :: [{Key :: binary(), Value :: binary()}] Static handler configuration.</description>
- </item>
-
- <item>
- <title>cowboy_static(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_static/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_static/</guid>
- <description>Name cowboy_static - Static file handler
-Description The module cowboy_static implements file serving capabilities using the REST semantics provided by cowboy_rest.
-The static file handler is a pre-written handler coming with Cowboy. To serve files, use it in your routes.
-Options opts() :: {priv_file, App, Path} | {priv_file, App, Path, Extra} | {file, Path} | {file, Path, Extra} | {priv_dir, App, Path} | {priv_dir, App, Path, Extra} | {dir, Path} | {dir, Path, Extra} App :: atom() Path :: binary() | string() Extra :: [Etag | Mimetypes] Etag :: {etag, module(), function()} | {etag, false} Mimetypes :: {mimetypes, module(), function()} | {mimetypes, binary() | ParsedMime} ParsedMime :: {Type :: binary(), SubType :: binary(), Params} Params :: [{Key :: binary(), Value :: binary()}] Static handler configuration.</description>
- </item>
-
- <item>
- <title>cowboy_static(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_static/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -10152,32 +7551,6 @@ Options opts() :: {priv_file, App, Path} | {priv_file, App, Path, Extra} | {file
<item>
<title>cowboy_stream(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_stream/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_stream/</guid>
- <description>Name cowboy_handler - Stream handlers
-Description The module cowboy_stream defines a callback interface and a protocol for handling HTTP streams.
-An HTTP request and its associated response is called a stream. A connection may have many streams. In HTTP/1.1 they are executed sequentially, while in HTTP/2 they are executed concurrently.
-Cowboy calls the stream handler for nearly all events related to a stream. Exceptions vary depending on the protocol.
-Extra care must be taken when implementing stream handlers to ensure compatibility.</description>
- </item>
-
- <item>
- <title>cowboy_stream(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_stream/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_stream/</guid>
- <description>Name cowboy_handler - Stream handlers
-Description The module cowboy_stream defines a callback interface and a protocol for handling HTTP streams.
-An HTTP request and its associated response is called a stream. A connection may have many streams. In HTTP/1.1 they are executed sequentially, while in HTTP/2 they are executed concurrently.
-Cowboy calls the stream handler for nearly all events related to a stream. Exceptions vary depending on the protocol.
-Extra care must be taken when implementing stream handlers to ensure compatibility.</description>
- </item>
-
- <item>
- <title>cowboy_stream(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_stream/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -10255,30 +7628,6 @@ The default value is given next to the option name:</description>
<item>
<title>cowboy_websocket(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_websocket/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_websocket/</guid>
- <description>Name cowboy_websocket - Websocket
-Description The module cowboy_websocket implements Websocket as a Ranch protocol. It also defines a callback interface for handling Websocket connections.
-Callbacks Websocket handlers must implement the following callback interface:
-init(Req, State) -&amp;gt; {cowboy_websocket, Req, State} | {cowboy_websocket, Req, State, Opts} websocket_init(State) -&amp;gt; CallResult %% optional websocket_handle(InFrame, State) -&amp;gt; CallResult websocket_info(Info, State) -&amp;gt; CallResult terminate(Reason, PartialReq, State) -&amp;gt; ok %% optional Req :: cowboy_req:req() PartialReq :: map() State :: any() Opts :: cowboy_websocket:opts() InFrame :: {text | binary | ping | pong, binary()} OutFrame :: cow_ws:frame() %% see types below Info :: any() CallResult :: {ok, State} | {ok, State, hibernate} | {reply, OutFrame | [OutFrame], State} | {reply, OutFrame | [OutFrame], State, hibernate} | {stop, State} Reason :: normal | stop | timeout | remote | {remote, cow_ws:close_code(), binary()} | {error, badencoding | badframe | closed | atom()} | {crash, error | exit | throw, any()} The init/2 callback is common to all handlers.</description>
- </item>
-
- <item>
- <title>cowboy_websocket(3)</title>
- <link>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_websocket/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_websocket/</guid>
- <description>Name cowboy_websocket - Websocket
-Description The module cowboy_websocket implements Websocket as a Ranch protocol. It also defines a callback interface for handling Websocket connections.
-Callbacks Websocket handlers must implement the following callback interface:
-init(Req, State) -&amp;gt; {cowboy_websocket, Req, State} | {cowboy_websocket, Req, State, Opts} websocket_init(State) -&amp;gt; CallResult %% optional websocket_handle(InFrame, State) -&amp;gt; CallResult websocket_info(Info, State) -&amp;gt; CallResult terminate(Reason, PartialReq, State) -&amp;gt; ok %% optional Req :: cowboy_req:req() PartialReq :: map() State :: any() Opts :: cowboy_websocket:opts() InFrame :: {text | binary | ping | pong, binary()} OutFrame :: cow_ws:frame() %% see types below Info :: any() CallResult :: {ok, State} | {ok, State, hibernate} | {reply, OutFrame | [OutFrame], State} | {reply, OutFrame | [OutFrame], State, hibernate} | {stop, State} Reason :: normal | stop | timeout | remote | {remote, cow_ws:close_code(), binary()} | {error, badencoding | badframe | closed | atom()} | {crash, error | exit | throw, any()} The init/2 callback is common to all handlers.</description>
- </item>
-
- <item>
- <title>cowboy_websocket(3)</title>
<link>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_websocket/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -11922,32 +9271,6 @@ Elements ConnPid The pid of the Gun connection process.</description>
<item>
<title>ranch(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch/</guid>
- <description>Name ranch - socket acceptor pool
-Description The ranch module provides functions for starting and manipulating Ranch listeners.
-Types max_conns() = non_neg_integer() | infinity Maximum number of connections allowed on this listener.
-This is a soft limit. The actual number of connections might be slightly above the limit due to concurrency when accepting new connections. Some connections may also be removed from this count explicitly by the user code.
-opt() opt() = {ack_timeout, timeout()} | {connection_type, worker | supervisor} | {max_connections, max_conns()} | {shutdown, timeout() | brutal_kill} | {socket, any()} Ranch-specific transport options.</description>
- </item>
-
- <item>
- <title>ranch(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch/</guid>
- <description>Name ranch - socket acceptor pool
-Description The ranch module provides functions for starting and manipulating Ranch listeners.
-Types max_conns() = non_neg_integer() | infinity Maximum number of connections allowed on this listener.
-This is a soft limit. The actual number of connections might be slightly above the limit due to concurrency when accepting new connections. Some connections may also be removed from this count explicitly by the user code.
-opt() opt() = {ack_timeout, timeout()} | {connection_type, worker | supervisor} | {max_connections, max_conns()} | {shutdown, timeout() | brutal_kill} | {socket, any()} Ranch-specific transport options.</description>
- </item>
-
- <item>
- <title>ranch(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.4/manual/ranch/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12001,30 +9324,17 @@ ranch:accept_ack(3) - Deprecated in favor of ranch:handshake(3) ranch:handshake
</item>
<item>
- <title>ranch(7)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_app/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_app/</guid>
- <description>Name ranch - Socket acceptor pool for TCP protocols.
-Dependencies The ranch application has no particular dependency required to start.
-It has optional dependencies that are only required when listening for SSL connections. The dependencies are crypto, asn1, public_key and ssl. They are started automatically if they weren&amp;apos;t before.
-Environment The ranch application defines one application environment configuration parameter.
-profile (false) When enabled, Ranch will start eprof profiling automatically.
- You can use the ranch_app:profile_output/0 function to stop profiling and output the results to the files procs.</description>
- </item>
-
- <item>
- <title>ranch(7)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_app/</link>
+ <title>ranch(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_app/</guid>
- <description>Name ranch - Socket acceptor pool for TCP protocols.
-Dependencies The ranch application depends on the ssl application to start. It is used for handling secure connections, when the transport is ranch_ssl. It can be disabled if SSL is not used.
-Environment The ranch application defines one application environment configuration parameter.
-profile (false) When enabled, Ranch will start eprof profiling automatically.
- You can use the ranch_app:profile_output/0 function to stop profiling and output the results to the files procs.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch/</guid>
+ <description>Name ranch - Socket acceptor pool
+Description The module ranch provides functions for starting and manipulating Ranch listeners.
+Exports Start/stop:
+ranch:start_listener(3) - Start a listener ranch:stop_listener(3) - Stop a listener ranch:child_spec(3) - Build child specifications for a new listener Suspend/resume:
+ranch:suspend_listener(3) - Suspend a running listener ranch:resume_listener(3) - Resume a suspended listener ranch:get_status(3) - Get a listener&amp;apos;s running state Connections:
+ranch:handshake(3) - Perform the transport handshake ranch:recv_proxy_header(3) - Receive the PROXY protocol header ranch:remove_connection(3) - Remove connection from the count Options:</description>
</item>
<item>
@@ -12082,6 +9392,20 @@ ranch_ssl(3) - SSL transport ranch_tcp(3) - TCP transport Behaviors:</descrip
</item>
<item>
+ <title>ranch(7)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_app/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_app/</guid>
+ <description>Name ranch - Socket acceptor pool for TCP protocols
+Description Ranch is a socket acceptor pool for TCP protocols.
+Ranch manages listeners which are a set of processes that accept and manage connections. The connection&amp;apos;s transport and protocol modules are configured per listener. Listeners can be inspected and reconfigured without interruptions in service.
+Modules Functions:
+ranch(3) - Socket acceptor pool ranch_proxy_header(3) - PROXY protocol Transports:
+ranch_ssl(3) - SSL transport ranch_tcp(3) - TCP transport Behaviors:</description>
+ </item>
+
+ <item>
<title>ranch:child_spec(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.child_spec/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12106,6 +9430,18 @@ Arguments Ref The listener name is used to refer to this listener in future call
</item>
<item>
+ <title>ranch:child_spec(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.child_spec/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.child_spec/</guid>
+ <description>Name ranch:child_spec - Build child specifications for a new listener
+Description child_spec(Ref :: ranch_ref(), Transport :: module(), TransOpts :: ranch:opts(), Protocol :: module(), ProtoOpts :: any()) -&amp;gt; supervisor:child_spec() Build child specifications for a new listener which can be embedded directly in an application&amp;apos;s supervision tree.
+The actual listener is placed under a supervisor which monitors ranch_server via a proxy process and will restart the listener if ranch_server crashes.
+Arguments Ref The listener name is used to refer to this listener in future calls, for example when updating the configuration.</description>
+ </item>
+
+ <item>
<title>ranch:get_addr(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_addr/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12134,6 +9470,18 @@ Examples Get the listening port and IP {IP, Port} = ranch:get_addr(example).</de
</item>
<item>
+ <title>ranch:get_addr(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_addr/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_addr/</guid>
+ <description>Name ranch:get_addr - Get the listening address
+Description get_addr(Ref :: ranch:ref()) -&amp;gt; {IP :: inet:ip_address(), Port :: inet:port_number()} | {local, SocketFile :: binary()} | {undefined, undefined} Get the listening address.
+Arguments Ref The listener name.
+ Return value The address of the listener is returned as a tuple of the form {IP, Port} when listening on a network interface, or {local, SocketFile} when listening on a UNIX Domain socket.</description>
+ </item>
+
+ <item>
<title>ranch:get_max_connections(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_max_connections/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12160,6 +9508,19 @@ Examples Get the max number of connections MaxConns = ranch:get_max_connections(
</item>
<item>
+ <title>ranch:get_max_connections(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_max_connections/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_max_connections/</guid>
+ <description>Name ranch:get_max_connections - Get the max number of connections per connection supervisor
+Description get_max_connections(Ref :: ranch:ref()) -&amp;gt; MaxConns :: ranch:max_conns() Get the max number of connections per connection supervisor.
+Arguments Ref The listener name.
+ Return value The maximum number of connections per connection supervisor is returned.
+Changelog 2.0: The maximum number of connections is now per connection supervisor. Examples Get the max number of connections per connection supervisor MaxConns = ranch:get_max_connections(example).</description>
+ </item>
+
+ <item>
<title>ranch:get_port(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_port/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12188,6 +9549,20 @@ Examples Get the listening port Port = ranch:get_port(example). See also ranch:
</item>
<item>
+ <title>ranch:get_port(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_port/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_port/</guid>
+ <description>Name ranch:get_port - Get the listening port
+Description get_port(Ref :: ranch:ref()) -&amp;gt; Port :: inet:port_number() | undefined Get the listening port.
+This function is particularly useful to retrieve the listening port number when it was not provided in the options and was chosen randomly instead.
+Arguments Ref The listener name.
+ Return value The listening port is returned.
+When the listener is suspended or using a UNIX Domain socket instead of a network interface, undefined will be returned.</description>
+ </item>
+
+ <item>
<title>ranch:get_protocol_options(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_protocol_options/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12214,6 +9589,19 @@ Examples Get the current protocol options ProtoOpts = ranch:get_protocol_options
</item>
<item>
+ <title>ranch:get_protocol_options(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_protocol_options/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_protocol_options/</guid>
+ <description>Name ranch:get_protocol_options - Get the current protocol options
+Description get_protocol_options(Ref :: ranch:ref()) -&amp;gt; ProtoOpts :: any() Get the current protocol options.
+Arguments Ref The listener name.
+ Return value The current protocol options are returned.
+Examples Get the current protocol options ProtoOpts = ranch:get_protocol_options(example). See also ranch:get_max_connections(3), ranch:get_transport_options(3), ranch:set_protocol_options(3), ranch(3)</description>
+ </item>
+
+ <item>
<title>ranch:get_status(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_status/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12240,6 +9628,19 @@ Changelog 1.6: Function introduced. Examples Get a listener&amp;apos;s running
</item>
<item>
+ <title>ranch:get_status(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_status/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_status/</guid>
+ <description>Name ranch:get_status - Get a listener&amp;apos;s running state
+Description get_status(Ref :: ranch_ref()) -&amp;gt; running | suspended Get a listener&amp;apos;s running state.
+Arguments Ref The listener name.
+ Return value An atom is returned indicating the running status of the listener.
+Changelog 1.6: Function introduced. Examples Get a listener&amp;apos;s running state ranch:get_status(example). See also ranch:start_listener(3), ranch:stop_listener(3), ranch:suspend_listener(3), ranch:resume_listener(3), ranch:set_transport_options(3), ranch:wait_for_connections(3), ranch(3)</description>
+ </item>
+
+ <item>
<title>ranch:get_transport_options(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_transport_options/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12266,6 +9667,19 @@ Examples Get the current transport options TransOpts = ranch:get_transport_optio
</item>
<item>
+ <title>ranch:get_transport_options(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_transport_options/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_transport_options/</guid>
+ <description>Name ranch:get_transport_options - Get the current transport options
+Description get_transport_options(Ref :: ranch:ref()) -&amp;gt; TransOpts :: any() Get the current transport options.
+Arguments Ref The listener name.
+ Return value The current transport options are returned.
+Examples Get the current transport options TransOpts = ranch:get_transport_options(example). See also ranch:get_max_connections(3), ranch:get_protocol_options(3), ranch:set_transport_options(3), ranch(3)</description>
+ </item>
+
+ <item>
<title>ranch:handshake(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.handshake/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12288,6 +9702,17 @@ This function must be called by the protocol process in order to retrieve the so
</item>
<item>
+ <title>ranch:handshake(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.handshake/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.handshake/</guid>
+ <description>Name ranch:handshake - Perform the transport handshake
+Description handshake(Ref) -&amp;gt; handshake(Ref, []) handshake(Ref, Opts) -&amp;gt; {ok, Socket} Ref :: ranch:ref() Opts :: any() Socket :: any() Perform the transport handshake.
+This function must be called by the protocol process in order to retrieve the socket for the connection. Ranch performs the handshake necessary to give control of the socket to this process and also does the transport handshake, for example setting up the TLS connection.</description>
+ </item>
+
+ <item>
<title>ranch:info(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.info/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12318,6 +9743,21 @@ pid Pid of the listener&amp;apos;s top-level supervisor.
</item>
<item>
+ <title>ranch:info(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.info/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.info/</guid>
+ <description>Name ranch:info - Overview of Ranch listeners
+Description info() -&amp;gt; #{Ref := Info} info(Ref) -&amp;gt; Info Info :: #{Key :: atom() := Value :: any()} Overview of Ranch listeners.
+Arguments Ref The listener name.
+ Return value Returns detailed information about one or all Ranch listeners. The following keys are returned:
+pid Pid of the listener&amp;apos;s top-level supervisor.
+ status Listener status, either running or suspended.
+ ip Interface Ranch listens on.</description>
+ </item>
+
+ <item>
<title>ranch:procs(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.procs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12346,6 +9786,20 @@ Examples Get the pids of the acceptor processes Pids = ranch:procs(acceptors).
</item>
<item>
+ <title>ranch:procs(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.procs/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.procs/</guid>
+ <description>Name ranch:procs - Retrieve pids from a listener
+Description procs(Ref :: ranch:ref(), Type :: acceptors | connections) -&amp;gt; Pids :: [pid()] Retrieve pids from a listener.
+Arguments Ref The listener name.
+ Type The type of process that will be returned.
+ Return value A list of pids is returned.
+Examples Get the pids of the acceptor processes Pids = ranch:procs(acceptors). Get the pids of the connection processes Pids = ranch:procs(connections).</description>
+ </item>
+
+ <item>
<title>ranch:recv_proxy_header(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.7/manual/ranch.recv_proxy_header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12360,6 +9814,20 @@ Arguments Ref The listener name.
</item>
<item>
+ <title>ranch:recv_proxy_header(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.recv_proxy_header/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.recv_proxy_header/</guid>
+ <description>Name ranch:recv_proxy_header - Receive the PROXY protocol header
+Description recv_proxy_header(ranch:ref(), timeout()) -&amp;gt; {ok, ranch_proxy_header:proxy_info()} | {error, Reason :: atom()} | {error, protocol_error, HumanReadable :: atom()} Receive the PROXY protocol header.
+This function must be called before ranch:handshake/1,2 on newly accepted connections to read and parse the PROXY protocol header, if any.
+Arguments Ref The listener name.
+ Timeout Receive timeout in milliseconds.
+ Return value An ok tuple is returned containing PROXY header information on success.</description>
+ </item>
+
+ <item>
<title>ranch:remove_connection(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.remove_connection/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12384,6 +9852,18 @@ This function may only be called from a connection process.</description>
</item>
<item>
+ <title>ranch:remove_connection(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.remove_connection/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.remove_connection/</guid>
+ <description>Name ranch:remove_connection - Remove connection from the count
+Description remove_connection(Ref :: ranch:ref()) -&amp;gt; ok Remove connection from the count.
+This connection will no longer be included in the count when limiting the number of connections. This can be useful in a mixed environment where some connections are active and others are passive. Passive connections spend most of their time idling and are not consuming much resources.
+This function may only be called from a connection process.</description>
+ </item>
+
+ <item>
<title>ranch:resume_listener(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.resume_listener/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12412,6 +9892,20 @@ Arguments Ref The listener name.
</item>
<item>
+ <title>ranch:resume_listener(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.resume_listener/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.resume_listener/</guid>
+ <description>Name ranch:resume_listener - Resume a suspended listener
+Description resume_listener(Ref :: ranch_ref()) -&amp;gt; ok | {error, any()} Resume a suspended listener.
+Ranch will start listening for and accepting connections again. The function ranch:set_transport_options(3) can be used to change the transport options before resuming the listener.
+Nothing is done when the listener is already running.
+Arguments Ref The listener name.
+ Return value The atom ok is returned on success.</description>
+ </item>
+
+ <item>
<title>ranch:set_max_connections(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.set_max_connections/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12436,6 +9930,17 @@ Arguments Ref The listener name.</description>
</item>
<item>
+ <title>ranch:set_max_connections(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.set_max_connections/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.set_max_connections/</guid>
+ <description>Name ranch:set_max_connections - Set the max number of connections per connection supervisor
+Description set_max_connections(Ref :: ranch:ref(), MaxConns :: ranch:max_conns()) -&amp;gt; ok Set the max number of connections per connection supervisor.
+The change will be applied immediately. If the new value is smaller than the previous one, Ranch will wait for the extra connections to terminate and will not accept new connections until the number of connections goes below the limit.</description>
+ </item>
+
+ <item>
<title>ranch:set_protocol_options(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.set_protocol_options/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12466,6 +9971,21 @@ Examples Set the protocol options ranch:set_protocol_options(example, ProtoOpts)
</item>
<item>
+ <title>ranch:set_protocol_options(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.set_protocol_options/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.set_protocol_options/</guid>
+ <description>Name ranch:set_protocol_options - Set the protocol options
+Description set_protocol_options(Ref :: ranch:ref(), ProtoOpts :: any()) -&amp;gt; ok Set the protocol options.
+The change will be applied immediately for all new connections. Old connections will not receive the new options.
+Arguments Ref The listener name.
+ ProtoOpts The new protocol options.
+ Return value The atom ok is always returned. It can be safely ignored.
+Examples Set the protocol options ranch:set_protocol_options(example, ProtoOpts).</description>
+ </item>
+
+ <item>
<title>ranch:set_transport_options(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.set_transport_options/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12496,6 +10016,18 @@ Arguments Ref The listener name.
</item>
<item>
+ <title>ranch:set_transport_options(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.set_transport_options/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.set_transport_options/</guid>
+ <description>Name ranch:set_transport_options - Set the transport options
+Description set_transport_options(Ref :: ranch:ref(), TransOpts :: ranch:opts()) -&amp;gt; ok | {error, Reason :: term()} Set the transport options.
+Changes to the following options will take effect...
+immediately: max_connections handshake_timeout shutdown only after the listener has been suspended and resumed: num_acceptors num_listen_sockets socket_opts only when the entire listener is restarted: connection_type num_conns_sups logger Arguments Ref The listener name.</description>
+ </item>
+
+ <item>
<title>ranch:start_listener(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.start_listener/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12520,6 +10052,18 @@ Arguments Ref The listener name is used to refer to this listener in future call
</item>
<item>
+ <title>ranch:start_listener(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.start_listener/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.start_listener/</guid>
+ <description>Name ranch:start_listener - Start a listener
+Description start_listener(Ref :: ranch_ref(), Transport :: module(), TransOpts :: ranch:opts(), Protocol :: module(), ProtoOpts :: any()) -&amp;gt; {ok, ListenerPid :: pid()} | {error, any()} Start a listener.
+A listener is a set of processes that accepts and manages connections using the given transport and protocol modules.
+Arguments Ref The listener name is used to refer to this listener in future calls, for example when stopping it or when updating the configuration.</description>
+ </item>
+
+ <item>
<title>ranch:stop_listener(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.stop_listener/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12544,6 +10088,18 @@ In order for the connection processes to exit gracefully, they need to trap exit
</item>
<item>
+ <title>ranch:stop_listener(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.stop_listener/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.stop_listener/</guid>
+ <description>Name ranch:stop_listener - Stop a listener
+Description stop_listener(Ref :: ranch_ref()) -&amp;gt; ok | {error, not_found} Stop a listener.
+The listener is stopped gracefully, first by closing the listening port, then by stopping the connection processes. These processes are stopped according to the shutdown transport option, which may be set to brutally kill all connection processes or give them some time to stop properly.
+In order for the connection processes to exit gracefully, they need to trap exit signals and stop before the configured shutdown timeout.</description>
+ </item>
+
+ <item>
<title>ranch:suspend_listener(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.suspend_listener/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12568,6 +10124,18 @@ Some transport options can only be changed when the listener is suspended. Pleas
</item>
<item>
+ <title>ranch:suspend_listener(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.suspend_listener/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.suspend_listener/</guid>
+ <description>Name ranch:suspend_listener - Suspend a running listener
+Description suspend_listener(Ref :: ranch_ref()) -&amp;gt; ok | {error, any()} Suspend a running listener.
+Ranch will stop listening for and accepting connections and the listening socket will be closed. Existing connections will continue undisturbed. The function ranch:wait_for_connections(3) can be used to wait for connections to be closed if necessary.
+Some transport options can only be changed when the listener is suspended. Please consult the ranch:set_transport_options(3) manual for more information.</description>
+ </item>
+
+ <item>
<title>ranch:wait_for_connections(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.wait_for_connections/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12592,35 +10160,15 @@ This function can be used to gracefully shutdown a listener by first suspending
</item>
<item>
- <title>ranch_protocol(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_protocol/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_protocol/</guid>
- <description>Name ranch_protocol - behaviour for protocol modules
-Description The ranch_protocol behaviour defines the interface used by Ranch protocols.
-Types None.
-Callbacks start_link(Ref, Socket, Transport, ProtoOpts) -&amp;gt; {ok, pid()} | {ok, pid(), pid()} Ref = ranch:ref() Listener name.
- Socket = any() Socket for this connection.
- Transport = module() Transport module for this socket.
- ProtoOpts = any() Protocol options.
- Start a new connection process for the given socket.</description>
- </item>
-
- <item>
- <title>ranch_protocol(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_protocol/</link>
+ <title>ranch:wait_for_connections(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.wait_for_connections/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_protocol/</guid>
- <description>Name ranch_protocol - behaviour for protocol modules
-Description The ranch_protocol behaviour defines the interface used by Ranch protocols.
-Types None.
-Callbacks start_link(Ref, Socket, Transport, ProtoOpts) -&amp;gt; {ok, pid()} | {ok, pid(), pid()} Ref = ranch:ref() Listener name.
- Socket = any() Socket for this connection.
- Transport = module() Transport module for this socket.
- ProtoOpts = any() Protocol options.
- Start a new connection process for the given socket.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.wait_for_connections/</guid>
+ <description>Name ranch:wait_for_connections - Wait for a specific number of connections
+Description wait_for_connections(Ref :: ranch:ref(), Operator, NumConns :: non_neg_integer()) -&amp;gt; ok Operator :: &#39;&amp;gt;&#39; | &#39;&amp;gt;=&#39; | &#39;==&#39; | &#39;=&amp;lt;&#39; | &#39;&amp;lt;&#39; Wait for a specific number of connections.
+This function waits until the number of connections on the given listener becomes higher than, equal to or lower than the given number. It never returns otherwise.
+This function can be used to gracefully shutdown a listener by first suspending the listener and then waiting for connections to terminate before finally stopping the listener.</description>
</item>
<item>
@@ -12682,6 +10230,19 @@ The only purpose of this callback is to start a process that will handle the soc
</item>
<item>
+ <title>ranch_protocol(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_protocol/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_protocol/</guid>
+ <description>Name ranch_protocol - Protocol modules
+Description The module ranch_protocol defines the interface used by Ranch protocols.
+Callbacks Ranch protocols implement the following interface:
+start_link(Ref :: ranch:ref(), Transport :: module(), ProtoOpts :: any()) -&amp;gt; {ok, ConnPid :: pid()} | {ok, SupPid :: pid(), ConnPid :: pid()} Start a new connection process.
+The only purpose of this callback is to start a process that will handle the socket. It must spawn the process, link and then return the new pid.</description>
+ </item>
+
+ <item>
<title>ranch_proxy_header(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.7/manual/ranch_proxy_header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12693,6 +10254,17 @@ Exports ranch_proxy_header:parse(3) - Parse a PROXY protocol header ranch_proxy
</item>
<item>
+ <title>ranch_proxy_header(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_proxy_header/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_proxy_header/</guid>
+ <description>Name ranch_proxy_header - PROXY protocol
+Description The module ranch_proxy_header provides functions for parsing and building the PROXY protocol header.
+Exports ranch_proxy_header:parse(3) - Parse a PROXY protocol header ranch_proxy_header:header(3) - Build a PROXY protocol header Types proxy_info() proxy_info() = #{ %% Mandatory part. version := 1 | 2, command := local | proxy, transport_family =&amp;gt; undefined | ipv4 | ipv6 | unix, transport_protocol =&amp;gt; undefined | stream | dgram, %% Addresses.</description>
+ </item>
+
+ <item>
<title>ranch_proxy_header:header(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.7/manual/ranch_proxy_header.header/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12706,6 +10278,19 @@ Arguments ProxyInfo The proxy information to encode.
</item>
<item>
+ <title>ranch_proxy_header:header(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_proxy_header.header/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_proxy_header.header/</guid>
+ <description>Name ranch_proxy_header:header - Build a PROXY protocol header
+Description header(ProxyInfo) -&amp;gt; header(ProxyInfo, #{}) header(ProxyInfo, BuildOpts) -&amp;gt; iodata() ProxyInfo :: ranch_proxy_header:proxy_info() BuildOpts :: #{ checksum =&amp;gt; crc32c, padding =&amp;gt; pos_integer() %% &amp;gt;= 3 } Build a PROXY protocol header.
+Arguments ProxyInfo The proxy information to encode.
+ BuildOpts Options to control whether to add a checksum or padding should be included in the encoded PROXY protocol header.
+ Return value The PROXY protocol header is returned.</description>
+ </item>
+
+ <item>
<title>ranch_proxy_header:parse(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.7/manual/ranch_proxy_header.parse/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12719,25 +10304,16 @@ An error tuple is returned when a protocol error is detected.</description>
</item>
<item>
- <title>ranch_ssl(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_ssl/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_ssl/</guid>
- <description>Name ranch_ssl - SSL transport module
-Description The ranch_ssl module implements an SSL Ranch transport.
-Types ssl_opt() ssl_opt() = {alpn_preferred_protocols, [binary()]} | {cacertfile, string()} | {cacerts, [public_key:der_encoded()]} | {cert, public_key:der_encoded()} | {certfile, string()} | {ciphers, [ssl:erl_cipher_suite()] | string()} | {client_renegotiation, boolean()} | {crl_cache, {module(), {internal | any(), list()}}} | {crl_check, boolean() | peer | best_effort} | {depth, 0..255} | {dh, public_key:der_encoded()} | {dhfile, string()} | {fail_if_no_peer_cert, boolean()} | {hibernate_after, integer() | undefined} | {honor_cipher_order, boolean()} | {key, {&#39;RSAPrivateKey&#39; | &#39;DSAPrivateKey&#39; | &#39;PrivateKeyInfo&#39;, public_key:der_encoded()}} | {keyfile, string()} | {log_alert, boolean()} | {next_protocols_advertised, [binary()]} | {partial_chain, fun(([public_key:der_encoded()]) -&amp;gt; {trusted_ca, public_key:der_encoded()} | unknown_ca)} | {password, string()} | {psk_identity, string()} | {reuse_session, fun()} | {reuse_sessions, boolean()} | {secure_renegotiate, boolean()} | {sni_fun, fun()} | {sni_hosts, [{string(), ssl_opt()}]} | {user_lookup_fun, {fun(), any()}} | {verify, ssl:verify_type()} | {verify_fun, {fun(), any()}} | {versions, [atom()]}.</description>
- </item>
-
- <item>
- <title>ranch_ssl(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_ssl/</link>
+ <title>ranch_proxy_header:parse(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_proxy_header.parse/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_ssl/</guid>
- <description>Name ranch_ssl - SSL transport module
-Description The ranch_ssl module implements an SSL Ranch transport.
-Types ssl_opt() ssl_opt() = {alpn_preferred_protocols, [binary()]} | {beast_mitigation, one_n_minus_one | zero_n | disabled} | {cacertfile, string()} | {cacerts, [public_key:der_encoded()]} | {cert, public_key:der_encoded()} | {certfile, string()} | {ciphers, [ssl:erl_cipher_suite()] | string()} | {client_renegotiation, boolean()} | {crl_cache, {module(), {internal | any(), list()}}} | {crl_check, boolean() | peer | best_effort} | {depth, 0..255} | {dh, public_key:der_encoded()} | {dhfile, string()} | {fail_if_no_peer_cert, boolean()} | {hibernate_after, integer() | undefined} | {honor_cipher_order, boolean()} | {key, {&#39;RSAPrivateKey&#39; | &#39;DSAPrivateKey&#39; | &#39;PrivateKeyInfo&#39;, public_key:der_encoded()}} | {keyfile, string()} | {log_alert, boolean()} | {next_protocols_advertised, [binary()]} | {padding_check, boolean()} | {partial_chain, fun(([public_key:der_encoded()]) -&amp;gt; {trusted_ca, public_key:der_encoded()} | unknown_ca)} | {password, string()} | {psk_identity, string()} | {reuse_session, fun()} | {reuse_sessions, boolean()} | {secure_renegotiate, boolean()} | {signature_algs, [{atom(), atom()}]} | {sni_fun, fun()} | {sni_hosts, [{string(), ssl_opt()}]} | {user_lookup_fun, {fun(), any()}} | {v2_hello_compatible, boolean()} | {verify, ssl:verify_type()} | {verify_fun, {fun(), any()}} | {versions, [atom()]}.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_proxy_header.parse/</guid>
+ <description>Name ranch_proxy_header:parse - Parse a PROXY protocol header
+Description parse(Data :: binary()) -&amp;gt; {ok, ranch_proxy_header:proxy_info(), Rest :: binary()} | {error, HumanReadable :: atom()} Parse a PROXY protocol header.
+Arguments Data The PROXY protocol header optionally followed by more data.
+ Return value An ok tuple is returned on success, containing the proxy information found in the header and the rest of the data if more was provided.
+An error tuple is returned when a protocol error is detected.</description>
</item>
<item>
@@ -12793,27 +10369,18 @@ ssl_opt() ssl_opt() = {alpn_preferred_protocols, [binary()]} | {beast_mitigation
</item>
<item>
- <title>ranch_tcp(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_tcp/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_tcp/</guid>
- <description>Name ranch_tcp - TCP transport module
-Description The ranch_tcp module implements a TCP Ranch transport.
-Note that due to bugs in OTP up to at least R16B02, it is recommended to disable async threads when using the sendfile function of this transport, as it can make the threads stuck indefinitely.
-Types opt() opt() = {backlog, non_neg_integer()} | {buffer, non_neg_integer()} | {delay_send, boolean()} | {dontroute, boolean()} | {exit_on_close, boolean()} | {fd, non_neg_integer()} | {high_msgq_watermark, non_neg_integer()} | {high_watermark, non_neg_integer()} | inet | inet6 | {ip, inet:ip_address()} | {keepalive, boolean()} | {linger, {boolean(), non_neg_integer()}} | {low_msgq_watermark, non_neg_integer()} | {low_watermark, non_neg_integer()} | {nodelay, boolean()} | {port, inet:port_number()} | {priority, integer()} | {raw, non_neg_integer(), non_neg_integer(), binary()} | {recbuf, non_neg_integer()} | {send_timeout, timeout()} | {send_timeout_close, boolean()} | {sndbuf, non_neg_integer()} | {tos, integer()} Listen options.</description>
- </item>
-
- <item>
- <title>ranch_tcp(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_tcp/</link>
+ <title>ranch_ssl(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_ssl/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_tcp/</guid>
- <description>Name ranch_tcp - TCP transport module
-Description The ranch_tcp module implements a TCP Ranch transport.
-Note that due to bugs in OTP up to at least R16B02, it is recommended to disable async threads when using the sendfile function of this transport, as it can make the threads stuck indefinitely.
-Types opt() opt() = {backlog, non_neg_integer()} | {buffer, non_neg_integer()} | {delay_send, boolean()} | {dontroute, boolean()} | {exit_on_close, boolean()} | {fd, non_neg_integer()} | {high_msgq_watermark, non_neg_integer()} | {high_watermark, non_neg_integer()} | inet | inet6 | {ip, inet:ip_address()} | {ipv6_v6only, boolean()} | {keepalive, boolean()} | {linger, {boolean(), non_neg_integer()}} | {low_msgq_watermark, non_neg_integer()} | {low_watermark, non_neg_integer()} | {nodelay, boolean()} | {port, inet:port_number()} | {priority, integer()} | {raw, non_neg_integer(), non_neg_integer(), binary()} | {recbuf, non_neg_integer()} | {send_timeout, timeout()} | {send_timeout_close, boolean()} | {sndbuf, non_neg_integer()} | {tos, integer()} Listen options.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_ssl/</guid>
+ <description>Name ranch_ssl - SSL transport
+Description The module ranch_ssl implements an SSL Ranch transport.
+Exports The module ranch_ssl implements the interface defined by ranch_transport(3).
+Types opt() opt() :: ranch_tcp:opt() | ssl_opt() Listen options.
+The TCP options are defined in ranch_tcp(3).
+opts() opts() :: [opt()] List of listen options.
+ssl_opt() ssl_opt() = {alpn_preferred_protocols, [binary()]} | {beast_mitigation, one_n_minus_one | zero_n | disabled} | {cacertfile, file:filename()} | {cacerts, [public_key:der_encoded()]} | {cert, public_key:der_encoded()} | {certfile, file:filename()} | {ciphers, ssl:ciphers()} | {client_renegotiation, boolean()} | {crl_cache, [any()]} | {crl_check, boolean() | peer | best_effort} | {depth, integer()} | {dh, binary()} | {dhfile, file:filename()} | {eccs, [atom()]} | {fail_if_no_peer_cert, boolean()} | {hibernate_after, timeout()} | {honor_cipher_order, boolean()} | {honor_ecc_order, boolean()} | {key, ssl:key()} | {keyfile, file:filename()} | {log_alert, boolean()} | {log_level, logger:level()} | {max_handshake_size, integer()} | {next_protocols_advertised, [binary()]} | {padding_check, boolean()} | {partial_chain, fun()} | {password, string()} | {protocol, tls | dtls} | {psk_identity, string()} | {reuse_session, fun()} | {reuse_sessions, boolean()} | {secure_renegotiate, boolean()} | {signature_algs, [{ssl:hash(), ssl:sign_algo()}]} | {signature_algs_cert, [atom()]} | {sni_fun, fun()} | {sni_hosts, [{string(), ssl_opt()}]} | {user_lookup_fun, {fun(), any()}} | {verify, verify_none | verify_peer} | {verify_fun, {fun(), any()}} | {versions, [ssl:protocol_version()]} SSL-specific listen options.</description>
</item>
<item>
@@ -12867,33 +10434,16 @@ Types opt() opt() = {backlog, non_neg_integer()} | {buffer, non_neg_integer()} |
</item>
<item>
- <title>ranch_transport(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_transport/</link>
- <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
-
- <guid>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_transport/</guid>
- <description>Name ranch_transport - behaviour for transport modules
-Description The ranch_transport behaviour defines the interface used by Ranch transports.
-Types sendfile_opts() = [{chunk_size, non_neg_integer()}] Options used by the sendfile function and callbacks.
-Allows configuring the chunk size, in bytes. Defaults to 8191 bytes.
-Callbacks accept(LSocket, Timeout) -&amp;gt; {ok, CSocket} | {error, closed | timeout | atom()} LSocket = CSocket = any() Listening socket.
- Timeout = timeout() Accept timeout.
- Accept a connection on the given listening socket.</description>
- </item>
-
- <item>
- <title>ranch_transport(3)</title>
- <link>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_transport/</link>
+ <title>ranch_tcp(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_tcp/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
- <guid>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_transport/</guid>
- <description>Name ranch_transport - behaviour for transport modules
-Description The ranch_transport behaviour defines the interface used by Ranch transports.
-Types sendfile_opts() = [{chunk_size, non_neg_integer()}] Options used by the sendfile function and callbacks.
-Allows configuring the chunk size, in bytes. Defaults to 8191 bytes.
-Callbacks accept(LSocket, Timeout) -&amp;gt; {ok, CSocket} | {error, closed | timeout | atom()} LSocket = CSocket = any() Listening socket.
- Timeout = timeout() Accept timeout.
- Accept a connection on the given listening socket.</description>
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_tcp/</guid>
+ <description>Name ranch_tcp - TCP transport
+Description The module ranch_tcp implements a TCP Ranch transport.
+The function sendfile may not work correctly when used against files stored in a VirtualBox shared folder.
+Exports The module ranch_tcp implements the interface defined by ranch_transport(3).
+Types opt() opt() = {backlog, non_neg_integer()} | {buffer, non_neg_integer()} | {delay_send, boolean()} | {dontroute, boolean()} | {exit_on_close, boolean()} | {fd, non_neg_integer()} | {high_msgq_watermark, non_neg_integer()} | {high_watermark, non_neg_integer()} | inet | inet6 | {ip, inet:ip_address() | inet:local_address()} | {ipv6_v6only, boolean()} | {keepalive, boolean()} | {linger, {boolean(), non_neg_integer()}} | {low_msgq_watermark, non_neg_integer()} | {low_watermark, non_neg_integer()} | {nodelay, boolean()} | {port, inet:port_number()} | {priority, integer()} | {raw, non_neg_integer(), non_neg_integer(), binary()} | {recbuf, non_neg_integer()} | {send_timeout, timeout()} | {send_timeout_close, boolean()} | {sndbuf, non_neg_integer()} | {tos, integer()} Listen options.</description>
</item>
<item>
@@ -12953,6 +10503,19 @@ close close(Socket :: socket()) -&amp;gt; ok Close the socket.</description>
</item>
<item>
+ <title>ranch_transport(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_transport/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_transport/</guid>
+ <description>Name ranch_transport - Transport modules
+Description The module ranch_transport defines the interface used by Ranch transports.
+Callbacks Ranch transports implement the following interface:
+accept accept(LSocket :: socket(), Timeout :: timeout()) -&amp;gt; {ok, Socket :: socket()} | {error, closed | timeout | atom()} Use the listening socket returned by listen/1 to accept a new connection. The timeout is specified in milliseconds.
+close close(Socket :: socket()) -&amp;gt; ok Close the socket.</description>
+ </item>
+
+ <item>
<title>ranch_transport:sendfile(3)</title>
<link>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch_transport.sendfile/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@@ -12976,5 +10539,17 @@ The file may be sent full or in parts, and may be specified by its filename or b
This function emulates the function file:sendfile/2,4,5 and may be used when transports are not manipulating TCP directly.</description>
</item>
+ <item>
+ <title>ranch_transport:sendfile(3)</title>
+ <link>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_transport.sendfile/</link>
+ <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
+
+ <guid>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_transport.sendfile/</guid>
+ <description>Name ranch_transport:sendfile - Send a file on the socket
+Description sendfile(Transport :: module(), Socket :: ranch_transport:socket(), File :: file:name_all() | file:fd(), Offset :: non_neg_integer(), Bytes :: non_neg_integer(), Opts :: ranch_transport:sendfile_opts()) -&amp;gt; {ok, SentBytes :: non_neg_integer()} | {error, atom()} Send a file on the socket.
+The file may be sent full or in parts, and may be specified by its filename or by an already open file descriptor.
+This function emulates the function file:sendfile/2,4,5 and may be used when transports are not manipulating TCP directly.</description>
+ </item>
+
</channel>
</rss> \ No newline at end of file
diff --git a/services/index.html b/services/index.html
index d8c6d916..89937eed 100644
--- a/services/index.html
+++ b/services/index.html
@@ -640,178 +640,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
<h3 id="_like_my_work__donate">Like my work? Donate!</h3>
<p>Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline">
@@ -2055,238 +1883,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
</div>
</div>
</div>
diff --git a/sitemap.xml b/sitemap.xml
index ad76a35b..d48bd6ee 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -3,10 +3,6 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/installation/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/gun/1.0/guide/introduction/</loc>
</url>
@@ -23,14 +19,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.2/guide/introduction/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/ranch/1.3/guide/introduction/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/ranch/1.4/guide/introduction/</loc>
</url>
@@ -47,11 +35,7 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/modern_web/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/modern_web/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/guide/introduction/</loc>
</url>
<url>
@@ -75,14 +59,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/erlang_web/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/erlang_web/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/erlang_web/</loc>
</url>
@@ -103,18 +79,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/getting_started/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/ranch/1.2/guide/listeners/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/ranch/1.3/guide/listeners/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/ranch/1.4/guide/listeners/</loc>
</url>
@@ -131,6 +95,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/guide/listeners/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/gun/1.0/guide/start/</loc>
</url>
@@ -163,14 +131,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/introduction/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/introduction/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/introduction/</loc>
</url>
@@ -191,14 +151,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.2/guide/transports/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/ranch/1.3/guide/transports/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/ranch/1.4/guide/transports/</loc>
</url>
@@ -215,7 +167,7 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/overview/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/guide/transports/</loc>
</url>
<url>
@@ -235,14 +187,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.2/guide/protocols/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/ranch/1.3/guide/protocols/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/ranch/1.4/guide/protocols/</loc>
</url>
@@ -259,11 +203,7 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/getting_started/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/getting_started/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/guide/protocols/</loc>
</url>
<url>
@@ -287,10 +227,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/updating/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/gun/1.0/guide/http/</loc>
</url>
@@ -307,14 +243,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.2/guide/embedded/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/ranch/1.3/guide/embedded/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/ranch/1.4/guide/embedded/</loc>
</url>
@@ -331,15 +259,7 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/limitations/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/flow_diagram/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/flow_diagram/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/guide/embedded/</loc>
</url>
<url>
@@ -379,14 +299,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.2/guide/parsers/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/ranch/1.3/guide/parsers/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/ranch/1.4/guide/parsers/</loc>
</url>
@@ -403,7 +315,7 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/app/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/guide/parsers/</loc>
</url>
<url>
@@ -419,14 +331,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/listeners/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/listeners/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/listeners/</loc>
</url>
@@ -447,14 +351,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.2/guide/ssl_auth/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/ranch/1.3/guide/ssl_auth/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/ranch/1.4/guide/ssl_auth/</loc>
</url>
@@ -471,15 +367,7 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/deps/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/routing/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/routing/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/guide/ssl_auth/</loc>
</url>
<url>
@@ -503,15 +391,7 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/ports/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/ranch/1.2/guide/internals/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/ranch/1.3/guide/internals/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/guide/connection_draining/</loc>
</url>
<url>
@@ -539,14 +419,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/constraints/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/constraints/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/constraints/</loc>
</url>
@@ -567,10 +439,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/releases/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/guide/upcoming_2.0_changes/</loc>
</url>
@@ -579,19 +447,11 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/gun/1.3/guide/migrating_from_1.0/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/sfx/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/guide/internals/</loc>
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/handlers/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/handlers/</loc>
+ <loc>https://ninenines.eu/docs/en/gun/1.3/guide/migrating_from_1.0/</loc>
</url>
<url>
@@ -615,7 +475,7 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/escripts/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.7/</loc>
</url>
<url>
@@ -627,14 +487,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/loop_handlers/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/loop_handlers/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/loop_handlers/</loc>
</url>
@@ -655,18 +507,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/kerl/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/static_files/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/static_files/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/static_files/</loc>
</url>
@@ -687,7 +527,7 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/cross_compiling/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.6/</loc>
</url>
<url>
@@ -699,14 +539,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/req/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/req/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/req/</loc>
</url>
@@ -727,7 +559,7 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/compat/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.5/</loc>
</url>
<url>
@@ -739,14 +571,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/req_body/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/req_body/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/req_body/</loc>
</url>
@@ -767,18 +591,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/asciidoc/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/resp/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/resp/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/resp/</loc>
</url>
@@ -799,19 +611,11 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.7/guide/migrating_from_1.x/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/edoc/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/guide/migrating_from_1.x/</loc>
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/cookies/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/cookies/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/1.7/guide/migrating_from_1.x/</loc>
</url>
<url>
@@ -835,18 +639,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/sphinx/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/multipart/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/multipart/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/multipart/</loc>
</url>
@@ -867,18 +659,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/shell/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_principles/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_principles/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/rest_principles/</loc>
</url>
@@ -899,22 +679,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/eunit/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/common_test/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_handlers/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_handlers/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/rest_handlers/</loc>
</url>
@@ -935,18 +699,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/proper/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/rest_flowcharts/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/rest_flowcharts/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/rest_flowcharts/</loc>
</url>
@@ -967,22 +719,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/triq/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/coverage/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/resource_design/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/resource_design/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/resource_design/</loc>
</url>
@@ -1003,18 +739,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/ci/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/ws_protocol/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/ws_protocol/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/ws_protocol/</loc>
</url>
@@ -1035,22 +759,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/dialyzer/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/xref/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/ws_handlers/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/ws_handlers/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/ws_handlers/</loc>
</url>
@@ -1071,18 +779,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/external_plugins/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/streams/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/streams/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/streams/</loc>
</url>
@@ -1103,18 +799,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/external_plugins_list/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/middlewares/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/middlewares/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/middlewares/</loc>
</url>
@@ -1143,14 +827,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/migrating_from_1.0/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/migrating_from_2.0/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.3/guide/migrating_from_2.2/</loc>
</url>
@@ -1163,22 +839,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/why/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/history/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/specs/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/migrating_from_1.0/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_2.1/</loc>
</url>
@@ -1199,14 +859,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/contributing/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/specs/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/migrating_from_2.0/</loc>
</url>
@@ -1296,19 +948,24 @@
<url>
<loc>https://ninenines.eu/articles/</loc>
- <lastmod>2019-06-11T07:00:00+01:00</lastmod>
+ <lastmod>2019-07-18T07:00:00+01:00</lastmod>
<priority>0</priority>
</url>
<url>
- <loc>https://ninenines.eu/articles/joe_the_rubber_duck/</loc>
- <lastmod>2019-06-11T07:00:00+01:00</lastmod>
+ <loc>https://ninenines.eu/</loc>
+ <lastmod>2019-07-18T07:00:00+01:00</lastmod>
+ <priority>0</priority>
</url>
<url>
- <loc>https://ninenines.eu/</loc>
+ <loc>https://ninenines.eu/articles/ranch-2.0.0-rc.1/</loc>
+ <lastmod>2019-07-18T07:00:00+01:00</lastmod>
+ </url>
+
+ <url>
+ <loc>https://ninenines.eu/articles/joe_the_rubber_duck/</loc>
<lastmod>2019-06-11T07:00:00+01:00</lastmod>
- <priority>0</priority>
</url>
<url>
@@ -1542,14 +1199,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/</loc>
</url>
@@ -1570,14 +1219,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/guide/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/guide/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/guide/</loc>
</url>
@@ -1603,10 +1244,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/erlang.mk/1/guide/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/gun/1.0/manual/</loc>
</url>
@@ -1639,14 +1276,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/http_status_codes/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/http_status_codes/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/http_status_codes/</loc>
</url>
@@ -1667,14 +1296,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.2/manual/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/ranch/1.3/manual/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/ranch/1.4/manual/</loc>
</url>
@@ -1691,11 +1312,7 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.2/guide/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/ranch/1.3/guide/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/</loc>
</url>
<url>
@@ -1715,16 +1332,12 @@
</url>
<url>
- <loc>https://ninenines.eu/tags/</loc>
- <priority>0</priority>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/guide/</loc>
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy/</loc>
+ <loc>https://ninenines.eu/tags/</loc>
+ <priority>0</priority>
</url>
<url>
@@ -1748,14 +1361,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_app/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_app/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_app/</loc>
</url>
@@ -1776,14 +1381,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.set_env/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.set_env/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy.set_env/</loc>
</url>
@@ -1804,14 +1401,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.start_clear/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.start_clear/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy.start_clear/</loc>
</url>
@@ -1832,14 +1421,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.start_tls/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.start_tls/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy.start_tls/</loc>
</url>
@@ -1860,14 +1441,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy.stop_listener/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy.stop_listener/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy.stop_listener/</loc>
</url>
@@ -1892,14 +1465,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_constraints/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_constraints/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_constraints/</loc>
</url>
@@ -1920,14 +1485,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_constraints.int/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_constraints.int/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_constraints.int/</loc>
</url>
@@ -1948,14 +1505,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_constraints.nonempty/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_constraints.nonempty/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_constraints.nonempty/</loc>
</url>
@@ -1976,14 +1525,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_handler/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_handler/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_handler/</loc>
</url>
@@ -2004,14 +1545,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_handler.terminate/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_handler.terminate/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_handler.terminate/</loc>
</url>
@@ -2032,14 +1565,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_http/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_http/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_http/</loc>
</url>
@@ -2060,14 +1585,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_http2/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_http2/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_http2/</loc>
</url>
@@ -2088,14 +1605,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_loop/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_loop/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_loop/</loc>
</url>
@@ -2116,14 +1625,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_middleware/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_middleware/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_middleware/</loc>
</url>
@@ -2144,14 +1645,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req/</loc>
</url>
@@ -2172,14 +1665,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.binding/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.binding/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.binding/</loc>
</url>
@@ -2200,14 +1685,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.bindings/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.bindings/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.bindings/</loc>
</url>
@@ -2228,14 +1705,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.body_length/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.body_length/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.body_length/</loc>
</url>
@@ -2256,10 +1725,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.cert/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.cert/</loc>
</url>
@@ -2280,14 +1745,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.delete_resp_header/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.delete_resp_header/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.delete_resp_header/</loc>
</url>
@@ -2308,14 +1765,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.has_body/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.has_body/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.has_body/</loc>
</url>
@@ -2336,14 +1785,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.has_resp_body/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.has_resp_body/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.has_resp_body/</loc>
</url>
@@ -2364,14 +1805,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.has_resp_header/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.has_resp_header/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.has_resp_header/</loc>
</url>
@@ -2392,14 +1825,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.header/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.header/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.header/</loc>
</url>
@@ -2420,14 +1845,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.headers/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.headers/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.headers/</loc>
</url>
@@ -2448,14 +1865,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.host/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.host/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.host/</loc>
</url>
@@ -2476,14 +1885,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.host_info/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.host_info/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.host_info/</loc>
</url>
@@ -2504,10 +1905,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.inform/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.inform/</loc>
</url>
@@ -2528,14 +1925,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.match_cookies/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.match_cookies/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.match_cookies/</loc>
</url>
@@ -2556,14 +1945,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.match_qs/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.match_qs/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.match_qs/</loc>
</url>
@@ -2584,14 +1965,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.method/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.method/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.method/</loc>
</url>
@@ -2612,14 +1985,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.parse_cookies/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.parse_cookies/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.parse_cookies/</loc>
</url>
@@ -2640,14 +2005,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.parse_header/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.parse_header/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.parse_header/</loc>
</url>
@@ -2668,14 +2025,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.parse_qs/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.parse_qs/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.parse_qs/</loc>
</url>
@@ -2696,14 +2045,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.path/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.path/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.path/</loc>
</url>
@@ -2724,14 +2065,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.path_info/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.path_info/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.path_info/</loc>
</url>
@@ -2752,14 +2085,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.peer/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.peer/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.peer/</loc>
</url>
@@ -2780,14 +2105,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.port/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.port/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.port/</loc>
</url>
@@ -2808,14 +2125,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.push/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.push/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.push/</loc>
</url>
@@ -2836,14 +2145,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.qs/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.qs/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.qs/</loc>
</url>
@@ -2872,14 +2173,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_body/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_body/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.read_body/</loc>
</url>
@@ -2900,14 +2193,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_part/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_part/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.read_part/</loc>
</url>
@@ -2928,14 +2213,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_part_body/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_part_body/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.read_part_body/</loc>
</url>
@@ -2956,14 +2233,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.read_urlencoded_body/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.read_urlencoded_body/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.read_urlencoded_body/</loc>
</url>
@@ -2984,14 +2253,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.reply/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.reply/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.reply/</loc>
</url>
@@ -3012,14 +2273,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.resp_header/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.resp_header/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.resp_header/</loc>
</url>
@@ -3040,14 +2293,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.resp_headers/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.resp_headers/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.resp_headers/</loc>
</url>
@@ -3068,14 +2313,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.scheme/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.scheme/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.scheme/</loc>
</url>
@@ -3096,14 +2333,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_body/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_body/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_body/</loc>
</url>
@@ -3124,14 +2353,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_cookie/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_cookie/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_cookie/</loc>
</url>
@@ -3152,14 +2373,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_header/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_header/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_header/</loc>
</url>
@@ -3180,14 +2393,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.set_resp_headers/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.set_resp_headers/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_headers/</loc>
</url>
@@ -3208,10 +2413,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.sock/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.sock/</loc>
</url>
@@ -3232,14 +2433,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.stream_body/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.stream_body/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.stream_body/</loc>
</url>
@@ -3268,14 +2461,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.stream_reply/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.stream_reply/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.stream_reply/</loc>
</url>
@@ -3316,14 +2501,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.uri/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.uri/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.uri/</loc>
</url>
@@ -3344,14 +2521,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_req.version/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_req.version/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_req.version/</loc>
</url>
@@ -3372,14 +2541,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_rest/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_rest/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_rest/</loc>
</url>
@@ -3400,14 +2561,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_router/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_router/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_router/</loc>
</url>
@@ -3428,14 +2581,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_router.compile/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_router.compile/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_router.compile/</loc>
</url>
@@ -3456,14 +2601,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_static/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_static/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_static/</loc>
</url>
@@ -3484,14 +2621,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_stream/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_stream/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_stream/</loc>
</url>
@@ -3516,14 +2645,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.0/manual/cowboy_websocket/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/cowboy/2.1/manual/cowboy_websocket/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/cowboy/2.2/manual/cowboy_websocket/</loc>
</url>
@@ -4064,14 +3185,6 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch/</loc>
- </url>
-
- <url>
<loc>https://ninenines.eu/docs/en/ranch/1.4/manual/ranch/</loc>
</url>
@@ -4088,11 +3201,7 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_app/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_app/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch/</loc>
</url>
<url>
@@ -4112,6 +3221,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_app/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.child_spec/</loc>
</url>
@@ -4120,6 +3233,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.child_spec/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_addr/</loc>
</url>
@@ -4128,6 +3245,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_addr/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_max_connections/</loc>
</url>
@@ -4136,6 +3257,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_max_connections/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_port/</loc>
</url>
@@ -4144,6 +3269,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_port/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_protocol_options/</loc>
</url>
@@ -4152,6 +3281,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_protocol_options/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_status/</loc>
</url>
@@ -4160,6 +3293,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_status/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.get_transport_options/</loc>
</url>
@@ -4168,6 +3305,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.get_transport_options/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.handshake/</loc>
</url>
@@ -4176,6 +3317,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.handshake/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.info/</loc>
</url>
@@ -4184,6 +3329,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.info/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.procs/</loc>
</url>
@@ -4192,10 +3341,18 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.procs/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.7/manual/ranch.recv_proxy_header/</loc>
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.recv_proxy_header/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.remove_connection/</loc>
</url>
@@ -4204,6 +3361,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.remove_connection/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.resume_listener/</loc>
</url>
@@ -4212,6 +3373,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.resume_listener/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.set_max_connections/</loc>
</url>
@@ -4220,6 +3385,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.set_max_connections/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.set_protocol_options/</loc>
</url>
@@ -4228,6 +3397,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.set_protocol_options/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.set_transport_options/</loc>
</url>
@@ -4236,6 +3409,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.set_transport_options/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.start_listener/</loc>
</url>
@@ -4244,6 +3421,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.start_listener/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.stop_listener/</loc>
</url>
@@ -4252,6 +3433,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.stop_listener/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.suspend_listener/</loc>
</url>
@@ -4260,19 +3445,19 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.wait_for_connections/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.suspend_listener/</loc>
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.7/manual/ranch.wait_for_connections/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch.wait_for_connections/</loc>
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_protocol/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/1.7/manual/ranch.wait_for_connections/</loc>
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_protocol/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch.wait_for_connections/</loc>
</url>
<url>
@@ -4292,23 +3477,31 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_protocol/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.7/manual/ranch_proxy_header/</loc>
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_proxy_header/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.7/manual/ranch_proxy_header.header/</loc>
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.7/manual/ranch_proxy_header.parse/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_proxy_header.header/</loc>
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_ssl/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/1.7/manual/ranch_proxy_header.parse/</loc>
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_ssl/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_proxy_header.parse/</loc>
</url>
<url>
@@ -4328,11 +3521,7 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_tcp/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_tcp/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_ssl/</loc>
</url>
<url>
@@ -4352,11 +3541,7 @@
</url>
<url>
- <loc>https://ninenines.eu/docs/en/ranch/1.2/manual/ranch_transport/</loc>
- </url>
-
- <url>
- <loc>https://ninenines.eu/docs/en/ranch/1.3/manual/ranch_transport/</loc>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_tcp/</loc>
</url>
<url>
@@ -4376,6 +3561,10 @@
</url>
<url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_transport/</loc>
+ </url>
+
+ <url>
<loc>https://ninenines.eu/docs/en/ranch/1.6/manual/ranch_transport.sendfile/</loc>
</url>
@@ -4383,4 +3572,8 @@
<loc>https://ninenines.eu/docs/en/ranch/1.7/manual/ranch_transport.sendfile/</loc>
</url>
+ <url>
+ <loc>https://ninenines.eu/docs/en/ranch/2.0/manual/ranch_transport.sendfile/</loc>
+ </url>
+
</urlset> \ No newline at end of file